P0nk
0c9643fd7e
CharacterSaver integration test with Testcontainers
2024-09-15 11:41:03 +02:00
P0nk
ce5dee39ae
Reorder migration scripts - move acc+chr creation earlier
2024-09-14 17:48:20 +02:00
P0nk
e57d2a9ee2
Create account, chr tables & save chr to Postgres
2024-09-14 17:44:48 +02:00
P0nk
f827e23ccc
Clean up rewardpoints
2024-09-14 15:39:06 +02:00
P0nk
f8726640c3
Remove configurable language feature
2024-09-14 15:34:01 +02:00
P0nk
4778482cdd
Remove quest point feature
2024-09-14 15:02:51 +02:00
P0nk
7297cd09b6
Separate PG from MySQL chr saving
2024-09-14 14:56:15 +02:00
P0nk
08eeeb54dc
Rename ...Dao -> ...Repository
2024-09-14 12:06:09 +02:00
P0nk
abbec8120e
Restructure chr saving - gather stats in record
2024-09-14 11:57:54 +02:00
P0nk
23a8a33e5f
Move transaction handling to CharacterSaver
2024-09-13 23:59:29 +02:00
P0nk
758347f7bc
Small refactor of disconnectInternal for readability
2024-09-13 23:23:35 +02:00
P0nk
1b6c0167de
Fix buddy staying online in buddy list if dc in cash shop
2024-09-13 23:17:42 +02:00
P0nk
8bce0922d9
Fix broken global drops since merge from master
2024-09-13 23:02:12 +02:00
P0nk
f41268cdde
Handle disconnect solely in TransitionService
2024-09-13 22:59:55 +02:00
P0nk
719b079cbc
Refactor unnecessary wrapper boolean
2024-09-13 21:47:52 +02:00
P0nk
7bd5fa387d
Merge branch 'refs/heads/master' into feat/postgresql-database
2024-09-13 21:29:50 +02:00
Ponk
5fabbaf7ab
Merge pull request #261 from pimittens/vanillafixes #patch
...
chaos scroll fix
2024-09-13 21:25:51 +02:00
pimittens
215dc42294
Create RandomizerTest.java
2024-09-10 13:49:16 -07:00
P0nk
09a75e89c9
Merge branch 'refs/heads/master' into feat/postgresql-database
...
# Conflicts:
# src/main/java/server/life/MonsterInformationProvider.java
# src/main/java/server/maps/MapleMap.java
2024-09-03 17:45:27 +02:00
P0nk
559fe2d550
Merge branch 'refs/heads/master' into feat/postgresql-database
...
# Conflicts:
# config.yaml
# docker-compose.yml
# pom.xml
# src/main/java/client/Character.java
# src/main/java/client/Client.java
# src/main/java/client/MonsterBook.java
# src/main/java/client/command/commands/gm0/BuyBackCommand.java
# src/main/java/client/processor/stat/AssignAPProcessor.java
# src/main/java/config/ServerConfig.java
# src/main/java/net/server/channel/Channel.java
# src/main/java/net/server/channel/handlers/AbstractDealDamageHandler.java
# src/main/java/net/server/channel/handlers/BuddylistModifyHandler.java
# src/main/java/net/server/channel/handlers/CloseRangeDamageHandler.java
# src/main/java/net/server/channel/handlers/EnterMTSHandler.java
# src/main/java/net/server/channel/handlers/NPCTalkHandler.java
# src/main/java/net/server/channel/handlers/RangedAttackHandler.java
# src/main/java/net/server/channel/handlers/SummonDamageHandler.java
# src/main/java/net/server/channel/handlers/UseCashItemHandler.java
# src/main/java/net/server/handlers/login/CreateCharHandler.java
# src/main/java/net/server/world/World.java
# src/main/java/scripting/npc/NPCConversationManager.java
# src/main/java/server/ItemInformationProvider.java
# src/main/java/server/life/Monster.java
# src/main/java/server/life/MonsterInformationProvider.java
# src/main/java/server/maps/MapleMap.java
# src/main/java/tools/PacketCreator.java
# src/test/java/service/NoteServiceTest.java
# src/test/java/testutil/Any.java
2024-09-02 20:43:55 +02: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
Ponk
8039852aa3
Merge pull request #247 from NoirReverie/master #patch
...
Fix minimum HP and MP checks on AP reset
2024-08-28 18:30:15 +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
pimittens
ec90df9c58
chaos scroll fix
...
The intention of the rand method is to return a pseudorandom uniformly distributed int between lbound and ubound (both inclusive). The previous implementation did not work as intended when the lower bound was negative since java round up instead of down when casting a negative double to an int. Adding the lower bound after the cast rather than before fixes this.
Also changed the CHSCROLL_STAT_RANGE from 6 to 5 to be consistent with gms.
2024-08-06 20:42:23 -07:00
P0nk
cad10c4d5c
Remove rebirth system
2024-07-19 17:16:14 +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
HarkuLi
31e901ab6d
Ariant Coliseum: Fix score counting and trade conversation
2024-06-19 18:42:31 +08:00
Noir
94a08d86a0
Min HP / MP needs to check against post-AP-reset value
2024-06-18 21:42:52 -04:00
NoirReverie
bcc7bedbc9
Merge branch 'P0nk:master' into master
2024-06-17 18:53:21 -04:00
Noir
a878a4f3f9
Fix minimum HP and MP checks on AP reset
2024-06-17 18:48:13 -04: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
Ponk
d22d9b603b
Merge pull request #228 from HarkuLi/feat/fix-npc-gain-meso #patch
...
NPC: Fix type casting error for `gainMeso()` method
2024-06-14 21:44:10 +02:00
Ponk
16b0a36c86
Merge pull request #238 from channarit1994/master #patch
...
Surprise Box Implementation
2024-06-14 21:33:08 +02:00
Channarit Sittiparat
db82cbcfae
Surprise Box Implementation
...
- Added showCashInventory after a successful gachapon opening in the CashShopSurpriseHandler.
- Added getItemsSize() condition to check the inventory size before proceeding with the cash shop surprise opening
2024-06-13 20:02:40 +07:00