Jump to content
  • 0

HELP ! DEAD FOG STONE


ravine

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  16
  • Reputation:   0
  • Joined:  10/21/14
  • Last Seen:  

can someone help me how to solve this problem ? i'm adding custom items to my server, and i already created new grf for this custom item. i am also finish to spr and act. file / item and collection / idnum. / num2. / accname.lub etc. im tired for doing this, sad.png sad.png sad.png

 

im using 2013,07,03a 

id#: #30000

item name : White_Chakra

 

and that is the result when i use @item 30000
I GOT DEAD FOG STONE -.-

post-29666-0-18631000-1414912915_thumb.png

Edited by ravine
Link to comment
Share on other sites

Recommended Posts


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  566
  • Reputation:   349
  • Joined:  11/20/11
  • Last Seen:  

You have to edit the iteminfo.lua.  New clients don't read the idnum2~num2 texts no longer. All that is handled by the iteminfo.lua now.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  16
  • Reputation:   0
  • Joined:  10/21/14
  • Last Seen:  

but i dont have item.lua in datainfo item.lub only

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  46
  • Topics Per Day:  0.01
  • Content Count:  206
  • Reputation:   13
  • Joined:  01/07/12
  • Last Seen:  

but i dont have item.lua in datainfo item.lub only

 

Then you have to edit that itemInfo.lub, look for some guide, it is not hard to edit it, and you also need to edit your item database, and use the proper Headgear view to your item.

Edited by eKoh
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  16
  • Reputation:   0
  • Joined:  10/21/14
  • Last Seen:  

i got this eerror when im wearing the item

 

iR3Y1e.jpg

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  46
  • Topics Per Day:  0.01
  • Content Count:  206
  • Reputation:   13
  • Joined:  01/07/12
  • Last Seen:  

That is because you have not property added the item, it happens because the Client needs to load the Item's file, but since they are not properly declared, the client cannot find these files and throws you that error.

 

You can follow this guide, you'll need to change your ItemInfo.lub and add the item's files to your data folder,

 

Custom Items - rAthena Wiki

 


System/ItemInfo.lub

Since ItemInfo.lub is compiled, you need to decompile it to lua , add your customs and recompile back to lub file (Some have said that renaming a decompiled file to lub also works) Syntax:

[<item id>] = {
unidentifiedDisplayName = <item name to show when not magnified>,
unidentifiedResourceName = <file name prefix used for all the images and drop sprite when not magnified>,
unidentifiedDescriptionName = { <comma separated list of strings>,<to get multiple lines>,<in item description> },
identifiedDisplayName = <item name to show when magnified>,
identifiedResourceName = <file name prefix used for all the images and drop sprite when magnified>,
identifiedDescriptionName = { <same format as unidentifiedDescriptionName but for magnified items> },
slotCount = <number of slots>,
ClassNum = <View ID - yes the same one that was there item_db>
},

You can also put the different values in DescriptionName in separate lines.

Example: Lets say i want to add a weapon to item id 25000 - a One handed sword named Devastator with 3 slots & the image files & drop sprite files are all named Black_Sword.* . Also i want to display a Sword when not magnified.

[25000] = {
unidentifiedDisplayName = "Sword",
unidentifiedResourceName = "¼Òµå",
unidentifiedDescriptionName = { "Unidentified item, can be identified with [Magnifier]." },
identifiedDisplayName = "Devastator",
identifiedResourceName = "Black_Sword",
identifiedDescriptionName = {
"An Unholy Sword that was created with the sole purpose of destruction",
"Class :^777777 Sword^000000",
"Attack :^777777 325^000000",
"Weight :^777777 80^000000",
"Weapon Level :^777777 4^000000",
"Required Level :^777777 100^000000",
"Applicable Job :^777777 Novice, Swordsman Class, Merchant Class, Thief Class^000000"
},
slotCount = 3,
ClassNum = 2
},

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  16
  • Reputation:   0
  • Joined:  10/21/14
  • Last Seen:  

how can i change my iteminfo.lub if i cant understand this 

 

http://imageshack.com/a/img540/2562/h9wLkn.jpg

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  566
  • Reputation:   349
  • Joined:  11/20/11
  • Last Seen:  

You should get this complete Data Folder from here: Click Here

 

Iteminfo.lua is located in the system folder.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  16
  • Reputation:   0
  • Joined:  10/21/14
  • Last Seen:  

what data version should i need to download? :) 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  566
  • Reputation:   349
  • Joined:  11/20/11
  • Last Seen:  

Data Version 4.0

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  16
  • Reputation:   0
  • Joined:  10/21/14
  • Last Seen:  

then how can i use that?

 

 

replace to my old data folder? 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  16
  • Reputation:   0
  • Joined:  10/21/14
  • Last Seen:  

it still the same. i got an error same issue. i already replace my old data folder to data folder v.04.

 

- Please Help me. 

i'm done with accename.lua and acceid.lua but it still error. i already restart the server several times. but still i encounter that.

Question:
1. why i can't see the picture item bmp. and bmp collection image?
 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  566
  • Reputation:   349
  • Joined:  11/20/11
  • Last Seen:  

it still the same. i got an error same issue. i already replace my old data folder to data folder v.04.

 

- Please Help me. 

i'm done with accename.lua and acceid.lua but it still error. i already restart the server several times. but still i encounter that.

Question:

1. why i can't see the picture item bmp. and bmp collection image?

 

 

That means you either don't have the item.bmp and the collection.bmp in your folder or that they are named incorrectly. Re-name everything: euip sprite, drop sprite, item.bmp and the collection.bmp.

