1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-27 06:47:45 +00:00

fix limsa opening

This commit is contained in:
collett 2024-06-14 18:22:56 +09:00
parent 1e38fc21dd
commit 728f76b912
3 changed files with 18 additions and 14 deletions

View file

@ -381,7 +381,7 @@ namespace Sapphire::Network::ActorControl
SetTitleReq = 0x12E,
TitleList = 0x12F,
UpdatedSeenHowTos = 0x133,
UpdatedSeenHowTos = 0x132,
CutscenePlayed = 0x134, // param1 = cutscene id
AllotAttribute = 0x135,

View file

@ -112,8 +112,8 @@ enum ServerZoneIpcType :
BlackList = 0x38A, // updated 6.58 hotfix 2
LinkshellList = 0x2B2, // updated 6.58 hotfix 2
CrossWorldLinkshellList = 0x2EA, // updated 6.58 hotfix 2?
FellowshipList = 0x0BD, // updated 6.58 hotfix 2?
CrossWorldLinkshellList = 0x3D5, // updated 6.58 hotfix 2
FellowshipList = 0x373, // updated 6.58 hotfix 2
MailDeleteRequest = 0x168, // updated 6.58 hotfix 2?
@ -171,7 +171,7 @@ enum ServerZoneIpcType :
SilentSetClassJob = 0xF18E, // updated 5.0 - seems to be the case, not sure if it's actually used for anything
PlayerSetup = 0x035F, // updated 6.58 hotfix 2
PlayerStats = 0x034F, // updated 6.58 hotfix 2
ActorOwner = 0x2c3, // updated 6.58 hotfix 2?
ActorOwner = 0x2c3, // updated 6.58 hotfix 2
PlayerStateFlags = 0x1B6, // updated 6.58 hotfix 2
PlayerClassInfo = 0x238, // updated 6.58 hotfix 2
PlayerUpdateLook = 0xa8, // updated 6.48

View file

@ -74,20 +74,24 @@ private:
void Scene00005( Entity::Player& player )
{
player.playSceneChain( getId(), 5, HIDE_HOTBAR, bindScene( &ManSea001::Scene00006 ) );
player.playScene( getId(), 5, HIDE_HOTBAR,
[ & ]( Entity::Player& player, const Event::SceneResult& result )
{
if( result.param2 == 1 )
{
Scene00006( player );
}
} );
}
void Scene00006( Entity::Player& player )
{
player.playScene( getId(), 6, INVIS_OTHER_PC,
[ & ]( Entity::Player& player, const Event::SceneResult& result )
{
if( result.param2 == 1 )
{
player.updateQuest( getId(), SEQ_FINISH );
player.prepareZoning( player.getZoneId(), true, 1, 0 );
player.changePosition( 9, 40, 14, 2 );
}
} );
}