P0nk
2686b2b02d
Disconnect client by throwing exception in handler
...
This makes it easier to add checks in handlers, which should improve security over time.
I think this approach is more readable and testable than calling Client#disconnect straight up,
while it also decentralizes the handling.
2023-08-06 15:48:49 +02:00
P0nk
699da37f06
Simplify NPC script start
2023-03-31 07:33:49 +02:00
P0nk
c022c3595f
Turn npc id magic numbers into constants
2021-11-07 12:36:00 +01:00
P0nk
4efd356cbf
Turn item id magic numbers into constants
2021-11-07 11:39:09 +01:00
P0nk
6be6ea9927
Reformat and clean up "net" package
2021-09-09 23:26:02 +02:00
P0nk
b07e6799dc
Rename and clean up MapleClient
2021-09-09 21:13:48 +02:00
P0nk
1532f66bdf
Remove "Maple" prefix from packet handler names
2021-09-06 20:50:35 +02:00
P0nk
da2d8abc56
Handlers read from InPacket instead of SeekableLittleEndianAccessor
2021-08-22 22:10:19 +02:00
P0nk
813643036b
Switch to Maven file structure
2021-03-30 21:56:34 +02:00