Crash Custom Item Equip

bruno05

New member
Messages
7
Points
0
Good afternoon,
I have problems adding custom items, I am trying to put test item "TobiMask" downloaded here from the same forum, I added everything but when I create the item the sprite all right but when I equip the item the game closes and an error, someone Do you know how to solve?

follow the pictures:

Crash Login Char (equip item):

Capturar.PNG

accessoryid:

accessoryid.PNG

accname:

accname.PNG

data\sprite\¾ÆÀÌÅÛ:

spr 1.PNG

data\sprite\¾Ç¼¼»ç¸®\³²:

sprite.PNG

itemInfo_Sak:

itemInfo_Sak.PNG

item_db:

itemdn.PNG

 
Last edited by a moderator:
You also need to add ¿©_Tobi_Mask in  data\sprite\¾Ç¼¼»ç¸®\¿©

¿© = female sprite, ³² = male sprite.

Depending on your gender this could cause a crash. Also I would always put a _ between the gender prefix and the sprite name.

¿©_Tobi_Mask.spr/act

³²_Tobi_Mask.spr/act

Example Folder

 
Last edited by a moderator:
First of all thanks for the help,
Anyway for the _ would not have to have also in accname.lub?
Ex: mine is "[ACCESSORY_IDs.ACCESSORY_TOBI_MASK] = "Tobi_Mask","
so my sprite has to have _ even without accname? anyway in Folders:
"data\sprite\¾Ç¼¼»ç¸®\¿© "
and "data\sprite\¾Ç¼¼»ç¸®\³² "
both are .spr .act
³²_Tobi_Mask in the folder ³² and ¿©_Tobi_Mask in ¿©
remembering that before was ¿©Tobi_Mask.spr / act and ³²Tobi_Mask.spr / act inside the sprite folder and changed it to test with _ and still crash

 
could you attach the file here? I'd like to take a look on it.

 
Last edited by a moderator:
Back
Top