Commit Graph
100 Commits
Author SHA1 Message Date
P0nk 11cbf2a475 Add field objects changeset 2025-07-01 08:07:08 +02:00
P0nk 3367b58e39 Add maker changeset 2025-07-01 08:02:26 +02:00
P0nk 8f7068c55b Add mts changeset 2025-07-01 07:58:09 +02:00
P0nk c28182c5a2 Add transfer changeset 2025-07-01 07:26:45 +02:00
P0nk 7bc946934a Add family changeset 2025-07-01 07:24:06 +02:00
P0nk 476ec0f0fe Add monsterbook changeset 2025-07-01 07:11:31 +02:00
P0nk f8f67e61fa Add marriage changeset 2025-07-01 07:08:29 +02:00
P0nk e9f24b4ae0 Add gift changeset 2025-07-01 07:05:28 +02:00
P0nk 503c76ed34 Add cash shop changeset 2025-06-30 22:09:59 +02:00
P0nk 307cb71023 Add character state changeset 2025-06-30 22:03:30 +02:00
P0nk e6bfdbba6a Add missing foreign key (skill -> chr) 2025-06-30 22:02:23 +02:00
P0nk 9275802466 Add shops changeset 2025-06-30 17:22:59 +02:00
P0nk ed01c6a54b Add more tables to quest changeset 2025-06-27 10:25:13 +02:00
P0nk ddfac919cb Add storage changeset 2025-06-27 10:25:01 +02:00
P0nk 33e5ea5bdf Add drops changeset 2025-06-27 09:56:48 +02:00
P0nk 2559879aaa Add cooldowns to skill changeset 2025-06-27 09:50:08 +02:00
P0nk 630e56651b Add keymap changeset 2025-06-27 09:37:53 +02:00
P0nk fb0ae8b080 Add guild changeset 2025-06-27 09:31:05 +02:00
P0nk 203f4bf34f Add quest changeset 2025-06-27 09:25:06 +02:00
P0nk be1ba7229c Add pet changeset 2025-06-27 09:21:17 +02:00
P0nk 37e6b16656 Add skill changeset 2025-06-27 09:17:30 +02:00
P0nk 38233b39c2 Add inventory changeset 2025-06-27 09:12:09 +02:00
P0nk d095179d6c Add characters changeset 2025-06-26 21:36:43 +02:00
P0nk 1e583e21cc Add accounts changeset 2025-06-26 21:29:51 +02:00
P0nk 75d5aad0b6 Use latest xsd 2025-06-26 21:08:46 +02:00
P0nk b5eb5dc0b9 Liquibase POC 2025-06-26 15:35:26 +02:00
P0nk ac1f4c85b5 Refer to Cosmic-client for client setup 2025-06-26 14:11:57 +02:00
P0nk ee8758e63b Upgrade dependencies 2025-06-26 13:53:40 +02:00
P0nk 67ab800205 Add Maven Wrapper 2025-02-03 07:01:13 +01:00
P0nk dbf1a1bb36 Fix global drops thread issue
This randomly caused global drops to stop working after a while.
Originally reported by Crabo of MapleHorizons.
2024-08-28 21:22:47 +02:00
P0nk 5064ee936a Fix staggered exploding mesos
Thanks teto: "the staggering should only go up to 400ms [attack.attackDelay + (index++ % 5) * 100], and the total delay should be capped at 1000ms according to the BMS implementation"
2024-08-27 07:41:24 +02:00
P0nk acac203e42 Scheduler free timing for reactor drops 2024-08-20 20:32:33 +02:00
P0nk cdd1c8cb61 Proper timing on removing exploded meso
No longer using scheduling on server side but rather
a delay value inherent to the "remove item from map" packet.
2024-08-20 20:13:01 +02:00
P0nk 439753eb6d Fix drop delay for Meso Explosion 2024-08-20 19:44:16 +02:00
P0nk e30700de66 Fix drop delay from summon attack 2024-08-17 21:27:43 +02:00
P0nk 994d1723b6 Remove unnecessary "spawn loot on animation" feature
No longer needed since item drop timing is now dictated by the client
since two commits back.
2024-08-17 19:14:04 +02:00
P0nk 2d40a89c55 Overload damageMonster for when no delay is needed 2024-08-17 19:13:38 +02:00
P0nk 802cc2b5f5 Use delay from packets for drop timing 2024-08-17 19:13:36 +02:00
P0nk 2ffca90d29 Add attack delay to AttackInfo
Meant to be used in item drop packet for timing handled by the client
rather than scheduling item drop packets on the server.
2024-08-14 07:45:06 +02:00
P0nk cad10c4d5c Remove rebirth system 2024-07-19 17:16:14 +02:00
P0nk 3850b63cec Add migration for <v0.14.0 to fix shop dc 2024-07-17 19:24:19 +02:00
P0nk a7df8a4f49 Remove banish scroll from WZ files 2024-07-17 18:50:44 +02:00
P0nk 7071b13e41 Remove banish scroll from shops 2024-07-17 18:39:50 +02:00
P0nk 2324ae7f9e Refactor BanishInfo - make it a record 2024-07-17 18:11:50 +02:00
P0nk 402163c33d Remove "banishable town scroll" feature 2024-07-17 17:45:38 +02:00
P0nk 3356e42e71 Remove "spikes avoid banish" feature 2024-07-16 20:17:21 +02:00
P0nk 205e263255 Specify required Java version 2024-07-16 20:16:26 +02:00
P0nk 5a4bdd343c Fix Energy charge crashing certain other players
Crabo in #bug-report (2024-06-10):
"(...) this will crash everyone in the map besides the bucc and 1 character, when a bucc (or TB) charges energy and a character with an ID that's a multiple of 102 is in the same map (and the energy reaches that number so if character ID is 204 it will reach that after 2 hits and DC the whole map besides the bucc and that char with id 204).
 Thanks to others for helping me fix it. Thought I'd report it!"
