removed eventcratechance config

This commit is contained in:
FinnHornhoover 2021-04-04 04:25:30 -07:00 committed by Gent Semaj
parent 4eaf3b2f08
commit 5517a358ea
3 changed files with 0 additions and 5 deletions

View File

@ -69,8 +69,6 @@ accountlevel=1
# 2 = Halloween # 2 = Halloween
# 3 = Easter # 3 = Easter
eventmode=0 eventmode=0
# percent chance of an event crate dropping each kill
eventcratechance=10
# you can override the default spawn point. # you can override the default spawn point.
# these example coords are for the Future (Z is height): # these example coords are for the Future (Z is height):

View File

@ -60,7 +60,6 @@ int settings::MONITORINTERVAL = 5000;
// event mode settings // event mode settings
int settings::EVENTMODE = 0; int settings::EVENTMODE = 0;
int settings::EVENTCRATECHANCE = 10;
void settings::init() { void settings::init() {
INIReader reader("config.ini"); INIReader reader("config.ini");
@ -99,7 +98,6 @@ void settings::init() {
DBPATH = reader.Get("shard", "dbpath", DBPATH); DBPATH = reader.Get("shard", "dbpath", DBPATH);
ACCLEVEL = reader.GetInteger("shard", "accountlevel", ACCLEVEL); ACCLEVEL = reader.GetInteger("shard", "accountlevel", ACCLEVEL);
EVENTMODE = reader.GetInteger("shard", "eventmode", EVENTMODE); EVENTMODE = reader.GetInteger("shard", "eventmode", EVENTMODE);
EVENTCRATECHANCE = reader.GetInteger("shard", "eventcratechance", EVENTCRATECHANCE);
DISABLEFIRSTUSEFLAG = reader.GetBoolean("shard", "disablefirstuseflag", DISABLEFIRSTUSEFLAG); DISABLEFIRSTUSEFLAG = reader.GetBoolean("shard", "disablefirstuseflag", DISABLEFIRSTUSEFLAG);
MONITORENABLED = reader.GetBoolean("monitor", "enabled", MONITORENABLED); MONITORENABLED = reader.GetBoolean("monitor", "enabled", MONITORENABLED);
MONITORPORT = reader.GetInteger("monitor", "port", MONITORPORT); MONITORPORT = reader.GetInteger("monitor", "port", MONITORPORT);

View File

@ -26,7 +26,6 @@ namespace settings {
extern std::string GRUNTWORKJSON; extern std::string GRUNTWORKJSON;
extern std::string DBPATH; extern std::string DBPATH;
extern int EVENTMODE; extern int EVENTMODE;
extern int EVENTCRATECHANCE;
extern bool MONITORENABLED; extern bool MONITORENABLED;
extern int MONITORPORT; extern int MONITORPORT;
extern int MONITORINTERVAL; extern int MONITORINTERVAL;