Jump to content
  • 0

[Resolved] Weird Crash Error when Picking Up a Custom Item


Syouji

Question


  • Group:  Members
  • Topic Count:  70
  • Topics Per Day:  0.02
  • Content Count:  1245
  • Reputation:   392
  • Joined:  11/19/11
  • Last Seen:  

Before making this thread I checked to make sure I had all required sprite files including the drop sprite, equip sprite, item bmp, and collection bmp. Upon dropping the item, the sprite appears nicely on the floor. However, when I click the item to pick it up I get an immediate client crash. This also occurs when you trade the item to someone else. During the examination of the crash log nothing pointed to a missing sprite file from the custom item but instead some reoccurring palette error that I've noticed for quite sometime.

After noticing this palette error I downloaded the Palette GRF provided by Aerie located below:

Palette GRF From Aerie -

http://code.google.com/p/aerie-pinkpanther/downloads/detail?name=[NoH]Palettes-Skins.rar&can=2&q=

I then changed the DATA.ini file to call this new palette GRF before loading the server's own palettes to see if the error disappeared. It didn't.

Here is the complete crashlog of ONLY the errors below:

#42 palette\¸ö\X±â»ç_³²_79.pal - Failed 99.40
#43 palette\¸ö\X±â»ç_³²_79.pal - Failed 99.41
#44 palette\¸ö\X±â»ç_³²_79.pal - Failed 99.43
#45 palette\¸ö\X±â»ç_³²_79.pal - Failed 99.45
#46 palette\¸ö\X±â»ç_³²_79.pal - Failed 99.46
#47 palette\¸ö\X±â»ç_³²_79.pal - Failed 99.48
#48 palette\¸ö\X±â»ç_³²_79.pal - Failed 99.49
#49 palette\¸ö\X±â»ç_³²_79.pal - Failed 99.51
#50 palette\¸ö\X±â»ç_³²_79.pal - Failed 99.52
#51 palette\¸ö\X±â»ç_³²_79.pal - Failed 99.54
#52 palette\¸ö\X±â»ç_³²_79.pal - Failed 99.57
#53 palette\¸ö\X±â»ç_³²_79.pal - Failed 99.59
#54 palette\¸ö\X±â»ç_³²_79.pal - Failed 99.60
#55 palette\¸ö\X±â»ç_³²_79.pal - Failed 99.62
#56 palette\¸ö\X±â»ç_³²_79.pal - Failed 99.63
#57 palette\¸ö\X±â»ç_³²_79.pal - Failed 99.65
#58 palette\¸ö\X±â»ç_³²_79.pal - Failed 99.66
#59 palette\¸ö\X±â»ç_³²_79.pal - Failed 99.68
#60 palette\¸ö\X±â»ç_³²_79.pal - Failed 99.70
#61 palette\¸ö\X±â»ç_³²_79.pal - Failed 99.71
#62 palette\¸ö\X±â»ç_³²_79.pal - Failed 99.73
#63 palette\¸ö\X±â»ç_³²_79.pal - Failed 99.74
#64 palette\¸ö\X±â»ç_³²_79.pal - Failed 99.76
#65 palette\¸ö\X±â»ç_³²_79.pal - Failed 99.77
#66 palette\¸ö\X±â»ç_³²_79.pal - Failed 99.80
#67 palette\¸ö\X±â»ç_³²_79.pal - Failed 99.82
#68 palette\¸ö\X±â»ç_³²_79.pal - Failed 99.84
#69 palette\¸ö\X±â»ç_³²_79.pal - Failed 99.85
...
...
#165 palette\¸ö\X±â»ç_³²_79.pal

As for the custom sprites being used here are their complete entries below:

ACCESSORYID.LUA (Only the Colored Wolf Ears are Crashing... 1315~1324, Ignore Wolf_Ears)

-- Wolf Ears
ACCESSORY_Wolf_Ears = 1314,
ACCESSORY_Black_Wolf_Ears = 1315,
ACCESSORY_Brown_Wolf_Ears = 1316,
ACCESSORY_Dark_Brown_Wolf_Ears = 1317,
ACCESSORY_Dark_Green_Wolf_Ears = 1318,
ACCESSORY_Dark_Red_Wolf_Ears = 1319,
ACCESSORY_Gray_Wolf_Ears = 1320,
ACCESSORY_Green_Wolf_Ears = 1321,
ACCESSORY_Pink_Wolf_Ears = 1322,
ACCESSORY_Purple_Wolf_Ears = 1323,
ACCESSORY_White_Wolf_Ears = 1324,

ACCNAME.LUA (Again only the colored wolf ears are only crashing. Ignore Wolf_Ears)

