mirror of
				https://bitbucket.org/Ioncannon/project-meteor-server.git
				synced 2025-05-20 08:26:59 -04: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:
		| @@ -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) | ||||
|         { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user