Commit Graph

710 Commits

Author SHA1 Message Date
Major a86a03b930 Fix unexpected return in magic plugin 2016-01-06 13:52:55 +00:00
Major d7234f1294 Merge pull request #120 from WizardJesse1/patch-7
Fixed Attack Skill Id.
2016-01-01 21:42:49 +00:00
Major 74783f805c Merge pull request #121 from WizardJesse1/patch-8
Fixed Herblore Skill Id.
2016-01-01 21:42:31 +00:00
WizardJesse1 9f5441981d Fixed Herblore Skill Id. 2015-12-31 01:27:46 -05:00
WizardJesse1 6f18ca9686 Fixed Attack Skill Id. 2015-12-31 01:26:38 -05:00
Major a21a1acb15 Merge pull request #116 from WizardJesse1/patch-3
Fix issue #113
2015-12-30 16:18:43 +00:00
Major ab2f856790 Merge pull request #119 from WizardJesse1/patch-6
Finalize player registration only on success
2015-12-30 16:17:34 +00:00
Major 293012abaa Merge pull request #118 from WizardJesse1/patch-4
Fixed Adding xp to teleporting
2015-12-30 16:16:31 +00:00
Major 5b01c311c1 Merge pull request #115 from WizardJesse1/patch-2
Fixed Wilderness level 0
2015-12-30 16:11:38 +00: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
WizardJesse1 10a3cfb3ac Update teleport.rb
Was never adding xp for teleporting
2015-12-29 18:13:50 -05:00
WizardJesse1 65a9c78aef Update action.rb
Fixed the issue https://github.com/apollo-rsps/apollo/issues/113

when you left the wilderness
2015-12-29 17:29:55 -05:00
WizardJesse1 e1981be0db Update wilderness.rb
When you entered the wilderness it would start at level 0
2015-12-29 17:27:30 -05:00
Major ba1537a9e4 Merge pull request #112 from garyttierney/bugfix/equip-2h-stop-action
Fix actions continuing when equipping 2h swords
2015-12-26 19:21:08 +00:00
Gary Tierney bd63144d53 Fix actions continuing when equipping 2h swords 2015-12-23 23:04:05 +00:00
Major d79278973e Merge pull request #110 from garyttierney/bugfix/walking-height-levels
Correct the height levels of steps in a path
2015-12-22 04:02:42 +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
Major 7eab485447 Merge pull request #108 from garyttierney/bugfix/item-definition-decoder
Fix short circuit logic in ItemDefinitionDecoder
2015-12-21 04:14:09 +00:00
Gary Tierney ef740b36e0 Fix short circuit logic in ItemDefinitionDecoder
* Replaces an OR, with what should have been an AND while decoding
  unused item definition info.
2015-12-21 04:03:26 +00:00
Major 442ac44a08 Merge pull request #104 from garyttierney/bugfix/catch-decoder-errors
Handle errors thrown by SynchronousDecoder tasks
2015-10-05 13:29:40 +01: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
Major bea652589b Merge pull request #101 from garyttierney/enhancement/dot-editorconfig
Add .editorconfig file to override IDE defaults
2015-09-21 21:48:19 +01:00
Gary Tierney e9c33534a6 Add .editorconfig file to override IDE defaults
Add rules for enforcing tabs in Java, and spaces in Ruby.

Add a rule to make sure trailing whitespace is trimmed
and that no new final newline is inserted.
2015-09-19 15:18:14 +01:00
Major 9343246d60 Merge pull request #99 from garyttierney/feature/message-handler-testing
Add simple tests for 'important' Message verification handlers.
2015-09-14 12:06:47 +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 a21b6581d6 Move powermock to bottom of pom, change junit scope to test 2015-09-13 01:46:41 +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
Gary Tierney 7dc45c0281 Add PowerMock JUnit module and Mockito API to pom 2015-09-13 01:07:19 +01:00
Major 22c72ef35c Merge pull request #95 from lare96/master
Addban and mute support.
2015-09-02 19:27:18 +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- dfd52b4a53 Add support for the same shop to belong to multiple npcs. 2015-08-30 23:26:52 +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 a4eb31bab7 Merge pull request #90 from lare96/master
Use Preconditions in GamePacketBuilder.
2015-08-30 16:52:04 +01:00
lare96 093ecf7086 Merge branch 'master' of https://github.com/lare96/apollo.git 2015-08-30 09:06:50 -04:00
lare96 b41b920f3d Preconditions instead of if-statements for the GamePacketBuilder class. 2015-08-30 09:04:00 -04:00
lare96 1fb443e6ab Fixed the number of bits precondition to 1 inclusive. 2015-08-30 08:59:57 -04:00