Switching the database mode - dvdvideo1234/TrackAssemblyTool GitHub Wiki
I want to use Lua mode because I've got third-party SQLite server. How can I switch to Lua mode?
You can do the following:
- On the tool screen next to holder's model validation you shall see the database mode.
- Bring up the console and write
trackassembly_modedb LUA( orSQLto go to SQL mode respectively ). - Press enter and restart Gmod.
- Look at the tool screen. After the holder's model validation, it shall write the new mode.
- Done. You are now in
LUAmode.
Using SQL mode is still the best option for using the tool with for servers, because only a few models have to
stay in the cache for a given amount of time, rather than the whole database forever ( till the server
is up that is ), so please use SQL mode when possible if you want to save some amount of RAM.
LUA mode is used as a default option because some people have third party SQL servers, which messes with
the sql.* library of the game and does not allow me to create the needed SQL tables and records properly.