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
+2 -3
View File
@@ -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;
}