Jump to content
  • 0

Error Converter


Kakaroto

Question


  • Group:  Members
  • Topic Count:  99
  • Topics Per Day:  0.02
  • Content Count:  623
  • Reputation:   94
  • Joined:  05/11/12
  • Last Seen:  

Hello to all and all, I have a pretty boring and that for many can be up fácil..porém never had problems with this problem today ..


I can not compile my itemInfo.lua file to .lub without giving error when I try to enter the game ... I am using this file: https://github.com/ROClientSide/Translation/blob/master/System/itemInfo.lua


But when I compile and will enter the game the following error appears:

 

 

VAQG6qw.jpg

 

qEJgTLx.jpg

Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  663
  • Reputation:   671
  • Joined:  11/12/12
  • Last Seen:  

When you convert your files from lua to lub, you don't actually compile them. You simply change the extension of the file from .lua to .lub.

 

(On a side note, that issue is probably happening because you didn't use the correct lua compiler (RO uses lua5.1 or lua5.0). But, again, you don't have to compile the file.)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  99
  • Topics Per Day:  0.02
  • Content Count:  623
  • Reputation:   94
  • Joined:  05/11/12
  • Last Seen:  

Yes I've used without converting ... but I would like to convert to protect some information and avoid issues in my .lub files because just by changing the extension of the file you can either edit ....

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  663
  • Reputation:   671
  • Joined:  11/12/12
  • Last Seen:  

Yes I've used without converting ... but I would like to convert to protect some information and avoid issues in my .lub files because just by changing the extension of the file you can either edit ....

 

Well, you can try another compiler (5.1 or 5.0, use the one you're not using basically). Keep in mind though that doing so offers no real protection; lub files are extremely easy to decompile.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  99
  • Topics Per Day:  0.02
  • Content Count:  623
  • Reputation:   94
  • Joined:  05/11/12
  • Last Seen:  

 

Yes I've used without converting ... but I would like to convert to protect some information and avoid issues in my .lub files because just by changing the extension of the file you can either edit ....

 

Well, you can try another compiler (5.1 or 5.0, use the one you're not using basically). Keep in mind though that doing so offers no real protection; lub files are extremely easy to decompile.

 

 

 

 

The problem is that both the name and the description of the items and skills are not getting some special characters such as: ~ O '' ^

So I researched and found that compiling to be to solve ....

Edited by Kakaroto
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  663
  • Reputation:   671
  • Joined:  11/12/12
  • Last Seen:  

The problem is that both the name and the description of the items and skills are not getting some special characters such as: ~ O '' ^

So I researched and found that compiling to be to solve ....

 

Ah, this issue is probably caused by an invalid encoding. On the github link you gave up there, click on "Raw", then right-click the page > Save as... and change the extension to .lua (don't use Ctrl-A/Ctrl-C to copy paste the content, you'll have errors afterwards). If you're using Notepad++, you can check that the encoding is valid by going in the Encoding menu : Encoding > Encode in ANSI (should be set there by default). The characters should be showing properly, check if the Red Potion resource shows "»¡°£Æ÷¼Ç".

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