New LUA Functions: SetServerVariable and GetServerVariable

Discussions on development of both the EQ2Emulator LUA Script Engine and Script specifications

Moderator: Team Members

Post Reply
Jabantiz
Lead Developer
Posts: 2912
Joined: Wed Jul 25, 2007 2:52 pm
Location: California

New LUA Functions: SetServerVariable and GetServerVariable

Post by Jabantiz » Wed Jul 08, 2015 11:55 pm

These functions should only be used when you need a server wide variable and it needs to persist through server restarts.

GetServerVariable()
SetServerVariable()

These are used to manipulate the server variables stored in the `variables` table in the DB. To make it easier to identify variables added through lua the server core will add "lua_" to the front of whatever name is provided.

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests