Commit Graph

901 Commits

Author SHA1 Message Date
Đạ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
Ponk
6901b5133b Merge pull request #81 from P0nk/various-fixes
Various minor fixes
2022-08-03 08:46:07 +02:00
P0nk
67a6273f6f Merge branch 'master' into various-fixes 2022-08-03 08:41:07 +02:00
Ponk
df440b09e9 Merge pull request #83 from P0nk/bug-82-puppeteer-secret-passage-script
Fix NPC script at end of Puppeteer's Secret Passage (910510100)
2022-08-03 08:34:16 +02:00
P0nk
3f1a6ecc8c Fix NPC script at end of Puppeteer's Secret Passage (910510100) 2022-08-03 08:29:57 +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
P0nk
e57dc96fd1 Update README 2022-08-02 19:27:44 +02:00
truongdatnhan
f097213466 Merge pull request #3 from truongdatnhan/eclipse
Fixing indents !
2022-08-02 23:15:15 +07: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
Ponk
4fd1daada4 Merge pull request #80 from P0nk/bug-79-dojo-scripts
Fix broken dojo scripts due to map constants
2022-08-02 16:43:37 +02:00
P0nk
8d213e4d6e Fix broken dojo scripts since introduction of MapId constants 2022-08-02 16:31:15 +02:00
truongdatnhan
8238134781 Merge pull request #2 from truongdatnhan/eclipse
Clean up formatting & Update NIO in some remaining files
2022-08-01 14:26:57 +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
truongdatnhan
5ed068eb05 Merge pull request #1 from truongdatnhan/eclipse
Upgrade to to File NIO
2022-07-30 16:18:57 +07:00
Đạt Nhân Trương
a44744c05b Upgrade to Java NIO 2022-07-30 16:10:46 +07:00
Đạt Nhân Trương
d42a57ef79 Update dependencies ! 2022-07-21 15:00:30 +07:00
truongdatnhan
3a30642969 Update .gitignore 2022-07-21 14:48:52 +07:00
Ponk
563d3033b9 Merge pull request #77 from P0nk/fix-shutdown-logging
Fix shutdown logging
2022-06-19 08:01:12 +02:00
P0nk
89ababc5c0 Fix logs being cut off during shutdown 2022-06-19 07:58:17 +02:00
Ponk
45c9e6fc7e Merge pull request #73 from P0nk/view-all-char-fix
Fix 'View all characters' transition
2022-03-26 16:33:02 +01:00
P0nk
570499f6ab Fix mixed up world ids 2022-03-26 16:30:59 +01: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
Ponk
406708d0ba Merge pull request #69 from P0nk/version-upgrades
Version upgrades
2022-02-14 21:34:52 +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
e991c5a96f Bump dependency versions
Slf4j: 1.7.32 -> 1.7.36
Netty: 4.1.67.Final -> 4.1.74.Final
JUnit: 5.7.2 -> 5.8.2
HikariCP: 5.0.0 -> 5.0.1
MySQL connector: 8.0.26 -> 8.0.28
2022-02-12 18:02:33 +01:00
P0nk
ef70dac1a0 Bump to Java 17 2022-02-12 17:22:54 +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
Ponk
6db3aa3459 Merge pull request #68 from P0nk/saving-monsterbook
Improve monsterbook saving
2022-01-19 18:06:48 +01:00
P0nk
ecca446505 Add helpful comment in the monsterbook script 2022-01-19 18:04:36 +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
Ponk
fa29dbf5cb Merge pull request #67 from Neolas67/adding_missing_cape_quest_scripts
Adding missing cape quest scripts
2022-01-19 17:12:41 +01:00
Ulas Kundakci
34aeb589d6 end the files with new lines 2022-01-04 22:02:49 +11:00
Ulas Kundakci
f3d8429327 adding missing magatia cape quest start scripts 2022-01-04 21:58:31 +11:00
P0nk
0b66766e8a Bump log4j to 2.17.1 2022-01-03 19:20:59 +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