Jump to content
  • 0

Problem with weapons sprites.


ViewtifulNinja

Question


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  35
  • Reputation:   1
  • Joined:  06/30/17
  • Last Seen:  

Hello guys.

I have a problem when creating my itemInfo.lua file. I'm using a program called ItemConverter, and in the description says that I need to put the following files in a folder:

Idnum2itemdesctable.txt
Idnum2itemdisplaynametable.txt
Idnum2itemresnametable.txt
Itemslotcounttable.txt
Num2itemdesctable.txt
Num2itemdisplaynametable.txt
Num2itemresnametable.txt

There is a note in the description too:

Note: if you want classNum field to be filled, copy your item_db.txt to the same folder, where your client side files are located.

Test with and without item_db.txt in the folder. If I leave without it, no weapon sprite appears in the character's hand, and if I put the item_db in the folder, all items have a single basic sprite. All two-handed swords, for example, are left with the sprite of the image below, regardless of which sword.

596a44a8bac89_Ragnarok-erroitem.png.04cccee0786253bba3cb90e591cc1f62.png

Does anyone know what I can do, or do I have some other way to edit the itemInfo.lua file, or convert direct from itemInfo.lub?

If I change directly in the itemInfo.lua, the game gives error when it starts and all items have seen an apple.

I even tested without making any changes to the files, and the same error happens.

 

Link to comment
Share on other sites

9 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  152
  • Reputation:   77
  • Joined:  06/13/15
  • Last Seen:  

1 hour ago, ViewtifulNinja said:

Hello guys.

I have a problem when creating my itemInfo.lua file. I'm using a program called ItemConverter, and in the description says that I need to put the following files in a folder:

Idnum2itemdesctable.txt
Idnum2itemdisplaynametable.txt
Idnum2itemresnametable.txt
Itemslotcounttable.txt
Num2itemdesctable.txt
Num2itemdisplaynametable.txt
Num2itemresnametable.txt

There is a note in the description too:

Note: if you want classNum field to be filled, copy your item_db.txt to the same folder, where your client side files are located.

Test with and without item_db.txt in the folder. If I leave without it, no weapon sprite appears in the character's hand, and if I put the item_db in the folder, all items have a single basic sprite. All two-handed swords, for example, are left with the sprite of the image below, regardless of which sword.

596a44a8bac89_Ragnarok-erroitem.png.04cccee0786253bba3cb90e591cc1f62.png

Does anyone know what I can do, or do I have some other way to edit the itemInfo.lua file, or convert direct from itemInfo.lub?

If I change directly in the itemInfo.lua, the game gives error when it starts and all items have seen an apple.

I even tested without making any changes to the files, and the same error happens.

 

revert all changes to lua files, and next time edit the lua files using Microsoft visual studio ( open it in MVS and edit the lines you want then save )

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  35
  • Reputation:   1
  • Joined:  06/30/17
  • Last Seen:  

48 minutes ago, Ciel Phantomhive said:

revert all changes to lua files, and next time edit the lua files using Microsoft visual studio ( open it in MVS and edit the lines you want then save )

When I open the itemInfo.lua by Visual Studio, the PC almost gives bug so heavy that the file is.

Link to comment
Share on other sites

  • 0

  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1676
  • Reputation:   702
  • Joined:  12/21/14
  • Last Seen:  

13 minutes ago, ViewtifulNinja said:

When I open the itemInfo.lua by Visual Studio, the PC almost gives bug so heavy that the file is.

use notepad++

if you don't like it there is special program from microsoft for those things

Visual Studio Code

for me i use notepad++ for lua and and i use VS Code for c/c++/c#

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  23
  • Reputation:   0
  • Joined:  05/26/17
  • Last Seen:  

use notepad ++

Link to comment
Share on other sites

  • 0

  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1676
  • Reputation:   702
  • Joined:  12/21/14
  • Last Seen:  

3 hours ago, ViewtifulNinja said:

do I have some other way to edit the itemInfo.lua file, or convert direct from itemInfo.lub

why you don't use iteminfo that already built ?

is there anything special you need from the old item files ?

and when you diff your ragexe you choose if you want it to read the lub or lua so if you have it on lua it's better for you no need to convert to lub

i suggest you use this

i think the old txt files wont work and isn't needed atall unless you have like -2011 client

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  35
  • Reputation:   1
  • Joined:  06/30/17
  • Last Seen:  

2 minutes ago, sader1992 said:

why you don't use iteminfo that already built ?

is there anything special you need from the old item files ?

and when you diff your ragexe you choose if you want it to read the lub or lua so if you have it on lua it's better for you no need to convert to lub

i suggest you use this

i think the old txt files wont work and isn't needed atall unless you have like -2011 client

Good question.

I am from Brazil, and here there are some symbols in the words that do not exist in English. For example, Red Potion is written Poção Vermelha here.

I need the encode in ANSI, or it will not recognize the ã and ç. Or some way to convert the file names of items into the texture folder.

Link to comment
Share on other sites

  • 0

  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1676
  • Reputation:   702
  • Joined:  12/21/14
  • Last Seen:  

you don't have uol Brazil ragnarok ?

if you have it i thing they have iteminfo.lub

you can decode it

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  35
  • Reputation:   1
  • Joined:  06/30/17
  • Last Seen:  

Guys, editing by Visual Studio worked perfectly. Thanks for the answers. The only problem is that for each line, the program works a lot of time.

When I edit by Notepad ++, it gives error in the game when I start.

However, they have helped me a lot.

Is there any other editor that can be faster to edit?

40 minutes ago, sader1992 said:

use notepad++

if you don't like it there is special program from microsoft for those things

Visual Studio Code

for me i use notepad++ for lua and and i use VS Code for c/c++/c#

Visual Studio Code is different from the regular Visual Studio?

Link to comment
Share on other sites

  • 0

  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1676
  • Reputation:   702
  • Joined:  12/21/14
  • Last Seen:  

Visual Studio Code is Visual Studio only for scripting

Visual Studio is for building programs/apps and other development things you don't really need to use it unless you need that

they are the same company they just build the code version for the ppl that script and don't need the development tools

Edited by sader1992
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...