• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

monsters in sql?

muphet

New Member
Joined
Apr 27, 2008
Messages
233
Reaction score
2
Hi there,

I have question about monster.
Is it possible to fetch monster's data directly from sql database using lua function (no server configuration)? Or if not - hot to attempt to make this?
It's even easier way to manage monsters etc. (and makes new possibilities)
 
For sure possible, not too hard as well.
You can use Lua to parse stuff from the DB to all those different monster files (generating xml files..), and generating a monsters.xml file.
Loading from the database, without writing them to files first, requires source changes, so that's not possible with Lua itself.

If you have some sample bit of tables that contain monster information I might throw a try on it.
 
Back
Top