2020-08-23 17:14:54 +00:00
|
|
|
#pragma once
|
2020-08-18 20:42:30 +00:00
|
|
|
|
2024-06-09 02:55:03 +00:00
|
|
|
#include <stdint.h>
|
2022-07-16 23:19:40 +00:00
|
|
|
#include <string>
|
2024-10-29 04:26:25 +00:00
|
|
|
#include <time.h>
|
2022-07-16 23:19:40 +00:00
|
|
|
|
2020-08-18 20:42:30 +00:00
|
|
|
namespace settings {
|
2020-08-23 21:09:31 +00:00
|
|
|
extern int VERBOSITY;
|
2021-11-04 02:12:11 +00:00
|
|
|
extern bool SANDBOX;
|
2024-09-28 12:14:49 +00:00
|
|
|
extern std::string SANDBOXEXTRAPATH;
|
2020-08-18 20:42:30 +00:00
|
|
|
extern int LOGINPORT;
|
2020-09-01 22:37:09 +00:00
|
|
|
extern bool APPROVEALLNAMES;
|
2022-06-29 21:42:44 +00:00
|
|
|
extern bool AUTOCREATEACCOUNTS;
|
2024-09-18 03:41:48 +00:00
|
|
|
extern std::string AUTHMETHODS;
|
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;
|
2021-10-21 18:58:41 +00:00
|
|
|
extern bool LOCALHOSTWORKAROUND;
|
2022-11-26 18:36:10 +00:00
|
|
|
extern bool ANTICHEAT;
|
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-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;
|
2021-05-02 00:49:54 +00:00
|
|
|
extern std::string PATCHDIR;
|
2021-05-07 19:29:18 +00:00
|
|
|
extern std::string ENABLEDPATCHES;
|
2021-05-02 00:49:54 +00:00
|
|
|
extern std::string TDATADIR;
|
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;
|
2020-12-04 16:30:21 +00:00
|
|
|
extern bool MONITORENABLED;
|
2020-12-02 22:42:33 +00:00
|
|
|
extern int MONITORPORT;
|
2024-10-16 22:42:33 +00:00
|
|
|
extern std::string MONITORLISTENIP;
|
2020-12-02 22:42:33 +00:00
|
|
|
extern int MONITORINTERVAL;
|
2020-12-07 18:24:56 +00:00
|
|
|
extern bool DISABLEFIRSTUSEFLAG;
|
2023-12-19 17:35:29 +00:00
|
|
|
extern bool IZRACESCORECAPPED;
|
2020-08-18 20:42:30 +00:00
|
|
|
|
|
|
|
void init();
|
|
|
|
}
|