• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

[Release] - OneForAll luascripts folder with all comments translated to English

Newbie Spellweaver
Joined
Aug 11, 2022
Messages
9
Reaction score
15
Not sure anyone else will find this helpful, but I have. A friend and I have been toying with a pserver for just us and changing things. It is much easier to read the lua files or find the appropriate ones if the comments are readable. I did not remove chinese comments, only appended the english translation to the line. Only edited comments, no code.

Example:
Code:
SetFlag( PlayerID , 542339 , 1 )    -- 新手禮包LV19已開啟 Translated comment: Novice gift pack LV19 has been opened

It cost me about $30 in google translate API usage so I figured I might as well share.

Note: I have not tested this to actually run, we left untranslated files in our server but use these as reference to find things - so it is possible the script I ran broke some things.

I've also attached the nodejs script itself, it could easily be expanded to run against the cpp files for instance, so use it however you'd like.

Cheers,
 

Attachments

You must be registered for see attachments list
Elite Diviner
Joined
Sep 12, 2020
Messages
442
Reaction score
224
Some of it is very helpful thanks. Most of the boss fights...
 
Last edited:
Back
Top