Broadcast creature movement while updating position.
This commit is contained in:
parent
b1672f03ca
commit
b09d495694
@ -3060,6 +3060,9 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
// Set the timer of last position update to now
|
||||
m._moveTimestamp = gameTicks;
|
||||
|
||||
// Send a Server->Client packet MoveToLocation to the actor and all known PlayerInstance.
|
||||
broadcastPacket(new MoveToLocation(this));
|
||||
|
||||
if (distFraction > 1)
|
||||
{
|
||||
ThreadPool.execute(() -> getAI().notifyEvent(CtrlEvent.EVT_ARRIVED));
|
||||
|
@ -3060,6 +3060,9 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
// Set the timer of last position update to now
|
||||
m._moveTimestamp = gameTicks;
|
||||
|
||||
// Send a Server->Client packet MoveToLocation to the actor and all known PlayerInstance.
|
||||
broadcastPacket(new MoveToLocation(this));
|
||||
|
||||
if (distFraction > 1)
|
||||
{
|
||||
ThreadPool.execute(() -> getAI().notifyEvent(CtrlEvent.EVT_ARRIVED));
|
||||
|
@ -3060,6 +3060,9 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
// Set the timer of last position update to now
|
||||
m._moveTimestamp = gameTicks;
|
||||
|
||||
// Send a Server->Client packet MoveToLocation to the actor and all known PlayerInstance.
|
||||
broadcastPacket(new MoveToLocation(this));
|
||||
|
||||
if (distFraction > 1)
|
||||
{
|
||||
ThreadPool.execute(() -> getAI().notifyEvent(CtrlEvent.EVT_ARRIVED));
|
||||
|
@ -3060,6 +3060,9 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
// Set the timer of last position update to now
|
||||
m._moveTimestamp = gameTicks;
|
||||
|
||||
// Send a Server->Client packet MoveToLocation to the actor and all known PlayerInstance.
|
||||
broadcastPacket(new MoveToLocation(this));
|
||||
|
||||
if (distFraction > 1)
|
||||
{
|
||||
ThreadPool.execute(() -> getAI().notifyEvent(CtrlEvent.EVT_ARRIVED));
|
||||
|
@ -3060,6 +3060,9 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
// Set the timer of last position update to now
|
||||
m._moveTimestamp = gameTicks;
|
||||
|
||||
// Send a Server->Client packet MoveToLocation to the actor and all known PlayerInstance.
|
||||
broadcastPacket(new MoveToLocation(this));
|
||||
|
||||
if (distFraction > 1)
|
||||
{
|
||||
ThreadPool.execute(() -> getAI().notifyEvent(CtrlEvent.EVT_ARRIVED));
|
||||
|
@ -3060,6 +3060,9 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
// Set the timer of last position update to now
|
||||
m._moveTimestamp = gameTicks;
|
||||
|
||||
// Send a Server->Client packet MoveToLocation to the actor and all known PlayerInstance.
|
||||
broadcastPacket(new MoveToLocation(this));
|
||||
|
||||
if (distFraction > 1)
|
||||
{
|
||||
ThreadPool.execute(() -> getAI().notifyEvent(CtrlEvent.EVT_ARRIVED));
|
||||
|
@ -3060,6 +3060,9 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
// Set the timer of last position update to now
|
||||
m._moveTimestamp = gameTicks;
|
||||
|
||||
// Send a Server->Client packet MoveToLocation to the actor and all known PlayerInstance.
|
||||
broadcastPacket(new MoveToLocation(this));
|
||||
|
||||
if (distFraction > 1)
|
||||
{
|
||||
ThreadPool.execute(() -> getAI().notifyEvent(CtrlEvent.EVT_ARRIVED));
|
||||
|
@ -4039,6 +4039,9 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
// Set the timer of last position update to now
|
||||
m._moveTimestamp = gameTicks;
|
||||
|
||||
// Send a Server->Client packet MoveToLocation to the actor and all known PlayerInstance.
|
||||
broadcastPacket(new MoveToLocation(this));
|
||||
|
||||
if (distFraction > 1)
|
||||
{
|
||||
ThreadPool.execute(() -> getAI().notifyEvent(CtrlEvent.EVT_ARRIVED));
|
||||
|
@ -3059,6 +3059,9 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
// Set the timer of last position update to now
|
||||
m._moveTimestamp = gameTicks;
|
||||
|
||||
// Send a Server->Client packet MoveToLocation to the actor and all known PlayerInstance.
|
||||
broadcastPacket(new MoveToLocation(this));
|
||||
|
||||
if (distFraction > 1)
|
||||
{
|
||||
ThreadPool.execute(() -> getAI().notifyEvent(CtrlEvent.EVT_ARRIVED));
|
||||
|
@ -3059,6 +3059,9 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
// Set the timer of last position update to now
|
||||
m._moveTimestamp = gameTicks;
|
||||
|
||||
// Send a Server->Client packet MoveToLocation to the actor and all known PlayerInstance.
|
||||
broadcastPacket(new MoveToLocation(this));
|
||||
|
||||
if (distFraction > 1)
|
||||
{
|
||||
ThreadPool.execute(() -> getAI().notifyEvent(CtrlEvent.EVT_ARRIVED));
|
||||
|
@ -3059,6 +3059,9 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
// Set the timer of last position update to now
|
||||
m._moveTimestamp = gameTicks;
|
||||
|
||||
// Send a Server->Client packet MoveToLocation to the actor and all known PlayerInstance.
|
||||
broadcastPacket(new MoveToLocation(this));
|
||||
|
||||
if (distFraction > 1)
|
||||
{
|
||||
ThreadPool.execute(() -> getAI().notifyEvent(CtrlEvent.EVT_ARRIVED));
|
||||
|
@ -3072,6 +3072,9 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
// Set the timer of last position update to now
|
||||
m._moveTimestamp = gameTicks;
|
||||
|
||||
// Send a Server->Client packet MoveToLocation to the actor and all known PlayerInstance.
|
||||
broadcastPacket(new MoveToLocation(this));
|
||||
|
||||
if (distFraction > 1)
|
||||
{
|
||||
ThreadPool.execute(() -> getAI().notifyEvent(CtrlEvent.EVT_ARRIVED));
|
||||
|
@ -3072,6 +3072,9 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
// Set the timer of last position update to now
|
||||
m._moveTimestamp = gameTicks;
|
||||
|
||||
// Send a Server->Client packet MoveToLocation to the actor and all known PlayerInstance.
|
||||
broadcastPacket(new MoveToLocation(this));
|
||||
|
||||
if (distFraction > 1)
|
||||
{
|
||||
ThreadPool.execute(() -> getAI().notifyEvent(CtrlEvent.EVT_ARRIVED));
|
||||
|
@ -3072,6 +3072,9 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
// Set the timer of last position update to now
|
||||
m._moveTimestamp = gameTicks;
|
||||
|
||||
// Send a Server->Client packet MoveToLocation to the actor and all known PlayerInstance.
|
||||
broadcastPacket(new MoveToLocation(this));
|
||||
|
||||
if (distFraction > 1)
|
||||
{
|
||||
ThreadPool.execute(() -> getAI().notifyEvent(CtrlEvent.EVT_ARRIVED));
|
||||
|
Loading…
Reference in New Issue
Block a user