Jump to content
  • 0

how to add sprite using this serverside and clientside?


xlaws27

Question


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  57
  • Reputation:   2
  • Joined:  03/03/15
  • Last Seen:  

i am using the latest serverside of rathena which item_db is SQL

 

i am using this clientside https://rathena.org/board/topic/70962-recommended-client-setup/

 

can anyone give me a guide which will work to it?

Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  118
  • Reputation:   17
  • Joined:  01/29/15
  • Last Seen:  

 

 

If not mistaken, with the 2012 you can already leave out the text files and purely use the lua files for custom sprites.

Of course, as written in the wiki-guide you need to add your custom item to the item_db2 on your SQL editor of choice, have those items in item_db2 in your import folder to allow @ii/@mi queries to be done (I thought those were read from there), those are the server side steps. Client side, you need to modify System/itemInfo.lua and use the luac executable to create lub files ([luac5.1.4.exe -o "itemInfo.lub" "itemInfo.lua"] should convert the lua to lub through command window). Then you can modify the data\luafiles514\lua files\datainfo\accessoryid.lua and data\luafiles514\lua files\datainfo\accname.lua to add your headgears there to be displayed in-game, convert these files to lub too to prevent certain annoying issues that could occur if you don't.Then you need to add the sprites & textures to their respective directories. One for the drag&drop sprite and then the actual male and female sprites and item and collection images in the respective texture folder.

Personally I moved from 2012-04-10 to 2013-08-07 because it satisfies my needs a little more.

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