Jump to content
  • 0

HELP ! DEAD FOG STONE


Question

Posted (edited)

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

Recommended Posts

Posted (edited)

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
Posted

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
},

Posted

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?
 

Posted

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.

Posted

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 :) 

Posted

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

Posted

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!

Posted

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. 

Posted

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?

Posted (edited)

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
Posted

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.

Posted

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

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...