Make sure that the name for all of them are the same.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  16
  • Reputation:   0
  • Joined:  10/21/14
  • Last Seen:  

100% sure for all info's are correctly same NAME ( COLLECTION.bmp & ITEM.bmp ). btw i don't have drop sprites. how can i have? 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  566
  • Reputation:   349
  • Joined:  11/20/11
  • Last Seen:  

If you don't have the drop sprite you have to make it. Or you can just take the equip sprite and name that in to your drop sprite.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  16
  • Reputation:   0
  • Joined:  10/21/14
  • Last Seen:  

hi again maam! :) everything looks great, good news for me i just follow your guide and it works :) but i have a problem when im wearing those custom item it show nothing but when i drop the item it shows the item. please help me :) 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  59
  • Reputation:   2
  • Joined:  08/01/12
  • Last Seen:  

hi again maam! :) everything looks great, good news for me i just follow your guide and it works :) but i have a problem when im wearing those custom item it show nothing but when i drop the item it shows the item. please help me :) 

maybe you dont put your sprite on your data folder

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  16
  • Reputation:   0
  • Joined:  10/21/14
  • Last Seen:  

can you please give the drop sprites folder


help me when i'm wearing custom item it show Bunny bla bla bla.. not my custom item.

 

oM0v1C.jpg


help me when i'm wearing custom item it shows Bunny bla bla bla.. not my custom item.

http://imageshack.com/a/img909/993/MS4nu8.jpg

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  662
  • Reputation:   671
  • Joined:  11/12/12
  • Last Seen:  

People can't magically give you the sprite out of nowhere, you're the only one who has it (and apparently you don't have it, so... you have to make it). And... have you read the link eKoh posted? http://rathena.org/wiki/Custom_Items
 
It contains all the information you need, in details, with a full example. Here's a quick copy paste (Allocating Items on Client Side) :
 

Step 2 (only for Headgears):
For displaying headgear on the character there will be two additional files (sprite & act) or 4 if the sprite author intended for a separate set of files for male & female. In my example i have considered the first scenario.
The filename for headgear sprite are now specified in accname.lua file (details of which is available in the View IDs Section) (< have you done this part?)
lets say i used
[ACCESSORY_IDs.HELMET] = "_Helmet",
then we need to:
i) Copy Helmet.spr to [RO Folder]\data\sprite\¾Ç¼¼»ç¸®\¿©\¿©_Helmet.spr (Female)
ii) Copy Helmet.act to [RO Folder]\data\sprite\¾Ç¼¼»ç¸®\¿©\¿©_Helmet.act
iii) Copy Helmet.spr to [RO Folder]\data\sprite\¾Ç¼¼»ç¸®\³²\³²_Helmet.spr (Male) (< Check if that sprite is actually the sprite you wanted, and not the bunny one)
iv) Copy Helmet.act to [RO Folder]\data\sprite\¾Ç¼¼»ç¸®\³²\³²_Helmet.act
Now it is ready to be used provided you have added entries properly to the lua files.

 

Reread the entire wiki page and make sure you understand all the steps. Everything you want to know is in there. You just have to read carefully and follow the steps one by one. If you have trouble at one of these parts, then go ahead and ask for more help!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  16
  • Reputation:   0
  • Joined:  10/21/14
  • Last Seen:  

thank you for this guide. ! ! ! cheers ! :) 


i cant change the bunny eggshell to my custom items. please help me. i just follow your guide but it still not works. 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  662
  • Reputation:   671
  • Joined:  11/12/12
  • Last Seen:  

Yes, I already know that. Again, which part of the wiki guide is unclear to you? Simply saying "it's not working" is not helpful for any of us =/. It 'looks' like a headgear view id issue anyway.

 

Just... show us everything. Show us the content of your files with the revelant lines : item_db.txt, accname.lua, accessoryid.lua, iteminfo.lua (or the lub equivalent if your server is using lubs) as well as screenshots of the location of your files. Is your server using lua or lub files?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  16
  • Reputation:   0
  • Joined:  10/21/14
  • Last Seen:  

the problem is, when i'm wearing my custom items in my character, it shows Bunny Egg Hat not my Custom Item


here is the content of my data folder ... 

 

AccessoryId.lua

 

ggoCTS.jpg

 

AccessoryName.lua

 

FQjh1R.jpg

 

 

ItemDB

 

0QWvPx.jpg

 

Iteminfo.lub

 

kJ1d01.jpg

 

and it shows when my character equip custom item.

 

dM2lAN.jpg

Edited by ravine
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  662
  • Reputation:   671
  • Joined:  11/12/12
  • Last Seen:  

The ViewId doesn't seem to be set properly. Your ItemDB uses 1000 for the ViewId while accessoryid.lua uses 30002 (< that one should be set to 1000, accessoryid.lua is a list of ViewIds, not ItemIds). In ItemInfo.lua, the ClassNum (aka the ViewId) should be set to 1000 as well.

 

Also, put your IDs in the correct order in your accessoryid.lua; last time I checked this mattered.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  16
  • Reputation:   0
  • Joined:  10/21/14
  • Last Seen:  

what should be the id# for my accessorydid..lua?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  662
  • Reputation:   671
  • Joined:  11/12/12
  • Last Seen:  

accessoryid.lua uses 30002 (< that one should be set to 1000, accessoryid.lua is a list of ViewIds, not ItemIds).

Edited by Tokei
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  16
  • Reputation:   0
  • Joined:  10/21/14
  • Last Seen:  

help me get through out of this. i' already set my iteminfo.lua to 1000 and my acceid.lua is set to 1000 but all my custom item can't equip and it set to etc. inventory. can someone help me.? how to fixed this

 

RTlD4g.jpg

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