• 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] - ROM Lua functions documentation

Newbie Spellweaver
Joined
Aug 11, 2022
Messages
9
Reaction score
15
A friend and I were working on customizing a pserver for ourselves a while back and I wrote up a script to use openai api to generate some docs as there's a frustrating lack of docs for adding new lua functionality from scratch. An AI wrote these so some may be just wrong, but I found it super useful to search the directory for keywords when looking to see if a func existed for something. There is also an errors.txt with functions my script couldn't automatically generate for some reason or another. The list isn't exhaustive but there are almost 450 functions documented including their cpp implementation.

Example for function GetNowTime:

docs-example.PNG - [Release] - ROM Lua functions documentation - RaGEZONE Forums


Hope this can help another developer out. Do whatever you want with this, though attribution would be cool if it's posted anywhere else.

Cheers warriors of Taborea
 

Attachments

You must be registered for see attachments list
Back
Top