Commit Graph
102 Commits
Author SHA1 Message Date
P0nk b07e6799dc Rename and clean up MapleClient 2021-09-09 21:13:48 +02:00
P0nk 7dc3a2159a Rename and clean up MapleCharacter 2021-09-09 21:09:45 +02:00
P0nk 46bd0570d7 Rename and clean up MapleBuffStat 2021-09-09 21:02:22 +02:00
P0nk 6ea9a57e9f Rename and clean up MapleQuickslotBinding 2021-09-09 20:59:45 +02:00
P0nk 280e28163c Rename and clean up MapleKeyBinding 2021-09-09 20:58:28 +02:00
P0nk 065ef632ac Rename and clean up MapleKarmaManipulator 2021-09-09 20:55:47 +02:00
P0nk b2cbb65c6a Rename and clean up MapleInventoryManipulator 2021-09-09 20:55:07 +02:00
P0nk 7c61df6887 Rename and clean up MapleCashidGenerator 2021-09-09 20:53:51 +02:00
P0nk a5541c121c Rename and clean up MapleWeaponType 2021-09-09 20:52:49 +02:00
P0nk 6ca5abd896 Rename and clean up MaplePet 2021-09-09 20:51:30 +02:00
P0nk 5ed7cf73d1 Rename and clean up MapleInventoryType 2021-09-09 20:49:05 +02:00
P0nk eb2f464826 Remove removal of cryptography restrictions
This is no longer needed as of Java 9
2021-09-09 20:37:53 +02:00
P0nk 1b945bca10 Rename and clean up MapleInventory 2021-09-09 08:34:01 +02:00
P0nk 1532f66bdf Remove "Maple" prefix from packet handler names 2021-09-06 20:50:35 +02:00
P0nk faf993cae6 Remove LittleEndianAccessor class hierarchy 2021-08-23 22:11:58 +02:00
P0nk da2d8abc56 Handlers read from InPacket instead of SeekableLittleEndianAccessor 2021-08-22 22:10:19 +02:00
P0nk b3d422a6c5 Remove remaining uses of MaplePacketLittleEndianWriter 2021-08-22 21:03:51 +02:00
P0nk 8f6860d7d7 All packet creating methods now create Packet instead of byte[]
This commit got way too big...
- Remove deprecated methods for sending packets
- Favor OutPacket & Packet over MaplePacketLittleEndianWriter, LittleEndianWriter, and byte array
- Split up some packet creating methods into separate classes
2021-08-21 01:36:51 +02:00
P0nk b5cd6887ae Let PacketCreator create Packet - initial test 2021-08-20 16:12:56 +02:00
P0nk e184f25184 Remove "Maple" prefix from MaplePacketCreator name 2021-08-19 21:31:57 +02:00
Ponk 579e3c639f Merge pull request #23 from RubenD96/master
Complete rework of WhisperHandler including proper chase functionality
2021-08-19 11:57:49 +02:00
P0nk 8c4d3092a7 Remove "Maple" prefix from MapleSessionCoordinator name 2021-08-18 15:47:01 +02:00
P0nk a8c6ef8934 Fix remote host not clearing after login
This would cause the client to disconnect whenever exiting the game
or returning to the login screen if the multiclient deterrent was enabled.
2021-08-18 11:58:52 +02:00
RubenD96 b1aeedb815 Fix spelling mistake in WhisperFlag and removed unused function causing problems 2021-07-20 18:51:36 +02:00
P0nk 6e6fbf3be7 Consistently use Hwid domain object, fix login bypass
Login bypass (skip pin/pic) was broken due to an
inconsistency in hwid format.
2021-07-15 23:51:01 +02:00
P0nk cce85ea663 Use Hwid for login bypass 2021-07-15 22:08:19 +02:00
P0nk 94e1125eca Move some remaining bits and pieces to netty implementation, start cleaning up 2021-07-13 21:54:07 +02:00
P0nk 5a7d8e6b1f Use MapleClient for session management
First working version of the Netty implementation,
but there's a lot remaining to be done.
2021-07-11 18:56:45 +02:00
P0nk 86224f5152 Merge branch 'master' into netty 2021-07-11 15:20:00 +02:00
P0nk b8781ee209 Merge branch 'master' into fix-tools
# Conflicts:
#	pom.xml
2021-07-11 14:53:11 +02:00
P0nk 14a405adb2 Consistent handling of wz files and their paths 2021-07-10 17:49:04 +02:00
P0nk fcb43af8e3 Minor refactors 2021-07-10 13:52:19 +02:00
P0nk 0e98abff41 Minor renaming and refactoring 2021-06-29 20:27:32 +02:00
P0nk 828c3c5345 Add Hwid class for "nibble hwid" part of "remote host" 2021-06-29 20:26:14 +02:00
P0nk d34798649b Add dedicated host hwid cache, further refactor session coordinator 2021-06-29 08:35:21 +02:00
P0nk 671313ab57 Encapsulate hwid validation 2021-06-29 08:29:29 +02:00
P0nk 50e2b909f1 Use Instant instead of long for time measurement 2021-06-28 12:29:19 +02:00
P0nk 5bc2f47883 Move session init management to new class 2021-06-28 12:00:09 +02:00
P0nk 69a4dd8c6d Factor out duplicated code that adds remote host to pool 2021-06-28 11:02:06 +02:00
P0nk b35c4d3de8 Handle hwid assocation expiry in dedicated class 2021-06-28 10:37:06 +02:00
P0nk 2c18f7a4a8 Move the remaining session database logic 2021-06-27 21:35:43 +02:00
P0nk 8041ccd6bd Move some session database logic to dedicated class
I need to clean up this class before attempting
to migrate away from IoSession for session handling.
2021-06-27 09:44:55 +02:00
P0nk b19f65f7ee Encapsulate ip address logic in new class 2021-06-26 23:40:59 +02:00
P0nk 80cacd609a Disconnect client if idle
Thanks SharpAceX for Guida,
which I used as a reference.
2021-06-24 22:09:21 +02:00
P0nk 9638d5c417 Initial Netty implementation for networking
Split into 1 LoginServer and 1 ChannelServer per channel.

There is still a lot of cleanup and refactoring to be done.
Currently, the reliance on IoSession holding client state
is the most pressing issue to be addressed.
2021-06-23 18:20:08 +02:00
James McDowell e967294eb9 Add back in NPC conversation names
The names of the npc conversations were useful for context. Added them  back in.
2021-05-26 19:41:27 +10:00
James McDowell 9128329d37 Swapped from list to set to prevent duplicates
Use a set instead, clone instead of adding directly to the list.
2021-05-20 19:16:22 +10:00
James McDowell 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. 2021-05-16 14:46:38 +10:00
James McDowell 45ca7009c8 Updated to allow a generic rebirth npc id to be passed through and used for rebirthing if it's enabled. 2021-05-16 10:32:51 +10:00
RubenD96 ed8e6775df WhisperHandler reformatting the case of target == null 2021-04-23 15:11:53 +02:00