Basic combat works now, fixed /pvp, added waypoint mail attachments, fixed several bugs

This commit is contained in:
Light2
2013-08-04 21:15:12 +02:00
parent 8c6d56bef3
commit a8c61f8e50
24 changed files with 547 additions and 62 deletions
@@ -39,7 +39,7 @@ public class UpdateTransformWithParentMessage extends SWGMessage {
private float speed;
private byte combatFlag;
public UpdateTransformWithParentMessage(long objectId, long cellId, short x, short y, short z, int movementCounter, byte direction, float speed, byte combatFlag) {
public UpdateTransformWithParentMessage(long objectId, long cellId, short x, short y, short z, int movementCounter, byte direction, float speed) {
this.objectId = objectId;
this.cellId = cellId;
this.x = x;
@@ -48,7 +48,6 @@ public class UpdateTransformWithParentMessage extends SWGMessage {
this.movementCounter = movementCounter;
this.direction = direction;
this.speed = speed;
this.combatFlag = combatFlag;
}
public void deserialize(IoBuffer data) {
@@ -68,7 +67,8 @@ public class UpdateTransformWithParentMessage extends SWGMessage {
result.putInt(movementCounter+1);
result.put((byte) speed);
result.put(direction);
result.put(combatFlag);
result.put((byte) 1);
result.put((byte) 0);
result.flip();
return result;
}