Commit Graph

370 Commits

Author SHA1 Message Date
Steve a658e1e8c7 Slight change in logic, we only need to snapshot static objects during a REMOVE update, and any other entities during an ADD update. 2015-04-10 08:16:58 -04:00
Steve 48b6dc7122 Changed 'region snapshots' from a list to a map, allowing for the removal of previous update operations. (They were stacking before this commit, leading to problems for players just entering the region) It appears that object updating is now functional. :) 2015-04-10 08:01:08 -04:00
Steve 84373635a1 Fix the re-addition of StaticObjects to the game world. 2015-04-10 07:00:36 -04:00
Steve 6bffd5c0a1 Fix grouped region updating. Will need to account for re-adding StaticObjects after they have been removed from the game world. Also commented out some broken functionality in bootstrap involving first/second/third/etc message handlers. Should revisit with fix. 2015-04-05 20:18:58 -04:00
Major- f4c181c0f9 Merge branch 'master' of bitbucket.org:Major-/apollo 2015-04-01 22:06:06 +01:00
Major- 32c74c260a Rename DialogueContinueEventEncoder to DialogueContinueMessageDecoder. 2015-04-01 22:05:51 +01:00
atomicint bdec06a4ca Let PlayerCredentials house the connecting remote address. 2015-03-31 19:45:20 -04:00
atomicint 218739a4ff Remove redundant MobRepository access 2015-03-29 18:59:25 -04:00
atomicint 8a558a8200 Use Guava for building thread factory, remove reudndant utility 2015-03-29 15:11:47 -04:00
atomicint 7ebed5802c Merge branch 'master' of https://atomicint@bitbucket.org/Major-/apollo.git 2015-03-29 12:53:15 -04:00
atomicint 654a1a6dfd Rebase the MessageHandler, MessageHandlerChain and MessageHandlerChainSet
Rebased several other pieces of code
2015-03-29 12:52:55 -04:00
atomicint 7f345fffac Better name for "tribyte" -> "medium" 2015-03-29 12:33:39 -04:00
Major- e598e95c50 Change RSA public key to 65537 (thanks Lmctruck). 2015-03-28 20:57:23 +00:00
Major- fdfd4c6f32 Add RSA key generator. 2015-03-28 20:48:15 +00:00
Major- 1f2fde61a8 Resolve merge conflict. 2015-03-28 13:52:59 +00:00
Major- 3bd3ddd226 Remove the World singleton. 2015-03-28 13:46:50 +00:00
atomicint 29f6524d14 Rebase OnDemandRequestWorker#service(T, Channel, V) 2015-03-27 16:42:55 -04:00
atomicint cff1184e33 Format interface method in RegionListener 2015-03-27 16:42:08 -04:00
atomicint eb8e4322b7 Simplify combat level and total level calculation 2015-03-23 18:47:10 -04:00
atomicint d52a3ae6c8 Prevent appearance being updated when non-combat skills are levelled up; only used to update combat level. 2015-03-23 18:44:57 -04:00
atomicint 9569bf374d Add GameService#shutdown, remove comment on overridden method, rebase some sloppy code. 2015-03-23 16:44:15 -04:00
atomicint e136d7847b Removed the hard coded index fix for the mob repository, properly fixed it and cleaned up some of the repository code itself. 2015-03-23 10:33:31 -07:00
atomicint 5aba2ab23e Add XXX message 2015-03-23 09:16:26 -07:00
atomicint 3875fae35a Tsk tsk, Major copying and pasting is bad. You forget things. Fixes issue #59 https://github.com/apollo-rsps/apollo/issues/59 2015-03-23 09:13:40 -07:00
atomicint b4176e8097 Format line endings 2015-03-23 09:04:37 -07:00
Major- 7cf31a2888 Add half-done grouped region frame stuff so Ryley can take a look. This is in master because I'm an idiot. 2015-03-22 11:07:24 +00:00
Major- 30045a6f10 Rename 'Sector' to 'Region'. 2015-03-15 18:54:47 +00:00
thispixel af4be4b916 Add graphic height support to npcs 2015-03-13 14:34:51 +00:00
thispixel 9c0cf17141 Fix player index in PlayerActionMessage 2015-03-12 14:31:47 +00:00
Major- 7c51df4206 Fix Javadoc warnings. 2015-03-10 16:18:19 +00:00
Major- b4b6e0df65 Rename 'rsa.xml' to 'net.xml' and define port values in the aforementioned. 2015-03-09 18:19:45 +00:00
thispixel 7d80709a8c Add XmlNode#getOptionalValue 2015-03-09 14:22:24 +00:00
Major- 053e3a30be Add acronym support (e.g. NPC) to LanguageUtil#getIndefiniteArticle. 2015-03-09 12:57:30 +00:00
Major- 3d00cf9251 Flush on OnDemand write. 2015-03-09 08:24:05 +00:00
Major- 3f616a2043 Properly encode StringAttributes. 2015-03-07 15:07:33 +00:00
Major- d787906514 Fix poor usage of compareTo. 2015-03-06 22:32:17 +00:00
Major- 91f9005954 Resolve merge conflict. 2015-03-06 22:09:41 +00:00
Major- 9208ac6490 Improve MapFileDecoder decode, add ObjectGroup and ObjectType. 2015-03-06 08:47:26 +00:00
Major- 5111fe9b24 Use unsigned right shift operator instead of ANDing. 2015-03-06 08:45:59 +00:00
Major- 2a6fffabbb Correct documentation comment. 2015-03-06 08:45:39 +00:00
Major- 297657cda6 Decode morphisms so ObjectDefinitions are actually correct. 2015-03-06 08:44:13 +00:00
Ryley Kimmel 500c513e28 Improve poor/legacy code. 2015-03-04 15:51:07 -05:00
Major- c52b80c154 Fix Position#getHeight. 2015-03-04 06:31:48 +00:00
Ryley Kimmel 0b1134b5c9 Fix IOOBE when decoding object data, clean-up time, Major!. 2015-03-04 00:31:57 -05:00
Ryley Kimmel 4cacdc9891 Add support for objects that lie within 2 different sectors. 2015-03-04 00:06:35 -05:00
Ryley Kimmel a69431c46c Merge branch 'master' of git@bitbucket.org:Major-/apollo.git into pathfinding. 2015-03-04 00:05:51 -05:00
Major- 723fbac591 Improve error message when attempting to access an illegal index in CollisionMatrix. 2015-03-04 05:05:04 +00:00
Ryley Kimmel bc974d74cb Improve UpdateService by making it use a Logger and method referencing.
- Use correct thrown exception.
- Use forEach and method referencing where possible.
2015-03-03 23:28:15 -05:00
Ryley Kimmel 6f95ba8d2e Fix potential latency issue with on-demand and login writes, constantly writing and flushing is an expensive syscall and should only be done when the channel has been fully read, other instant flushes such as for the game session or initializing HTTP requests must remain untouched as it will potentially block the entire server (and it's nice to have in-game actions done instantly anyway). 2015-03-03 21:18:52 -05:00
Ryley Kimmel 598b839d67 Merge branch 'master' into pathfinding. 2015-03-03 18:36:10 -05:00