truongdatnhan
72a87cae43
Merge pull request #8 from truongdatnhan/eclipse
...
Removing unused comments
2022-08-11 16:05:10 +07:00
Đạt Nhân Trương
53914bbd32
Removing unused comments
2022-08-11 16:02:53 +07:00
truongdatnhan
68663146c8
Merge pull request #7 from truongdatnhan/eclipse
...
remove comments
2022-08-11 15:58:57 +07:00
Đạt Nhân Trương
8e395b0770
remove comments
2022-08-11 15:58:18 +07:00
truongdatnhan
d9fa632204
Merge pull request #6 from truongdatnhan/eclipse
...
Moving checking null for storage to when loading character
2022-08-11 01:35:38 +07:00
Đạt Nhân Trương
85e5356a9c
Moving checking storage null to when loading char
2022-08-11 01:33:48 +07:00
Đạt Nhân Trương
0ef3e69638
Clean up code, replace switch and try-with-resource where possible.
2022-08-07 21:51:10 +07:00
Đạt Nhân Trương
f983b4dccf
Clean up code & Upgrade syntax to new Java
2022-08-07 01:35:02 +07:00
Đạt Nhân Trương
bbdf236a10
Clean code
2022-08-06 18:16:52 +07:00
Đạt Nhân Trương
61c3e75a52
Fully mirgate main source to Java NIO (except some files in tools).
2022-08-06 18:13:47 +07:00
Đạt Nhân Trương
571d804f50
Character storage won't get initialize at first time on server
2022-08-05 19:33:15 +07: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