mirror of
https://github.com/EQEmu/Server.git
synced 2026-02-16 08:42:25 +00:00
normalize includes: world
This commit is contained in:
parent
6314b386ef
commit
552a908f92
@ -96,6 +96,7 @@ add_executable(world ${world_sources} ${world_headers})
|
||||
target_compile_definitions(world PRIVATE WORLD)
|
||||
|
||||
target_link_libraries(world common)
|
||||
target_include_directories(world PRIVATE ..)
|
||||
|
||||
if(WIN32 AND EQEMU_BUILD_PCH)
|
||||
target_precompile_headers(world PRIVATE ../common/pch/std-pch.h)
|
||||
|
||||
@ -1,19 +1,20 @@
|
||||
#include <glm/vec4.hpp>
|
||||
#include "../common/global_define.h"
|
||||
#include "../common/servertalk.h"
|
||||
#include "../common/extprofile.h"
|
||||
#include "../common/rulesys.h"
|
||||
#include "../common/misc_functions.h"
|
||||
#include "../common/strings.h"
|
||||
#include "../common/random.h"
|
||||
#include "adventure.h"
|
||||
#include "adventure_manager.h"
|
||||
#include "worlddb.h"
|
||||
#include "zonelist.h"
|
||||
#include "clientlist.h"
|
||||
#include "cliententry.h"
|
||||
#include "../common/zone_store.h"
|
||||
#include "../common/repositories/character_corpses_repository.h"
|
||||
|
||||
#include "common/extprofile.h"
|
||||
#include "common/misc_functions.h"
|
||||
#include "common/random.h"
|
||||
#include "common/repositories/character_corpses_repository.h"
|
||||
#include "common/rulesys.h"
|
||||
#include "common/servertalk.h"
|
||||
#include "common/strings.h"
|
||||
#include "common/zone_store.h"
|
||||
#include "world/adventure_manager.h"
|
||||
#include "world/cliententry.h"
|
||||
#include "world/clientlist.h"
|
||||
#include "world/worlddb.h"
|
||||
#include "world/zonelist.h"
|
||||
|
||||
#include "glm/vec4.hpp"
|
||||
|
||||
extern EQ::Random emu_random;
|
||||
|
||||
|
||||
@ -1,13 +1,12 @@
|
||||
#ifndef ADVENTURE_H
|
||||
#define ADVENTURE_H
|
||||
#pragma once
|
||||
|
||||
#include "../common/global_define.h"
|
||||
#include "../common/types.h"
|
||||
#include "../common/timer.h"
|
||||
#include "adventure_template.h"
|
||||
#include "common/timer.h"
|
||||
#include "common/types.h"
|
||||
#include "world/adventure_template.h"
|
||||
|
||||
#include <cstdlib>
|
||||
#include <list>
|
||||
#include <string>
|
||||
#include <stdlib.h>
|
||||
|
||||
enum AdventureStatus
|
||||
{
|
||||
@ -97,5 +96,3 @@ protected:
|
||||
Timer *current_timer;
|
||||
int instance_id;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@ -1,18 +1,19 @@
|
||||
#include "../common/global_define.h"
|
||||
#include "../common/misc_functions.h"
|
||||
#include "../common/strings.h"
|
||||
#include "../common/servertalk.h"
|
||||
#include "../common/rulesys.h"
|
||||
#include "../common/random.h"
|
||||
#include "adventure.h"
|
||||
#include "adventure_manager.h"
|
||||
#include "worlddb.h"
|
||||
#include "zonelist.h"
|
||||
#include "clientlist.h"
|
||||
#include "cliententry.h"
|
||||
#include "../common/zone_store.h"
|
||||
|
||||
#include "common/misc_functions.h"
|
||||
#include "common/random.h"
|
||||
#include "common/rulesys.h"
|
||||
#include "common/servertalk.h"
|
||||
#include "common/strings.h"
|
||||
#include "common/zone_store.h"
|
||||
#include "world/adventure.h"
|
||||
#include "world/cliententry.h"
|
||||
#include "world/clientlist.h"
|
||||
#include "world/worlddb.h"
|
||||
#include "world/zonelist.h"
|
||||
|
||||
#include <cstdio>
|
||||
#include <sstream>
|
||||
#include <stdio.h>
|
||||
|
||||
AdventureManager::AdventureManager()
|
||||
{
|
||||
|
||||
@ -1,11 +1,10 @@
|
||||
#ifndef ADVENTURE_MANAGER_H
|
||||
#define ADVENTURE_MANAGER_H
|
||||
#pragma once
|
||||
|
||||
#include "common/timer.h"
|
||||
#include "common/types.h"
|
||||
#include "world/adventure_template.h"
|
||||
#include "world/adventure.h"
|
||||
|
||||
#include "../common/global_define.h"
|
||||
#include "../common/types.h"
|
||||
#include "../common/timer.h"
|
||||
#include "adventure.h"
|
||||
#include "adventure_template.h"
|
||||
#include <map>
|
||||
#include <list>
|
||||
|
||||
@ -94,5 +93,3 @@ protected:
|
||||
Timer *save_timer;
|
||||
Timer *leaderboard_info_timer;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@ -1,9 +1,8 @@
|
||||
#ifndef ADVENTURE_TEMPLATE_H
|
||||
#define ADVENTURE_TEMPLATE_H
|
||||
#pragma once
|
||||
|
||||
#include "../common/global_define.h"
|
||||
#include "../common/types.h"
|
||||
#include "common/types.h"
|
||||
|
||||
#pragma pack(push)
|
||||
#pragma pack(1)
|
||||
|
||||
struct AdventureTemplate
|
||||
@ -42,6 +41,4 @@ struct AdventureTemplate
|
||||
float graveyard_radius;
|
||||
};
|
||||
|
||||
#pragma pack()
|
||||
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
#include "../world_server_cli.h"
|
||||
#include "../worlddb.h"
|
||||
#include "../../common/database_schema.h"
|
||||
#include "world/world_server_cli.h"
|
||||
|
||||
#include "common/database_schema.h"
|
||||
#include "world/worlddb.h"
|
||||
|
||||
void WorldserverCLI::BotsDisable(int argc, char **argv, argh::parser &cmd, std::string &description)
|
||||
{
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
#include "../world_server_cli.h"
|
||||
#include "../worlddb.h"
|
||||
#include "../../common/rulesys.h"
|
||||
#include "world/world_server_cli.h"
|
||||
|
||||
#include "common/rulesys.h"
|
||||
#include "world/worlddb.h"
|
||||
|
||||
void WorldserverCLI::BotsEnable(int argc, char **argv, argh::parser &cmd, std::string &description)
|
||||
{
|
||||
|
||||
@ -1,7 +1,8 @@
|
||||
#include "../world_server_cli.h"
|
||||
#include "../../common/eqemu_logsys.h"
|
||||
#include "../../common/eqemu_logsys_log_aliases.h"
|
||||
#include "../worlddb.h"
|
||||
#include "world/world_server_cli.h"
|
||||
|
||||
#include "common/eqemu_logsys_log_aliases.h"
|
||||
#include "common/eqemu_logsys.h"
|
||||
#include "world/worlddb.h"
|
||||
|
||||
void WorldserverCLI::CopyCharacter(int argc, char **argv, argh::parser &cmd, std::string &description)
|
||||
{
|
||||
|
||||
@ -1,8 +1,10 @@
|
||||
#include "world/world_server_cli.h"
|
||||
|
||||
#include "common/eqemu_config.h"
|
||||
#include "common/repositories/zone_repository.h"
|
||||
|
||||
#include <csignal>
|
||||
#include <thread>
|
||||
#include "../world_server_cli.h"
|
||||
#include "../../common/repositories/zone_repository.h"
|
||||
#include "../../common/eqemu_config.h"
|
||||
#include <signal.h>
|
||||
|
||||
Database db;
|
||||
Database db2;
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
#include "../world_server_cli.h"
|
||||
#include "../../common/database/database_dump_service.h"
|
||||
#include "world/world_server_cli.h"
|
||||
|
||||
#include "common/database/database_dump_service.h"
|
||||
|
||||
void WorldserverCLI::DatabaseDump(int argc, char **argv, argh::parser &cmd, std::string &description)
|
||||
{
|
||||
|
||||
@ -1,6 +1,9 @@
|
||||
#include "../world_server_cli.h"
|
||||
#include "../../common/database_schema.h"
|
||||
#include "../../common/json/json.h"
|
||||
#include "world/world_server_cli.h"
|
||||
|
||||
#include "common/database_schema.h"
|
||||
#include "common/json/json.h"
|
||||
|
||||
#include <iostream>
|
||||
|
||||
void WorldserverCLI::DatabaseGetSchema(int argc, char **argv, argh::parser &cmd, std::string &description)
|
||||
{
|
||||
@ -62,8 +65,5 @@ void WorldserverCLI::DatabaseGetSchema(int argc, char **argv, argh::parser &cmd,
|
||||
schema["version_tables"] = version_tables_json;
|
||||
schema["bot_tables"] = bot_tables_json;
|
||||
|
||||
std::stringstream payload;
|
||||
payload << schema;
|
||||
|
||||
std::cout << payload.str() << std::endl;
|
||||
std::cout << schema << std::endl;
|
||||
}
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
#include "../world_server_cli.h"
|
||||
#include "../worlddb.h"
|
||||
#include "world/world_server_cli.h"
|
||||
#include "world/worlddb.h"
|
||||
|
||||
void WorldserverCLI::DatabaseSetAccountStatus(int argc, char **argv, argh::parser &cmd, std::string &description)
|
||||
{
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
#include "../world_server_cli.h"
|
||||
#include "../worlddb.h"
|
||||
#include "../../common/database/database_update.h"
|
||||
#include "world/world_server_cli.h"
|
||||
|
||||
#include "common/database/database_update.h"
|
||||
#include "world/worlddb.h"
|
||||
|
||||
void WorldserverCLI::DatabaseUpdates(int argc, char **argv, argh::parser &cmd, std::string &description)
|
||||
{
|
||||
|
||||
@ -1,7 +1,10 @@
|
||||
#include "../world_server_cli.h"
|
||||
#include "../../common/version.h"
|
||||
#include "../../common/json/json.h"
|
||||
#include "../../common/rulesys.h"
|
||||
#include "world/world_server_cli.h"
|
||||
|
||||
#include "common/json/json.h"
|
||||
#include "common/rulesys.h"
|
||||
#include "common/version.h"
|
||||
|
||||
#include <iostream>
|
||||
|
||||
void WorldserverCLI::DatabaseVersion(int argc, char **argv, argh::parser &cmd, std::string &description)
|
||||
{
|
||||
|
||||
@ -1,7 +1,8 @@
|
||||
#include "../world_server_cli.h"
|
||||
#include "../worlddb.h"
|
||||
#include "../../common/events/player_event_logs.h"
|
||||
#include "../../common/json/json.h"
|
||||
#include "world/world_server_cli.h"
|
||||
|
||||
#include "common/events/player_event_logs.h"
|
||||
#include "common/json/json.h"
|
||||
#include "world/worlddb.h"
|
||||
|
||||
void WorldserverCLI::EtlGetSettings(int argc, char **argv, argh::parser &cmd, std::string &description)
|
||||
{
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
#include "../world_server_cli.h"
|
||||
#include "../worlddb.h"
|
||||
#include "../../common/database_schema.h"
|
||||
#include "world/world_server_cli.h"
|
||||
|
||||
#include "common/database_schema.h"
|
||||
#include "world/worlddb.h"
|
||||
|
||||
void WorldserverCLI::MercsDisable(int argc, char **argv, argh::parser &cmd, std::string &description)
|
||||
{
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
#include "../world_server_cli.h"
|
||||
#include "../worlddb.h"
|
||||
#include "../../common/database_schema.h"
|
||||
#include "world/world_server_cli.h"
|
||||
|
||||
#include "common/database_schema.h"
|
||||
#include "world/worlddb.h"
|
||||
|
||||
void WorldserverCLI::MercsEnable(int argc, char **argv, argh::parser &cmd, std::string &description)
|
||||
{
|
||||
|
||||
@ -1,9 +1,11 @@
|
||||
#include "../world_server_cli.h"
|
||||
#include <cereal/archives/json.hpp>
|
||||
#include <cereal/types/vector.hpp>
|
||||
#include "world/world_server_cli.h"
|
||||
|
||||
#include "common/events/player_events.h"
|
||||
#include "common/memory/ksm.hpp"
|
||||
|
||||
#include "cereal/archives/json.hpp"
|
||||
#include "cereal/types/vector.hpp"
|
||||
#include <iomanip>
|
||||
#include "../../common/events/player_events.h"
|
||||
#include "../../common/memory/ksm.hpp"
|
||||
|
||||
void WorldserverCLI::TestCommand(int argc, char **argv, argh::parser &cmd, std::string &description)
|
||||
{
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
#include "../world_server_cli.h"
|
||||
#include "../../common/zone_store.h"
|
||||
#include "../../common/termcolor/rang.hpp"
|
||||
#include "world/world_server_cli.h"
|
||||
|
||||
#include "common/termcolor/rang.hpp"
|
||||
#include "common/zone_store.h"
|
||||
|
||||
void WorldserverCLI::TestColors(int argc, char **argv, argh::parser &cmd, std::string &description)
|
||||
{
|
||||
|
||||
@ -1,9 +1,10 @@
|
||||
#include "../world_server_cli.h"
|
||||
#include "../../common/rulesys.h"
|
||||
#include "../../common/repositories/content_flags_repository.h"
|
||||
#include "../../common/content/world_content_service.h"
|
||||
#include "../../common/repositories/criteria/content_filter_criteria.h"
|
||||
#include "../worlddb.h"
|
||||
#include "world/world_server_cli.h"
|
||||
|
||||
#include "common/content/world_content_service.h"
|
||||
#include "common/repositories/content_flags_repository.h"
|
||||
#include "common/repositories/criteria/content_filter_criteria.h"
|
||||
#include "common/rulesys.h"
|
||||
#include "world/worlddb.h"
|
||||
|
||||
void WorldserverCLI::ExpansionTestCommand(int argc, char **argv, argh::parser &cmd, std::string &description)
|
||||
{
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
#include "../world_server_cli.h"
|
||||
#include "../../common/repositories/instance_list_repository.h"
|
||||
#include "../worlddb.h"
|
||||
#include "world/world_server_cli.h"
|
||||
|
||||
#include "common/repositories/instance_list_repository.h"
|
||||
#include "world/worlddb.h"
|
||||
|
||||
void WorldserverCLI::TestRepository(int argc, char **argv, argh::parser &cmd, std::string &description)
|
||||
{
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
#include "../world_server_cli.h"
|
||||
#include "../worlddb.h"
|
||||
#include "../../common/repositories/zone_repository.h"
|
||||
#include "world/world_server_cli.h"
|
||||
|
||||
#include "common/repositories/zone_repository.h"
|
||||
#include "world/worlddb.h"
|
||||
|
||||
void WorldserverCLI::TestRepository2(int argc, char **argv, argh::parser &cmd, std::string &description)
|
||||
{
|
||||
|
||||
@ -1,8 +1,10 @@
|
||||
#include "../world_server_cli.h"
|
||||
#include <cereal/archives/json.hpp>
|
||||
#include <cereal/types/vector.hpp>
|
||||
#include "../../common/events/player_events.h"
|
||||
#include "../../common/timer.h"
|
||||
#include "world/world_server_cli.h"
|
||||
|
||||
#include "common/events/player_events.h"
|
||||
#include "common/timer.h"
|
||||
|
||||
#include "cereal/archives/json.hpp"
|
||||
#include "cereal/types/vector.hpp"
|
||||
|
||||
void WorldserverCLI::TestStringBenchmarkCommand(int argc, char **argv, argh::parser &cmd, std::string &description)
|
||||
{
|
||||
|
||||
@ -1,6 +1,9 @@
|
||||
#include "../world_server_cli.h"
|
||||
#include "../../common/json/json.h"
|
||||
#include "../../common/version.h"
|
||||
#include "world/world_server_cli.h"
|
||||
|
||||
#include "common/json/json.h"
|
||||
#include "common/version.h"
|
||||
|
||||
#include <iostream>
|
||||
|
||||
void WorldserverCLI::Version(int argc, char **argv, argh::parser &cmd, std::string &description)
|
||||
{
|
||||
|
||||
@ -16,59 +16,54 @@
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#include "../common/global_define.h"
|
||||
#include "../common/eq_packet.h"
|
||||
#include "../common/eq_stream_intf.h"
|
||||
#include "../common/misc.h"
|
||||
#include "../common/rulesys.h"
|
||||
#include "../common/emu_opcodes.h"
|
||||
#include "../common/eq_packet_structs.h"
|
||||
#include "../common/packet_dump.h"
|
||||
#include "../common/eq_stream_intf.h"
|
||||
#include "../common/inventory_profile.h"
|
||||
#include "../common/races.h"
|
||||
#include "../common/classes.h"
|
||||
#include "../common/skills.h"
|
||||
#include "../common/extprofile.h"
|
||||
#include "../common/strings.h"
|
||||
#include "../common/emu_versions.h"
|
||||
#include "../common/random.h"
|
||||
#include "../common/shareddb.h"
|
||||
#include "../common/opcodemgr.h"
|
||||
#include "../common/data_verification.h"
|
||||
#include "../common/data_bucket.h"
|
||||
|
||||
#include "client.h"
|
||||
#include "worlddb.h"
|
||||
#include "world_config.h"
|
||||
#include "login_server.h"
|
||||
#include "login_server_list.h"
|
||||
#include "zoneserver.h"
|
||||
#include "zonelist.h"
|
||||
#include "clientlist.h"
|
||||
#include "wguild_mgr.h"
|
||||
#include "sof_char_create_data.h"
|
||||
#include "../common/zone_store.h"
|
||||
#include "../common/repositories/account_repository.h"
|
||||
#include "../common/repositories/player_event_logs_repository.h"
|
||||
#include "../common/repositories/inventory_repository.h"
|
||||
#include "../common/events/player_event_logs.h"
|
||||
#include "../common/content/world_content_service.h"
|
||||
#include "../common/repositories/group_id_repository.h"
|
||||
#include "../common/repositories/character_data_repository.h"
|
||||
#include "../common/skill_caps.h"
|
||||
|
||||
#include <iostream>
|
||||
#include "common/classes.h"
|
||||
#include "common/content/world_content_service.h"
|
||||
#include "common/data_bucket.h"
|
||||
#include "common/data_verification.h"
|
||||
#include "common/emu_opcodes.h"
|
||||
#include "common/emu_versions.h"
|
||||
#include "common/eq_packet_structs.h"
|
||||
#include "common/eq_packet.h"
|
||||
#include "common/eq_stream_intf.h"
|
||||
#include "common/eq_stream_intf.h"
|
||||
#include "common/events/player_event_logs.h"
|
||||
#include "common/extprofile.h"
|
||||
#include "common/inventory_profile.h"
|
||||
#include "common/misc.h"
|
||||
#include "common/opcodemgr.h"
|
||||
#include "common/packet_dump.h"
|
||||
#include "common/races.h"
|
||||
#include "common/random.h"
|
||||
#include "common/repositories/account_repository.h"
|
||||
#include "common/repositories/character_data_repository.h"
|
||||
#include "common/repositories/group_id_repository.h"
|
||||
#include "common/repositories/inventory_repository.h"
|
||||
#include "common/repositories/player_event_logs_repository.h"
|
||||
#include "common/rulesys.h"
|
||||
#include "common/shareddb.h"
|
||||
#include "common/skill_caps.h"
|
||||
#include "common/skills.h"
|
||||
#include "common/strings.h"
|
||||
#include "common/zone_store.h"
|
||||
#include "world/clientlist.h"
|
||||
#include "world/login_server_list.h"
|
||||
#include "world/login_server.h"
|
||||
#include "world/sof_char_create_data.h"
|
||||
#include "world/wguild_mgr.h"
|
||||
#include "world/world_config.h"
|
||||
#include "world/worlddb.h"
|
||||
#include "world/zonelist.h"
|
||||
#include "world/zoneserver.h"
|
||||
|
||||
#include "zlib.h"
|
||||
#include <climits>
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
#include <iomanip>
|
||||
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <zlib.h>
|
||||
#include <limits.h>
|
||||
|
||||
//FatherNitwit: uncomment to enable my IP based authentication hack
|
||||
//#define IPBASED_AUTH_HACK
|
||||
#include <iostream>
|
||||
|
||||
// Disgrace: for windows compile
|
||||
#ifdef _WINDOWS
|
||||
|
||||
@ -15,19 +15,17 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
#ifndef CLIENT_H
|
||||
#define CLIENT_H
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "common/eq_packet_structs.h"
|
||||
#include "common/inventory_profile.h"
|
||||
#include "common/linked_list.h"
|
||||
#include "common/timer.h"
|
||||
#include "world/cliententry.h"
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "../common/linked_list.h"
|
||||
#include "../common/timer.h"
|
||||
#include "../common/inventory_profile.h"
|
||||
//#include "zoneserver.h"
|
||||
|
||||
#include "../common/eq_packet_structs.h"
|
||||
#include "cliententry.h"
|
||||
|
||||
class EQApplicationPacket;
|
||||
class EQStreamInterface;
|
||||
|
||||
@ -128,5 +126,3 @@ private:
|
||||
|
||||
bool CheckCharCreateInfoSoF(CharCreate_Struct *cc);
|
||||
bool CheckCharCreateInfoTitanium(CharCreate_Struct *cc);
|
||||
|
||||
#endif
|
||||
|
||||
@ -1,12 +1,12 @@
|
||||
#include "../common/global_define.h"
|
||||
#include "cliententry.h"
|
||||
#include "clientlist.h"
|
||||
#include "login_server.h"
|
||||
#include "login_server_list.h"
|
||||
#include "shared_task_manager.h"
|
||||
#include "worlddb.h"
|
||||
#include "zoneserver.h"
|
||||
#include "world_config.h"
|
||||
|
||||
#include "world/clientlist.h"
|
||||
#include "world/login_server_list.h"
|
||||
#include "world/login_server.h"
|
||||
#include "world/shared_task_manager.h"
|
||||
#include "world/world_config.h"
|
||||
#include "world/worlddb.h"
|
||||
#include "world/zoneserver.h"
|
||||
|
||||
extern uint32 numplayers;
|
||||
extern volatile bool RunLoops;
|
||||
|
||||
@ -1,11 +1,10 @@
|
||||
#ifndef CLIENTENTRY_H_
|
||||
#define CLIENTENTRY_H_
|
||||
#pragma once
|
||||
|
||||
#include "common/md5.h"
|
||||
#include "common/rulesys.h"
|
||||
#include "common/servertalk.h"
|
||||
#include "common/types.h"
|
||||
|
||||
#include "../common/types.h"
|
||||
#include "../common/md5.h"
|
||||
//#include "../common/eq_packet_structs.h"
|
||||
#include "../common/servertalk.h"
|
||||
#include "../common/rulesys.h"
|
||||
#include <vector>
|
||||
|
||||
typedef enum {
|
||||
@ -160,6 +159,3 @@ private:
|
||||
|
||||
std::unique_ptr<ServerPacket> m_dz_invite;
|
||||
};
|
||||
|
||||
#endif /*CLIENTENTRY_H_*/
|
||||
|
||||
|
||||
@ -16,24 +16,24 @@
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#include "../common/global_define.h"
|
||||
#include "clientlist.h"
|
||||
#include "zoneserver.h"
|
||||
#include "zonelist.h"
|
||||
#include "client.h"
|
||||
#include "worlddb.h"
|
||||
#include "../common/strings.h"
|
||||
#include "../common/guilds.h"
|
||||
#include "../common/races.h"
|
||||
#include "../common/classes.h"
|
||||
#include "../common/packet_dump.h"
|
||||
#include "../common/misc.h"
|
||||
#include "../common/misc_functions.h"
|
||||
#include "../common/json/json.h"
|
||||
#include "../common/event_sub.h"
|
||||
#include "web_interface.h"
|
||||
#include "wguild_mgr.h"
|
||||
#include "../common/zone_store.h"
|
||||
#include "common/classes.h"
|
||||
#include "common/event_sub.h"
|
||||
#include "common/guilds.h"
|
||||
#include "common/json/json.h"
|
||||
#include "common/misc_functions.h"
|
||||
#include "common/misc.h"
|
||||
#include "common/packet_dump.h"
|
||||
#include "common/races.h"
|
||||
#include "common/strings.h"
|
||||
#include "common/zone_store.h"
|
||||
#include "world/client.h"
|
||||
#include "world/clientlist.h"
|
||||
#include "world/web_interface.h"
|
||||
#include "world/wguild_mgr.h"
|
||||
#include "world/worlddb.h"
|
||||
#include "world/zonelist.h"
|
||||
#include "world/zoneserver.h"
|
||||
|
||||
#include <set>
|
||||
|
||||
uint32 numplayers = 0; //this really wants to be a member variable of ClientList...
|
||||
|
||||
@ -1,16 +1,16 @@
|
||||
#ifndef CLIENTLIST_H_
|
||||
#define CLIENTLIST_H_
|
||||
#pragma once
|
||||
|
||||
#include "common/eq_packet_structs.h"
|
||||
#include "common/event/timer.h"
|
||||
#include "common/json/json.h"
|
||||
#include "common/linked_list.h"
|
||||
#include "common/net/console_server_connection.h"
|
||||
#include "common/rulesys.h"
|
||||
#include "common/servertalk.h"
|
||||
#include "common/timer.h"
|
||||
|
||||
#include "../common/eq_packet_structs.h"
|
||||
#include "../common/linked_list.h"
|
||||
#include "../common/json/json.h"
|
||||
#include "../common/timer.h"
|
||||
#include "../common/rulesys.h"
|
||||
#include "../common/servertalk.h"
|
||||
#include "../common/event/timer.h"
|
||||
#include "../common/net/console_server_connection.h"
|
||||
#include <vector>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
class Client;
|
||||
class ZoneServer;
|
||||
@ -111,6 +111,3 @@ private:
|
||||
std::unordered_set<uint32_t> m_gm_zone_server_ids;
|
||||
std::unordered_map<uint32_t, std::unordered_set<uint32_t>> m_guild_zone_server_ids;
|
||||
};
|
||||
|
||||
#endif /*CLIENTLIST_H_*/
|
||||
|
||||
|
||||
@ -19,19 +19,21 @@
|
||||
*/
|
||||
|
||||
#include "console.h"
|
||||
#include "clientlist.h"
|
||||
#include "login_server.h"
|
||||
#include "login_server_list.h"
|
||||
#include "world_config.h"
|
||||
#include "world_console_connection.h"
|
||||
#include "worlddb.h"
|
||||
#include "zonelist.h"
|
||||
#include "zoneserver.h"
|
||||
#include "../common/strings.h"
|
||||
#include "../common/md5.h"
|
||||
#include "eqemu_api_world_data_service.h"
|
||||
#include "../common/zone_store.h"
|
||||
#include <fmt/format.h>
|
||||
|
||||
#include "common/md5.h"
|
||||
#include "common/strings.h"
|
||||
#include "common/zone_store.h"
|
||||
#include "world/clientlist.h"
|
||||
#include "world/eqemu_api_world_data_service.h"
|
||||
#include "world/login_server_list.h"
|
||||
#include "world/login_server.h"
|
||||
#include "world/world_config.h"
|
||||
#include "world/world_console_connection.h"
|
||||
#include "world/worlddb.h"
|
||||
#include "world/zonelist.h"
|
||||
#include "world/zoneserver.h"
|
||||
|
||||
#include "fmt/format.h"
|
||||
|
||||
/**
|
||||
* @param username
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#include "../common/net/console_server.h"
|
||||
#include "common/net/console_server.h"
|
||||
|
||||
void RegisterConsoleFunctions(std::unique_ptr<EQ::Net::ConsoleServer> &console);
|
||||
|
||||
@ -1,12 +1,13 @@
|
||||
#include "dynamic_zone.h"
|
||||
#include "cliententry.h"
|
||||
#include "clientlist.h"
|
||||
#include "dynamic_zone_manager.h"
|
||||
#include "worlddb.h"
|
||||
#include "zonelist.h"
|
||||
#include "zoneserver.h"
|
||||
#include "../common/eqemu_logsys.h"
|
||||
#include "../common/repositories/instance_list_repository.h"
|
||||
|
||||
#include "common/eqemu_logsys.h"
|
||||
#include "common/repositories/instance_list_repository.h"
|
||||
#include "world/cliententry.h"
|
||||
#include "world/clientlist.h"
|
||||
#include "world/dynamic_zone_manager.h"
|
||||
#include "world/worlddb.h"
|
||||
#include "world/zonelist.h"
|
||||
#include "world/zoneserver.h"
|
||||
|
||||
Database& DynamicZone::GetDatabase()
|
||||
{
|
||||
|
||||
@ -1,9 +1,8 @@
|
||||
#ifndef WORLD_DYNAMIC_ZONE_H
|
||||
#define WORLD_DYNAMIC_ZONE_H
|
||||
#pragma once
|
||||
|
||||
#include "../common/dynamic_zone_base.h"
|
||||
#include "../common/rulesys.h"
|
||||
#include "../common/timer.h"
|
||||
#include "common/dynamic_zone_base.h"
|
||||
#include "common/rulesys.h"
|
||||
#include "common/timer.h"
|
||||
|
||||
class Database;
|
||||
class ServerPacket;
|
||||
@ -52,5 +51,3 @@ private:
|
||||
Timer m_choose_leader_cooldown_timer{ static_cast<uint32_t>(RuleI(Expedition, ChooseLeaderCooldownTime)) };
|
||||
Timer m_warning_cooldown_timer{ 1 }; // non-zero so it's enabled initially
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@ -1,13 +1,15 @@
|
||||
#include "dynamic_zone_manager.h"
|
||||
#include "dynamic_zone.h"
|
||||
#include "cliententry.h"
|
||||
#include "clientlist.h"
|
||||
#include "worlddb.h"
|
||||
#include "zonelist.h"
|
||||
#include "zoneserver.h"
|
||||
#include "../common/rulesys.h"
|
||||
#include "../common/repositories/dynamic_zone_lockouts_repository.h"
|
||||
#include <cereal/types/utility.hpp>
|
||||
|
||||
#include "common/repositories/dynamic_zone_lockouts_repository.h"
|
||||
#include "common/rulesys.h"
|
||||
#include "world/cliententry.h"
|
||||
#include "world/clientlist.h"
|
||||
#include "world/dynamic_zone.h"
|
||||
#include "world/worlddb.h"
|
||||
#include "world/zonelist.h"
|
||||
#include "world/zoneserver.h"
|
||||
|
||||
#include "cereal/types/utility.hpp"
|
||||
|
||||
DynamicZoneManager dynamic_zone_manager;
|
||||
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
#ifndef WORLD_DYNAMIC_ZONE_MANAGER_H
|
||||
#define WORLD_DYNAMIC_ZONE_MANAGER_H
|
||||
#pragma once
|
||||
|
||||
#include "common/repositories/dynamic_zone_templates_repository.h"
|
||||
#include "common/timer.h"
|
||||
|
||||
#include "../common/timer.h"
|
||||
#include "../common/repositories/dynamic_zone_templates_repository.h"
|
||||
#include <memory>
|
||||
#include <unordered_map>
|
||||
#include <vector>
|
||||
@ -35,5 +35,3 @@ private:
|
||||
Timer m_process_throttle_timer{};
|
||||
std::unordered_map<uint32_t, DynamicZoneTemplatesRepository::DynamicZoneTemplates> m_dz_templates;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@ -1,17 +1,19 @@
|
||||
#include <fmt/format.h>
|
||||
#include "clientlist.h"
|
||||
#include "cliententry.h"
|
||||
#include "eqemu_api_world_data_service.h"
|
||||
#include "zoneserver.h"
|
||||
#include "zonelist.h"
|
||||
#include "../common/database_schema.h"
|
||||
#include "../common/server_reload_types.h"
|
||||
#include "../common/zone_store.h"
|
||||
#include "worlddb.h"
|
||||
#include "wguild_mgr.h"
|
||||
#include "world_config.h"
|
||||
#include "ucs.h"
|
||||
#include "queryserv.h"
|
||||
|
||||
#include "common/database_schema.h"
|
||||
#include "common/server_reload_types.h"
|
||||
#include "common/zone_store.h"
|
||||
#include "world/cliententry.h"
|
||||
#include "world/clientlist.h"
|
||||
#include "world/queryserv.h"
|
||||
#include "world/ucs.h"
|
||||
#include "world/wguild_mgr.h"
|
||||
#include "world/world_config.h"
|
||||
#include "world/worlddb.h"
|
||||
#include "world/zonelist.h"
|
||||
#include "world/zoneserver.h"
|
||||
|
||||
#include "fmt/format.h"
|
||||
|
||||
extern WorldGuildManager guild_mgr;
|
||||
|
||||
|
||||
@ -18,10 +18,9 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef EQEMU_API_WORLD_DATA_SERVICE_H
|
||||
#define EQEMU_API_WORLD_DATA_SERVICE_H
|
||||
#pragma once
|
||||
|
||||
#include "../common/json/json.h"
|
||||
#include "common/json/json.h"
|
||||
|
||||
class EQEmuApiWorldDataService {
|
||||
public:
|
||||
@ -30,6 +29,3 @@ public:
|
||||
static void message(Json::Value &r, const std::string &message);
|
||||
static void callGetGuildDetails(Json::Value &response, const std::vector<std::string> &args);
|
||||
};
|
||||
|
||||
|
||||
#endif //EQEMU_API_WORLD_DATA_SERVICE_H
|
||||
|
||||
@ -15,13 +15,15 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
#include "../common/global_define.h"
|
||||
|
||||
#include "eql_config.h"
|
||||
#include "worlddb.h"
|
||||
#include "launcher_link.h"
|
||||
#include "launcher_list.h"
|
||||
#include "../common/strings.h"
|
||||
#include "../common/zone_store.h"
|
||||
|
||||
#include "common/strings.h"
|
||||
#include "common/zone_store.h"
|
||||
#include "world/launcher_link.h"
|
||||
#include "world/launcher_list.h"
|
||||
#include "world/worlddb.h"
|
||||
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
|
||||
|
||||
@ -15,11 +15,12 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
#ifndef EQLCONFIG_H_
|
||||
#define EQLCONFIG_H_
|
||||
|
||||
#include "../common/types.h"
|
||||
#include "worlddb.h"
|
||||
#pragma once
|
||||
|
||||
#include "common/types.h"
|
||||
#include "world/worlddb.h"
|
||||
|
||||
#include <map>
|
||||
#include <string>
|
||||
|
||||
@ -53,6 +54,3 @@ protected:
|
||||
|
||||
std::map<std::string, LauncherZone> m_zones; //static zones.
|
||||
};
|
||||
|
||||
#endif /*EQLCONFIG_H_*/
|
||||
|
||||
|
||||
@ -16,21 +16,20 @@ along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#include "../common/global_define.h"
|
||||
#include "launcher_link.h"
|
||||
#include "launcher_list.h"
|
||||
#include "world_config.h"
|
||||
|
||||
#include "../common/md5.h"
|
||||
#include "../common/packet_dump.h"
|
||||
#include "../common/servertalk.h"
|
||||
#include "../common/strings.h"
|
||||
#include "../common/misc_functions.h"
|
||||
#include "worlddb.h"
|
||||
#include "eql_config.h"
|
||||
#include "common/md5.h"
|
||||
#include "common/misc_functions.h"
|
||||
#include "common/packet_dump.h"
|
||||
#include "common/servertalk.h"
|
||||
#include "common/strings.h"
|
||||
#include "world/eql_config.h"
|
||||
#include "world/launcher_list.h"
|
||||
#include "world/world_config.h"
|
||||
#include "world/worlddb.h"
|
||||
|
||||
#include <vector>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
extern LauncherList launcher_list;
|
||||
|
||||
|
||||
@ -15,16 +15,17 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
#ifndef LAUNCHERLINK_H_
|
||||
#define LAUNCHERLINK_H_
|
||||
|
||||
#include "../common/timer.h"
|
||||
#include "../common/net/servertalk_server_connection.h"
|
||||
#include "../common/event/timer.h"
|
||||
#pragma once
|
||||
|
||||
#include "common/event/timer.h"
|
||||
#include "common/net/servertalk_server_connection.h"
|
||||
#include "common/timer.h"
|
||||
|
||||
#include <map>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
class ServerPacket;
|
||||
|
||||
@ -76,6 +77,3 @@ protected:
|
||||
} ZoneState;
|
||||
std::map<std::string, ZoneState> m_states;
|
||||
};
|
||||
|
||||
#endif /*LAUNCHERLINK_H_*/
|
||||
|
||||
|
||||
@ -16,12 +16,10 @@ along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
|
||||
#include "../common/global_define.h"
|
||||
#include "launcher_list.h"
|
||||
#include "launcher_link.h"
|
||||
|
||||
#include "eql_config.h"
|
||||
#include "world/eql_config.h"
|
||||
#include "world/launcher_link.h"
|
||||
|
||||
LauncherList::LauncherList()
|
||||
: nextID(1)
|
||||
|
||||
@ -15,15 +15,16 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
#ifndef LAUNCHERLIST_H_
|
||||
#define LAUNCHERLIST_H_
|
||||
|
||||
#include "../common/types.h"
|
||||
#include "../common/net/servertalk_server_connection.h"
|
||||
#pragma once
|
||||
|
||||
#include "common/types.h"
|
||||
#include "common/net/servertalk_server_connection.h"
|
||||
|
||||
#include <map>
|
||||
#include <vector>
|
||||
#include <string>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
class LauncherLink;
|
||||
class EQLConfig;
|
||||
@ -50,6 +51,3 @@ protected:
|
||||
std::vector<LauncherLink *> m_pendingLaunchers; //we own these objects, have not yet identified themself
|
||||
int nextID;
|
||||
};
|
||||
|
||||
#endif /*LAUNCHERLIST_H_*/
|
||||
|
||||
|
||||
@ -17,13 +17,13 @@
|
||||
*/
|
||||
|
||||
#include "lfplist.h"
|
||||
#include "cliententry.h"
|
||||
#include "clientlist.h"
|
||||
#include "zoneserver.h"
|
||||
#include "zonelist.h"
|
||||
|
||||
#include "../common/misc_functions.h"
|
||||
#include "../common/classes.h"
|
||||
#include "common/classes.h"
|
||||
#include "common/misc_functions.h"
|
||||
#include "world/cliententry.h"
|
||||
#include "world/clientlist.h"
|
||||
#include "world/zonelist.h"
|
||||
#include "world/zoneserver.h"
|
||||
|
||||
GroupLFP::GroupLFP(uint32 inLeaderID) {
|
||||
|
||||
|
||||
@ -16,13 +16,12 @@
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef LFPENTRY_H
|
||||
#define LFPENTRY_H
|
||||
#pragma once
|
||||
|
||||
#include "../common/eq_packet_structs.h"
|
||||
#include "../common/servertalk.h"
|
||||
#include "../common/linked_list.h"
|
||||
#include "../common/timer.h"
|
||||
#include "common/eq_packet_structs.h"
|
||||
#include "common/linked_list.h"
|
||||
#include "common/servertalk.h"
|
||||
#include "common/timer.h"
|
||||
|
||||
class GroupLFP {
|
||||
|
||||
@ -59,9 +58,4 @@ public:
|
||||
private:
|
||||
LinkedList<GroupLFP*> LFPGroupList;
|
||||
Timer LFPStaleTimer;
|
||||
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@ -1,24 +1,23 @@
|
||||
#include "../common/global_define.h"
|
||||
#include <iostream>
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include <iomanip>
|
||||
#include <stdlib.h>
|
||||
#include "../common/version.h"
|
||||
#include "../common/servertalk.h"
|
||||
#include "../common/misc_functions.h"
|
||||
#include "../common/eq_packet_structs.h"
|
||||
#include "../common/packet_dump.h"
|
||||
#include "../common/strings.h"
|
||||
#include "../common/eqemu_logsys.h"
|
||||
#include "login_server.h"
|
||||
#include "login_server_list.h"
|
||||
#include "zoneserver.h"
|
||||
#include "worlddb.h"
|
||||
#include "zonelist.h"
|
||||
#include "clientlist.h"
|
||||
#include "cliententry.h"
|
||||
#include "world_config.h"
|
||||
|
||||
#include "common/eq_packet_structs.h"
|
||||
#include "common/eqemu_logsys.h"
|
||||
#include "common/misc_functions.h"
|
||||
#include "common/packet_dump.h"
|
||||
#include "common/servertalk.h"
|
||||
#include "common/strings.h"
|
||||
#include "common/version.h"
|
||||
#include "world/cliententry.h"
|
||||
#include "world/clientlist.h"
|
||||
#include "world/login_server_list.h"
|
||||
#include "world/world_config.h"
|
||||
#include "world/worlddb.h"
|
||||
#include "world/zonelist.h"
|
||||
#include "world/zoneserver.h"
|
||||
|
||||
#include <cstring>
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
|
||||
extern uint32 numzones;
|
||||
extern uint32 numplayers;
|
||||
|
||||
@ -1,15 +1,15 @@
|
||||
#ifndef LOGINSERVER_H
|
||||
#define LOGINSERVER_H
|
||||
#pragma once
|
||||
|
||||
#include "common/eq_packet_structs.h"
|
||||
#include "common/event/timer.h"
|
||||
#include "common/linked_list.h"
|
||||
#include "common/mutex.h"
|
||||
#include "common/net/servertalk_client_connection.h"
|
||||
#include "common/net/servertalk_legacy_client_connection.h"
|
||||
#include "common/queue.h"
|
||||
#include "common/servertalk.h"
|
||||
#include "common/timer.h"
|
||||
|
||||
#include "../common/servertalk.h"
|
||||
#include "../common/linked_list.h"
|
||||
#include "../common/timer.h"
|
||||
#include "../common/queue.h"
|
||||
#include "../common/eq_packet_structs.h"
|
||||
#include "../common/mutex.h"
|
||||
#include "../common/net/servertalk_client_connection.h"
|
||||
#include "../common/net/servertalk_legacy_client_connection.h"
|
||||
#include "../common/event/timer.h"
|
||||
#include <memory>
|
||||
|
||||
class LoginServer{
|
||||
@ -63,4 +63,3 @@ private:
|
||||
bool m_can_account_update;
|
||||
bool m_is_legacy;
|
||||
};
|
||||
#endif
|
||||
|
||||
@ -15,27 +15,26 @@ You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
#include "../common/global_define.h"
|
||||
#include <iostream>
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include <iomanip>
|
||||
#include <stdlib.h>
|
||||
#include "../common/version.h"
|
||||
|
||||
#include "login_server_list.h"
|
||||
|
||||
#include "common/eq_packet_structs.h"
|
||||
#include "common/packet_dump.h"
|
||||
#include "common/servertalk.h"
|
||||
#include "common/version.h"
|
||||
#include "world/clientlist.h"
|
||||
#include "world/login_server.h"
|
||||
#include "world/world_config.h"
|
||||
#include "world/worlddb.h"
|
||||
#include "world/zonelist.h"
|
||||
#include "world/zoneserver.h"
|
||||
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
|
||||
#define IGNORE_LS_FATAL_ERROR
|
||||
|
||||
#include "../common/servertalk.h"
|
||||
#include "login_server.h"
|
||||
#include "login_server_list.h"
|
||||
#include "../common/eq_packet_structs.h"
|
||||
#include "../common/packet_dump.h"
|
||||
#include "zoneserver.h"
|
||||
#include "worlddb.h"
|
||||
#include "zonelist.h"
|
||||
#include "clientlist.h"
|
||||
#include "world_config.h"
|
||||
|
||||
extern uint32 numzones;
|
||||
extern uint32 numplayers;
|
||||
extern volatile bool RunLoops;
|
||||
|
||||
@ -1,11 +1,11 @@
|
||||
#ifndef LOGINSERVERLIST_H_
|
||||
#define LOGINSERVERLIST_H_
|
||||
#pragma once
|
||||
|
||||
#include "common/eq_packet_structs.h"
|
||||
#include "common/mutex.h"
|
||||
#include "common/queue.h"
|
||||
#include "common/servertalk.h"
|
||||
#include "common/timer.h"
|
||||
|
||||
#include "../common/servertalk.h"
|
||||
#include "../common/timer.h"
|
||||
#include "../common/queue.h"
|
||||
#include "../common/eq_packet_structs.h"
|
||||
#include "../common/mutex.h"
|
||||
#include <list>
|
||||
|
||||
class LoginServer;
|
||||
@ -31,8 +31,3 @@ public:
|
||||
protected:
|
||||
std::list<std::unique_ptr<LoginServer>> m_list;
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
#endif /*LOGINSERVERLIST_H_*/
|
||||
|
||||
112
world/main.cpp
112
world/main.cpp
@ -18,79 +18,55 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "../common/global_define.h"
|
||||
|
||||
#include <iostream>
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <signal.h>
|
||||
|
||||
#include "../common/strings.h"
|
||||
#include "../common/eqemu_logsys.h"
|
||||
#include "../common/queue.h"
|
||||
#include "../common/timer.h"
|
||||
#include "../common/eq_packet.h"
|
||||
#include "../common/seperator.h"
|
||||
#include "../common/version.h"
|
||||
#include "../common/eqtime.h"
|
||||
#include "../common/event/event_loop.h"
|
||||
#include "../common/net/eqstream.h"
|
||||
#include "../common/opcodemgr.h"
|
||||
#include "../common/guilds.h"
|
||||
#include "../common/eq_stream_ident.h"
|
||||
#include "../common/rulesys.h"
|
||||
#include "../common/platform.h"
|
||||
#include "../common/crash.h"
|
||||
#include "../common/misc.h"
|
||||
#include "client.h"
|
||||
#include "worlddb.h"
|
||||
#include "wguild_mgr.h"
|
||||
#include "../common/evolving_items.h"
|
||||
#include "common/content/world_content_service.h"
|
||||
#include "common/crash.h"
|
||||
#include "common/eq_packet.h"
|
||||
#include "common/eq_stream_ident.h"
|
||||
#include "common/eqemu_logsys.h"
|
||||
#include "common/eqtime.h"
|
||||
#include "common/event/event_loop.h"
|
||||
#include "common/events/player_event_logs.h"
|
||||
#include "common/guilds.h"
|
||||
#include "common/ip_util.h"
|
||||
#include "common/misc.h"
|
||||
#include "common/net/eqstream.h"
|
||||
#include "common/patches/patches.h"
|
||||
#include "common/path_manager.h"
|
||||
#include "common/platform.h"
|
||||
#include "common/repositories/character_expedition_lockouts_repository.h"
|
||||
#include "common/repositories/character_task_timers_repository.h"
|
||||
#include "common/rulesys.h"
|
||||
#include "common/skill_caps.h"
|
||||
#include "common/timer.h"
|
||||
#include "common/version.h"
|
||||
#include "world/adventure_manager.h"
|
||||
#include "world/client.h"
|
||||
#include "world/clientlist.h"
|
||||
#include "world/console.h"
|
||||
#include "world/dynamic_zone_manager.h"
|
||||
#include "world/launcher_list.h"
|
||||
#include "world/lfplist.h"
|
||||
#include "world/login_server.h"
|
||||
#include "world/queryserv.h"
|
||||
#include "world/shared_task_manager.h"
|
||||
#include "world/ucs.h"
|
||||
#include "world/web_interface.h"
|
||||
#include "world/wguild_mgr.h"
|
||||
#include "world/world_boot.h"
|
||||
#include "world/world_config.h"
|
||||
#include "world/world_event_scheduler.h"
|
||||
#include "world/world_server_cli.h"
|
||||
#include "world/worlddb.h"
|
||||
#include "world/zonelist.h"
|
||||
#include "world/zoneserver.h"
|
||||
|
||||
#include "fmt/format.h"
|
||||
#include <csignal>
|
||||
#include <cstdlib>
|
||||
#ifdef _WINDOWS
|
||||
#include <process.h>
|
||||
#define snprintf _snprintf
|
||||
#define strncasecmp _strnicmp
|
||||
#define strcasecmp _stricmp
|
||||
#include <conio.h>
|
||||
#else
|
||||
|
||||
#include <sys/sem.h>
|
||||
#include <thread>
|
||||
|
||||
#endif
|
||||
|
||||
#include "../common/patches/patches.h"
|
||||
#include "zoneserver.h"
|
||||
#include "login_server.h"
|
||||
#include "login_server_list.h"
|
||||
#include "world_config.h"
|
||||
#include "zonelist.h"
|
||||
#include "clientlist.h"
|
||||
#include "launcher_list.h"
|
||||
#include "lfplist.h"
|
||||
#include "adventure_manager.h"
|
||||
#include "ucs.h"
|
||||
#include "queryserv.h"
|
||||
#include "web_interface.h"
|
||||
#include "console.h"
|
||||
#include "dynamic_zone_manager.h"
|
||||
|
||||
#include "world_server_cli.h"
|
||||
#include "../common/content/world_content_service.h"
|
||||
#include "../common/repositories/character_expedition_lockouts_repository.h"
|
||||
#include "../common/repositories/character_task_timers_repository.h"
|
||||
#include "../common/zone_store.h"
|
||||
#include "world_event_scheduler.h"
|
||||
#include "shared_task_manager.h"
|
||||
#include "world_boot.h"
|
||||
#include "../common/path_manager.h"
|
||||
#include "../common/events/player_event_logs.h"
|
||||
#include "../common/skill_caps.h"
|
||||
#include "../common/repositories/character_parcels_repository.h"
|
||||
#include "../common/ip_util.h"
|
||||
|
||||
GroupLFPList LFPGroupList;
|
||||
LauncherList launcher_list;
|
||||
volatile bool RunLoops = true;
|
||||
|
||||
@ -1,13 +1,11 @@
|
||||
#include "../common/global_define.h"
|
||||
#include "../common/eqemu_logsys.h"
|
||||
#include "queryserv.h"
|
||||
#include "world_config.h"
|
||||
#include "clientlist.h"
|
||||
#include "zonelist.h"
|
||||
|
||||
|
||||
#include "../common/md5.h"
|
||||
#include "../common/packet_dump.h"
|
||||
#include "common/eqemu_logsys.h"
|
||||
#include "common/md5.h"
|
||||
#include "common/packet_dump.h"
|
||||
#include "world/clientlist.h"
|
||||
#include "world/world_config.h"
|
||||
#include "world/zonelist.h"
|
||||
|
||||
QueryServConnection::QueryServConnection()
|
||||
{
|
||||
|
||||
@ -1,10 +1,9 @@
|
||||
#ifndef QueryServ_H
|
||||
#define QueryServ_H
|
||||
#pragma once
|
||||
|
||||
#include "../common/types.h"
|
||||
#include "../common/net/servertalk_server.h"
|
||||
#include "../common/servertalk.h"
|
||||
#include "../common/event/timer.h"
|
||||
#include "common/types.h"
|
||||
#include "common/net/servertalk_server.h"
|
||||
#include "common/servertalk.h"
|
||||
#include "common/event/timer.h"
|
||||
|
||||
class QueryServConnection
|
||||
{
|
||||
@ -26,5 +25,3 @@ private:
|
||||
std::map<std::string, std::shared_ptr<EQ::Net::ServertalkServerConnection>> m_streams;
|
||||
std::unique_ptr<EQ::Timer> m_keepalive;
|
||||
};
|
||||
|
||||
#endif /*QueryServ_H_*/
|
||||
|
||||
@ -1,21 +1,21 @@
|
||||
#include "shared_task_manager.h"
|
||||
#include "cliententry.h"
|
||||
#include "clientlist.h"
|
||||
#include "dynamic_zone.h"
|
||||
#include "dynamic_zone_manager.h"
|
||||
#include "zonelist.h"
|
||||
#include "zoneserver.h"
|
||||
#include "shared_task_world_messaging.h"
|
||||
#include "../common/rulesys.h"
|
||||
#include "../common/repositories/character_data_repository.h"
|
||||
#include "../common/repositories/character_task_timers_repository.h"
|
||||
#include "../common/repositories/shared_task_members_repository.h"
|
||||
#include "../common/repositories/shared_task_activity_state_repository.h"
|
||||
#include "../common/repositories/completed_shared_tasks_repository.h"
|
||||
#include "../common/repositories/completed_shared_task_members_repository.h"
|
||||
#include "../common/repositories/completed_shared_task_activity_state_repository.h"
|
||||
#include "../common/repositories/shared_task_dynamic_zones_repository.h"
|
||||
#include <ctime>
|
||||
|
||||
#include "common/repositories/character_data_repository.h"
|
||||
#include "common/repositories/character_task_timers_repository.h"
|
||||
#include "common/repositories/completed_shared_task_activity_state_repository.h"
|
||||
#include "common/repositories/completed_shared_task_members_repository.h"
|
||||
#include "common/repositories/completed_shared_tasks_repository.h"
|
||||
#include "common/repositories/shared_task_activity_state_repository.h"
|
||||
#include "common/repositories/shared_task_dynamic_zones_repository.h"
|
||||
#include "common/repositories/shared_task_members_repository.h"
|
||||
#include "common/rulesys.h"
|
||||
#include "world/cliententry.h"
|
||||
#include "world/clientlist.h"
|
||||
#include "world/dynamic_zone_manager.h"
|
||||
#include "world/dynamic_zone.h"
|
||||
#include "world/shared_task_world_messaging.h"
|
||||
#include "world/zonelist.h"
|
||||
#include "world/zoneserver.h"
|
||||
|
||||
SharedTaskManager::SharedTaskManager()
|
||||
: m_process_timer{ static_cast<uint32_t>(RuleI(TaskSystem, SharedTasksWorldProcessRate)) }
|
||||
|
||||
@ -1,10 +1,9 @@
|
||||
#ifndef EQEMU_SHARED_TASK_MANAGER_H
|
||||
#define EQEMU_SHARED_TASK_MANAGER_H
|
||||
#pragma once
|
||||
|
||||
#include "../common/database.h"
|
||||
#include "../common/shared_tasks.h"
|
||||
#include "../common/timer.h"
|
||||
#include "../common/repositories/character_task_timers_repository.h"
|
||||
#include "common/database.h"
|
||||
#include "common/repositories/character_task_timers_repository.h"
|
||||
#include "common/shared_tasks.h"
|
||||
#include "common/timer.h"
|
||||
|
||||
class DynamicZone;
|
||||
|
||||
@ -147,5 +146,3 @@ protected:
|
||||
// memory search
|
||||
std::vector<SharedTaskMember> FindCharactersInSharedTasks(const std::vector<uint32_t> &find_characters);
|
||||
};
|
||||
|
||||
#endif //EQEMU_SHARED_TASK_MANAGER_H
|
||||
|
||||
@ -1,18 +1,19 @@
|
||||
#include "shared_task_world_messaging.h"
|
||||
#include "cliententry.h"
|
||||
#include "worlddb.h"
|
||||
#include "../common/shared_tasks.h"
|
||||
#include "../common/eqemu_logsys.h"
|
||||
#include "../common/repositories/tasks_repository.h"
|
||||
#include "../common/tasks.h"
|
||||
#include "cliententry.h"
|
||||
#include "clientlist.h"
|
||||
#include "zonelist.h"
|
||||
#include "zoneserver.h"
|
||||
#include "shared_task_manager.h"
|
||||
#include "../common/repositories/shared_task_members_repository.h"
|
||||
#include "../common/repositories/task_activities_repository.h"
|
||||
#include "dynamic_zone.h"
|
||||
|
||||
#include "common/eqemu_logsys.h"
|
||||
#include "common/repositories/shared_task_members_repository.h"
|
||||
#include "common/repositories/task_activities_repository.h"
|
||||
#include "common/repositories/tasks_repository.h"
|
||||
#include "common/shared_tasks.h"
|
||||
#include "common/tasks.h"
|
||||
#include "world/cliententry.h"
|
||||
#include "world/cliententry.h"
|
||||
#include "world/clientlist.h"
|
||||
#include "world/dynamic_zone.h"
|
||||
#include "world/shared_task_manager.h"
|
||||
#include "world/worlddb.h"
|
||||
#include "world/zonelist.h"
|
||||
#include "world/zoneserver.h"
|
||||
|
||||
void SharedTaskWorldMessaging::HandleZoneMessage(ServerPacket *pack)
|
||||
{
|
||||
|
||||
@ -1,18 +1,14 @@
|
||||
#ifndef EQEMU_SHARED_TASK_WORLD_MESSAGING_H
|
||||
#define EQEMU_SHARED_TASK_WORLD_MESSAGING_H
|
||||
#pragma once
|
||||
|
||||
#include "../common/types.h"
|
||||
#include "../common/servertalk.h"
|
||||
#include "../common/shared_tasks.h"
|
||||
#include "../common/eqemu_logsys.h"
|
||||
#include "../common/repositories/tasks_repository.h"
|
||||
#include "../common/tasks.h"
|
||||
#include "common/eqemu_logsys.h"
|
||||
#include "common/repositories/tasks_repository.h"
|
||||
#include "common/servertalk.h"
|
||||
#include "common/shared_tasks.h"
|
||||
#include "common/tasks.h"
|
||||
#include "common/types.h"
|
||||
|
||||
class SharedTaskWorldMessaging {
|
||||
class SharedTaskWorldMessaging
|
||||
{
|
||||
public:
|
||||
static void HandleZoneMessage(ServerPacket *pack);
|
||||
};
|
||||
|
||||
|
||||
#endif //EQEMU_SHARED_TASK_WORLD_MESSAGING_H
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#ifndef SOFCHARCREATEDATA_H
|
||||
#define SOFCHARCREATEDATA_H
|
||||
#pragma once
|
||||
|
||||
#pragma pack(push)
|
||||
#pragma pack(1)
|
||||
|
||||
struct RaceClassAllocation {
|
||||
@ -26,6 +26,5 @@ struct RaceClassCombos {
|
||||
SoFCCStartZoneData StartZoneData[641];
|
||||
};
|
||||
*/
|
||||
#pragma pack()
|
||||
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
|
||||
@ -1,12 +1,11 @@
|
||||
#include "../common/global_define.h"
|
||||
#include "../common/eqemu_logsys.h"
|
||||
#include "ucs.h"
|
||||
#include "world_config.h"
|
||||
|
||||
#include "../common/misc_functions.h"
|
||||
#include "../common/md5.h"
|
||||
#include "../common/packet_dump.h"
|
||||
#include "../common/event/timer.h"
|
||||
#include "common/eqemu_logsys.h"
|
||||
#include "common/event/timer.h"
|
||||
#include "common/md5.h"
|
||||
#include "common/misc_functions.h"
|
||||
#include "common/packet_dump.h"
|
||||
#include "world/world_config.h"
|
||||
|
||||
UCSConnection::UCSConnection()
|
||||
{
|
||||
|
||||
14
world/ucs.h
14
world/ucs.h
@ -1,10 +1,10 @@
|
||||
#ifndef UCS_H
|
||||
#define UCS_H
|
||||
#pragma once
|
||||
|
||||
#include "common/event/timer.h"
|
||||
#include "common/net/servertalk_server_connection.h"
|
||||
#include "common/servertalk.h"
|
||||
#include "common/types.h"
|
||||
|
||||
#include "../common/types.h"
|
||||
#include "../common/net/servertalk_server_connection.h"
|
||||
#include "../common/servertalk.h"
|
||||
#include "../common/event/timer.h"
|
||||
#include <memory>
|
||||
|
||||
class UCSConnection
|
||||
@ -30,5 +30,3 @@ private:
|
||||
std::shared_ptr<EQ::Net::ServertalkServerConnection> connection;
|
||||
|
||||
};
|
||||
|
||||
#endif /*UCS_H_*/
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
#include "web_interface.h"
|
||||
#include "../common/json/json.h"
|
||||
|
||||
#include "web_interface_eqw.h"
|
||||
#include "common/json/json.h"
|
||||
#include "world/web_interface_eqw.h"
|
||||
|
||||
#include <sstream>
|
||||
|
||||
|
||||
@ -1,12 +1,11 @@
|
||||
#pragma once
|
||||
|
||||
#include "../common/net/servertalk_server_connection.h"
|
||||
#include "../common/json/json.h"
|
||||
#include "common/json/json.h"
|
||||
#include "common/net/servertalk_server_connection.h"
|
||||
|
||||
#include <functional>
|
||||
#include <map>
|
||||
#include <string>
|
||||
#include <functional>
|
||||
|
||||
|
||||
|
||||
class WebInterface
|
||||
{
|
||||
|
||||
@ -1,10 +1,11 @@
|
||||
#include "web_interface_eqw.h"
|
||||
#include "web_interface.h"
|
||||
#include "world_config.h"
|
||||
#include "login_server_list.h"
|
||||
#include "clientlist.h"
|
||||
#include "zonelist.h"
|
||||
#include "launcher_list.h"
|
||||
|
||||
#include "world/clientlist.h"
|
||||
#include "world/launcher_list.h"
|
||||
#include "world/login_server_list.h"
|
||||
#include "world/web_interface.h"
|
||||
#include "world/world_config.h"
|
||||
#include "world/zonelist.h"
|
||||
|
||||
extern LauncherList launcher_list;
|
||||
|
||||
|
||||
@ -2,4 +2,4 @@
|
||||
|
||||
class WebInterface;
|
||||
|
||||
void RegisterEQW(WebInterface *i);
|
||||
void RegisterEQW(WebInterface *i);
|
||||
|
||||
@ -16,23 +16,23 @@
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#include "../common/eqemu_logsys.h"
|
||||
#include "../common/global_define.h"
|
||||
#include "wguild_mgr.h"
|
||||
#include "../common/servertalk.h"
|
||||
#include "clientlist.h"
|
||||
#include "zonelist.h"
|
||||
#include "zoneserver.h"
|
||||
#include "cliententry.h"
|
||||
#include "client.h"
|
||||
#include "../common/repositories/guilds_repository.h"
|
||||
#include "../common/repositories/guild_ranks_repository.h"
|
||||
#include "../common/repositories/guild_permissions_repository.h"
|
||||
#include "../common/repositories/guild_members_repository.h"
|
||||
#include "../common/repositories/guild_bank_repository.h"
|
||||
#include "../common/repositories/guild_tributes_repository.h"
|
||||
#include "../common/repositories/tributes_repository.h"
|
||||
#include "../common/repositories/tribute_levels_repository.h"
|
||||
|
||||
#include "common/eqemu_logsys.h"
|
||||
#include "common/repositories/guild_bank_repository.h"
|
||||
#include "common/repositories/guild_members_repository.h"
|
||||
#include "common/repositories/guild_permissions_repository.h"
|
||||
#include "common/repositories/guild_ranks_repository.h"
|
||||
#include "common/repositories/guild_tributes_repository.h"
|
||||
#include "common/repositories/guilds_repository.h"
|
||||
#include "common/repositories/tribute_levels_repository.h"
|
||||
#include "common/repositories/tributes_repository.h"
|
||||
#include "common/servertalk.h"
|
||||
#include "world/client.h"
|
||||
#include "world/cliententry.h"
|
||||
#include "world/clientlist.h"
|
||||
#include "world/zonelist.h"
|
||||
#include "world/zoneserver.h"
|
||||
|
||||
std::map<uint32, TributeData> tribute_list;
|
||||
|
||||
|
||||
@ -1,8 +1,7 @@
|
||||
#ifndef WGUILD_MGR_H_
|
||||
#define WGUILD_MGR_H_
|
||||
#pragma once
|
||||
|
||||
#include "../common/types.h"
|
||||
#include "../common/guild_base.h"
|
||||
#include "common/types.h"
|
||||
#include "common/guild_base.h"
|
||||
|
||||
class Client;
|
||||
class ServerPacket;
|
||||
@ -30,7 +29,3 @@ protected:
|
||||
};
|
||||
|
||||
extern WorldGuildManager guild_mgr;
|
||||
|
||||
|
||||
#endif /*WGUILD_MGR_H_*/
|
||||
|
||||
|
||||
@ -1,33 +1,34 @@
|
||||
#include "../common/content/world_content_service.h"
|
||||
#include "../common/emu_constants.h"
|
||||
#include "../common/eqemu_logsys.h"
|
||||
#include "../common/http/httplib.h"
|
||||
#include "../common/http/uri.h"
|
||||
#include "../common/net/console_server.h"
|
||||
#include "../common/net/servertalk_server.h"
|
||||
#include "../common/repositories/character_expedition_lockouts_repository.h"
|
||||
#include "../common/repositories/character_task_timers_repository.h"
|
||||
#include "../common/rulesys.h"
|
||||
#include "../common/strings.h"
|
||||
#include "adventure_manager.h"
|
||||
#include "dynamic_zone_manager.h"
|
||||
#include "login_server_list.h"
|
||||
#include "shared_task_manager.h"
|
||||
#include "ucs.h"
|
||||
#include "wguild_mgr.h"
|
||||
#include "world_boot.h"
|
||||
#include "world_config.h"
|
||||
#include "world_event_scheduler.h"
|
||||
#include "world_server_cli.h"
|
||||
#include "../common/zone_store.h"
|
||||
#include "worlddb.h"
|
||||
#include "zonelist.h"
|
||||
#include "zoneserver.h"
|
||||
#include "../common/ip_util.h"
|
||||
#include "../common/zone_store.h"
|
||||
#include "../common/path_manager.h"
|
||||
#include "../common/database/database_update.h"
|
||||
#include "../common/repositories/zone_state_spawns_repository.h"
|
||||
|
||||
#include "common/content/world_content_service.h"
|
||||
#include "common/database/database_update.h"
|
||||
#include "common/emu_constants.h"
|
||||
#include "common/eqemu_logsys.h"
|
||||
#include "common/http/httplib.h"
|
||||
#include "common/http/uri.h"
|
||||
#include "common/ip_util.h"
|
||||
#include "common/net/console_server.h"
|
||||
#include "common/net/servertalk_server.h"
|
||||
#include "common/path_manager.h"
|
||||
#include "common/repositories/character_expedition_lockouts_repository.h"
|
||||
#include "common/repositories/character_task_timers_repository.h"
|
||||
#include "common/repositories/zone_state_spawns_repository.h"
|
||||
#include "common/rulesys.h"
|
||||
#include "common/strings.h"
|
||||
#include "common/zone_store.h"
|
||||
#include "common/zone_store.h"
|
||||
#include "world/adventure_manager.h"
|
||||
#include "world/dynamic_zone_manager.h"
|
||||
#include "world/login_server_list.h"
|
||||
#include "world/shared_task_manager.h"
|
||||
#include "world/ucs.h"
|
||||
#include "world/wguild_mgr.h"
|
||||
#include "world/world_config.h"
|
||||
#include "world/world_event_scheduler.h"
|
||||
#include "world/world_server_cli.h"
|
||||
#include "world/worlddb.h"
|
||||
#include "world/zonelist.h"
|
||||
#include "world/zoneserver.h"
|
||||
|
||||
extern WorldConfig Config;
|
||||
|
||||
|
||||
@ -1,10 +1,10 @@
|
||||
#ifndef EQEMU_WORLD_BOOT_H
|
||||
#define EQEMU_WORLD_BOOT_H
|
||||
#pragma once
|
||||
|
||||
#include "common/discord/discord.h"
|
||||
#include "common/types.h"
|
||||
#include "world/ucs.h"
|
||||
|
||||
#include <string>
|
||||
#include "../common/types.h"
|
||||
#include "../common/discord/discord.h"
|
||||
#include "ucs.h"
|
||||
|
||||
class WorldBoot {
|
||||
public:
|
||||
@ -27,6 +27,3 @@ public:
|
||||
SendDiscordMessage(webhook_id, message_prefix + Discord::FormatDiscordMessage(log_category, message));
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
#endif //EQEMU_WORLD_BOOT_H
|
||||
|
||||
@ -15,10 +15,11 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
#include "../common/global_define.h"
|
||||
#include "../common/eqemu_logsys.h"
|
||||
|
||||
#include "world_config.h"
|
||||
|
||||
#include "common/eqemu_logsys.h"
|
||||
|
||||
WorldConfig *WorldConfig::_world_config = nullptr;
|
||||
|
||||
std::string WorldConfig::GetByName(const std::string &var_name) const
|
||||
@ -31,4 +32,3 @@ std::string WorldConfig::GetByName(const std::string &var_name) const
|
||||
}
|
||||
return (EQEmuConfig::GetByName(var_name));
|
||||
}
|
||||
|
||||
|
||||
@ -15,10 +15,10 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
#ifndef __WorldConfig_H
|
||||
#define __WorldConfig_H
|
||||
|
||||
#include "../common/eqemu_config.h"
|
||||
#pragma once
|
||||
|
||||
#include "common/eqemu_config.h"
|
||||
|
||||
class WorldConfig : public EQEmuConfig {
|
||||
public:
|
||||
@ -64,5 +64,3 @@ public:
|
||||
|
||||
void Dump() const;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
#include "world_console_connection.h"
|
||||
#include <string.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
#include <cstring>
|
||||
#include <cstdarg>
|
||||
|
||||
void WorldConsoleTCPConnection::SendEmoteMessage(const char *to, uint32 to_guilddbid, int16 to_minstatus, uint32 type, const char *message, ...)
|
||||
{
|
||||
|
||||
@ -15,10 +15,11 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "world_tcp_connection.h"
|
||||
#include "../common/net/console_server_connection.h"
|
||||
#include "common/net/console_server_connection.h"
|
||||
#include "world/world_tcp_connection.h"
|
||||
|
||||
class WorldConsoleTCPConnection : public WorldTCPConnection
|
||||
{
|
||||
@ -33,4 +34,3 @@ public:
|
||||
private:
|
||||
EQ::Net::ConsoleServerConnection *m_connection;
|
||||
};
|
||||
|
||||
|
||||
@ -1,8 +1,10 @@
|
||||
#include "world_event_scheduler.h"
|
||||
#include "../common/servertalk.h"
|
||||
|
||||
#include "common/rulesys.h"
|
||||
#include "common/server_reload_types.h"
|
||||
#include "common/servertalk.h"
|
||||
|
||||
#include <ctime>
|
||||
#include "../common/rulesys.h"
|
||||
#include "../common/server_reload_types.h"
|
||||
|
||||
void WorldEventScheduler::Process(ZSList *zs_list)
|
||||
{
|
||||
|
||||
@ -1,8 +1,7 @@
|
||||
#ifndef EQEMU_EVENT_SCHEDULER_H
|
||||
#define EQEMU_EVENT_SCHEDULER_H
|
||||
#pragma once
|
||||
|
||||
#include "../common/server_event_scheduler.h"
|
||||
#include "zonelist.h"
|
||||
#include "common/server_event_scheduler.h"
|
||||
#include "world/zonelist.h"
|
||||
|
||||
class WorldEventScheduler : public ServerEventScheduler {
|
||||
public:
|
||||
@ -14,5 +13,3 @@ public:
|
||||
return &instance;
|
||||
}
|
||||
};
|
||||
|
||||
#endif //EQEMU_EVENT_SCHEDULER_H
|
||||
|
||||
@ -1,9 +1,5 @@
|
||||
#include "world_server_cli.h"
|
||||
|
||||
/**
|
||||
* @param argc
|
||||
* @param argv
|
||||
*/
|
||||
void WorldserverCLI::CommandHandler(int argc, char **argv)
|
||||
{
|
||||
if (argc == 1) { return; }
|
||||
@ -38,4 +34,3 @@ void WorldserverCLI::CommandHandler(int argc, char **argv)
|
||||
|
||||
EQEmuCommand::HandleMenu(function_map, cmd, argc, argv);
|
||||
}
|
||||
|
||||
|
||||
@ -1,8 +1,7 @@
|
||||
#include "iostream"
|
||||
#include "../common/cli/eqemu_command_handler.h"
|
||||
|
||||
#ifndef EQEMU_WORLD_SERVER_COMMAND_HANDLER_H
|
||||
#define EQEMU_WORLD_SERVER_COMMAND_HANDLER_H
|
||||
#pragma once
|
||||
|
||||
#include "common/cli/eqemu_command_handler.h"
|
||||
|
||||
class WorldserverCLI {
|
||||
public:
|
||||
@ -27,6 +26,3 @@ public:
|
||||
static void TestStringBenchmarkCommand(int argc, char **argv, argh::parser &cmd, std::string &description);
|
||||
static void EtlGetSettings(int argc, char **argv, argh::parser &cmd, std::string &description);
|
||||
};
|
||||
|
||||
|
||||
#endif //EQEMU_WORLD_SERVER_COMMAND_HANDLER_H
|
||||
|
||||
@ -15,10 +15,10 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
#ifndef WorldTCPCONNECTION_H
|
||||
#define WorldTCPCONNECTION_H
|
||||
|
||||
#include "../common/types.h"
|
||||
#pragma once
|
||||
|
||||
#include "common/types.h"
|
||||
|
||||
class WorldTCPConnection
|
||||
{
|
||||
@ -31,5 +31,3 @@ public:
|
||||
virtual inline bool IsConsole() { return false; }
|
||||
virtual inline bool IsZoneServer() { return false; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@ -17,22 +17,23 @@
|
||||
*/
|
||||
|
||||
#include "worlddb.h"
|
||||
#include "../common/strings.h"
|
||||
#include "../common/eq_packet_structs.h"
|
||||
#include "../common/inventory_profile.h"
|
||||
#include "../common/rulesys.h"
|
||||
#include <iostream>
|
||||
|
||||
#include "common/eq_packet_structs.h"
|
||||
#include "common/inventory_profile.h"
|
||||
#include "common/repositories/character_bind_repository.h"
|
||||
#include "common/repositories/character_data_repository.h"
|
||||
#include "common/repositories/character_instance_safereturns_repository.h"
|
||||
#include "common/repositories/character_material_repository.h"
|
||||
#include "common/repositories/criteria/content_filter_criteria.h"
|
||||
#include "common/repositories/inventory_repository.h"
|
||||
#include "common/repositories/start_zones_repository.h"
|
||||
#include "common/rulesys.h"
|
||||
#include "common/strings.h"
|
||||
#include "common/zone_store.h"
|
||||
#include "world/sof_char_create_data.h"
|
||||
|
||||
#include <cstdlib>
|
||||
#include <vector>
|
||||
#include "sof_char_create_data.h"
|
||||
#include "../common/repositories/character_instance_safereturns_repository.h"
|
||||
#include "../common/repositories/inventory_repository.h"
|
||||
#include "../common/repositories/criteria/content_filter_criteria.h"
|
||||
#include "../common/zone_store.h"
|
||||
#include "../common/repositories/character_data_repository.h"
|
||||
#include "../common/repositories/character_bind_repository.h"
|
||||
#include "../common/repositories/character_material_repository.h"
|
||||
#include "../common/repositories/start_zones_repository.h"
|
||||
|
||||
WorldDatabase database;
|
||||
WorldDatabase content_db;
|
||||
|
||||
@ -15,13 +15,13 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
#ifndef WORLDDB_H_
|
||||
#define WORLDDB_H_
|
||||
|
||||
#include "../common/shareddb.h"
|
||||
#include "../common/eq_packet.h"
|
||||
#include "../common/repositories/inventory_repository.h"
|
||||
#include "../common/repositories/character_data_repository.h"
|
||||
#pragma once
|
||||
|
||||
#include "common/eq_packet.h"
|
||||
#include "common/repositories/character_data_repository.h"
|
||||
#include "common/repositories/inventory_repository.h"
|
||||
#include "common/shareddb.h"
|
||||
|
||||
struct PlayerProfile_Struct;
|
||||
struct CharCreate_Struct;
|
||||
@ -54,5 +54,3 @@ private:
|
||||
|
||||
extern WorldDatabase database;
|
||||
extern WorldDatabase content_db;
|
||||
|
||||
#endif /*WORLDDB_H_*/
|
||||
|
||||
@ -15,31 +15,32 @@ You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
#include "../common/global_define.h"
|
||||
|
||||
#include "zonelist.h"
|
||||
#include "zoneserver.h"
|
||||
#include "worlddb.h"
|
||||
#include "world_config.h"
|
||||
#include "../common/misc_functions.h"
|
||||
#include "../common/servertalk.h"
|
||||
#include "../common/strings.h"
|
||||
#include "../common/random.h"
|
||||
#include "../common/json/json.h"
|
||||
#include "../common/event_sub.h"
|
||||
#include "web_interface.h"
|
||||
#include "../common/zone_store.h"
|
||||
#include "../common/events/player_event_logs.h"
|
||||
#include "../common/patches/patches.h"
|
||||
#include "../common/skill_caps.h"
|
||||
#include "../common/content/world_content_service.h"
|
||||
#include "world_boot.h"
|
||||
#include "shared_task_manager.h"
|
||||
#include "dynamic_zone_manager.h"
|
||||
#include "ucs.h"
|
||||
#include "clientlist.h"
|
||||
#include "queryserv.h"
|
||||
#include "../common/repositories/trader_repository.h"
|
||||
#include "../common/repositories/buyer_repository.h"
|
||||
|
||||
#include "common/content/world_content_service.h"
|
||||
#include "common/event_sub.h"
|
||||
#include "common/events/player_event_logs.h"
|
||||
#include "common/json/json.h"
|
||||
#include "common/misc_functions.h"
|
||||
#include "common/patches/patches.h"
|
||||
#include "common/random.h"
|
||||
#include "common/repositories/buyer_repository.h"
|
||||
#include "common/repositories/trader_repository.h"
|
||||
#include "common/servertalk.h"
|
||||
#include "common/skill_caps.h"
|
||||
#include "common/strings.h"
|
||||
#include "common/zone_store.h"
|
||||
#include "world/clientlist.h"
|
||||
#include "world/dynamic_zone_manager.h"
|
||||
#include "world/queryserv.h"
|
||||
#include "world/shared_task_manager.h"
|
||||
#include "world/ucs.h"
|
||||
#include "world/web_interface.h"
|
||||
#include "world/world_boot.h"
|
||||
#include "world/world_config.h"
|
||||
#include "world/worlddb.h"
|
||||
#include "world/zoneserver.h"
|
||||
|
||||
extern uint32 numzones;
|
||||
volatile bool UCSServerAvailable_ = false;
|
||||
|
||||
@ -1,15 +1,15 @@
|
||||
#ifndef ZONELIST_H_
|
||||
#define ZONELIST_H_
|
||||
#pragma once
|
||||
|
||||
#include "common/eqtime.h"
|
||||
#include "common/event/timer.h"
|
||||
#include "common/server_reload_types.h"
|
||||
#include "common/timer.h"
|
||||
#include "common/types.h"
|
||||
|
||||
#include "../common/types.h"
|
||||
#include "../common/eqtime.h"
|
||||
#include "../common/timer.h"
|
||||
#include "../common/event/timer.h"
|
||||
#include "../common/server_reload_types.h"
|
||||
#include <vector>
|
||||
#include <memory>
|
||||
#include <deque>
|
||||
#include <memory>
|
||||
#include <mutex>
|
||||
#include <vector>
|
||||
|
||||
class WorldTCPConnection;
|
||||
class ServerPacket;
|
||||
@ -97,6 +97,3 @@ private:
|
||||
|
||||
std::list<std::unique_ptr<ZoneServer>> zone_server_list;
|
||||
};
|
||||
|
||||
#endif /*ZONELIST_H_*/
|
||||
|
||||
|
||||
@ -16,41 +16,42 @@ You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
#include "../common/global_define.h"
|
||||
|
||||
#include "zoneserver.h"
|
||||
#include "clientlist.h"
|
||||
#include "login_server.h"
|
||||
#include "login_server_list.h"
|
||||
#include "zonelist.h"
|
||||
#include "worlddb.h"
|
||||
#include "client.h"
|
||||
#include "../common/md5.h"
|
||||
#include "world_config.h"
|
||||
#include "../common/guilds.h"
|
||||
#include "../common/packet_dump.h"
|
||||
#include "../common/misc.h"
|
||||
#include "../common/strings.h"
|
||||
#include "cliententry.h"
|
||||
#include "wguild_mgr.h"
|
||||
#include "lfplist.h"
|
||||
#include "adventure_manager.h"
|
||||
#include "ucs.h"
|
||||
#include "queryserv.h"
|
||||
#include "../common/zone_store.h"
|
||||
#include "dynamic_zone.h"
|
||||
#include "dynamic_zone_manager.h"
|
||||
#include "shared_task_world_messaging.h"
|
||||
#include "../common/shared_tasks.h"
|
||||
#include "shared_task_manager.h"
|
||||
#include "../common/content/world_content_service.h"
|
||||
#include "../common/repositories/player_event_logs_repository.h"
|
||||
#include "../common/events/player_event_logs.h"
|
||||
#include "../common/patches/patches.h"
|
||||
#include "../common/repositories/guild_tributes_repository.h"
|
||||
#include "../common/skill_caps.h"
|
||||
#include "../common/server_reload_types.h"
|
||||
#include "../common/repositories/trader_repository.h"
|
||||
#include "../common/repositories/buyer_repository.h"
|
||||
|
||||
#include "common/content/world_content_service.h"
|
||||
#include "common/events/player_event_logs.h"
|
||||
#include "common/guilds.h"
|
||||
#include "common/md5.h"
|
||||
#include "common/misc.h"
|
||||
#include "common/packet_dump.h"
|
||||
#include "common/patches/patches.h"
|
||||
#include "common/repositories/buyer_repository.h"
|
||||
#include "common/repositories/guild_tributes_repository.h"
|
||||
#include "common/repositories/player_event_logs_repository.h"
|
||||
#include "common/repositories/trader_repository.h"
|
||||
#include "common/server_reload_types.h"
|
||||
#include "common/shared_tasks.h"
|
||||
#include "common/skill_caps.h"
|
||||
#include "common/strings.h"
|
||||
#include "common/zone_store.h"
|
||||
#include "world/adventure_manager.h"
|
||||
#include "world/client.h"
|
||||
#include "world/cliententry.h"
|
||||
#include "world/clientlist.h"
|
||||
#include "world/dynamic_zone_manager.h"
|
||||
#include "world/dynamic_zone.h"
|
||||
#include "world/lfplist.h"
|
||||
#include "world/login_server_list.h"
|
||||
#include "world/login_server.h"
|
||||
#include "world/queryserv.h"
|
||||
#include "world/shared_task_manager.h"
|
||||
#include "world/shared_task_world_messaging.h"
|
||||
#include "world/ucs.h"
|
||||
#include "world/wguild_mgr.h"
|
||||
#include "world/world_config.h"
|
||||
#include "world/worlddb.h"
|
||||
#include "world/zonelist.h"
|
||||
|
||||
extern GroupLFPList LFPGroupList;
|
||||
extern volatile bool RunLoops;
|
||||
|
||||
@ -15,16 +15,18 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
#ifndef ZONESERVER_H
|
||||
#define ZONESERVER_H
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "world_tcp_connection.h"
|
||||
#include "../common/net/servertalk_server.h"
|
||||
#include "../common/event/timer.h"
|
||||
#include "../common/timer.h"
|
||||
#include "../common/emu_constants.h"
|
||||
#include "console.h"
|
||||
#include <string.h>
|
||||
|
||||
#include "common/net/servertalk_server.h"
|
||||
#include "common/event/timer.h"
|
||||
#include "common/timer.h"
|
||||
#include "common/emu_constants.h"
|
||||
#include "world/console.h"
|
||||
|
||||
#include <cstring>
|
||||
#include <string>
|
||||
|
||||
class Client;
|
||||
@ -102,6 +104,3 @@ private:
|
||||
std::string launched_name; //the name of the zone we launched.
|
||||
EQ::Net::ConsoleServer *console;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user