mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-08-03 04:16:19 -04:00
Basic combat works now, fixed /pvp, added waypoint mail attachments, fixed several bugs
This commit is contained in:
@@ -38,7 +38,7 @@ public class UpdateTransformMessage extends SWGMessage {
|
||||
private float speed;
|
||||
private byte combatFlag;
|
||||
|
||||
public UpdateTransformMessage(long objectId, short x, short y, short z, int movementCounter, byte direction, float speed, byte combatFlag) {
|
||||
public UpdateTransformMessage(long objectId, short x, short y, short z, int movementCounter, byte direction, float speed) {
|
||||
this.objectId = objectId;
|
||||
this.x = x;
|
||||
this.y = y;
|
||||
@@ -46,7 +46,6 @@ public class UpdateTransformMessage extends SWGMessage {
|
||||
this.movementCounter = movementCounter;
|
||||
this.direction = direction;
|
||||
this.speed = speed;
|
||||
this.combatFlag = combatFlag;
|
||||
}
|
||||
|
||||
public void deserialize(IoBuffer data) {
|
||||
@@ -65,8 +64,8 @@ public class UpdateTransformMessage extends SWGMessage {
|
||||
result.putInt(movementCounter+1);
|
||||
result.put((byte) speed);
|
||||
result.put((byte) direction);
|
||||
result.put((byte) 1);
|
||||
result.put((byte) 0);
|
||||
result.put(combatFlag);
|
||||
result.flip();
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user