[ACCESSORY_IDs.ACCESSORY_Wolf_Ears] = "_Wolf_Ears",
[ACCESSORY_IDs.ACCESSORY_Black_Wolf_Ears] = "_Black_Wolf_Ears",
[ACCESSORY_IDs.ACCESSORY_Brown_Wolf_Ears] = "_Brown_Wolf_Ears",
[ACCESSORY_IDs.ACCESSORY_Dark_Brown_Wolf_Ears] = "_Dark_Brown_Wolf_Ears",
[ACCESSORY_IDs.ACCESSORY_Dark_Green_Wolf_Ears] = "_Dark_Green_Wolf_Ears",
[ACCESSORY_IDs.ACCESSORY_Dark_Red_Wolf_Ears] = "_Dark_Red_Wolf_Ears",
[ACCESSORY_IDs.ACCESSORY_Gray_Wolf_Ears] = "_Gray_Wolf_Ears",
[ACCESSORY_IDs.ACCESSORY_Green_Wolf_Ears] = "_Green_Wolf_Ears",
[ACCESSORY_IDs.ACCESSORY_Pink_Wolf_Ears] = "_Pink_Wolf_Ears",
[ACCESSORY_IDs.ACCESSORY_Purple_Wolf_Ears] = "_Purple_Wolf_Ears",
[ACCESSORY_IDs.ACCESSORY_White_Wolf_Ears] = "_White_Wolf_Ears",

ITEM DATABASE ENTRIES (TXT FORMAT)

19217,Wolf_Ears,Wolf Ears,5,0,,200,,0,,0,0xFFFFFFFF,7,2,256,,0,1,1314,{},{},{}
19218,Black_Wolf_Ears,Black Wolf Ears,5,0,,200,,0,,0,0xFFFFFFFF,7,2,256,,0,1,1315,{},{},{}
19219,Brown_Wolf_Ears,Brown Wolf Ears,5,0,,200,,0,,0,0xFFFFFFFF,7,2,256,,0,1,1316,{},{},{}
19220,Dark_Brown_Wolf_Ears,Dark Brown Wolf Ears,5,0,,200,,0,,0,0xFFFFFFFF,7,2,256,,0,1,1317,{},{},{}
19221,Dark_Green_Wolf_Ears,Dark Green Wolf Ears,5,0,,200,,0,,0,0xFFFFFFFF,7,2,256,,0,1,1318,{},{},{}
19222,Dark_Red_Wolf_Ears,Dark Red Wolf Ears,5,0,,200,,0,,0,0xFFFFFFFF,7,2,256,,0,1,1319,{},{},{}
19223,Gray_Wolf_Ears,Gray Wolf Ears,5,0,,200,,0,,0,0xFFFFFFFF,7,2,256,,0,1,1320,{},{},{}
19224,Green_Wolf_Ears,Green Wolf Ears,5,0,,200,,0,,0,0xFFFFFFFF,7,2,256,,0,1,1321,{},{},{}
19225,Pink_Wolf_Ears,Pink Wolf Ears,5,0,,200,,0,,0,0xFFFFFFFF,7,2,256,,0,1,1322,{},{},{}
19226,Purple_Wolf_Ears,Purple Wolf Ears,5,0,,200,,0,,0,0xFFFFFFFF,7,2,256,,0,1,1323,{},{},{}
19227,White_Wolf_Ears,White Wolf Ears,5,0,,200,,0,,0,0xFFFFFFFF,7,2,256,,0,1,1324,{},{},{}

Note: I have custom items with View IDs greater than those presented here and these items work fine so its not a view ID issue. Same thing applies with the Item ID number.

Client details

Palette Defines

min_hair_style: 0
max_hair_style: 68
min_hair_color: 0
max_hair_color: 251
min_cloth_color: 0
max_cloth_color: 489

MMO.H (I know.. pretty old.. were still on eAthena)

#define PACKETVER	20100721

Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  554
  • Reputation:   70
  • Joined:  04/04/12
  • Last Seen:  

its seems the problem is on the bmp...at the item folder...

this the one that shows at the middle top if your pick up an item...correct me if I were wrong...XD

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  70
  • Topics Per Day:  0.02
  • Content Count:  1245
  • Reputation:   392
  • Joined:  11/19/11
  • Last Seen:  

The item bmp appears just fine as I can see it when I look in my inventory. So i dont believe its that.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  2244
  • Reputation:   182
  • Joined:  11/19/11
  • Last Seen:  

actually it is the item bmp file, although it does appear in the inventory, when you pick it up, it seems to error. I changed it to another item such as valkyrie helm bmp file and there is no errors

Update:

I saw your image dimensions are wrong, make sure its 24x24

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  554
  • Reputation:   70
  • Joined:  04/04/12
  • Last Seen:  

same here I made a test like Judas did...knife and uses apple's bmp...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  70
  • Topics Per Day:  0.02
  • Content Count:  1245
  • Reputation:   392
  • Joined:  11/19/11
  • Last Seen:  

Interesting thanks a lot guys. =)

Edit: Made the changes and it works. Thanks for all your help.

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