mirror of
				https://bitbucket.org/Ioncannon/project-meteor-server.git
				synced 2025-05-20 08:26:59 -04:00 
			
		
		
		
	Finished Treasures of the Main and Legends Adrift. Fixed quests appearing in private areas (echos). Fixed other bugs. Implemented NPC Linkshells. Added more options to nudge command. Added nudgenpc command. Added testbnpckill command.
This commit is contained in:
		| @@ -642,7 +642,7 @@ namespace Meteor.Map.Actors | ||||
|             return new Vector3(positionX, positionY, positionZ); | ||||
|         } | ||||
|  | ||||
|         public void SetPos(float x, float y, float z, float rot = 0, bool instant = false) | ||||
|         public void SetPos(float x, float y, float z, float rot = 0, bool instant = false, Player player = null) | ||||
|         { | ||||
|             oldPositionX = positionX; | ||||
|             oldPositionY = positionY; | ||||
| @@ -657,8 +657,9 @@ namespace Meteor.Map.Actors | ||||
|             // todo: handle zone? | ||||
|             if (instant) | ||||
|             { | ||||
|                 CurrentArea.BroadcastPacketAroundPoint(oldPositionX, oldPositionY, CreateSpawnTeleportPacket(0)); | ||||
|                 CurrentArea.BroadcastPacketAroundPoint(positionX, positionY, CreateSpawnTeleportPacket(0)); | ||||
|                 player.QueuePacket(CreateSpawnTeleportPacket(0)); | ||||
|                 //CurrentArea.BroadcastPacketAroundPoint(oldPositionX, oldPositionY, CreateSpawnTeleportPacket(0)); | ||||
|                 //CurrentArea.BroadcastPacketAroundPoint(positionX, positionY, CreateSpawnTeleportPacket(0)); | ||||
|             } | ||||
|             else | ||||
|                 CurrentArea.BroadcastPacketAroundActor(this, MoveActorToPositionPacket.BuildPacket(Id, x, y, z, rot, moveState)); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user