2024-06-16 19:09:21 +02:00
P0nk 1791365e0f Fix able to get package from Cash shop surprise
Packages aren't real items and crash the client.
2024-06-16 16:06:29 +02:00
P0nk 5aeed01e38 Fix not using the selected Cash shop surprise
If you have multiple, it would always use the first one. Now it uses whichever you select (as expected).
2024-06-16 15:08:48 +02:00
P0nk 6ab1af99da Add tests for CashShopSurpriseHandler 2024-06-16 13:56:54 +02:00
P0nk c7b2d218ef Fix count not being updated after last Cash shop surprise 2024-06-16 12:59:30 +02:00
P0nk 01ae462b72 Refactor CashShop - add constants for cash types 2024-06-16 12:19:16 +02:00
P0nk b67b29def5 Fix cash shop surprise count not properly updated on usage
This reverts the hacky solution made in db82cbcfae
2024-06-15 08:31:24 +02:00
P0nk 4e743128e9 Remove all wildcard imports 2024-05-22 08:33:44 +02:00
P0nk 2ed35db216 Add IntelliJ code style settings (no wildcard imports) 2024-05-22 08:06:46 +02:00
P0nk 9fe6ba4483 Add new wz files zip (reduced size by ~400mb)
Removed: Base.wz, Effect.wz, Morph.wz, Sound.wz, TamingMob.wz
2024-05-21 22:47:47 +02:00
P0nk dee8651e61 Add DevtestCommand to easily test without restarting server 2024-05-21 21:36:54 +02:00
P0nk 948a9de667 Remove Spirit of Rock die sound 2024-05-21 20:23:34 +02:00
P0nk d55437ddf3 Remove subway whistle 2024-05-21 19:56:09 +02:00
P0nk 98fd8c13d4 Remove brazil anthem 2024-05-21 19:54:30 +02:00
P0nk 04a92fe0c1 Remove buyback custom feature 2024-05-21 19:44:25 +02:00
P0nk dc1a712f52 Re-add section about running from jar 2024-05-10 22:26:04 +02:00
P0nk 7a6d3e1b68 Add feature request issue template 2024-05-10 21:29:09 +02:00
P0nk 970fb3155f Complement pom.xml 2024-05-09 22:29:15 +02:00
P0nk 0eb78e2d9e Use root db user by default 2024-05-09 22:08:28 +02:00
P0nk 7d42870abd Fix sql script not being runnable on newer versions of MySQL 2024-05-09 21:26:09 +02:00
P0nk c7b9e0eee3 Major rewrite of README 2024-05-09 21:11:53 +02:00
P0nk c5089881b3 Tidy pom
mvn tidy:pom
2024-05-09 14:24:03 +02:00
P0nk 9c1406f75d Update pull request template 2024-05-09 12:33:50 +02:00
P0nk 92226483be Merge branch 'refs/heads/master' into feat/project-update 2024-05-09 12:30:14 +02:00
P0nk f61fee829a Upgrade Java version and dependencies 2024-05-09 11:45:16 +02:00
P0nk 851b57e8ef Fix able to gain infinite slots with clean slate scroll
And remove a GM config option.
Thanks Crabo for the suggested solution.
2024-02-05 08:34:36 +01:00
P0nk 0aee9d7c3f Fix unable to create playernpc
The initialization of the running world counters depended on worlds already having been initialized, so I made that dependency more explicit.
2023-09-19 12:56:51 +02:00
P0nk a49c1703ae Remove developer player npc 2023-09-18 23:26:37 +02:00
P0nk f4062e5ebb Upgrade dependencies 2023-03-02 18:31:21 +01:00
P0nk 10945927c1 Fix writeString not fully respecting charset
The string would be cut short for charsets
with characters more than 1 byte.
2023-03-02 18:11:41 +01:00
P0nk b30e03ffb3 Fix portal in Zenumist society not working for GM chr 2023-02-17 00:42:33 +01:00
P0nk 82157c7bd1 Flatten ChangeMapHandler 2023-02-16 23:46:13 +01:00
P0nk b1ef94ef60 Fix handbook file encoding
All handbook files are now UTF-8
2023-02-04 19:49:54 +01:00
P0nk f89392b476 Refactor IdCommand 2023-02-04 19:46:09 +01:00
P0nk 404c00c2bf Merge branch 'master' into feat/note-dao 2022-12-27 15:09:38 +01:00
P0nk 771b69d151 Merge branch 'master' into feat/note-dao 2022-12-27 14:21:43 +01:00
P0nk 14d80dc2f3 Fix saving "Illegal program claim" report
No chatlog is provided in the packet for this type
2022-12-27 14:08:20 +01:00
P0nk cb38bcd270 Fix wrong timestamp format when saving report 2022-12-27 14:08:20 +01:00
P0nk 37a9a4121f Show confirmation after note is sent 2022-12-27 12:31:47 +01:00
P0nk 4731c0c60d Add tests for NoteService 2022-12-27 12:18:58 +01:00
P0nk 65111ae209 Create packet class for PacketCreator::showNotes 2022-12-27 12:18:36 +01:00
P0nk 2a460de911 Disable logging in tests 2022-12-27 12:05:51 +01:00
P0nk cee82a08ba Remove ItemInformationProvider field in Character
This field prevented creation of Character mock in tests
2022-12-27 11:59:14 +01:00
P0nk 387437cada Workaround for Guild dependence on NoteDao 2022-12-27 11:05:00 +01:00
P0nk af14da987e Replace FredrickProcessor dependence on NoteDao 2022-12-27 11:04:11 +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 5f1f5b7dcd Fix saving note 2022-12-27 10:24:47 +01:00
P0nk 7e3be4c45d Update README - explain hide 2022-12-26 18:09:09 +01:00
P0nk c82881e6f2 Get rid of Character#sendNote, refactor usages of it 2022-12-26 18:09:09 +01:00
P0nk 6be1fabc55 Send wedding invitation note directly via dao 2022-12-26 18:07:41 +01:00
P0nk 4d480660b5 Rework sending notes to chr, get rid of the first method
Sending notes should not be the handled by Character
2022-12-26 18:07:41 +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