P0nk
0eb78e2d9e
Use root db user by default
2024-05-09 22:08:28 +02:00
P0nk
37a9a4121f
Show confirmation after note is sent
2022-12-27 12:31:47 +01:00
P0nk
65111ae209
Create packet class for PacketCreator::showNotes
2022-12-27 12:18:36 +01:00
P0nk
389b3ad2a4
Add NoteService to handle note operations
...
NoteService should be the only class with access to NoteDao;
nowhere else should NoteDao be accessed directly.
Channel dependencies are static in PacketProcessor, for now.
Ideally they would be injected in the constructor,
but since the constructor is private and I don't want to open
up that can of worms, I'll leave it like this.
At the very least, now we have a way of injecting services into
the handlers. This will make further restructuring way easier.
2022-12-27 10:34:55 +01:00
P0nk
1f4ce98998
Show notes using NoteDao
2022-12-26 18:07:41 +01:00
P0nk
605f2e212e
Add NoteDao, used by NoteActionHandler to delete note when read
2022-12-26 18:07:41 +01:00
P0nk
2d7d113458
Initial jdbi setup
2022-12-26 18:07:41 +01:00
P0nk
1a28fc98ac
Commit to "tameness" name over "closeness" for pets, fix scripts
2022-09-15 17:12:21 +02:00
P0nk
d31f4806fc
Fix mob using attack with no diseaseSkill causing errors
2022-09-12 20:31:38 +02:00
P0nk
a6ec6adbb5
Combine type and skillLevel in MobSkill
2022-09-03 14:07:24 +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
66b04969fd
Delete ArrayMap which filled no function
2022-09-03 04:32:09 +02:00
P0nk
aeaad4194a
Refactor MobSkill#applyEffect, split into multiple smaller methods
2022-09-03 04:22:06 +02:00
Windyboy
97f358f047
Analyze pet packet structure correctly
2022-08-17 14:07:39 +08:00
P0nk
d691dc1e18
Prefer Path.of() over Paths.get()
2022-08-11 19:01:40 +02:00
P0nk
8657b765b1
Remove monitored read/write locks, use basic version
2022-08-11 14:16:06 +02:00
Ponk
381851e95e
Merge pull request #89 from truongdatnhan/master
...
Fixing bugs, Clean up code, Upgrade to new Syntax
2022-08-11 11:16:15 +02:00
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
Đạ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
d9a86d6d75
Fixing indents !
2022-08-02 23:14:17 +07: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
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
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
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
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
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
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