64 Commits

Author SHA1 Message Date
Vari
76df564f44 Removed Challenge reduction in picked challenges because it caused the game to reset character loadout's.
Also updated the addDefaultItems commadn to accept a user ID.
2024-12-29 22:55:31 +01:00
Vari
2f44066176 Fixed the validation of the equipped weapons equipping everything at once. 2024-12-20 12:53:29 +01:00
Vari
9d1bf68f28 Added check that automatically sets the picked challenges of the new lvl 10 default items to completed so that they don't show up in game. 2024-12-19 22:40:39 +01:00
Vari
869f84832e Merge pull request #51 from Deathgarden-Rebirth/1.2.0_dev
1.2.0 Update
2024-12-19 21:47:28 +01:00
Vari
bbc7cee598 Fix Update metadata challenges completion value reduce. 2024-12-19 21:22:09 +01:00
Vari
e75fac7291 Added mapping to reduce the values of random selected picked challenges by a percentage. 2024-12-19 20:45:43 +01:00
Vari
536d9071df Hotfix inbox message marking as read, claiming and deleting due to a timezone issue. 2024-12-19 19:52:42 +01:00
Vari
595ad29841 Fix some stuff with the challenge generation and the getChallenges endpoint. 2024-12-18 18:46:19 +01:00
Vari
3e35dc2c7f Added rewards logic to execute challenge progression batch for timed challenges. 2024-12-17 10:58:33 +01:00
Vari
68f157cb28 Fix executeChallengeProgressionBatch id parsing with timed challenges 2024-12-16 22:13:43 +01:00
Vari
95edd6382b Added Timed Challenge progression update + fix timestamp format. 2024-12-16 21:52:50 +01:00
Vari
af8f21e559 Work on timed challenges. 2024-12-16 21:21:33 +01:00
Vari
77c6ca71ce Removed the Equipped_bonuses table because players cannot change their passives anyway. Now the equipped passives are retrieved directly from the config. 2024-11-17 13:30:45 +01:00
Vari
feeb8c896b Fix prestige being broken after all weapons lvl.10 change. 2024-11-17 13:30:45 +01:00
Vari
8784443fd9 Added some logging to diagnose a bug that prevents prestige. 2024-09-08 11:57:47 +02:00
Vari
0b095cd628 Fixed too fast progression bug
Early in development when I started the challenge system, I assumed the executeChallangeProgressionBatch endpoint would send the new progression to add to the current.

