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
d8b0929975
Tweak OutPacket
2021-08-20 13:11:46 +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
435cafd381
Refactor MapleClient constructor, fix issue with multiclient check
2021-07-18 16:27:41 +02:00
P0nk
9e3f3cc036
Restructure "net" packages
2021-07-18 14:26:23 +02:00
P0nk
11e83522d6
Log packets in dedicated handlers instead of in encoder/decoder
2021-07-18 14:09:39 +02:00
P0nk
ab03dd3109
Minor cleanup
2021-07-17 11:24:11 +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
81393392ab
Clean up Apache Mina, goodbye!
2021-07-13 22:10:01 +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
3de827553e
Fix idle state disconnecting regardless of received pong
2021-07-12 19:52:55 +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
14a405adb2
Consistent handling of wz files and their paths
2021-07-10 17:49:04 +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
f6aca2018e
Packet sending during Netty migration
2021-06-25 14:43:05 +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
5651bee2b5
Move client transition state and hostAddress to fields
2021-06-23 19:03:54 +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
P0nk
5431150362
Set up packet codec and channel initialization
2021-06-22 20:32:51 +02:00
P0nk
23bad12f8c
Netty WIP
...
Implementing ByteBuf backed In/OutPacket first in a separate branch
2021-06-15 22:12:40 +02:00
P0nk
4dc0935391
Reformat MapleClient
...
Now uses 4 space indentation
2021-06-08 19:32:06 +02:00
RubenD96
ade50bad5e
Chase functionality (/c name) to warp to the exact location of the target
2021-04-22 22:03:59 +02:00
P0nk
a18a1cb8ce
Replace NashornScriptEngine with implicit GraalJSScriptEngine
...
GraalJSScriptEngine implements Invocable, which is why casting to it works.
However, this is just a quick and ugly fix to make it compile.
A better solution would be to cast it once, immediately after `eval`,
and from then on only handle it as Invocable.
Scripts still need to be fixed. They are still using Rhino and Nashorn-specific
ways of importing packages.
Usages of "importPackage" and "Packages" need to be replaced with
the Graal specific "Java.type".
2021-04-17 15:12:19 +02:00
P0nk
5a5110d905
Use existing connection for loading new year + family
...
Move async tasks earlier for lower chance of having to wait
2021-04-16 20:41:17 +02:00
P0nk
415376ce08
Load skills async on startup
2021-04-12 21:06:05 +02:00
P0nk
68239bc0b5
Make database operations during startup consistent
...
Use the same Connection. and log things in a similar fashion
2021-04-11 13:52:35 +02:00
ronancpl
d4e4150a6e
cleanup: adjust syntax
2021-04-10 09:43:05 -03:00
ronancpl
7a3d5d2b94
Allow local/LAN/WAN login-phase connections
...
Allow clients connecting from different IP domains (local/LAN/WAN) to get past login phase and clean unnecessary local server check.
2021-04-09 20:54:53 -03:00
P0nk
a5b42b8a43
cleanup: use primitive type instead of wrapper type
2021-04-08 17:49:22 +02:00
P0nk
3434c7334b
cleanup: remove redundant cast
2021-04-08 17:39:55 +02:00
P0nk
ebb3aa7ba3
cleanup: prefer List#sort over Collections#sort
2021-04-08 07:44:02 +02:00
P0nk
5730b3b42d
cleanup: use implicit generic type with diamond operator
2021-04-08 07:42:10 +02:00
P0nk
8aa44711e3
cleanup: use Integer#parseInt where applicable
2021-04-08 07:40:42 +02:00
P0nk
7ff8190977
cleanup: remove unnecessary boxing
2021-04-08 07:39:02 +02:00
P0nk
f37d4063fb
cleanup: remove unnecessary interface modifiers
2021-04-08 07:33:52 +02:00
P0nk
dde52653e5
cleanup: remove unnecessary conversion to String
2021-04-08 07:30:12 +02:00
P0nk
5e3b346053
cleanup: use Java-style array declaration
2021-04-08 07:17:03 +02:00
P0nk
6253169e35
cleanup: replace anonymous inner class with lambda
2021-04-07 23:45:28 +02:00
P0nk
b80d98f36e
Add descriptions to all gm 6 commands
2021-04-06 20:08:57 +02:00