Commit Graph
1033 Commits
Author SHA1 Message Date
P0nk f142e21bbb Fix broken test 2024-09-29 18:14:05 +02:00
P0nk 1c6245fa6c birthday represented as LocalDate 2024-09-29 18:09:05 +02:00
P0nk a307afae3c Unify ban handling on login 2024-09-29 17:55:51 +02:00
P0nk 50524a7740 Show correct ban reason 2024-09-29 17:30:09 +02:00
P0nk d00b4ed678 Rename "temp_ban_timestamp" -> "temp_banned_until" 2024-09-29 16:34:04 +02:00
P0nk b45620154c LoginState enum 2024-09-29 16:22:32 +02:00
P0nk 5450c29178 Reduce login state updates, fix multi-login on same acc 2024-09-29 15:55:25 +02:00
P0nk fa666c98e6 Rename loginattempt 2024-09-29 14:24:56 +02:00
P0nk 902f1a154e Log out in PG on exit game
Can nog log in, enter game, exit game and re-login successfully.
2024-09-29 09:26:55 +02:00
P0nk 4e1aa1eb1a Rename NOT_LOGGED_IN -> LOGGED_OUT 2024-09-29 09:15:01 +02:00
P0nk a580e44bc9 Rename AccountService methods 2024-09-29 09:14:32 +02:00
P0nk da4a467453 Set in transition on log in, now able to enter the game
The state is not set properly on logout though, so once you log out you can't log back in
2024-09-29 08:22:26 +02:00
P0nk 0bb14e415e Log in through AccountService on player login 2024-09-29 07:52:42 +02:00
P0nk 0a8591aa08 Merge "serverTransition" and "inTransition" fields
They serve the same purpose, no point in separating
2024-09-29 07:43:47 +02:00
P0nk 813768ec47 Remove AddWorld,AddChannel,RemoveWorld,RemoveChannel cmds
These are incredibly error prone and hinder the database migration work.
2024-09-29 07:32:20 +02:00
P0nk 5595f5763b Log in through AccountService 2024-09-28 18:30:41 +02:00
P0nk 1be775394e Disable slow tests that don't provide much value 2024-09-28 18:30:31 +02:00
P0nk 55c9d4abbb Log out through AccountService 2024-09-28 18:26:23 +02:00
P0nk 93bbe868cb Use LoginState everywhere 2024-09-28 07:02:05 +02:00
P0nk ec39f0fa06 Avoid additional db query to get login state during login 2024-09-28 06:55:45 +02:00
P0nk 439280947c Save gender to PG 2024-09-27 23:20:02 +02:00
P0nk 5abae50be5 Rework login, get account from PG 2024-09-27 22:52:12 +02:00
P0nk 082e0c0486 Save chr slots to PG 2024-09-27 17:59:26 +02:00
P0nk 2044166967 Save pic to PG 2024-09-27 17:34:36 +02:00
P0nk f33d4fbc1c Save pin to PG 2024-09-27 06:50:07 +02:00
P0nk 0f2ef341ce Save accepted ToS to PG 2024-09-26 21:14:52 +02:00
P0nk c7f835da0d Add DatabaseTest to easily test repositories 2024-09-26 19:51:18 +02:00
P0nk 647e67f6e8 Auto-create account in both MySQL and PG 2024-09-26 07:59:27 +02:00
P0nk bf9c02bc16 Fix failed chr save due to null jail expiration 2024-09-26 07:59:11 +02:00
P0nk 1d5c26e67c Remove SHA-512 password migration 2024-09-26 06:48:13 +02:00
P0nk b85233359f Save new chr to PG (doesn't work yet because no account) 2024-09-25 18:31:38 +02:00
P0nk 7335914695 Simplify sp saving 2024-09-25 18:07:50 +02:00
P0nk b4e673baab Make some chr stats nullable to ease migration to PG 2024-09-25 17:48:12 +02:00
P0nk 767c4402e7 Route chr creation to dummy CharacterCreator 2024-09-25 07:21:27 +02:00
P0nk a9967d53b1 Fix chr loading due to "monster_card" table not found 2024-09-25 06:58:19 +02:00
P0nk 00fc3ed1a1 Handle created chr with spec 2024-09-25 06:33:03 +02:00
P0nk 98d76ad45e Prepare centralized chr creation 2024-09-25 06:32:43 +02:00
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