Jump to content
  • 0

Question

Posted

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

5 answers to this question

Recommended Posts

Posted

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

Posted

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

Posted

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.

Posted (edited)

 

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
Posted

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 "»¡°£Æ÷¼Ç".

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...