mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-11 16:51:29 +00:00
logger.LoadLogSettings() added after each platform executable registry
Added int return for platform executable
This commit is contained in:
parent
2e397b1383
commit
fac1361d36
@ -35,6 +35,7 @@ void ExportBaseData(SharedDatabase *db);
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
RegisterExecutablePlatform(ExePlatformClientExport);
|
||||
logger.LoadLogSettings();
|
||||
set_exception_handler();
|
||||
|
||||
logger.Log(EQEmuLogSys::Status, "Client Files Export Utility");
|
||||
|
||||
@ -33,6 +33,7 @@ void ImportBaseData(SharedDatabase *db);
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
RegisterExecutablePlatform(ExePlatformClientImport);
|
||||
logger.LoadLogSettings();
|
||||
set_exception_handler();
|
||||
|
||||
logger.Log(EQEmuLogSys::Status, "Client Files Import Utility");
|
||||
|
||||
@ -10,3 +10,6 @@ const EQEmuExePlatform& GetExecutablePlatform() {
|
||||
return exe_platform;
|
||||
}
|
||||
|
||||
int GetExecutablePlatformInt(){
|
||||
return exe_platform;
|
||||
}
|
||||
@ -18,5 +18,6 @@ enum EQEmuExePlatform
|
||||
|
||||
void RegisterExecutablePlatform(EQEmuExePlatform p);
|
||||
const EQEmuExePlatform& GetExecutablePlatform();
|
||||
int GetExecutablePlatformInt();
|
||||
|
||||
#endif
|
||||
|
||||
@ -39,6 +39,7 @@ void CatchSignal(int sig_num);
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
RegisterExecutablePlatform(ExePlatformLaunch);
|
||||
logger.LoadLogSettings();
|
||||
set_exception_handler();
|
||||
|
||||
std::string launcher_name;
|
||||
|
||||
@ -50,6 +50,7 @@ void CatchSignal(int sig_num) {
|
||||
|
||||
int main() {
|
||||
RegisterExecutablePlatform(ExePlatformQueryServ);
|
||||
logger.LoadLogSettings();
|
||||
set_exception_handler();
|
||||
Timer LFGuildExpireTimer(60000);
|
||||
Timer InterserverTimer(INTERSERVER_TIMER); // does auto-reconnect
|
||||
|
||||
@ -37,6 +37,7 @@ EQEmuLogSys logger;
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
RegisterExecutablePlatform(ExePlatformSharedMemory);
|
||||
logger.LoadLogSettings();
|
||||
set_exception_handler();
|
||||
|
||||
logger.Log(EQEmuLogSys::Status, "Shared Memory Loader Program");
|
||||
|
||||
@ -69,6 +69,7 @@ std::string GetMailPrefix() {
|
||||
|
||||
int main() {
|
||||
RegisterExecutablePlatform(ExePlatformUCS);
|
||||
logger.LoadLogSettings();
|
||||
set_exception_handler();
|
||||
|
||||
// Check every minute for unused channels we can delete
|
||||
|
||||
@ -105,12 +105,15 @@ uint32 numclients = 0;
|
||||
uint32 numzones = 0;
|
||||
bool holdzones = false;
|
||||
|
||||
EQEmuLogSys logger;
|
||||
|
||||
extern ConsoleList console_list;
|
||||
|
||||
void CatchSignal(int sig_num);
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
RegisterExecutablePlatform(ExePlatformWorld);
|
||||
logger.LoadLogSettings();
|
||||
set_exception_handler();
|
||||
|
||||
/* Database Version Check */
|
||||
|
||||
@ -17,6 +17,7 @@
|
||||
*/
|
||||
|
||||
#define DONT_SHARED_OPCODES
|
||||
#define PLATFORM_ZONE 1
|
||||
|
||||
#include "../common/debug.h"
|
||||
#include "../common/features.h"
|
||||
@ -42,7 +43,6 @@
|
||||
#include "../common/memory_mapped_file.h"
|
||||
#include "../common/eqemu_exception.h"
|
||||
#include "../common/spdat.h"
|
||||
|
||||
#include "../common/eqemu_logsys.h"
|
||||
|
||||
#include "zone_config.h"
|
||||
@ -114,6 +114,7 @@ extern void MapOpcodes();
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
RegisterExecutablePlatform(ExePlatformZone);
|
||||
logger.LoadLogSettings();
|
||||
set_exception_handler();
|
||||
|
||||
const char *zone_name;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user