mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-27 20:07:45 +00:00
Fix event battle.
This commit is contained in:
parent
b4dc049ae1
commit
9723977c47
2 changed files with 14 additions and 0 deletions
|
@ -338,6 +338,8 @@ namespace Sapphire::Network::ActorControl
|
|||
SetDutyActionRemaining = 0x5EB,
|
||||
|
||||
EurekaStep = 0x73A, // alters the progress of the player on Eureka (is used for all the eureka zones)
|
||||
|
||||
Unk039C = 0x039C, // Event battle level sync dialog?
|
||||
};
|
||||
|
||||
enum ClientTriggerType
|
||||
|
@ -442,6 +444,8 @@ namespace Sapphire::Network::ActorControl
|
|||
OpenDuelUI = 0x898, // Open a duel ui
|
||||
DuelRequestResult = 0x899, // either accept/reject
|
||||
|
||||
Unk232C = 0x232C, // Event battle level sync dialog?
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
#include "Network/PacketWrappers/ChatPacket.h"
|
||||
#include "Network/PacketWrappers/ServerNoticePacket.h"
|
||||
#include "Network/PacketWrappers/ActorControlPacket.h"
|
||||
#include "Network/PacketWrappers/ActorControlSelfPacket.h"
|
||||
|
||||
#include "Manager/DebugCommandMgr.h"
|
||||
#include "Manager/EventMgr.h"
|
||||
|
@ -493,6 +494,15 @@ void Sapphire::Network::GameConnection::clientTriggerHandler( FrameworkPtr pFw,
|
|||
canTeleport, unk1, privateEstateAccess, unk );
|
||||
break;
|
||||
}
|
||||
case ClientTriggerType::Unk232C:
|
||||
{
|
||||
auto packet = makeActorControlSelf(player.getId(), ActorControl::Unk039C, 0, param12, param2);
|
||||
player.queuePacket(packet);
|
||||
|
||||
player.sendDebug("Unk232C: level sync: {0}, ilevel sync?: {1}",
|
||||
param12, param2);
|
||||
break;
|
||||
}
|
||||
|
||||
default:
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue