Commit Graph

53 Commits

Author SHA1 Message Date
Major- 12fd037484 Add unit tests for all utility classes 2016-01-31 11:52:28 +00:00
Gary Tierney 05a7838380 Merge pull request #130 from ryleykimmel/issue74
Fixes issue #74
2016-01-25 21:00:49 +00:00
atomicint 088d872f93 Fixes issue #74 2016-01-23 15:52:43 -05:00
Gary Tierney 3351c93eb4 Merge pull request #128 from ryleykimmel/issue84
Fixes issue #84 (Appearance caching)
2016-01-23 17:10:29 +00:00
atomicint 5156e0bc19 Removed inline comments 2016-01-22 15:55:40 -05:00
atomicint cebdb811cb Clean up hasCachedAppearance
- Remove useless inline comment
- Remove blank line after param declaration
- Only call getIndex() once
2016-01-22 15:51:52 -05:00
atomicint c7d1a5a732 Fixes issue #84 2016-01-22 02:01:21 -05:00
atomicint 637a18d155 Fixes issue #98 (also adds unit test for MobRepository) 2016-01-22 01:11:03 -05:00
WizardJesse1 cbc68d331d Fixed Player Already Online
It use to always finalize the player even if it failed with a status
2015-12-29 22:36:05 -05:00
Gary Tierney bd63144d53 Fix actions continuing when equipping 2h swords 2015-12-23 23:04:05 +00:00
Gary Tierney 68db45e9d3 Correct the height levels of steps in a path
Makes sure that the steps in a path sent for a "Player Walk" message are
on the same level as the players current position while being processed
in the walking queue.
2015-12-22 03:56:38 +00:00
Gary Tierney 2ee5a7cf7b Call executor.shutdown() to run tasks 2015-10-03 23:31:29 +01:00
Gary Tierney 9abed472e9 Handle errors thrown by SynchronousDecoder tasks
Check for errors thrown execution of any SynchronousDecoder tasks, and
rethrow any ExecutionExceptions as SynchronousDecoderExceptions.
2015-10-03 23:20:05 +01:00
Gary Tierney 80be2691ca Remove ItemVerificationHandler test to account for #32 2015-09-13 16:06:20 +01:00
Gary Tierney c65d533288 Add tests around ItemOnObjectVerificationHandler
Add various tests around ItemOnObject messages to verify that a valid
object needs to be given as well as a valid item in order for the
message to be passed down the MessageHandlerChain.
2015-09-13 02:20:37 +01:00
Gary Tierney 15f5d4a36e Change @BeforeClass to @Before to prevent tests failing 2015-09-13 01:46:59 +01:00
Gary Tierney 0c074bd123 Add tests around ObjectActionVerificationHandler
Add a test which verifies an ObjectActionMessage is terminated if its
not within the specified distance of the player.

Additionally add a test which verifies that an ObjectActionMessage is
terminated if there is no object with the given id nearby.
2015-09-13 01:42:12 +01:00
Gary Tierney ef398dc098 Add a test around ChatMessageHandler, update imports
Update the previous ItemOnItemVerificationHandler test to use static
imports of PowerMockito and Assert.
2015-09-13 01:25:00 +01:00
Gary Tierney 82801df436 Add a test around the target of ItemOnItemMessage
Check that the message is terminated() if an ItemOnItemMessage
is received with an invalid target item.
2015-09-13 01:17:41 +01:00
Gary Tierney c9b702bcfb Get ItemOnItemVerificationHandlerTest passing 2015-09-13 01:14:04 +01:00
Gary Tierney a5f8b1f9fd Test messages with an invalid source are terminated 2015-09-13 01:08:11 +01:00
lare96 c3ebfb46a8 Ban and mute support, commands included. 2015-09-02 14:17:48 -04:00
Major- 5376b08161 Fix issue #91. 2015-08-31 15:23:01 +01:00
Major- 5519eb50a9 Queue Npcs before they are registered. 2015-08-30 23:28:04 +01:00
Major- 9368685bd7 Add walking path verification. 2015-08-30 22:05:28 +01:00
Major- a4186587df Fix GameObject decoding. 2015-08-30 22:05:05 +01:00
Major- b08d9e73b2 Only send CloseInterfaceMessage if an interface is open. 2015-08-30 21:39:00 +01:00
Major- ec95fe9d61 Fix login queue. 2015-08-30 21:20:24 +01:00
Major- ca36264b35 Log startup time as info instead of fine. 2015-08-30 18:38:42 +01:00
Major- e3f10e200d Optimise GameObjectDecoder for faster start-up time. 2015-08-30 18:08:30 +01:00
Major- 199d3b63e5 Fix issue #88. 2015-08-30 00:21:25 +01:00
Major- f7661a7fc8 Add shops support. 2015-08-29 22:40:08 +01:00
Major- cdffc15dfc Reformat files modified in previous commit. 2015-08-29 22:38:03 +01:00
Major- 2bc9854ea1 Merge. 2015-08-29 22:30:59 +01:00
lare96 b3bc5607d1 New players will be queued rather than added right away. 2015-08-29 16:50:25 -04:00
Major- 38af001083 Optimise definition decoding for faster start-up. 2015-08-29 19:57:57 +01:00
Major- b134f6fdf5 Merge branch 'master' of https://github.com/apollo-rsps/apollo 2015-08-29 16:12:57 +01:00
Major- c066742588 Fix issue #82. 2015-08-29 16:12:52 +01:00
lare96 5ab8fa94f6 Moved Animation constants from Animation.class to emote_tab.rb 2015-08-29 09:39:28 -04:00
Major- 888230b768 Remove unused BinaryFileUtils class. 2015-08-28 18:25:58 +01:00
Major- f0910afb6f Combine (First|Second|Third|Fourth|Fifth)XMessages into a single class. 2015-08-28 18:16:24 +01:00
Major- 6f5a910d70 Fix issue #64. 2015-08-28 16:33:06 +01:00
Major- 0a3574eb20 Fix ScheduledTask timer. 2015-08-27 23:29:27 +01:00
atomicint 5bbd482a19 Do not fail startup when HTTP cannot bind 2015-08-27 17:08:41 -04:00
atomicint 7e64f9805d Better exception propagation when failing to bind 2015-08-24 23:39:32 -04:00
atomicint 592b993d9b Fixes issue #70 2015-08-24 21:29:50 -04:00
Major- ed160ef70e Fix travelback implementation. 2015-08-24 14:41:19 +01:00
Major- d9c34cd9ed Allow interception at any level in the message class hierarchy. 2015-08-24 13:38:54 +01:00
Major- effcca0c3b Add GroupableEntity. 2015-08-01 14:18:10 +01:00
Major- 02a3170382 Implement toString for Release. 2015-08-01 14:17:39 +01:00