Jump to content
  • 0

Adding custom items


DarkWhoteva

Question


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  56
  • Reputation:   4
  • Joined:  01/09/12
  • Last Seen:  

Hey guys, its been awhile since ive added in customs, just wanna see what im doing wrong.

Alright, i adjust my accessoryid.lua and my accname.lua

ACCESSORY_starter_butterfly_wings = 1001,

[ACCESSORY_IDs.ACCESSORY_starter_butterfly_wings] = "_starter_butterfly_wings",

I added in my .spr/.act and ¿©/³²

Added in my textures

and i edited my..

idnum2itemdesctable

idnum2itemdisplaynametable

idnum2itemresnametable

num2itemdesctable

num2itemdisplaynametable

num2itemresnametable

made my thor patch and the rest and all im seeing is a apple... any input?

thanks peoples.

Josh

Link to comment
Share on other sites

13 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  72
  • Reputation:   4
  • Joined:  01/22/12
  • Last Seen:  

what client date do you use?

if 2012+ update your rofolder/System/itemInfo.lub

Edited by jysn
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  56
  • Reputation:   4
  • Joined:  01/09/12
  • Last Seen:  

Im using... 2011-10-25aRagexeRE

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:  

what about the values in item_db.txt ? double check those as well (especially the view id .. needs to be 1001) - 1 missing comma can make your life miserable!!!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  56
  • Reputation:   4
  • Joined:  01/09/12
  • Last Seen:  

Ive checked it all, my lua/lub files, do they have to be in the laufiles514 or whatever it is or does that depend on ur client packetversion?

i got everything perfect but im still getting a apple...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  1479
  • Reputation:   172
  • Joined:  12/14/11
  • Last Seen:  

ACCESSORY_starter_butterfly_wings = 1001,

[ACCESSORY_IDs.ACCESSORY_starter_butterfly_wings] = "_starter_butterfly_wings",

change to

ACCESSORY_STARTER_BUTTERFLY_WINGS = 1001,

[ACCESSORY_IDS.ACCESSORY_STARTER_BUTTERFLY_WINGS] = "_STARTER_BUTTERFLY_WINGS",

2011 clients are still using Lua Files v.5.0.2. Therefore, luafiles514 folder is not used. No, it doesn't depend on your client packetversion.

try fixing data\lua files\datainfo\accname.lua (or lub) and data\lua files\datainfo\accessoryid.lua (or lub).

Also, try configuring datainfo\spriterobename.lua (or lub). someone got his problem fixed by this file. (I don't edit this one, my client is 2011-03-15 working perfectly with customs)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  56
  • Reputation:   4
  • Joined:  01/09/12
  • Last Seen:  

So should i change the sprite names to STARTER_BUTTERFLY_WINGS as well? instead of being in lower case

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  1479
  • Reputation:   172
  • Joined:  12/14/11
  • Last Seen:  

nope.. oh sorry, I made it wrong.

[ACCESSORY_IDS.ACCESSORY_STARTER_BUTTERFLY_WINGS] = "_starter_butterfly_wings",

see the modifications? use the first you typed, but make uppercase with the bold one..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  56
  • Reputation:   4
  • Joined:  01/09/12
  • Last Seen:  

oh okay, well il try it soon cause now my grf is saying its invalid type so i gotta remake it

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  1479
  • Reputation:   172
  • Joined:  12/14/11
  • Last Seen:  

repack your grf everytime you edit it, and press the [close GRF] or [close] button before pressing the [X] button to reduce the risk of GRF corrupt.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  56
  • Reputation:   4
  • Joined:  01/09/12
  • Last Seen:  

Yeah thats where i went wrong wrong this time

Alright im still getting apples, im also getting this error

itemdb_search: Item ID 3392 does not exisit in the item_db. using dummy data.

Does that mean i gotta put the custom into the itemdb? not the itemdb2?

is the id too high?

200000,PURPLE_DRAGON_HELM,purple dragon helm,5,20,,0,,5,,4,0xFFFFFFFF,7,2,256,,0,1,1000,{},{},{}

Edited by DarkWhoteva
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  1479
  • Reputation:   172
  • Joined:  12/14/11
  • Last Seen:  

heh, it's 200.000? it might be.. what's your max_item_db?

you can put it on either item_db or item_db2.txt. only one of them..

try using 20.000 but, why is it 3392 ItemID and 200.000 on the db?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  56
  • Reputation:   4
  • Joined:  01/09/12
  • Last Seen:  

il try a lower id, its just whatever a standard rathena server max is.

Just changed the id down and its giving me another random id in the error. ive never had this problem before.. they normally work easily

Got it to work :3 must have been the id was too big, i put it to 20000 and it worked fine (i forgot to change my 1000 down the end to 2000)

thanks for ur help :D much appricated

Edited by DarkWhoteva
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  1479
  • Reputation:   172
  • Joined:  12/14/11
  • Last Seen:  

Okay, glad I could help you..

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