mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-05 13:32:26 +00:00
Adjust World to zone port assignment message
This commit is contained in:
parent
5b51f69753
commit
295fa30a35
@ -1511,7 +1511,7 @@ void Client::UpdateAdmin(bool iFromDB) {
|
|||||||
|
|
||||||
if(m_pp.gm)
|
if(m_pp.gm)
|
||||||
{
|
{
|
||||||
logger.LogDebugType(EQEmuLogSys::Moderate, EQEmuLogSys::Zone_Server, __FUNCTION__ "%s is a GM", GetName());
|
logger.LogDebugType(EQEmuLogSys::Moderate, EQEmuLogSys::Zone_Server, __FUNCTION__ " - %s is a GM", GetName());
|
||||||
// no need for this, having it set in pp you already start as gm
|
// no need for this, having it set in pp you already start as gm
|
||||||
// and it's also set in your spawn packet so other people see it too
|
// and it's also set in your spawn packet so other people see it too
|
||||||
// SendAppearancePacket(AT_GM, 1, false);
|
// SendAppearancePacket(AT_GM, 1, false);
|
||||||
|
|||||||
@ -140,7 +140,7 @@ void WorldServer::Process() {
|
|||||||
|
|
||||||
ServerPacket *pack = 0;
|
ServerPacket *pack = 0;
|
||||||
while((pack = tcpc.PopPacket())) {
|
while((pack = tcpc.PopPacket())) {
|
||||||
logger.LogDebugType(EQEmuLogSys::Detail, EQEmuLogSys::Zone_Server,"Got 0x%04x from world:",pack->opcode);
|
logger.LogDebugType(EQEmuLogSys::Detail, EQEmuLogSys::Zone_Server, "Got 0x%04x from world:", pack->opcode);
|
||||||
_hex(ZONE__WORLD_TRACE,pack->pBuffer,pack->size);
|
_hex(ZONE__WORLD_TRACE,pack->pBuffer,pack->size);
|
||||||
switch(pack->opcode) {
|
switch(pack->opcode) {
|
||||||
case 0: {
|
case 0: {
|
||||||
@ -155,7 +155,7 @@ void WorldServer::Process() {
|
|||||||
if (pack->size != sizeof(ServerConnectInfo))
|
if (pack->size != sizeof(ServerConnectInfo))
|
||||||
break;
|
break;
|
||||||
ServerConnectInfo* sci = (ServerConnectInfo*) pack->pBuffer;
|
ServerConnectInfo* sci = (ServerConnectInfo*) pack->pBuffer;
|
||||||
logger.LogDebugType(EQEmuLogSys::Detail, EQEmuLogSys::Zone_Server,"World indicated port %d for this zone.",sci->port);
|
logger.LogDebugType(EQEmuLogSys::Detail, EQEmuLogSys::Zone_Server, "World assigned Port: %d for this zone.", sci->port);
|
||||||
ZoneConfig::SetZonePort(sci->port);
|
ZoneConfig::SetZonePort(sci->port);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user