PDA

View Full Version : An INI file for the zoneserver


Malevolent
04-21-2002, 03:22 PM
An INI file for the zone server would be l33t.

Some things that could be set:

Client Command values (who can use what command)
Turn on/off various defines
Other cool gizmos
Widgets

Essentially, I'm thinking this would be used to reduce the number of #defs and allow people to further customize some of the commands and maybe clean up some of the code at the same time.

If anything, when there's time, I'll rip the worldserver ini parser and go at it. :P

stormgod
04-21-2002, 03:25 PM
agree 100% with Malevolent

Hmm
04-21-2002, 04:10 PM
hmm very good idea. easy way to set summoning to perlivbaged player etc.

DeletedUser
04-21-2002, 04:49 PM
Actually I was going to work on that, expect it in 0.3.2 :D

Merkur
04-21-2002, 07:12 PM
actually that whats the database table "Variables" is for

Trumpcard
04-22-2002, 12:36 AM
Both are valid options, but putting them in the variables table is a better option. It would allow you to change them remotely with a minimum of fuss.

DeletedUser
04-22-2002, 01:15 AM
Either works, I just thought a ini would be easier to edit.

Baron Sprite
04-22-2002, 02:44 PM
why not have it so you can use either?
in variable table have all the options, but a useini 1/0. if 0 can set variables there, if 1 then use the ini settings. alakin in the ini have, usedbvar 1/0. Or something... rambling woo ;)

DeletedUser
05-01-2002, 10:59 AM
Only problem is, using the variables column for 100 commands is a little too much.. (to set the levels)