+ struct DIRECTIVE {
+ bool done;
+ char *desc;
+ };
+
+ DIRECTIVE directives[numdirectives];
+
+ directives[0].desc = "s_GameServ - GameServ Nickname";
+ directives[1].desc = "GSHOST - GameServ Hostname";
+ directives[2].desc = "GSIDENT - GameServ Ident";
+ directives[3].desc = "SERVERNAME - Pseudo Server's Name";
+ directives[4].desc = "C_FOREST - Forest Channel";
+ directives[5].desc = "C_FORESTTOPIC - Topic for the Forest Channel";
+ directives[6].desc = "REMOTESERVER - Server for gameserv to connect to (ip or hostname)";
+ directives[7].desc = "REMOTEPORT - Port on the remote server to connect to";
+ directives[8].desc = "REMOTEPASS - Password on the remote server";
+ directives[9].desc = "PLAYERDATA - File to store the player saves in";
+ directives[10].desc = "SAVEDNOTICE - True/False as to wether or not to tell the forest "\
+ "channel that the player database has been saved";
+ directives[11].desc = "ADMINPASS - Password to identify as an admin with";
+ directives[12].desc = "WELCOMEDELAY - Delay (in seconds) to wait before welcoming new users to the network";
+ directives[13].desc = "FORESTFIGHTS - Number of forest fights players get every day";
+ directives[14].desc = "UPDATEPERIOD - Number of seconds between every player data save";
+ directives[15].desc = "PIDFILE - Filename to store the gameserv process ID in";
+ directives[16].desc = "MAXAFIGHTDISTANCE - The maximum number of levels above you "\
+ "that you can fight player->player";
+ directives[17].desc = "MAXBFIGHTDISTANCE - The maximum number of levels below you "\
+ "that you can fight player->player";
+ directives[18].desc = "MAXIDLETIME - The maximum amount of time (in seconds) "\
+ "that a player can be idle before something happens";
+ directives[19].desc = "IDLECHECKPERIOD - The period (in seconds) in which the entire "\
+ "players list will be checked for idlers. See also: "\
+ "MAXIDLETIME";
+ directives[20].desc = "LISTENONC_FOREST - True/False as to "\
+ "whether or not to listen for forest "\
+ "commands on the forest channel";
+ directives[21].desc = "NEWSDATA - File to store daily news in";
+ directives[22].desc = "REFRESHPERIOD - Period (in seconds) to "\
+ "refresh players";
+ directives[23].desc = "LEVEL1EXPIRE - Amount of days until a "\
+ "level 1 player's account is deleted due to "\
+ "inactivity.";
+ directives[24].desc = "DEFAULTEXPIRE - Amount of days until a "\
+ "level 2 and above player's account is "\
+ "deleted due to inactivity";
+ directives[25].desc = "USENICKSERV - True/False as to wether or not "\
+ "GameServ should identify with NickServ";
+ directives[26].desc = "NSNAME - Your network's NickServ nickname";
+ directives[27].desc = "NSPASS - GameServ's NickServ Password";
+ directives[28].desc = "DRAGONDATA - File to store the current "\
+ "dragon's stats in";
+ directives[29].desc = "MASTERDATA - File to store the level master stats in";
+ directives[30].desc = "ITEMDATA - File to store the items in";
+ directives[31].desc = "TAVERNITEMDATA - File in which to store the items that are available in the tavern";
+
+ configflags = 0;
+
+ for (int count = 0; count < numdirectives; count++)
+ {
+ directives[count].done = false;
+ }
+