mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-08-04 00:31:55 +02:00
Fixed up some lua scripts. Fleshed out the dream stuff for Hildie quests. NOTE: Finish player.lua as it has pseudo code.
This commit is contained in:
parent
c3b4735cc5
commit
5c0d2c1d7f
7 changed files with 84 additions and 21 deletions
|
@ -119,6 +119,7 @@ namespace Meteor.Map.Actors
|
|||
public uint lastPlayTimeUpdate;
|
||||
public bool isGM = false;
|
||||
public bool isZoneChanging = true;
|
||||
public byte LoginDreamCode = 0;
|
||||
|
||||
//Trading
|
||||
private Player otherTrader = null;
|
||||
|
@ -420,7 +421,7 @@ namespace Meteor.Map.Actors
|
|||
for (int i = 0; i < 2048; i++)
|
||||
testComplete[i] = true;
|
||||
QueuePacket(cutsceneBookPacket.BuildPacket(Id, SNpcNickname, SNpcSkin, SNpcPersonality, SNpcCoordinate, testComplete));
|
||||
QueuePacket(SetPlayerDreamPacket.BuildPacket(Id, 0x16, GetInnCode()));
|
||||
QueuePacket(SetPlayerDreamPacket.BuildPacket(Id, LoginDreamCode, GetInnCode()));
|
||||
}
|
||||
|
||||
return subpackets;
|
||||
|
@ -869,6 +870,16 @@ namespace Meteor.Map.Actors
|
|||
return 0;
|
||||
}
|
||||
|
||||
public void SetLoginDreamCode(byte code)
|
||||
{
|
||||
LoginDreamCode = code;
|
||||
}
|
||||
|
||||
public byte GetLoginDreamCode()
|
||||
{
|
||||
return LoginDreamCode;
|
||||
}
|
||||
|
||||
public void SetSleeping()
|
||||
{
|
||||
playerSession.LockUpdates(true);
|
||||
|
@ -2196,7 +2207,7 @@ namespace Meteor.Map.Actors
|
|||
currentEventName = "";
|
||||
currentEventType = 0;
|
||||
currentEventRunning = null;
|
||||
}
|
||||
}
|
||||
|
||||
public void BroadcastCountdown(byte countdownLength, ulong syncTime)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue