Jump to content
  • 0

issue with @item


Elyisa

Question


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  48
  • Reputation:   0
  • Joined:  11/28/12
  • Last Seen:  

Hello everyone, I have just recently added Kakashi's headband protector I added everything correctly from what i have read from the guide but when i try to use @item 22013 it says invalid item ID or name @item failed which kinda puts me at a stopping point lol Also I have added my Dragon Blade item and the picture is correct i can equip it everything is fine except it doesnt show the sprite on my body for some reason =/ here are the pics of my files :)

http://i49.tinypic.com/2hf2wlz.jpg

http://i47.tinypic.com/1sl369.jpg

http://i45.tinypic.com/51yikj.jpg

http://i46.tinypic.com/htzhut.jpg

http://i46.tinypic.com/346kp03.jpg

http://i50.tinypic.com/34flite.jpg

Link to comment
Share on other sites

9 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  123
  • Reputation:   9
  • Joined:  08/20/12
  • Last Seen:  

just add the 22013 on either item_db or item_db2 no need to add for both. Item_db2 is just for customs

remove // on the //22013,etc,etc,.......................

then @reloaditmdb or restart the server

and edit your accname.lua and accessoryid.lua if you cant see it

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  48
  • Reputation:   0
  • Joined:  11/28/12
  • Last Seen:  

just add the 22013 on either item_db or item_db2 no need to add for both. Item_db2 is just for customs

remove // on the //22013,etc,etc,.......................

then @reloaditmdb or restart the server

and edit your accname.lua and accessoryid.lua if you cant see it

Did ALL of that and still says the same thing when i try to @item it T_T idk what the problem is

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  123
  • Reputation:   9
  • Joined:  08/20/12
  • Last Seen:  

just now i saw your db, i dunno if it was on purpose but you put . instead of comma after the id on 22013

and check your mapserver sql for errors

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  48
  • Reputation:   0
  • Joined:  11/28/12
  • Last Seen:  

just now i saw your db, i dunno if it was on purpose but you put . instead of comma after the id on 22013

and check your mapserver sql for errors

yea i saw the period earlier and changed it still no fix lol and the map server doesnt show any errors =/ i have teamviewer if that would help lol

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  123
  • Reputation:   9
  • Joined:  08/20/12
  • Last Seen:  

try using this line instead of yours.

cause i think the structure is missing a few syntax.

22013,Black_Kakashi_Mask,Kakashi's Head band,5,20,,200,,2,,4,0xFFFFFFFF,7,2,512,,1,1,902,{},{},{}

im not really a teamviewer fan so yea.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  84
  • Topics Per Day:  0.02
  • Content Count:  550
  • Reputation:   9
  • Joined:  11/06/12
  • Last Seen:  

Bro... Take a look at this link... http://i45.tinypic.com/51yikj.jpg

you wrongly place 22012 instead of 22013

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  48
  • Reputation:   0
  • Joined:  11/28/12
  • Last Seen:  

Bro... Take a look at this link... http://i45.tinypic.com/51yikj.jpg

you wrongly place 22012 instead of 22013

try using this line instead of yours.

cause i think the structure is missing a few syntax.

22013,Black_Kakashi_Mask,Kakashi's Head band,5,20,,200,,2,,4,0xFFFFFFFF,7,2,512,,1,1,902,{},{},{}

im not really a teamviewer fan so yea.

ok sweet! @item now works but im still having the problem of the sprite showing when i wear it :(

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  123
  • Reputation:   9
  • Joined:  08/20/12
  • Last Seen:  

edit your accname.lua both accessoryid.lua

accessoryid.lua

ACCESSORY_PINKBUNNY_HAIRBAND = 663,
ACCESSORY_GREENBUNNY_HAIRBAND = 664,
ACCESSORY_OLD_ELFEAR = 665,
ACCESSORY_THA_MAERO_MASK = 666,
ACCESSORY_THANATOS_MAI_MASK = 667,
--668 free
ACCESSORY_FISHPIN = 669,
ACCESSORY_CUSTOM_HAT = 900,

accname.lua

[ACCESSORY_IDs.ACCESSORY_PINKBUNNY_HAIRBAND] = "_ÇÎÅ©Åä³¢¸Ó¸®¶ì",
[ACCESSORY_IDs.ACCESSORY_GREENBUNNY_HAIRBAND] = "_±×¸°Åä³¢¸Ó¸®¶ì",
[ACCESSORY_IDs.ACCESSORY_OLD_ELFEAR] = "_°í´ë¿äÁ¤ÀDZÍ",
[ACCESSORY_IDs.ACCESSORY_THA_MAERO_MASK] = "_Ÿ³ªÅ佺Àǽ½ÇÄ°¡¸é",
[ACCESSORY_IDs.ACCESSORY_THANATOS_MAI_MASK] = "_Ÿ³ªÅ佺ÀÇÁõ¿À°¡¸é",
[ACCESSORY_IDs.ACCESSORY_FISHPIN] = "_¹°°í±âÇÉ",
[ACCESSORY_IDs.ACCESSORY_CUSTOM_HAT] = "_Sprite_Name_Here",

for more info >> http://rathena.org/wiki/Custom_Items

then edit your item_db2 or item_db for the item structure

ID,DBName,ScreenName,Type,Price,Sell,Weight,ATK,DEF,Range,Slot,Job,Upper,Gender,Loc,wLV,eLV,

Refineable,View(this is where your accessory ID goes for ex:900),{Script},{OnEquip_Script},{OnUnequip_Script}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  84
  • Topics Per Day:  0.02
  • Content Count:  550
  • Reputation:   9
  • Joined:  11/06/12
  • Last Seen:  

yea.. follow what Vanyrl has just said... but you must not place a comma on the last item you will place in the accname.lua and accessoryid.lua..

like this

accessoryid.lua:

[ACCESSORY_IDs.ACCESSORY_PINKBUNNY_HAIRBAND] = "_ÇÎÅ©Åä³¢¸Ó¸®¶ì",
[ACCESSORY_IDs.ACCESSORY_GREENBUNNY_HAIRBAND] = "_±×¸°Åä³¢¸Ó¸®¶ì",
[ACCESSORY_IDs.ACCESSORY_OLD_ELFEAR] = "_°í´ë¿äÁ¤ÀDZÍ",
[ACCESSORY_IDs.ACCESSORY_THA_MAERO_MASK] = "_Ÿ³ªÅ佺Àǽ½ÇÄ°¡¸é",
[ACCESSORY_IDs.ACCESSORY_THANATOS_MAI_MASK] = "_Ÿ³ªÅ佺ÀÇÁõ¿À°¡¸é",
[ACCESSORY_IDs.ACCESSORY_FISHPIN] = "_¹°°í±âÇÉ",
[ACCESSORY_IDs.ACCESSORY_CUSTOM_HAT] = "_Sprite_Name_Here"
}

if you will notice there is no comma on the last item which is the "_Sprite_Name_Here"

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...