mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-22 07:01:29 +00:00
repaired dependency issues for protobuf
This commit is contained in:
parent
c69b9a95b7
commit
dd5ef6523f
1
.gitignore
vendored
1
.gitignore
vendored
@ -39,3 +39,4 @@ protobuf/csharp/*
|
|||||||
protobuf/go/*
|
protobuf/go/*
|
||||||
protobuf/java/*
|
protobuf/java/*
|
||||||
protobuf/python/*
|
protobuf/python/*
|
||||||
|
.vscode
|
||||||
@ -157,7 +157,7 @@ IF(MSVC)
|
|||||||
ELSE(MSVC)
|
ELSE(MSVC)
|
||||||
|
|
||||||
SET(NATS_LIBRARY "${NATS_ROOT}/lib_x64/libnats.so")
|
SET(NATS_LIBRARY "${NATS_ROOT}/lib_x64/libnats.so")
|
||||||
SET(PROTOBUF_LIBRARY "${PROTOBUF_ROOT}/lib_x64/libprotobuf.so")
|
SET(PROTOBUF_LIBRARY "${PROTOBUF_ROOT}/lib_x64/libprotobuf.so.15")
|
||||||
|
|
||||||
#Normally set by perl but we don't use the perl flags anymore so we set it.
|
#Normally set by perl but we don't use the perl flags anymore so we set it.
|
||||||
ADD_DEFINITIONS(-DHAS_UNION_SEMUN)
|
ADD_DEFINITIONS(-DHAS_UNION_SEMUN)
|
||||||
|
|||||||
@ -25,10 +25,12 @@
|
|||||||
#include "world_config.h"
|
#include "world_config.h"
|
||||||
#include "../common/guilds.h"
|
#include "../common/guilds.h"
|
||||||
#include "../common/string_util.h"
|
#include "../common/string_util.h"
|
||||||
|
#include "nats_manager.h"
|
||||||
|
|
||||||
extern uint32 numplayers;
|
extern uint32 numplayers;
|
||||||
extern LoginServerList loginserverlist;
|
extern LoginServerList loginserverlist;
|
||||||
extern ClientList client_list;
|
extern ClientList client_list;
|
||||||
|
extern NatsManager nats;
|
||||||
extern volatile bool RunLoops;
|
extern volatile bool RunLoops;
|
||||||
|
|
||||||
ClientListEntry::ClientListEntry(uint32 in_id, uint32 iLSID, const char* iLoginName, const char* iLoginKey, int16 iWorldAdmin, uint32 ip, uint8 local)
|
ClientListEntry::ClientListEntry(uint32 in_id, uint32 iLSID, const char* iLoginName, const char* iLoginKey, int16 iWorldAdmin, uint32 ip, uint8 local)
|
||||||
@ -286,6 +288,7 @@ bool ClientListEntry::CheckAuth(uint32 iLSID, const char* iKey) {
|
|||||||
Log(Logs::Detail, Logs::World_Server,"Error adding local account for LS login: '%s', duplicate name?" ,plsname);
|
Log(Logs::Detail, Logs::World_Server,"Error adding local account for LS login: '%s', duplicate name?" ,plsname);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
nats.SendAdminMessage(StringFormat("New account was created for %s, accountid: %u", plsname, paccountid));
|
||||||
strn0cpy(paccountname, plsname, sizeof(paccountname));
|
strn0cpy(paccountname, plsname, sizeof(paccountname));
|
||||||
padmin = tmpStatus;
|
padmin = tmpStatus;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,8 +2,8 @@
|
|||||||
#define _NATS_H
|
#define _NATS_H
|
||||||
#include "nats.h"
|
#include "nats.h"
|
||||||
#include "event_codes.h"
|
#include "event_codes.h"
|
||||||
#include "entity.h";
|
#include "entity.h"
|
||||||
#include "mob.h";
|
#include "mob.h"
|
||||||
|
|
||||||
#include "../common/opcodemgr.h"
|
#include "../common/opcodemgr.h"
|
||||||
#include "../common/global_define.h"
|
#include "../common/global_define.h"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user