Commit Graph

175 Commits

Author SHA1 Message Date
P0nk
084e7b22fa Consolidate HexTool methods and add more tests 2022-02-14 19:48:21 +01:00
P0nk
1daddbf302 Use HexFormat for converting from bytes to hex string and the other way round 2022-02-14 18:37:30 +01:00
Ponk
b8e8caeb31 Merge pull request #66 from P0nk/logging-consolidation
Consolidate logging
2022-02-10 22:06:07 +01:00
P0nk
2bbfd46105 Stop logging with System.out.println, start using slf4j 2022-02-10 21:40:54 +01:00
P0nk
c879e36a9c Migrate last set of calls to FilePrinter, delete FilePrinter 2022-02-10 19:53:22 +01:00
P0nk
8b630f7357 Migrate yet another batch of FilePrinter users to Slf4j
One FilePrinter.printError() method removed, one more to go
2022-02-09 21:05:22 +01:00
P0nk
0c60606b4e Migrate another batch of FilePrinter users to slf4j.Logger
Another FilePrinter method removed.
2022-02-08 21:08:59 +01:00
P0nk
53465bba25 Migrate some users of FilePrinter to slf4j.Logger
At least we got rid of one printError method
2022-01-19 18:36:19 +01:00
P0nk
d6192385dd Upsert monsterbook cards instead of delete -> insert
Also use existing connection during character saving for proper rollback.
2022-01-19 17:56:00 +01:00
P0nk
78f6ae7e6a Refactor maple leaf logging
Not even sure anyone is using this system. Keeping it around just in case.
2022-01-03 19:12:04 +01:00
P0nk
acde0696b1 Move and encapsulate "ignored" collection 2021-12-21 21:43:51 +01:00
P0nk
75a9a9718d Encapsulate "monitored" collection 2021-12-21 21:43:51 +01:00
P0nk
6c1a9465c0 Use log4j for monitored chr logger. Log all monitored to a dedicated file. 2021-12-21 21:43:50 +01:00
P0nk
b15a7e61d4 Turn map id magic numbers into constants 2021-11-07 14:26:34 +01:00
P0nk
c022c3595f Turn npc id magic numbers into constants 2021-11-07 12:36:00 +01:00
P0nk
8d10e3d1b0 Turn mob id magic numbers into constants 2021-11-07 12:15:36 +01:00
P0nk
4efd356cbf Turn item id magic numbers into constants 2021-11-07 11:39:09 +01:00
Kevin Zeng
7cfee6db53 Fix AddMp on 1st Job Change
For mixed jobs (Archer/Thief/Pirate), it should add mp instead of adding hp twice.
2021-10-17 10:48:54 -04:00
P0nk
8b60684103 Fix missing static imports of TimeUnit 2021-09-10 19:18:20 +02:00
P0nk
cdc17ef3dd Use TimeUnit for time calculations 2021-09-10 19:08:58 +02:00
P0nk
9bf1b68924 Reformat and clean up "client" package 2021-09-09 23:22:44 +02:00
P0nk
8162d0aacd Rename and clean up MapleGachapon and subclasses 2021-09-09 23:02:22 +02:00
P0nk
09caabba73 Rename MapleCoolDownValueHolder 2021-09-09 22:58:30 +02:00
P0nk
2afec0bcda Rename MapleBuffStatValueHolder 2021-09-09 22:55:50 +02:00
P0nk
5883626020 Rename and clean up MapleTrade 2021-09-09 22:53:53 +02:00
P0nk
e9c8a82b47 Rename and clean up MapleStorage 2021-09-09 22:51:39 +02:00
P0nk
18e1f6c50b Rename and clean up MapleStatEffect 2021-09-09 22:51:02 +02:00
P0nk
43a80f0491 Rename and clean up MapleShopFactory 2021-09-09 22:48:25 +02:00
P0nk
104444e83b Rename and clean up MapleShop 2021-09-09 22:47:39 +02:00
P0nk
e31894caae Rename and clean up MapleMarriage 2021-09-09 22:46:32 +02:00
P0nk
9c8abf6f62 Rename and clean up MapleItemInformationProvider 2021-09-09 22:45:55 +02:00
P0nk
fef273ecc9 Rename and clean up MapleQuest 2021-09-09 22:42:02 +02:00
P0nk
75d631bebb Rename and clean up MapleRockPaperScissor 2021-09-09 22:40:36 +02:00
P0nk
8a95459a17 Rename and clean up MapleSummon 2021-09-09 22:39:43 +02:00
P0nk
dc4d710d12 Rename and clean up MapleReactor 2021-09-09 22:38:03 +02:00
P0nk
7f4760ba1a Rename MaplePortal 2021-09-09 22:36:45 +02:00
P0nk
667bc69eb1 Rename and clean up MaplePlayerShopItem 2021-09-09 22:35:46 +02:00
P0nk
f1ca5991c6 Rename and clean up MaplePlayerShop 2021-09-09 22:35:14 +02:00
P0nk
2a8fd5219a Rename and clean up MapleMiniGame 2021-09-09 22:33:50 +02:00
P0nk
b62ee8c8e2 Rename and clean up MapleMiniDungeonInfo 2021-09-09 22:33:09 +02:00
P0nk
fa8222d9a0 Rename and clean up MapleMapObjectType 2021-09-09 22:31:05 +02:00
P0nk
a979577e5d Rename and clean up MapleMapObject 2021-09-09 22:29:01 +02:00
P0nk
e917980a39 Rename and clean up MapleMapManager 2021-09-09 22:27:30 +02:00
P0nk
46842f9890 Rename and clean up MapleMapItem 2021-09-09 22:26:48 +02:00
P0nk
0d13686f07 Rename and clean up MapleMapFactory 2021-09-09 22:25:34 +02:00
P0nk
3fce4eb7ce Rename and clean up MapleMapEffect 2021-09-09 22:23:48 +02:00
P0nk
d35969dea5 Rename and clean up MapleHiredMerchant 2021-09-09 22:22:34 +02:00
P0nk
c0fedc8589 Rename and clean up MapleDragon 2021-09-09 22:19:33 +02:00
P0nk
4032558ef5 Rename and clean up MapleDoorObject 2021-09-09 22:18:52 +02:00
P0nk
584e626ed5 Rename and clean up MapleDoor 2021-09-09 22:18:16 +02:00