Jump to content
  • 0

[Question] So weird error. (Custom Headgears)


brianj070707

Question


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  48
  • Reputation:   0
  • Joined:  01/21/12
  • Last Seen:  

Good Day rAthena Staffs and Users,

Well my biggest problem is I tried to add a custom headgear on my server. So I did this following steps.

1. I opened my accessoryid.lua and added the id of my custom headgear (named: C_GEAR = 900).

2. I opened my accname.lua and added the sprite name of my custom headgear (name: c_gear).

3. I pasted the act and spr to it's designated folders (male , female , drop)

4. opened my item_db2 and added this (20003,C_GEAR,Test Hat,5,0,,500,,6,,1,0xFFFFFFFF,15,2,256,,75,0,900,{},{},{}).

5. added it to idnumrestable (20003 #c_gear, ) descname (..... bla bla), itemdisplay (20003#c_gear#).

6. started my server and logged in and tried to create the item. It was successful, I can view it and drop it and pick it up.

Now the problem is here:

When I try to equip the gear. I do not receive client errors, therefore what I have done is right. But it doesn't shop up the gear and when I try to press ALT + Q the error pops up.

So did I miss something or what?

Help is always gladly appreciated.

Thanks and Godspeed.

EDIT: by the way i am using 3ceam 655

Edited by Aerie
Link to comment
Share on other sites

6 answers to this question

Recommended Posts


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

All you need to do is add the sprite and act file of your equip to your data folder so that it has the prefix for female and male. Its like:

datasprite¾Ç¼¼»Ç¸®³²³²_c_gear.spr

datasprite¾Ç¼¼»Ç¸®³²³²_c_gear.act

datasprite¾Ç¼¼»Ç¸®¿©¿©_c_gear.act

datasprite¾Ç¼¼»Ç¸®¿©¿©_c_gear.spr

You will also need your main sprite to be located in this path as well:

datasprite¾ÆÀÌÅÛc_gear.act

datasprite¾ÆÀÌÅÛc_gear.spr

I forget which one represents male and female. You can use this as a resource to see where to add the sprite files by following how this sprite is handled: http://rathena.org/board/files/go/0997214b56af35fef184875909c5634d/love-indonesia

Edited by Syouji
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  207
  • Reputation:   74
  • Joined:  11/29/11
  • Last Seen:  

³² is male and ¿© is female.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  48
  • Reputation:   0
  • Joined:  01/21/12
  • Last Seen:  

All you need to do is add the sprite and act file of your equip to your data folder so that it has the prefix for female and male. Its like:

datasprite¾Ç¼¼»Ç¸®³²³²_c_gear.spr

datasprite¾Ç¼¼»Ç¸®³²³²_c_gear.act

datasprite¾Ç¼¼»Ç¸®¿©¿©_c_gear.act

datasprite¾Ç¼¼»Ç¸®¿©¿©_c_gear.spr

You will also need your main sprite to be located in this path as well:

datasprite¾ÆÀÌÅÛc_gear.act

datasprite¾ÆÀÌÅÛc_gear.spr

I forget which one represents male and female. You can use this as a resource to see where to add the sprite files by following how this sprite is handled: http://rathena.org/board/files/go/0997214b56af35fef184875909c5634d/love-indonesia

I did all of this as i said on the steps. the problem is it doesn't show up when equipped :P

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  1315
  • Reputation:   372
  • Joined:  12/10/11
  • Last Seen:  

What view id are you using for the item? You may need to diff your client to increase the allowed view id.

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  48
  • Reputation:   0
  • Joined:  01/21/12
  • Last Seen:  

so how can i do this diffing my client?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  1315
  • Reputation:   372
  • Joined:  12/10/11
  • Last Seen:  

Search for Shinryo's Diff patcher, download the client you want to use and in the drop down box select the second one then look for the option.

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