mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-09-29 14:12:52 -04:00
Fixed radials, refactored shuttle timer (works now), shuttleport can no longer travel to starports on other planets and vice versa...
...added almost all of the missing travel points
This commit is contained in:
@@ -51,7 +51,7 @@ public class EnterTicketPurchaseModeMessage extends SWGMessage {
|
||||
public IoBuffer serialize() {
|
||||
final NGECore core = NGECore.getInstance();
|
||||
TravelPoint nearestPoint = core.travelService.getNearestTravelPoint(player);
|
||||
IoBuffer result = IoBuffer.allocate(20 + planetName.length() + nearestPoint.getName().length()).order(ByteOrder.LITTLE_ENDIAN);
|
||||
IoBuffer result = IoBuffer.allocate(11 + planetName.length() + nearestPoint.getName().length()).order(ByteOrder.LITTLE_ENDIAN);
|
||||
|
||||
result.putShort((short) 3);
|
||||
result.putInt(0x904DAE1A);
|
||||
@@ -59,6 +59,8 @@ public class EnterTicketPurchaseModeMessage extends SWGMessage {
|
||||
result.put(getAsciiString(planetName));
|
||||
result.put(getAsciiString(nearestPoint.getName()));
|
||||
|
||||
result.put((byte) 0);
|
||||
|
||||
return result.flip();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user