mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-26 22:37:45 +00:00
commit
417d0f42a1
3 changed files with 40 additions and 2 deletions
|
@ -113,7 +113,8 @@ namespace Packets {
|
|||
QuestCompleteList = 0x017F, // updated 4.1
|
||||
|
||||
QuestFinish = 0x0180, // updated 4.1
|
||||
|
||||
MSQTrackerComplete = 0x0181,
|
||||
MSQTrackerProgress = 0x0182,
|
||||
QuestTracker = 0x018D, // updated 4.1
|
||||
ActorSpawn = 0x0190, // todo: split into playerspawn/actorspawn and use opcode 0x110/0x111
|
||||
ActorFreeSpawn = 0x0191, // unchanged for sb
|
||||
|
|
|
@ -1272,7 +1272,6 @@ struct FFXIVIpcMount : FFXIVIpcBasePacket<Mount>
|
|||
uint32_t id;
|
||||
};
|
||||
|
||||
|
||||
struct FFXIVIpcActorGauge : FFXIVIpcBasePacket<ActorGauge>
|
||||
{
|
||||
uint8_t classJobId;
|
||||
|
@ -1284,6 +1283,21 @@ struct FFXIVIpcPerformNote : FFXIVIpcBasePacket<PerformNote>
|
|||
uint8_t data[32];
|
||||
};
|
||||
|
||||
struct FFXIVIpcMSQTrackerProgress : FFXIVIpcBasePacket<MSQTrackerProgress>
|
||||
{
|
||||
uint32_t id;
|
||||
uint32_t padding;
|
||||
};
|
||||
|
||||
struct FFXIVIpcMSQTrackerComplete : FFXIVIpcBasePacket<MSQTrackerComplete>
|
||||
{
|
||||
uint32_t id;
|
||||
uint32_t padding1;
|
||||
uint64_t padding2;
|
||||
uint64_t padding3;
|
||||
uint64_t padding4; // last 4 bytes is uint32_t but who cares
|
||||
};
|
||||
|
||||
|
||||
} /* Server */
|
||||
} /* Packets */
|
||||
|
|
|
@ -279,6 +279,29 @@ void Core::DebugCommandHandler::set( char * data, Entity::Player& player, boost:
|
|||
player.dismount();
|
||||
player.mount( id );
|
||||
}
|
||||
else if ( subCommand == "msqguide" )
|
||||
{
|
||||
int32_t id;
|
||||
sscanf( params.c_str(), "%d", &id );
|
||||
|
||||
Network::Packets::ZoneChannelPacket< Network::Packets::Server::FFXIVIpcMSQTrackerProgress > msqPacket(
|
||||
player.getId());
|
||||
msqPacket.data().id = id;
|
||||
player.queuePacket( msqPacket );
|
||||
|
||||
player.sendDebug( "MSQ Guide updated " );
|
||||
}
|
||||
else if ( subCommand == "msqdone")
|
||||
{
|
||||
int32_t id;
|
||||
sscanf( params.c_str(), "%d", &id );
|
||||
|
||||
Network::Packets::ZoneChannelPacket< Network::Packets::Server::FFXIVIpcMSQTrackerComplete > msqPacket ( player.getId() );
|
||||
msqPacket.data().id = id;
|
||||
player.queuePacket( msqPacket );
|
||||
|
||||
player.sendDebug( "MSQ Guide updated " );
|
||||
}
|
||||
else
|
||||
{
|
||||
player.sendUrgent( subCommand + " is not a valid SET command." );
|
||||
|
|
Loading…
Add table
Reference in a new issue