Commit Graph
100 Commits
Author SHA1 Message Date
P0nk 3c9be7d70b Lessen magic numbers around mob skills with new "type" enum 2022-09-02 07:39:26 +02:00
P0nk 958286e078 Make Riche text MSEA-like (at least)
MSEA text is likely not the same as GMS text, but it's better than making things up.
2022-08-31 22:04:58 +02:00
P0nk ea76880b7f Use act() in reactor scripts where possible, provide empty act() otherwise
"function hit()" has triggered on each reactor hit,
while "function act()" is only triggered once it's destroyed or reached an end state
2022-08-31 21:34:49 +02:00
P0nk 298457a007 Clean up old way of damaging area boss with reactor 2022-08-30 08:33:10 +02:00
P0nk 7d28e00e4f Make Riche killable after destroying the reactor 2022-08-29 23:32:59 +02:00
P0nk 0118844c2e Make Scholar Ghost killable after triggering the reactor 2022-08-29 23:05:25 +02:00
P0nk 8c418f197a Make Rurumo killable after triggering the reactor 2022-08-29 22:53:29 +02:00
P0nk 7fa677d766 Fix act for scripts that reset to initial state after some time 2022-08-29 22:46:46 +02:00
P0nk 17ae269cc9 Make Security Camera killable after talking to control device 2022-08-29 22:04:07 +02:00
P0nk 535b6c3e8e Make Deet and Roi killable after talking to magic pentagram 2022-08-29 21:58:58 +02:00
P0nk f1d0cb6b4d Make Shade killable after talking to lamp post 2022-08-29 21:42:57 +02:00
P0nk 7fffd0bb64 Make Snow Witch killable after reactor activation 2022-08-29 21:20:51 +02:00
P0nk 84890ac308 Support sealing mob skill 2022-08-29 19:40:24 +02:00
P0nk d1da1d67e0 Add test for evaluating all reactor scripts 2022-08-19 20:00:28 +02:00
P0nk 5b0715d5d0 Add test for evaluating all quest scripts 2022-08-19 19:58:17 +02:00
P0nk cf27c6301f Add test for evaluating all portal scripts 2022-08-19 19:57:15 +02:00
P0nk 3354345cef Add test for evaluating all item scripts 2022-08-19 19:55:27 +02:00
P0nk 6ae2235083 Add test for evaluating all event scripts 2022-08-19 19:53:07 +02:00
P0nk c5d2e90e5b Add test for evaluating all NPC scripts 2022-08-19 19:45:40 +02:00
P0nk 6ea4e3cfc1 Fix one-time lens coupon for female
Last commit fixed Orbis, this one fixes:
Henesys, Showa, NLC, Mu Lung, Ludibrium, Singapore, Amoria, Ariant
2022-08-11 21:14:26 +02:00
P0nk ae7b832e00 Fix Orbis one-time lens coupon for female 2022-08-11 20:20:45 +02:00
P0nk 79ab28a52e Break up Orbis lens NPC script into multiple functions 2022-08-11 19:10:57 +02:00
P0nk d691dc1e18 Prefer Path.of() over Paths.get() 2022-08-11 19:01:40 +02:00
P0nk 297d5b25f0 Fix default wz location 2022-08-11 18:54:01 +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 8ab2058ecc Stop using monitored locks in EventInstanceManager 2022-08-11 13:56:12 +02:00
P0nk 42043c3d6c Stop using monitored locks in MapleMap 2022-08-11 13:38:16 +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
P0nk 65f8a6e335 Bump dependencies (maven plugins + JUnit) 2022-08-11 01:19:36 +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
P0nk 62ce462c0f Make jar multi-release to align with log4j2, get rid of warning 2022-08-11 00:08:19 +02:00
P0nk e2b8236b59 Fix negated comparison 2022-08-05 22:49:42 +02:00
P0nk bfb2c1cb3d Fix various other scripts with broken comparisons 2022-08-05 22:46:01 +02:00
P0nk fcdf3d6e1e Fix helios tower elevator portal script 2022-08-05 22:30:35 +02:00
P0nk 67a6273f6f Merge branch 'master' into various-fixes 2022-08-03 08:41:07 +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
P0nk 8ce3be5efb Merge branch 'master' into various-fixes 2022-08-03 07:04:44 +02:00
P0nk e57dc96fd1 Update README 2022-08-02 19:27:44 +02: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
P0nk 89ababc5c0 Fix logs being cut off during shutdown 2022-06-19 07:58:17 +02: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
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
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 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
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
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 a511157fa5 Bump log4j to 2.16.0 2021-12-15 19:57:46 +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 2e78742d8c Update development status 2021-09-28 18:43:31 +02: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 d9590078f5 Reformat and clean up reactor and base scripts 2021-09-09 23:38:09 +02:00
P0nk 3f43fe82d0 Reformat and clean up quest scripts 2021-09-09 23:36:54 +02:00
P0nk a78ca88a02 Reformat and clean up portal scripts 2021-09-09 23:35:59 +02:00
P0nk d893309b4f Reformat and clean up npc scripts 2021-09-09 23:35:02 +02:00
P0nk 0c1545f81d Reformat and clean up map scripts 2021-09-09 23:32:43 +02:00
P0nk f76b9954a7 Reformat and clean up item scripts 2021-09-09 23:32:17 +02:00
P0nk a12feaf3e4 Reformat and clean up event scripts 2021-09-09 23:32:05 +02:00
P0nk 7be1d119de Reformat and clean up "tools" package 2021-09-09 23:28:07 +02:00