mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-07-30 22:36:11 +02:00
More static actors loaded and can be accessed anywhere. Improved lua scripting to allow small talk.
This commit is contained in:
parent
300748668f
commit
789df97d48
16 changed files with 882 additions and 28 deletions
|
@ -75,7 +75,7 @@ namespace FFXIVClassic_Map_Server.Actors
|
|||
public override BasePacket getSpawnPackets(uint playerActorId)
|
||||
{
|
||||
List<SubPacket> subpackets = new List<SubPacket>();
|
||||
subpackets.Add(createAddActorPacket(playerActorId));
|
||||
subpackets.Add(createAddActorPacket(playerActorId, 0));
|
||||
subpackets.Add(createSpeedPacket(playerActorId));
|
||||
subpackets.Add(createSpawnPositonPacket(playerActorId, 0x1));
|
||||
subpackets.Add(createNamePacket(playerActorId));
|
||||
|
@ -175,9 +175,10 @@ namespace FFXIVClassic_Map_Server.Actors
|
|||
return;
|
||||
|
||||
lock (mActorBlock)
|
||||
{
|
||||
mActorBlock[gridOldX, gridOldY].Remove(actor);
|
||||
lock (mActorBlock)
|
||||
mActorBlock[gridX, gridY].Add(actor);
|
||||
}
|
||||
}
|
||||
|
||||
public List<Actor> getActorsAroundPoint(float x, float y, int checkDistance)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue