Commit Graph
1283 Commits
Author SHA1 Message Date
Mads Boddum 197f1c41ab The land delay for shuttles is now 17 seconds instead of only 10 2015-10-11 01:17:38 +02:00
Mads Boddum 58705a2b2f getDestinationPoint() in TravelService now uses for-each instead of an Iterator-based while-loop 2015-10-11 01:01:16 +02:00
Mads Boddum d07e5832c3 Refactored loadAllowedRoutesAndPrices() in TravelService 2015-10-08 16:13:12 +02:00
Mads Boddum 8ae550ca9b Split handleTicketPurchase() in TravelService up into smaller methods 2015-10-08 16:08:20 +02:00
Mads Boddum 26da373c54 Fixed incorrect function declaration in purchaseTicket.js 2015-10-08 13:42:44 +02:00
Mads Boddum 51277c080a Refactored TravelService to use RelationalServerFactory 2015-10-08 09:37:58 +02:00
Mads Boddum 2f49574fd5 Removed the awareness bool when calling createObject() in TravelService 2015-10-08 08:59:08 +02:00
Mads Boddum 1d8dcb94e6 Merged quality_assurance into CORE-137-travel 2015-10-08 08:55:29 +02:00
Mads Boddum e8b4f6d664 The shuttle behaviour ExecutorService is now instantiated in initialize() instead of in TravelService's constructor 2015-10-07 22:32:16 +02:00
Mads Boddum c2d32e7e7b Renamed pointsForPlanet() in TravelService to getPointsForPlanet() 2015-10-07 22:30:30 +02:00
Mads Boddum caa40eaf54 Removed getItemsByTemplateCount() from CreatureObject 2015-10-07 22:29:29 +02:00
Mads Boddum 6f7d2bae81 Removed unnecessary variable declaration from distanceTo in Location 2015-10-07 22:28:46 +02:00
Mads Boddum cd08534fc1 Renamed distanceFromPoint in TravelService to getDistanceFromPoint 2015-10-07 22:27:21 +02:00
Mads Boddum d1d10d3451 Renamed destinationPoint() in TravelService to getDestinationPoint() 2015-10-07 22:26:34 +02:00
Mads Boddum 35d85ab1dc Made two checks in TravelService a one-liner 2015-10-07 22:25:43 +02:00
Mads Boddum 6e70857f71 Added missing license header to TravelService 2015-10-07 22:21:17 +02:00
Mads Boddum 888d601a3f Removed an unnecessary variable declaration in PlanetTravelPointListResponse 2015-10-07 22:16:11 +02:00
Mads Boddum 47d5811452 Added missing license headers to some new classes 2015-10-07 21:54:27 +02:00
Mads Boddum 74c98a14ca Removed unnecessary semi-colons from travel-related scripts 2015-10-07 21:52:19 +02:00
Mads Boddum 9fa2f61235 Renamed the function in purchaseTicket to executeCommand 2015-10-07 21:51:45 +02:00
Mads Boddum ba1d78880a Merged projectswg/holocore into quality_assurance 2015-10-07 21:29:50 +02:00
Mads Boddum e47d0dc21f Renamed ticketCanBeUsedAtNearestPoint() in TravelService to isTicketUsable() 2015-10-07 20:59:09 +02:00
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
Obique PSWG d743cc0177 Fixed compile warnings in SwgBuildout* 2015-10-06 10:36:47 -05:00
Obique PSWG e25a094b29 Implemented CORE-253 'Redo awareness' Should no longer have to worry about it as a developer, it's all automagic 2015-10-06 10:36:00 -05:00
Obique PSWG a30784a907 Should have fixed exception in CORE-249 2015-10-05 22:10:28 -05:00
Obique PSWG 4ed21b9868 Added chat log 2015-10-05 10:46:35 -05:00
Obique PSWG 53ec19a1ff Added cell number option to goto command 2015-10-05 10:45:54 -05:00
Mads Boddum 5fc7876730 Refactored TravelService slightly to make the code simpler 2015-10-05 17:28:54 +02:00
Obique PSWG b610e8d64d Created new sqlite database that can be used for persistent storage 2015-10-05 09:00:39 -05:00
Mads Boddum 4919369eb0 Implemented decode() for PlanetTravelPointListResponse 2015-10-05 15:50:23 +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
Obique PSWG c25497ff0e Minor change from .equals("") to .isEmpty() 2015-10-05 08:40:22 -05:00
Obique PSWG 544c9ec981 Enabled teleportation to buildings instead of player spawns for /goto
For example: /goto end_dwb to go to death watch bunker
2015-10-05 08:16:03 -05:00
Mads Boddum e355ae9ef5 Optimised distanceTo in Location to perform better 2015-10-05 10:26:24 +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
Waverunner c519dad986 Merge branch 'quality_assurance' of https://bitbucket.org/projectswg/holocore into quality_assurance 2015-10-04 17:51:51 -04:00
Waverunner 00fc0d8737 Renamed command scripts function "execute" to "executeCommand" and changed declaration to no longer be assigned as a variable for simplicity 2015-10-04 17:40:40 -04:00
Mads Boddum 887a879eb6 Created a method in Packet for getting boolean arrays from a ByteBuffer 2015-10-04 17:50:42 +02:00
Mads Boddum 90c55c4120 Merged projectswg/holocore/quality_assurance into CORE-137-travel 2015-10-04 17:38:36 +02:00
Obique PSWG 2a9b19dabf Fixed endianness issue with IntBuffer 2015-10-04 10:37:53 -05:00
Obique PSWG 72a30fe606 Created getIntArray method in Packet 2015-10-04 10:34:23 -05:00
Obique PSWG 757daba083 Fixed error message when character created successfully 2015-10-04 10:14:56 -05:00
Obique PSWG c20c340c4f Split up ChatManager to add a ChatMailService 2015-10-04 09:54:05 -05:00