mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +00:00
Merge fix
This commit is contained in:
+10
-6
@@ -1012,7 +1012,12 @@ void Client::Handle_Connect_OP_ReqNewZone(const EQApplicationPacket *app)
|
||||
memcpy(outapp->pBuffer, &zone->newzone_data, sizeof(NewZone_Struct));
|
||||
strcpy(nz->char_name, m_pp.name);
|
||||
|
||||
FastQueuePacket(&outapp);
|
||||
// This was using FastQueuePacket and the packet was never getting sent...
|
||||
// Not sure if this was timing.... but the NewZone was never logged until
|
||||
// I changed it.
|
||||
outapp->priority = 6;
|
||||
QueuePacket(outapp);
|
||||
safe_delete(outapp);
|
||||
|
||||
return;
|
||||
}
|
||||
@@ -1638,11 +1643,6 @@ void Client::Handle_Connect_OP_ZoneEntry(const EQApplicationPacket *app)
|
||||
/* Task Packets */
|
||||
LoadClientTaskState();
|
||||
|
||||
if (ClientVersion() >= EQEmu::versions::ClientVersion::RoF) {
|
||||
outapp = new EQApplicationPacket(OP_ReqNewZone, 0);
|
||||
Handle_Connect_OP_ReqNewZone(outapp);
|
||||
safe_delete(outapp);
|
||||
}
|
||||
|
||||
if (m_ClientVersionBit & EQEmu::versions::bit_UFAndLater) {
|
||||
outapp = new EQApplicationPacket(OP_XTargetResponse, 8);
|
||||
@@ -1668,6 +1668,10 @@ void Client::Handle_Connect_OP_ZoneEntry(const EQApplicationPacket *app)
|
||||
QueuePacket(outapp);
|
||||
safe_delete(outapp);
|
||||
|
||||
if (ClientVersion() >= EQEmu::versions::ClientVersion::RoF) {
|
||||
Handle_Connect_OP_ReqNewZone(nullptr);
|
||||
}
|
||||
|
||||
SetAttackTimer();
|
||||
conn_state = ZoneInfoSent;
|
||||
zoneinpacket_timer.Start();
|
||||
|
||||
Reference in New Issue
Block a user