Commit Graph
100 Commits
Author SHA1 Message Date
P0nk 0c721b85dd Rename and clean up MapleDisease 2021-09-09 21:15:22 +02:00
P0nk b07e6799dc Rename and clean up MapleClient 2021-09-09 21:13:48 +02:00
P0nk da8837710a Rename and clean up AbstractMapleCharacterObject 2021-09-09 21:11:53 +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 ba647db6cf Rename and clean up MapleInventoryProof 2021-09-09 20:48:32 +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 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
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
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
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
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
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
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
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
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
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 b8781ee209 Merge branch 'master' into fix-tools
# Conflicts:
#	pom.xml
2021-07-11 14:53:11 +02:00
P0nk 849d5c63cb Clean up remaining tools stuff 2021-07-11 14:50:29 +02:00
P0nk e3b22363d7 Remove undocumented tools written in C
I see no point in keeping them if all they do is cause confusion
2021-07-11 14:47:41 +02:00
P0nk 04c4fac58d Remove DropSpider tool
It was meant to crawl hidden-street.net, but it doesn't work
2021-07-11 14:45:52 +02:00
P0nk c437a08084 Move MapleSkillMakerReagentIndexer to main module 2021-07-11 14:44:15 +02:00
P0nk 93f067379c Move MapleSkillMakerFetcher to main module 2021-07-11 14:38:43 +02:00
P0nk 91b2901f05 Move MapleSkillbookStackUpdate to main module 2021-07-11 14:29:25 +02:00
P0nk 9563755f26 Move MapleSkillbookChanceFetcher to main module 2021-07-11 14:17:42 +02:00
P0nk 3e1b0dc4e3 Move MapleEquipmentOmnileveler to main module, use existing wz files 2021-07-11 14:05:18 +02:00
P0nk d09b237157 Move MapleDojoUpdate to main module, use existing wz files 2021-07-11 13:52:33 +02:00
P0nk 798ccecb2f Move MapleQuestMesoFetcher to main module 2021-07-11 12:08:40 +02:00
P0nk 56f3511395 Move MapleQuestItemFetcher to main module 2021-07-11 12:00:05 +02:00
P0nk f8ef9afdd9 Move MapleMobBookUpdate to main module 2021-07-11 11:46:40 +02:00
P0nk c6e915448e Move MapleMobBookIndexer to main module 2021-07-11 11:40:59 +02:00
P0nk cbb0f7f09b Move MapleGachaponItemidRetriever to main module 2021-07-11 11:31:22 +02:00
P0nk 6d49ab45c3 Move MapleWorldMapChecker to main module 2021-07-11 11:15:03 +02:00
P0nk 932ed9f784 Move MapleMapInfoRetriever to main module 2021-07-11 11:08:16 +02:00
P0nk e2f1981dc4 Move MapleIdRetriever to main module 2021-07-11 10:54:29 +02:00
P0nk a0215cd3f4 Move MapleMapFieldLimitChecker to main module 2021-07-10 23:42:25 +02:00
P0nk 26e98d012f Move MapleEventMethodFiller to main module 2021-07-10 23:35:43 +02:00
P0nk 1f94a3b545 Move MapleQuestlineFetcher to main module 2021-07-10 23:26:05 +02:00
P0nk fc7e97a355 Move MapleQuestItemCountFetcher to main module 2021-07-10 23:18:20 +02:00
P0nk fdef9e37bb Move MapleNoItemNameFetcher to main module 2021-07-10 23:10:22 +02:00
P0nk a088fd29b7 Move MapleNoItemIdFetcher to main module 2021-07-10 22:57:38 +02:00
P0nk b5ff5f19fc Move MapleMesoFetcher to main module 2021-07-10 22:51:57 +02:00
P0nk 7af3d6924e Move MapleReactorDropFetcher to main module 2021-07-10 22:43:05 +02:00
P0nk e6fef246cb Move MapleEmptyItemWzChecker to main module 2021-07-10 22:10:21 +02:00
P0nk 08d2b40cc4 Move MapleCouponInstaller to main module, use wz files directly 2021-07-10 20:34:00 +02:00
P0nk 45f3cfdfa6 Move MapleCodeCouponGenerator to main module 2021-07-10 20:17:47 +02:00
P0nk e93db8b48f Move MapleCashVegaChecker to main module 2021-07-10 20:02:26 +02:00
P0nk 5b4815f173 Move MapleCashDropFetcher to main module 2021-07-10 19:56:17 +02:00
P0nk 0af167d174 Move MapleCashCosmeticsFetcher to main module 2021-07-10 19:38:00 +02:00
P0nk da66e7614d Move MapleCashCosmeticsChecker to main module 2021-07-10 19:20:25 +02:00
P0nk fdd2ef7b3a Move MapleBossHpBarFetcher to main module 2021-07-10 18:28:09 +02:00
P0nk a7cf7b90ce Clean up the old MapleArrowFetcher 2021-07-10 18:12:53 +02:00
P0nk bc6593fd81 Move MapleArrowFetcher to the main module 2021-07-10 18:12:36 +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