Commit Graph

  • 2c18f7a4a8 Move the remaining session database logic P0nk 2021-06-27 21:35:43 +02:00
  • 8041ccd6bd Move some session database logic to dedicated class P0nk 2021-06-27 09:43:40 +02:00
  • b19f65f7ee Encapsulate ip address logic in new class P0nk 2021-06-26 23:40:59 +02:00
  • f6aca2018e Packet sending during Netty migration P0nk 2021-06-25 14:43:05 +02:00
  • 80cacd609a Disconnect client if idle P0nk 2021-06-24 22:07:22 +02:00
  • 5651bee2b5 Move client transition state and hostAddress to fields P0nk 2021-06-23 19:03:54 +02:00
  • 9638d5c417 Initial Netty implementation for networking P0nk 2021-06-23 18:20:08 +02:00
  • 0fa6ad0e24 Refactor PacketProcessor, split into more methods P0nk 2021-06-23 16:08:30 +02:00
  • 5431150362 Set up packet codec and channel initialization P0nk 2021-06-22 20:32:35 +02:00
  • 171215e653 Clean up old In/OutPacket P0nk 2021-06-22 17:15:19 +02:00
  • 442684d852 Merge branch 'master' into netty P0nk 2021-06-21 22:15:00 +02:00
  • 7ea26bd052 Merge pull request #44 from P0nk/bytebuf-packets Ponk 2021-06-21 22:11:21 +02:00
  • 72ff8d563b Refactor packet string charset P0nk 2021-06-21 22:03:20 +02:00
  • c4c5700d32 Add basic unit tests for ByteBufOutPacket P0nk 2021-06-21 21:45:30 +02:00
  • 4fd64884f2 Simplify getBytes and add tests for it P0nk 2021-06-21 21:45:06 +02:00
  • 6d02a95273 Simplify test setup for written bytes P0nk 2021-06-20 23:02:01 +02:00
  • 926371c9a7 Add unit tests for ByteBufInPacket P0nk 2021-06-20 22:53:20 +02:00
  • aaf4b558f3 Finish InPacket & OutPacket implementations P0nk 2021-06-20 21:27:50 +02:00
  • f3faee2e16 Add OutPacket interface and ByteBuf implementation P0nk 2021-06-20 20:40:23 +02:00
  • 00abbb4acd Add InPacket interface and ByteBuf implementation P0nk 2021-06-20 17:15:10 +02:00
  • 23bad12f8c Netty WIP P0nk 2021-06-15 22:12:23 +02:00
  • 4dc0935391 Reformat MapleClient P0nk 2021-06-08 19:32:06 +02:00
  • eb7ee9dabe Merge pull request #33 from wejrox/Custom-rebirth-npc Ponk 2021-05-31 21:13:29 +02:00
  • 136ea68ab3 Updated the rebirth NPC to use GraalJS James McDowell 2021-05-26 19:45:58 +10:00
  • ae744aa870 Merge remote-tracking branch 'upstream/master' into Custom-rebirth-npc James McDowell 2021-05-26 19:44:58 +10:00
  • e967294eb9 Add back in NPC conversation names James McDowell 2021-05-26 19:41:27 +10:00
  • 2193057fce Merge pull request #41 from P0nk/streamline-setup Ponk 2021-05-24 21:04:50 +02:00
  • ef12275f35 Move db stuff to its own directory, update README P0nk 2021-05-24 20:29:59 +02:00
  • c514c303c7 Increase db init timeout P0nk 2021-05-24 20:26:18 +02:00
  • 75078a5fa1 Add sql script for basic admin account P0nk 2021-05-24 08:25:41 +02:00
  • 0b17725e8e Merge pull request #35 from ronancpl7/fix-change-maps-disorder Ponk 2021-05-23 07:44:17 +02:00
  • 3d5db5d79c fix: incurred ambiguity import Ronan Lana 2021-05-22 14:48:44 -03:00
  • d330376706 fix: missed stream import Ronan Lana 2021-05-22 11:56:37 -03:00
  • f01452dd87 Merge pull request #21 from P0nk/java-16-and-graal Ponk 2021-05-21 21:23:50 +02:00
  • d9d63a1b44 Refactor event max lobbies - is no longer a range P0nk 2021-05-21 20:50:04 +02:00
  • 095008a20f Fix event scripts' getEligibleParty P0nk 2021-05-21 19:09:40 +02:00
  • bcefd42093 Handle reactor scheduling outside of script P0nk 2021-05-21 08:14:07 +02:00
  • f9aec05779 Update GraalVM to latest version (21.1.0) P0nk 2021-05-20 22:17:15 +02:00
  • 406c43b0ec Make all event script invocations thread safe P0nk 2021-05-20 22:03:11 +02:00
  • cdfb7074ec Make all reactor script invocations thread safe P0nk 2021-05-20 21:30:46 +02:00
  • 2ce6041ef8 Add thread safe wrapper for Invocable P0nk 2021-05-20 21:00:48 +02:00
  • 2aa09f89db fix: Minor code typo Ronan Lana 2021-05-20 13:01:42 -03:00
  • 9128329d37 Swapped from list to set to prevent duplicates James McDowell 2021-05-20 19:16:22 +10:00
  • 3cda07db52 Merge branch 'master' into java-16-and-graal P0nk 2021-05-19 18:03:57 +02:00
  • aa0d98af8b Merge pull request #31 from wejrox/Mounted-config-files-docker-compose Ponk 2021-05-19 17:59:31 +02:00
  • f4a4acf742 Encode status patch Ronan Lana 2021-05-18 20:21:38 -03:00
  • 458de52dbc Broadcast damage from map hazard Ronan Lana 2021-05-18 18:16:46 -03:00
  • 654d461da5 Revise non-related porridge loots Ronan Lana 2021-05-18 14:54:34 -03:00
  • 0345ce844e Removed unnecessary import James McDowell 2021-05-16 14:51:54 +10:00
  • cff3d3df56 Added the ability to specify a custom rebirth npc id, which is automatically added to the list of scriptable npcs for overriding. Changed scriptable npcs to use config instead of a constants file, so that users can easily modify them without digging into the code and requiring a rebuild. James McDowell 2021-05-16 14:46:38 +10:00
  • f47b38f65d Skip tests and run compile in parallel for speed James McDowell 2021-05-16 14:32:27 +10:00
  • 45ca7009c8 Updated to allow a generic rebirth npc id to be passed through and used for rebirthing if it's enabled. James McDowell 2021-05-16 10:32:51 +10:00
  • 8429d78e01 Optimised multi layered builds to speed up deployment, added comments to help new developers, reduced unnecessary objects being sent to the docker build context, mounted in files that may change regularly to remove the requirement for a full rebuild. James McDowell 2021-05-16 09:59:12 +10:00
  • d98ab8cf1e Updated dockerignore to prevent the generated database files from being sent to the build context. This was causing an error connected to the docker daemon when issuing docker-compose up --build, possibly due to the size or number of files in that folder causing an overflow of sorts James McDowell 2021-05-16 09:11:11 +10:00
  • ed8e6775df WhisperHandler reformatting the case of target == null RubenD96 2021-04-23 15:11:53 +02:00
  • ade50bad5e Chase functionality (/c name) to warp to the exact location of the target RubenD96 2021-04-22 22:03:59 +02:00
  • f6452b2320 Reformat ChangeMapHandler before editing RubenD96 2021-04-22 21:55:49 +02:00
  • 215abb3198 Small bugfix for WhisperHandler after testing RubenD96 2021-04-22 21:55:32 +02:00
  • 24cfbcce40 Untested rework of WhisperHandler RubenD96 2021-04-20 17:25:52 +02:00
  • 5d4a2506e8 Update README with Java 16 P0nk 2021-04-18 16:00:22 +02:00
  • 4b03b3c4ac Update Dockerfile to Java 16 P0nk 2021-04-18 12:40:11 +02:00
  • cd6415b061 Enforce implementation of PortalScript P0nk 2021-04-18 12:31:01 +02:00
  • 46c2d92082 refactor: use Invocable instead of ScriptEngine in script managers P0nk 2021-04-18 11:26:05 +02:00
  • 58e69654a2 Let scripts access Java classes P0nk 2021-04-17 22:25:07 +02:00
  • fcd879f97c Convert remaining scripts to Graal P0nk 2021-04-17 21:55:32 +02:00
  • d2c7023e7b Convert NPC scripts to Graal P0nk 2021-04-17 21:02:39 +02:00
  • 256e5688e0 Convert quest scripts to Graal P0nk 2021-04-17 20:22:49 +02:00
  • 542a7b7fd2 Convert reactor scripts to Graal P0nk 2021-04-17 20:03:24 +02:00
  • 984adc7885 Convert portal scripts to Graal P0nk 2021-04-17 19:59:27 +02:00
  • 938f7c9390 Convert map scripts to Graal P0nk 2021-04-17 19:53:15 +02:00
  • 3458d1c7b3 Convert event scripts to Graal P0nk 2021-04-17 19:43:00 +02:00
  • a18a1cb8ce Replace NashornScriptEngine with implicit GraalJSScriptEngine P0nk 2021-04-17 15:08:45 +02:00
  • e42fb27459 Bump to Java 16 and updated dependencies P0nk 2021-04-17 10:43:24 +02:00
  • 28b6dd577a Merge pull request #20 from P0nk/faster-startup Ponk 2021-04-16 20:45:15 +02:00
  • 5a5110d905 Use existing connection for loading new year + family P0nk 2021-04-16 20:37:51 +02:00
  • 8335e77f2e Load developer room async on startup P0nk 2021-04-13 22:44:20 +02:00
  • dd7c2a697a Load skillbook source information async on startup P0nk 2021-04-13 08:14:11 +02:00
  • 055ee01ae9 Load quests async on startup P0nk 2021-04-12 22:05:57 +02:00
  • a59b55db57 Load cash items async on startup P0nk 2021-04-12 21:44:47 +02:00
  • 415376ce08 Load skills async on startup P0nk 2021-04-12 21:06:05 +02:00
  • ab56d18bd3 Log startup time P0nk 2021-04-11 14:02:25 +02:00
  • 68239bc0b5 Make database operations during startup consistent P0nk 2021-04-11 13:33:22 +02:00
  • 858fcd2a3a Actually perform name changes & world transfers on startup P0nk 2021-04-11 13:05:12 +02:00
  • ed100613f3 Merge pull request #17 from ronancpI/any-ipdomain-update Ponk 2021-04-10 18:56:54 +02:00
  • d4e4150a6e cleanup: adjust syntax ronancpl 2021-04-10 09:43:05 -03:00
  • 306f403f18 Set up Actions PR pipeline (#18) Ponk 2021-04-10 11:21:40 +02:00
  • 7a3d5d2b94 Allow local/LAN/WAN login-phase connections ronancpl 2021-04-09 20:54:53 -03:00
  • fa992da2eb Merge pull request #16 from P0nk/inspection-cleanup Ponk 2021-04-08 18:00:49 +02:00
  • a5b42b8a43 cleanup: use primitive type instead of wrapper type P0nk 2021-04-08 17:45:50 +02:00
  • 202f2d8bc5 cleanup: use bulk operation instead of iteration P0nk 2021-04-08 17:44:35 +02:00
  • 3434c7334b cleanup: remove redundant cast P0nk 2021-04-08 17:23:45 +02:00
  • ebb3aa7ba3 cleanup: prefer List#sort over Collections#sort P0nk 2021-04-08 07:44:02 +02:00
  • 5730b3b42d cleanup: use implicit generic type with diamond operator P0nk 2021-04-08 07:42:10 +02:00
  • 8aa44711e3 cleanup: use Integer#parseInt where applicable P0nk 2021-04-08 07:40:42 +02:00
  • 7ff8190977 cleanup: remove unnecessary boxing P0nk 2021-04-08 07:39:02 +02:00
  • 5c6f515d18 cleanup: use for-each loop where applicable P0nk 2021-04-08 07:36:38 +02:00
  • 0ff8a80ef2 cleanup: remove unnecessary semicolon P0nk 2021-04-08 07:34:56 +02:00
  • f37d4063fb cleanup: remove unnecessary interface modifiers P0nk 2021-04-08 07:33:52 +02:00
  • dde52653e5 cleanup: remove unnecessary conversion to String P0nk 2021-04-08 07:30:12 +02:00
  • 5e3b346053 cleanup: use Java-style array declaration P0nk 2021-04-08 07:17:03 +02:00