P0nk
58277574b5
Refactor QuestItemFetcher, remove commons-io dependency
2022-08-11 01:15:34 +02:00
P0nk
7aba5f4578
Refactor MapInfoRetriever, stop using FileUtils from commons
2022-08-11 01:01:08 +02:00
P0nk
28bc5ee925
Refactor EventMethodFiller, stop using FileUtils from commons
2022-08-11 00:43:08 +02:00
P0nk
2b680c02c8
Mute GraalVM warning spam on startup
2022-08-03 07:57:01 +02:00
P0nk
c2b28b5148
Merge branch 'master' into various-fixes
2022-08-03 07:43:02 +02:00
ronancpl7
905a0260a6
Wrap around hpDec schedules ( #75 )
...
* Wrap around hpDec schedules
Merges hpDec schedules at character into a world schedule.
* Patch hpDec timer reset on changing maps
Patch timer reset on changing maps with hpDec.
* Update Character.java
* Update Client.java
* Update World.java
Co-authored-by: Ronan Lana <rcpl2010@gmail.com >
2022-08-03 07:42:15 +02:00
P0nk
8ce3be5efb
Merge branch 'master' into various-fixes
2022-08-03 07:04:44 +02:00
Ponk
e5e9b50215
Merge pull request #78 from truongdatnhan/master
...
Upgrade to to File NIO
2022-08-03 06:59:41 +02:00
Đạt Nhân Trương
d9a86d6d75
Fixing indents !
2022-08-02 23:14:17 +07:00
P0nk
5afb09d798
Refactor various minor things
2022-08-02 17:45:47 +02:00
P0nk
8d213e4d6e
Fix broken dojo scripts since introduction of MapId constants
2022-08-02 16:31:15 +02:00
Đạt Nhân Trương
4496e0854f
Clean up formatting & Update NIO in some remaining files
2022-08-01 14:25:32 +07:00
Đạt Nhân Trương
a44744c05b
Upgrade to Java NIO
2022-07-30 16:10:46 +07:00
P0nk
89ababc5c0
Fix logs being cut off during shutdown
2022-06-19 07:58:17 +02:00
P0nk
513c9b615d
Rework View all characters - fix packet and limit max chrs
...
Thanks to Lehava#4668 for finding the packet structure
2022-03-26 15:51:16 +01:00
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
P0nk
0e32f439fb
Add unit tests for HexTool
2022-02-14 18:20:02 +01:00
Ponk
b8e8caeb31
Merge pull request #66 from P0nk/logging-consolidation
...
Consolidate logging
2022-02-10 22:06:07 +01:00
P0nk
aceb410331
Stop using java.util.logging.Logger, start using slf4j
2022-02-10 21:49:47 +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
66ac678f1b
Fix broken switch
2022-01-03 19:19:52 +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
1e53bc7d1f
Refactor gachapon logging
2022-01-03 18:50:50 +01:00
P0nk
6041d56bcd
Refactor chat logging
2022-01-03 18:35:15 +01:00
P0nk
7e7c2cb153
Refactor expedition logging
2022-01-03 18:29:47 +01:00
P0nk
189d8096db
Refactor trade logging
2022-01-03 18:10:23 +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
451d86b5b4
Bump log4j to 2.15.0
...
2.14.1 and earlier (famously) contains a RCE exploit.
2021-12-11 17:59:41 +01:00
P0nk
4cf3135d48
Fix family loading on server startup
...
Worlds need to be initialized before families due to an interdependency
2021-11-18 21:17:33 +01:00
P0nk
503740542d
Fix issue with packet bytes reuse
...
Big oversight that caused broadcasted (packet sent to multiple clients)
packets to only be correct for the first receiver, for example when
3 players were in the same map.
2021-11-17 22:00:21 +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
5cae3fc336
Implement merchant blacklist, blocking any listed characters from entering
2021-09-28 18:26:27 +02:00
P0nk
3a9305d0d9
Store merchant visitor history, and display it in the dialogue
2021-09-28 08:33:25 +02:00
P0nk
cc23d7734a
Implement "view visitor" packet
2021-09-27 22:54:05 +02:00
P0nk
edc457d5f5
Implement "view blacklist" packet
2021-09-27 22:11:03 +02: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
7be1d119de
Reformat and clean up "tools" package
2021-09-09 23:28:07 +02:00