Kakaroto Posted January 13, 2015 Group: Members Topic Count: 99 Topics Per Day: 0.02 Content Count: 638 Reputation: 95 Joined: 05/11/12 Last Seen: Tuesday at 10:59 PM Share Posted January 13, 2015 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.luaBut when I compile and will enter the game the following error appears: Quote Link to comment Share on other sites More sharing options...
Tokei Posted January 13, 2015 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 696 Reputation: 722 Joined: 11/12/12 Last Seen: 5 hours ago Share Posted January 13, 2015 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.) Quote Link to comment Share on other sites More sharing options...
Kakaroto Posted January 13, 2015 Group: Members Topic Count: 99 Topics Per Day: 0.02 Content Count: 638 Reputation: 95 Joined: 05/11/12 Last Seen: Tuesday at 10:59 PM Author Share Posted January 13, 2015 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 .... Quote Link to comment Share on other sites More sharing options...
Tokei Posted January 13, 2015 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 696 Reputation: 722 Joined: 11/12/12 Last Seen: 5 hours ago Share Posted January 13, 2015 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. Quote Link to comment Share on other sites More sharing options...
Kakaroto Posted January 13, 2015 Group: Members Topic Count: 99 Topics Per Day: 0.02 Content Count: 638 Reputation: 95 Joined: 05/11/12 Last Seen: Tuesday at 10:59 PM Author Share Posted January 13, 2015 (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 January 13, 2015 by Kakaroto Quote Link to comment Share on other sites More sharing options...
Tokei Posted January 13, 2015 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 696 Reputation: 722 Joined: 11/12/12 Last Seen: 5 hours ago Share Posted January 13, 2015 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 "»¡°£Æ÷¼Ç". Quote Link to comment Share on other sites More sharing options...
Question
Kakaroto
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:
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.