P0nk
15c4188d48
Make MCSkill immutable with record
2022-09-03 14:44:14 +02:00
P0nk
7cdaabf6f8
Simplify Monster skills with Set instead of List
...
Doable now with MobSkillId records
2022-09-03 13:31:47 +02:00
P0nk
930d365752
Add record MobSkillId for mob skill type + level combination
...
Pair is nasty to work with when they are passed around all over
2022-09-03 11:01:51 +02:00
P0nk
7a784a7938
Disease and MCSkill hold MobSkillType instead of int
2022-09-03 05:20:54 +02:00
P0nk
fba49e7eec
MobSkillFactory takes MobSkillType instead of int as id argument
2022-09-03 04:52:55 +02:00
P0nk
3c9be7d70b
Lessen magic numbers around mob skills with new "type" enum
2022-09-02 07:39:26 +02:00
Charlie Unfricht
8d4842d2ea
Cash pet food sets forceEnjoy=true to always increase closeness
2022-08-17 16:39:41 -04:00
P0nk
d691dc1e18
Prefer Path.of() over Paths.get()
2022-08-11 19:01:40 +02:00
P0nk
229252cd63
Fix deprecations
2022-08-11 15:18:09 +02:00
P0nk
618f312b84
Remove thread tracker system
2022-08-11 14:57:26 +02:00
P0nk
4fb632ecdb
Remove monitored locks (fair), use basic version
2022-08-11 14:45:48 +02:00
P0nk
54878ebe8c
Remove monitored locks with default fairness, use basic version
2022-08-11 14:26:23 +02:00
P0nk
8657b765b1
Remove monitored read/write locks, use basic version
2022-08-11 14:16:06 +02:00
P0nk
28e8862254
Stop using monitored locks in World
2022-08-11 13:31:55 +02:00
P0nk
7e848618e8
Stop using monitored locks in Server
2022-08-11 12:07:38 +02:00
P0nk
b6c17e944a
Stop using monitored locks in Channel
2022-08-11 11:55:56 +02:00
P0nk
c7af125afc
Remove FaceExpressionService
...
Face expressions are automatically defaulted back after 5 seconds by the client, anyway
2022-08-11 11:48:11 +02:00
Đạt Nhân Trương
53914bbd32
Removing unused comments
2022-08-11 16:02:53 +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
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
Đạ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
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
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
66ac678f1b
Fix broken switch
2022-01-03 19:19:52 +01:00
P0nk
6041d56bcd
Refactor chat logging
2022-01-03 18:35:15 +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
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