Jump to content
  • 0

custom items won't show up...


Evrard

Question


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  24
  • Reputation:   0
  • Joined:  03/27/13
  • Last Seen:  

I made 2 custom coins for my server, the Helgard Coin and the Lesser Helgard Coin, they are in the DB correctly since I can spawn the items in-game and they appear in @iteminfo, however they look like an unknown item.... I modified the System\iteminfo.lub adding both but they still don't show up...

[30000] = {
		unidentifiedDisplayName = "A±Þ ÄÚÀÎ",
		unidentifiedResourceName = "°í±ÞÄÚÀÎ",
		unidentifiedDescriptionName = {
			"¹Ý¦¹Ý¦ ºû³ª´Â ÃÖ»óÀ§±Þ ÄÚÀÎ. ¹«±â ÀÎæƮ Áß °í±Þ ¿É¼ÇÀÌ ³ª¿Ã È®·üÀÌ ÀÖ´Ù°í ÇÑ´Ù.",
			"¹«°Ô : ^7777770^000000",
		},
		identifiedDisplayName = "Helgard Coin",
		identifiedResourceName = "°í±ÞÄÚÀÎ",
		identifiedDescriptionName = {
			"Helgard Ragnarok Online Oficial Courrency, it can be used in many Transactions",
			"^ffffff_^000000",
			"Weight :^777777 0^000000",
		},
		slotCount = 0,
		ClassNum = 0
	}
	[30001] = {
		unidentifiedDisplayName = "C±Þ ÄÚÀÎ",
		unidentifiedResourceName = "Æò¹üÇÑÄÚÀÎ",
		unidentifiedDescriptionName = {
			"ÀϹÝÀûÀÎ Áß±Þ ÄÚÀÎ. ¹«±â ÀÎæƮ Áß Áß±Þ ¿É¼ÇÀÌ ³ª¿Ã È®·üÀÌ ÀÖ´Ù°í ÇÑ´Ù.",
			"¹«°Ô : ^7777770^000000",
		},
		identifiedDisplayName = "Lesser Helgard Coin",
		identifiedResourceName = "Æò¹üÇÑÄÚÀÎ",
		identifiedDescriptionName = {
			"Less valuable Helgard Courrency, can be exchanged for a higher tier coin in a special NPC",
			"^ffffff_^000000",
			"Weight :^777777 0^000000",
		},
		slotCount = 0,
		ClassNum = 0
	},

 

any help? please  /sob

Link to comment
Share on other sites

7 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  188
  • Reputation:   16
  • Joined:  06/12/12
  • Last Seen:  

add the description and display name in idnum2displayname.txt and idnum2desc.txt ...name are not identical though.

 

then add items in accessory.lua and accname.lua...

 

at last script at server with proper view id..thats how i work on customs and they shows up...i dunno what client you using

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  24
  • Reputation:   0
  • Joined:  03/27/13
  • Last Seen:  

2012-04-18 already added then in the idnum2displayname.txt and idnum2desc.txt

 

where are the accesory.lua and the accname.lua again? can't seem to find them in the data folder...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  15
  • Reputation:   0
  • Joined:  04/26/13
  • Last Seen:  

Data/luafiles/datainfo

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  24
  • Reputation:   0
  • Joined:  03/27/13
  • Last Seen:  

ok now almost everything works, thanks for your help guys, after making, and remaking everything a couple of times the only error I got left is when I open the client this pops out:

 

 

---------------------------
CItemInfoMgr
---------------------------
System/iteminfo.lub:1: unexpected symbol near '/'
---------------------------
Accept
---------------------------
 
I know its a syntax error but I dunno where to look inlide the iteminfo.lub :S
 
These ones are the items I added there:
 
	[30000] = {
		unidentifiedDisplayName = "Helgard Coin",
		unidentifiedResourceName = "°í±ÞÄÚÀÎ",
		unidentifiedDescriptionName = {
			"¹Ý¦¹Ý¦ ºû³ª´Â ÃÖ»óÀ§±Þ ÄÚÀÎ. ¹«±â ÀÎæƮ Áß °í±Þ ¿É¼ÇÀÌ ³ª¿Ã È®·üÀÌ ÀÖ´Ù°í ÇÑ´Ù.",
			"¹«°Ô : ^7777770^000000",
		},
		identifiedDisplayName = "Helgard Coin",
		identifiedResourceName = "°í±ÞÄÚÀÎ",
		identifiedDescriptionName = {
			"Helgard Ragnarok Online Oficial Courrency, it can be used in many Transactions",
			"^ffffff_^000000",
			"Weight :^777777 0^000000",
		},
		slotCount = 0,
		ClassNum = 0
	}
	[30001] = {
		unidentifiedDisplayName = "Lesser Helgard Coin",
		unidentifiedResourceName = "Æò¹üÇÑÄÚÀÎ",
		unidentifiedDescriptionName = {
			"ÀϹÝÀûÀÎ Áß±Þ ÄÚÀÎ. ¹«±â ÀÎæƮ Áß Áß±Þ ¿É¼ÇÀÌ ³ª¿Ã È®·üÀÌ ÀÖ´Ù°í ÇÑ´Ù.",
			"¹«°Ô : ^7777770^000000",
		},
		identifiedDisplayName = "Lesser Helgard Coin",
		identifiedResourceName = "Æò¹üÇÑÄÚÀÎ",
		identifiedDescriptionName = {
			"Less valuable Helgard Courrency, can be exchanged for a higher tier coin in a special NPC",
			"^ffffff_^000000",
			"Weight :^777777 0^000000",
		},
		slotCount = 0,
		ClassNum = 0
	}
		[30002] = {
		unidentifiedDisplayName = "White Baseball Cap",
		unidentifiedResourceName = "Baseball_Cap_White",
		unidentifiedDescriptionName = {
			"yes",
			"no",
		},
		identifiedDisplayName = "Lesser Helgard Coin",
		identifiedResourceName = "Baseball_Cap_White",
		identifiedDescriptionName = {
			"A costume White Baseball Cap",
			"^ffffff_^COSTUME ITEM000000",
			"Weight :^777777 0^000000",
		},
		slotCount = 0,
		ClassNum = 874
	}

 

any help would be greatly apreciated

 >-<

 

PS: after the Error I can still log in and select server, but when I go into the character selection screen the client crashes

Edited by Evrard
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  15
  • Reputation:   0
  • Joined:  04/26/13
  • Last Seen:  

I think that syntax error might not be related with what you have added since i can't see any '/' in your code... still, since I don't know that well how iteminfo.lub works i'm not sure. Btw, it says the error occurried in line 1. Maybe a bad commented string?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  806
  • Reputation:   220
  • Joined:  03/13/12
  • Last Seen:  

the error is in line 1 But you have not added the complete iteminfo.lua here so you need to check at your end.

If you were trying to add comments don't use "//". Lua files use "--" for comments.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  24
  • Reputation:   0
  • Joined:  03/27/13
  • Last Seen:  

Thanks for your help guys, sorry for the late response >-< it was because the headder of that had the instructions with // ._. so I removed them and everything worked fine :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...