Commit Graph
677 Commits
Author SHA1 Message Date
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 9df2758ae6 Allow configurable wz directory path with launch property
Example: "java -Dwz-path=<my-custom-path> -jar Cosmic.jar "
2021-09-09 20:17:57 +02:00
P0nk 0196d69780 Change default timezone to GMT 2021-09-09 08:36:13 +02:00
P0nk 1b945bca10 Rename and clean up MapleInventory 2021-09-09 08:34:01 +02:00
Ponk 8e0ab2f9f9 Merge pull request #53 from P0nk/charset-fixes
Charset fixes
2021-09-09 08:33:25 +02:00
P0nk 05cae9022f Move charset loading to fix issue with static fields 2021-09-09 08:20:45 +02:00
P0nk 52551b2451 Load config.yaml using its own charset
Strings in the config are therefore respected by the configured charset
2021-09-08 20:01:43 +02:00
P0nk c841e9952b Respect charset when loading scripts 2021-09-08 18:46:16 +02:00
Ponk 1803699086 Merge pull request #51 from P0nk/multi-language
Add multi-language support (take 2)
2021-09-08 08:31:20 +02:00
P0nk 41cb6749c8 Make packet charset configurable
Better support for different language clients such as Thai or Korean
2021-09-08 08:26:34 +02:00
Ponk abb0a55ac9 Merge pull request #50 from P0nk/java-16-fixes
Java 16 and Actions fixes
2021-09-06 22:15:34 +02:00
P0nk 82f2c84034 Add surefire plugin for unit tests 2021-09-06 22:11:27 +02:00
P0nk 2cfdd1da4f Update dependencies 2021-09-06 21:59:36 +02:00
P0nk 2b52ab90c3 Fix launch file 2021-09-06 21:42:58 +02:00
P0nk 958fa657cd Configure Actions for Java 16 2021-09-06 21:23:57 +02:00
Ponk 18dda5aa06 Merge pull request #49 from P0nk/inpacket
Use InPacket instead of SeekableLittleEndianAccessor
2021-09-06 21:21:38 +02:00
P0nk 1532f66bdf Remove "Maple" prefix from packet handler names 2021-09-06 20:50:35 +02:00
P0nk b99dc7c27d Remove image parsing 2021-08-25 21:00:13 +02:00
P0nk faf993cae6 Remove LittleEndianAccessor class hierarchy 2021-08-23 22:11:58 +02:00
P0nk a907b7717d Clean up unused reading of .wz and .img files
This server only reads from .xml files
2021-08-23 22:10:49 +02:00
P0nk 4fd7adf547 Dump packet with ByteBufInPacket toString 2021-08-23 21:03:35 +02:00
P0nk da2d8abc56 Handlers read from InPacket instead of SeekableLittleEndianAccessor 2021-08-22 22:10:19 +02:00
Ponk 2232022cf1 Merge pull request #48 from P0nk/outpacket
Use OutPacket instead of MaplePacketLittleEndianWriter
2021-08-22 21:23:52 +02:00
P0nk ffc0f3bc97 Remove LittleEndianWriter class hierarchy 2021-08-22 21:08:40 +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 e93428f457 Reformat entire PacketCreator 2021-08-19 21:33: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
Ponk ce726efc4f Merge pull request #46 from P0nk/netty
Replace Apache Mina with Netty
2021-08-18 22:14:46 +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 435cafd381 Refactor MapleClient constructor, fix issue with multiclient check 2021-07-18 16:27:41 +02:00
P0nk 850d44d549 Minor cleanup - pom and encryption package 2021-07-18 16:05:34 +02:00
P0nk 5f149f0a27 Configure logging to be less verbose
Packet logging to the console is especially concise
2021-07-18 15:40:43 +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 12a415e3d5 Add simple hex utils that delegate to Netty
The goal is to use libraries for this sort of common stuff
2021-07-15 23:48:47 +02:00
P0nk cce85ea663 Use Hwid for login bypass 2021-07-15 22:08:19 +02:00
P0nk a1ed7ed821 Merge branch 'master' into netty 2021-07-14 22:13:32 +02:00
Ponk 551a23b625 Merge pull request #47 from P0nk/mobskill-targets
Fix mobskill target count. Fixes Horntail mass seduce. Thanks xinyifly.
2021-07-14 22:08:59 +02:00
P0nk c37278c650 Add missing "count" for mob skills
Fixes mass seduce. Thanks xinyifly.
2021-07-14 21:58:09 +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 fc694f1b0f Able to log incoming and outgoing packets 2021-07-13 21:50:19 +02:00