Commit Graph

32 Commits

Author SHA1 Message Date
Vari
62f0be4398 Added 1v4, 1v5 matchmaking timeout as a setting in the match configuration admin panel. 2025-07-10 01:04:46 +02:00
Vari
0e4d0969d9 Fixing ETA Stuff 2025-07-10 00:05:36 +02:00
Vari
94c2c831af Added ETA when delaying the matchmaking for 1v4 or 1v5 matches. 2025-07-09 22:21:34 +02:00
Vari
b92c88df09 New check for recent edge case where the matchmaking broke due to a game being stuck on open. 2025-06-17 21:19:37 +02:00
Vari
891b7fe7c5 Added an admin tool to set multipliers for XP gain and Currency gain. 2024-09-13 02:00:43 +02:00
Vari
00ae7e16aa Adjusted Matchmaking now also removing games the user is the creator of when freshly queueing.
Added some loggin to the matchmaking job.

Adjusted Matchmaking cleanup times.

Changed Session log to now put the session logs of a user inside a folder with their name.
2024-09-06 12:41:32 +02:00
Vari
dfbb8f34c0 Added new Admin Tool page to manage the different versions we need to control. These are:
- launcher version (updating launcher)
- game version
- content version (for catalog)
- catalog version

Also added checks that when the wrong content version you dont get a catalog until you update tha game. And added another check when queuing when using the wrong game version you dont get queued. (so that hunters on the wrong version cannot block the matchmaking)
2024-09-05 23:43:47 +02:00
Vari
a93cc50456 Moved the matchmaking and matchamking cleanup into artisan commands to run them with the task scheduler. 2024-08-30 19:12:39 +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
120e691d1d Small hotfix for when saving an inbox message. the default value in the $attributes array in the model for a json field should not be an array, but a string. 2024-08-06 21:59:04 +02:00
Vari
179adc7518 Added Game and Player match history. Also adjusted how players get deleted from a match. 2024-07-31 22:14:48 +02:00
Vari
865bdb0d2e Fixed Deleting match early when the host sends himself too early for playerEndOfMatch.
Not the game only gets deleted when all players are removed, or when its getting cleaned up by the cleanup job.
2024-05-13 04:03:47 +02:00
Vari
5e67990642 Some more tweaks to the matchmaking cleanup. 2024-03-12 23:30:23 +01:00
Vari
b9431836c4 Added player alive check for queue and matched games to detect crashed or not joined players. 2024-03-12 00:06:56 +01:00
Vari
1e1620be6b Added queue/cancel endpoint
Added some locks to combat some race conditions, hopefully they work.
2024-03-09 12:26:15 +01:00
Vari
3e61419e78 Fixed typo in delete match user route that prevented it from working.
Fixed tryFillOpenMatch function wrongly readoing out hunter queue when trying to read runners.

Also mved it more early so that it triggers before checking for available configs.
2024-03-09 12:26:15 +01:00
Vari
c8f34d229a Fixed file Put/Get endpoints being in the wrong routes file because of prefix.
Implemented rotue where the host dleetes an user from the match if he didn't join.

Added funktion that tries to fill open games that have missing players.
2024-03-09 12:26:15 +01:00
Vari
d4ede2a235 Added increase of readout_version to playerEndOfMatch. 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
4dd0193f91 Fixed Game not adding following users from queue correctly.
Fixed longest queued users not being selected first.
2024-03-09 12:26:15 +01:00
Vari
cf8b3d0ea6 Added PlayerEndOfMatch Endpoint. 2024-03-09 12:26:15 +01:00
Vari
28b9f22e0a Added PlayerEndOfMatch Endpoint. 2024-03-09 12:26:15 +01:00
Vari
b600883e36 Adjusted queue status to only check for open or created matches the user is part of to return. 2024-03-09 12:26:15 +01:00
Vari
03811b22f3 Fixed Runners being added wrong the a game when try to create a new one. 2024-03-09 12:26:15 +01:00
Vari
615d31c883 Added Matchmaking Register endpoint, this endpoints sets a game from 'Created' to 'Open' when the host has laoded the map, so that palyers can start to join. 2024-03-09 12:26:15 +01:00
Vari
1cdac67de0 Added Matchmaking Register endpoint, this endpoints sets a game from 'Created' to 'Open' when the host has laoded the map, so that palyers can start to join. 2024-03-09 12:26:15 +01:00
Vari
fa3d97354b More work on the Matchmaking logic
Now players get added to the queue and the controller tries to create matches when enough matching players are in the Queue.
2024-03-09 12:26:15 +01:00
Vari
90c531f99b Added Queueing Logic 2024-03-09 12:26:15 +01:00
Vari
7d9c855b02 Started working on Queue Endpoint 2024-03-09 12:26:15 +01:00