But no it just sends the new complete value to set in the Backend.
2024-09-07 23:39:09 +02:00
Vari
e97d70ecb4 Added some special logging to research the purchase error that sometime happens. 2024-09-01 15:06:06 +02:00
Vari
5afb932527 Small fixes to getQuitterState 2024-08-08 23:20:13 +02:00
Vari
a9020cf844 Added Handling of Quitter state streak and rewards. 2024-08-07 00:12:45 +02:00
Vari
acc1674c36 Fix missing correctet where query in InboxController list method like it is in count method. 2024-07-20 21:34:44 +02:00
Vari
4bc7c16a33 Fix delete messages using old naming 2024-07-11 21:56:17 +02:00
Vari
0555a6b6f4 Player inbox: Try to fix stuff. 2024-07-11 21:56:17 +02:00
Vari
b86ac5e1ec Player inbox: rename rewardType to type because game expects that. 2024-07-11 20:52:32 +02:00
Vari
8a9ec5cf19 Fixed recevied timestamp being send back as datetime string and not MS timestamp in mark messages endpoint. 2024-07-09 00:53:39 +02:00
Vari
332b127e21 Fix old timestamp format being used to find an inbox message with 'received'.
Also fixed message count not working when expire_at is null.
2024-07-08 00:00:32 +02:00
Vari
16e1ab191d Inbox Message:
- Changed 'received' column type to timestamp.
- Implemented Soft deletes and Prunable job for InboxMessage Model.
2024-05-28 07:52:13 +02:00
Vari
68c0d6f130 Fixed inbox Message MarkAs endpoint using logif of old table structure 2024-05-27 07:08:24 +02:00
Vari
81f5d5f54c Added Login and Endpoint for claiming message rewards. 2024-05-26 19:19:19 +02:00
Vari
beed8d7e37 Fixed Delete Message endpoint always deleting all messages. 2024-05-26 06:42:36 +02:00
Vari
c1bba9dbdb Fixed Messages being marked as read too early because there were missing endpoints. 2024-05-26 06:34:28 +02:00
Vari
f25401c77e Implemented Mark Messages As endpoint (POST api/v1/messages/v2/markAs) 2024-05-26 06:19:02 +02:00
Vari
5b50c75646 Implemented Delete message list endpoint (DELETE /api/v1/messages/list) 2024-05-26 05:55:02 +02:00
Vari
365ba978c0 Implemented Model,logic and response for inbox messages. 2024-05-26 05:07:13 +02:00
Vari
58294c0c77 Started working on player inbox 2024-05-20 23:52:21 +02:00
Vari
3ca095524a (Hopefully) Fixed some timezone stuff with the bans 2024-05-20 01:12:54 +02:00
Vari
bad4324d86 Changed ban check to also consider the start and end time.
Also moved the colored ban status check into own component.
2024-05-20 01:12:54 +02:00
Vari
813c1ca782 Added the incrase of the readout_version into updateMetadataGroups for characters, maybe fgixes a potential bug. 2024-03-17 01:52:26 +01:00
Vari
3f9a257821 update UpdateMetadta to set the metadata of the player iven with 'playerId'. 2024-03-09 12:26:15 +01:00
Vari
d1b8e65624 Added handling of the "playerId" parameter to InitOrGetGroups. 2024-03-09 12:26:15 +01:00
Vari
80e736d878 Some more fixing of processing leveling correctly and challenge processing adding the progress to the wrong user. 2024-03-09 12:26:15 +01:00
Vari
34f40d6dbc Fixed some ->save() statements in progression. 2024-03-09 12:26:15 +01:00
Vari
a5823b3e0e Fixed some bugs with the validation of the end of match requests.
Forgot to change the false of the Authorize() method.

Fixed comparison of Match creator and user that send teh request.
To compare objects don't use ===, use == instead.
2024-03-09 12:26:15 +01:00
Vari
cf8b3d0ea6 Added PlayerEndOfMatch Endpoint. 2024-03-09 12:26:15 +01:00
Vari
a5113bbe85 Added ExecuteChallengeProgressionBatch Endpoint. 2024-03-09 12:26:15 +01:00
Vari
3f8ee86eb8 Implemented Quitter state database table and getQuitterState endpoints 2024-03-01 14:17:05 +01:00
Vari
30a0ed158a Added Unlock Special Items endpoint. 2024-02-29 16:40:09 +01:00
Vari
7f949a35cb Fix Picked Challenges not being completely reset when prestieging.
Fix InitOrGetGroups picked challenges array error (again)
2024-02-29 11:24:30 +01:00
Vari
19a604e188 Added more logging to purchase set item to analyse error.
Also changed ->attach to ->syncWithoutDetach to better handle items already in inventory errors (it technically shouldn't happen, but just to be sure)
2024-02-29 10:40:28 +01:00
Vari
a428c9b7eb Fixed SetItem not added to inventory when buying a set.
Fixed error in InitOrGetGroupsResponse.php with wrong array access(i think).
2024-02-29 10:27:27 +01:00
Vari
061b1e2e42 Added endpoint resetCharacterProgressionForPrestige.
It checks if you have all the lvl 10 items in your iventory and if you have enough currency.

Then your character progress gets reset and inventory cleared of the items of that character.

then you get the prestige reward added to your inventory and the prestige lvl of the character goes up
2024-02-29 02:15:44 +01:00