2020-08-23 17:14:54 +00:00
|
|
|
#pragma once
|
2020-08-18 20:42:30 +00:00
|
|
|
|
|
|
|
namespace settings {
|
2020-08-23 21:09:31 +00:00
|
|
|
extern int VERBOSITY;
|
2020-08-18 20:42:30 +00:00
|
|
|
extern int LOGINPORT;
|
2020-09-01 22:37:09 +00:00
|
|
|
extern bool APPROVEALLNAMES;
|
2020-09-08 22:23:45 +00:00
|
|
|
extern int DBSAVEINTERVAL;
|
2020-08-18 20:42:30 +00:00
|
|
|
extern int SHARDPORT;
|
|
|
|
extern std::string SHARDSERVERIP;
|
2020-09-16 15:45:53 +00:00
|
|
|
extern time_t TIMEOUT;
|
2020-10-14 21:15:02 +00:00
|
|
|
extern int VIEWDISTANCE;
|
2020-09-22 18:53:44 +00:00
|
|
|
extern bool SIMULATEMOBS;
|
2020-08-18 20:42:30 +00:00
|
|
|
extern int SPAWN_X;
|
|
|
|
extern int SPAWN_Y;
|
|
|
|
extern int SPAWN_Z;
|
2020-09-08 20:41:02 +00:00
|
|
|
extern int SPAWN_ANGLE;
|
2020-09-22 02:26:12 +00:00
|
|
|
extern int ACCLEVEL;
|
2020-08-19 17:22:54 +00:00
|
|
|
extern std::string MOTDSTRING;
|
2020-08-21 22:14:11 +00:00
|
|
|
extern std::string NPCJSON;
|
2020-09-09 17:06:22 +00:00
|
|
|
extern std::string XDTJSON;
|
2020-09-07 17:54:40 +00:00
|
|
|
extern std::string MOBJSON;
|
2020-12-12 21:21:55 +00:00
|
|
|
extern std::string ACADEMYJSON;
|
2020-09-17 02:27:21 +00:00
|
|
|
extern std::string PATHJSON;
|
functional crates (no more plungers) (#133)
* FM, Taros and Boosts awards from killing mobs should be pretty
accurate now. A temporary formula for adjusting player/mob level gap is
implemented, but it will probably need to be adjusted in the future
* Mobs now drop correct crates
* Crates can be opened and give you correct items This includes
regular mob crates, world boss crates, mission crates, IZ race crates,
E.G.G.E.R.s, golden Eggs, and Event Crates. Keep in mind that neither
IZ races or golden Eggs are implemented, but if you spawn such a crate
it can be opened.
* All data is read from a json file, for which I'm going to release a
tool soon so it's easily adjustable
* There is a new setting for enabling events, which enables dropping
extra event crates These are Knishmas, Halloween and Easter
2020-10-10 17:18:47 +00:00
|
|
|
extern std::string DROPSJSON;
|
2020-10-24 19:48:55 +00:00
|
|
|
extern std::string EGGSJSON;
|
2020-10-06 19:53:21 +00:00
|
|
|
extern std::string GRUNTWORKJSON;
|
2020-11-28 23:31:00 +00:00
|
|
|
extern std::string DBPATH;
|
functional crates (no more plungers) (#133)
* FM, Taros and Boosts awards from killing mobs should be pretty
accurate now. A temporary formula for adjusting player/mob level gap is
implemented, but it will probably need to be adjusted in the future
* Mobs now drop correct crates
* Crates can be opened and give you correct items This includes
regular mob crates, world boss crates, mission crates, IZ race crates,
E.G.G.E.R.s, golden Eggs, and Event Crates. Keep in mind that neither
IZ races or golden Eggs are implemented, but if you spawn such a crate
it can be opened.
* All data is read from a json file, for which I'm going to release a
tool soon so it's easily adjustable
* There is a new setting for enabling events, which enables dropping
extra event crates These are Knishmas, Halloween and Easter
2020-10-10 17:18:47 +00:00
|
|
|
extern int EVENTMODE;
|
|
|
|
extern int EVENTCRATECHANCE;
|
2020-12-04 16:30:21 +00:00
|
|
|
extern bool MONITORENABLED;
|
2020-12-02 22:42:33 +00:00
|
|
|
extern int MONITORPORT;
|
|
|
|
extern int MONITORINTERVAL;
|
2020-12-07 18:24:56 +00:00
|
|
|
extern bool DISABLEFIRSTUSEFLAG;
|
2020-08-18 20:42:30 +00:00
|
|
|
|
|
|
|
void init();
|
|
|
|
}
|