Jump to content

Utility Script : Wearable Costume system


vhan48

Recommended Posts


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  49
  • Reputation:   4
  • Joined:  06/23/12
  • Last Seen:  

People of rathena taught me alot of things so i guess now is also the time to give thanks to them and contribute in return, i just hope you can find these useful for your server

:)

Info/Features:

Wearable disguise equipments (uses the "Style" tab on your equipment window), can be easily changed/removed without even using a npc.

Works on best on clients 20100728 + client version 26 and up.

Download the file!

Follow these steps:

As you can see, these .txt documents are already labeled so that you can easily identify which is which.

1st Server Side: Open Item_db.txt from this folder and locate your own item_db in your rathena folder.

2nd Server Side: paste the contents from then item_db.txt to your item_db.txt then save it.

3rd Client Side: check your grf / data folder and locate this: idnum2itemresnametable.txt open it, then add the contents by pasting from the file that you donwloaded. Save

4th Client Side: check your grf / data folder and locate this: idnum2itemdisplaynametable.txt open it, then add the contents by pasting from the file that you donwloaded. Save

5th : run your rathena server, test it... you can easily check the items by adding 2 on the item id.

(ex. Holy Marcher hat: 5225, Costume Holy Marcher hat: 25225)

rathena.7z

post-5637-0-38211000-1350769071_thumb.jpg

Edited by vhan48
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.01
  • Content Count:  271
  • Reputation:   7
  • Joined:  01/06/12
  • Last Seen:  

mind if I ask a printscreen, I'm interested on your script

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  782
  • Reputation:   82
  • Joined:  01/01/12
  • Last Seen:  

So it is basically a copy of every hat in item_type of costume? Should be posted in database release then. :P

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  49
  • Reputation:   4
  • Joined:  06/23/12
  • Last Seen:  

@thanna, please check the first post, i updated it, and oh,btw if it works on your server let me know, :) and if it dosen't work, i would be glad to help you :)

@darristan, yes sir!, but you can also add custom items like wings if you want to , just follow the same procedure and don't forget to check the lua files and the item view at the item_db.txt .. :))

Link to comment
Share on other sites

  • 2 months later...

  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  102
  • Reputation:   4
  • Joined:  12/05/11
  • Last Seen:  

Just read item.db on rathena doc on your server /hum

It's default added by rathena

Loc: Equipment's placement. Values are:

2^12 4096 = Costume Low Headgear

2^11 2048 = Costume Mid Headgear

2^10 1024 = Costume Top Headgear

2^8 256 = Upper Headgear

2^9 512 = Middle Headgear

2^0 001 = Lower Headgear

2^4 016 = Armor

2^1 002 = Weapon

2^5 032 = Shield

2^2 004 = Garment

2^6 064 = Footgear

2^3 008 = Accessory 1

2^7 128 = Accessory 2

  • Upvote 1
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
Reply to this topic...

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