mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-27 14:57:44 +00:00
commit
d78105f9c7
3 changed files with 40 additions and 2 deletions
|
@ -113,7 +113,8 @@ namespace Packets {
|
||||||
QuestCompleteList = 0x017F, // updated 4.1
|
QuestCompleteList = 0x017F, // updated 4.1
|
||||||
|
|
||||||
QuestFinish = 0x0180, // updated 4.1
|
QuestFinish = 0x0180, // updated 4.1
|
||||||
|
MSQTrackerComplete = 0x0181,
|
||||||
|
MSQTrackerProgress = 0x0182,
|
||||||
QuestTracker = 0x018D, // updated 4.1
|
QuestTracker = 0x018D, // updated 4.1
|
||||||
ActorSpawn = 0x0190, // todo: split into playerspawn/actorspawn and use opcode 0x110/0x111
|
ActorSpawn = 0x0190, // todo: split into playerspawn/actorspawn and use opcode 0x110/0x111
|
||||||
ActorFreeSpawn = 0x0191, // unchanged for sb
|
ActorFreeSpawn = 0x0191, // unchanged for sb
|
||||||
|
|
|
@ -1272,7 +1272,6 @@ struct FFXIVIpcMount : FFXIVIpcBasePacket<Mount>
|
||||||
uint32_t id;
|
uint32_t id;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
struct FFXIVIpcActorGauge : FFXIVIpcBasePacket<ActorGauge>
|
struct FFXIVIpcActorGauge : FFXIVIpcBasePacket<ActorGauge>
|
||||||
{
|
{
|
||||||
uint8_t classJobId;
|
uint8_t classJobId;
|
||||||
|
@ -1284,6 +1283,21 @@ struct FFXIVIpcPerformNote : FFXIVIpcBasePacket<PerformNote>
|
||||||
uint8_t data[32];
|
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 */
|
} /* Server */
|
||||||
} /* Packets */
|
} /* Packets */
|
||||||
|
|
|
@ -279,6 +279,29 @@ void Core::DebugCommandHandler::set( char * data, Entity::Player& player, boost:
|
||||||
player.dismount();
|
player.dismount();
|
||||||
player.mount( id );
|
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
|
else
|
||||||
{
|
{
|
||||||
player.sendUrgent( subCommand + " is not a valid SET command." );
|
player.sendUrgent( subCommand + " is not a valid SET command." );
|
||||||
|
|
Loading…
Add table
Reference in a new issue