mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-02 19:42:05 -04:00
When zoning into a inn, cutscene packet will be sent as well.
This commit is contained in:
parent
b69e18ff3c
commit
b33b0b1bc4
@ -124,7 +124,7 @@ namespace FFXIVClassic_Map_Server.Actors
|
|||||||
public Quest[] questScenario = new Quest[16];
|
public Quest[] questScenario = new Quest[16];
|
||||||
public Quest[] questGuildleve = new Quest[8];
|
public Quest[] questGuildleve = new Quest[8];
|
||||||
|
|
||||||
public Director currentDirector;
|
public Director currentDirector = new OpeningDirector(0x46080012);
|
||||||
|
|
||||||
public PlayerWork playerWork = new PlayerWork();
|
public PlayerWork playerWork = new PlayerWork();
|
||||||
|
|
||||||
@ -531,13 +531,24 @@ namespace FFXIVClassic_Map_Server.Actors
|
|||||||
|
|
||||||
playerSession.queuePacket(areaMasterSpawn);
|
playerSession.queuePacket(areaMasterSpawn);
|
||||||
playerSession.queuePacket(debugSpawn);
|
playerSession.queuePacket(debugSpawn);
|
||||||
playerSession.queuePacket(worldMasterSpawn);
|
|
||||||
|
|
||||||
if (directorSpawn != null)
|
if (directorSpawn != null)
|
||||||
{
|
{
|
||||||
//directorSpawn.debugPrintPacket();
|
directorSpawn.debugPrintPacket();
|
||||||
queuePacket(directorSpawn);
|
queuePacket(directorSpawn);
|
||||||
}
|
}
|
||||||
|
playerSession.queuePacket(worldMasterSpawn);
|
||||||
|
|
||||||
|
if (zone.isInn)
|
||||||
|
{
|
||||||
|
SetCutsceneBookPacket cutsceneBookPacket = new SetCutsceneBookPacket();
|
||||||
|
for (int i = 64; i < 1200; i++)
|
||||||
|
cutsceneBookPacket.cutsceneFlags[i] = true;
|
||||||
|
|
||||||
|
SubPacket packet = cutsceneBookPacket.buildPacket(actorId, "Test PathCompanion", 11, 1, 1);
|
||||||
|
|
||||||
|
packet.debugPrintSubPacket();
|
||||||
|
queuePacket(packet);
|
||||||
|
}
|
||||||
|
|
||||||
#region hardcode
|
#region hardcode
|
||||||
BasePacket reply10 = new BasePacket("./packets/login/login10.bin"); //Item Storage, Inn Door created
|
BasePacket reply10 = new BasePacket("./packets/login/login10.bin"); //Item Storage, Inn Door created
|
||||||
@ -965,9 +976,6 @@ namespace FFXIVClassic_Map_Server.Actors
|
|||||||
public void setZoneChanging(bool flag)
|
public void setZoneChanging(bool flag)
|
||||||
{
|
{
|
||||||
isZoneChanging = flag;
|
isZoneChanging = flag;
|
||||||
|
|
||||||
if (!isZoneChanging)
|
|
||||||
LuaEngine.onZoneIn(this);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool isInZoneChange()
|
public bool isInZoneChange()
|
||||||
|
Loading…
Reference in New Issue
Block a user