Mads Boddum
|
4733470ba9
|
Renamed objectHasTicketAttributes() in TravelService to isTicket()
|
2015-10-07 20:57:48 +02:00 |
|
Mads Boddum
|
009e616c8a
|
Fixed an issue where a travel ticket would be free if the amount of credits in your bank exceeded the cost of the ticket
|
2015-10-07 20:50:59 +02:00 |
|
Mads Boddum
|
03432ba746
|
Fixed incorrect pricing on tickets for certain travel routes
|
2015-10-07 20:35:49 +02:00 |
|
Mads Boddum
|
5fc7876730
|
Refactored TravelService slightly to make the code simpler
|
2015-10-05 17:28:54 +02:00 |
|
Mads Boddum
|
659983372b
|
Merge branch 'CORE-137-travel' of https://bitbucket.org/M4SS/holocore into CORE-137-travel
Conflicts:
src/resources/TravelPoint.java
src/services/galaxy/TravelService.java
|
2015-10-05 15:50:05 +02:00 |
|
Mads Boddum
|
26c1a5d7d6
|
Refactored TravelPoint and TravelService to reduce general code complexity
|
2015-10-05 15:47:51 +02:00 |
|
Mads Boddum
|
1f6dd84a72
|
Renamed the static fields in TravelService to make them more readable
|
2015-10-05 10:23:49 +02:00 |
|
Mads Boddum
|
44b60c029c
|
Removed an old comment from TravelService
|
2015-10-05 10:22:34 +02:00 |
|
Mads Boddum
|
a071a67314
|
Renamed totalTicketPrice() in TravelPoint to getTotalTicketPrice()
|
2015-10-05 10:21:05 +02:00 |
|
Mads Boddum
|
b0477e32c5
|
Renamed suiFormat() in TravelPoint to getSuiFormat()
|
2015-10-05 10:19:28 +02:00 |
|
Mads Boddum
|
b77a7bdaa6
|
When purchasing a travel ticket, credits are now drained from your cash pool if the bank pool has insufficient funds
|
2015-10-04 16:32:32 +02:00 |
|
Mads Boddum
|
9a64c80473
|
Fixed some issues where the incorrect messages were sent to a player wanting to travel when the shuttles are unavailable
|
2015-10-04 15:46:17 +02:00 |
|
Mads Boddum
|
94e1139428
|
The shuttle is now marked as unavailable after it has taken off
|
2015-10-04 12:30:48 +02:00 |
|
Mads Boddum
|
31061ac69e
|
Fixed an issue where you could travel to shuttleports on other planets
|
2015-10-04 10:49:31 +02:00 |
|
Mads Boddum
|
01f62c0fc1
|
You now have to be 25m closer to a shuttle in order to use a ticket
|
2015-09-30 19:16:57 +02:00 |
|
Mads Boddum
|
192d3ff1a6
|
Max allowed distance to the shuttle for a ticket to be used is now based on the location of the shuttle and not the area you spawn in
|
2015-09-30 16:57:00 +02:00 |
|
Mads Boddum
|
acaffc1cbf
|
Added a, currently empty, method for handling the creation of shuttles so they can take off and land
|
2015-09-30 15:13:09 +02:00 |
|
Mads Boddum
|
82eb56ca49
|
Refactored a method in TravelService in order to reduce repetitiveness
|
2015-09-29 15:23:29 +02:00 |
|
Mads Boddum
|
1da3f0f1fc
|
Fixed a bug where a ticket would sometimes be invalid although the departure location is correct
|
2015-09-29 13:46:50 +02:00 |
|
Mads Boddum
|
f4c86d35a2
|
Fixed an issue where the price of roundtrip tickets was calculated incorrectly
|
2015-09-27 10:10:15 +02:00 |
|
Mads Boddum
|
ee5c674c3c
|
Refactored the majority of TravelService and fixed a bug which prevented players from travelling to other planets
|
2015-09-26 15:54:27 +02:00 |
|
Mads Boddum
|
17783ddb2e
|
Updated TravelService to use TravelPoint's renamed suiFormat() method
|
2015-09-26 11:08:00 +02:00 |
|
Mads Boddum
|
de851cbf94
|
Fixed a packet issue that prevented players from purchasing tickets with a different arrival planet than the one they're departing from
|
2015-09-26 09:51:04 +02:00 |
|
Mads Boddum
|
025c175cf8
|
Removed a couple of unnecessary lowercase string conversions in TravelService
|
2015-09-26 08:32:39 +02:00 |
|
Mads Boddum
|
d45fc59441
|
Fixed an issue where selecting round-trip wouldn't give you the ticket for the reverse route
|
2015-09-26 07:27:50 +02:00 |
|
Mads Boddum
|
a81eca6c9b
|
Added support for round-trips when purchasing a ticket
|
2015-09-26 07:18:52 +02:00 |
|
Mads Boddum
|
eb9a63538d
|
Travel tickets can now be used either by using the ticket or using the Ticket Collector
|
2015-09-26 07:11:12 +02:00 |
|
Mads Boddum
|
cc10ce2b31
|
Made SQL query a private, static and final field in TravelService
|
2015-09-26 03:04:17 +02:00 |
|
Mads Boddum
|
a7f97acf08
|
Fixed TravelPoint, PlanetTravelPointListResponse and added ticket purchasing functionality to TravelService
|
2015-09-26 02:02:35 +02:00 |
|