33 Commits

Author SHA1 Message Date
Vari
2f44066176 Fixed the validation of the equipped weapons equipping everything at once. 2024-12-20 12:53:29 +01:00
Vari
abb6f17efe Added currency cap with Migration. 2024-12-19 19:09:13 +01:00
Vari
af8f21e559 Work on timed challenges. 2024-12-16 21:21:33 +01:00
Miraak
0c1d1ad6b9 Removed Inquisitor as Default Hunter --> Added Veteran as default Hunter 2024-11-17 13:30:45 +01:00
Vari
6602699cd2 Fixed a error that could occur when creating a new player data where items could not get attached if they were a duplicate. 2024-09-26 20:12:44 +02:00
Vari
531627ec20 Removed Veteran from being unlocked by default.
Also removed some javascript logs.
2024-09-05 23:48:43 +02:00
Vari
6d5698f10e Tried adjusting the playerdata lock
changed online-player endpoint return type to json from plain html
2024-08-31 04:55:01 +02:00
Vari
365ba978c0 Implemented Model,logic and response for inbox messages. 2024-05-26 05:07:13 +02:00
Vari
3ca095524a (Hopefully) Fixed some timezone stuff with the bans 2024-05-20 01:12:54 +02:00
Vari
91ac9b2138 Added UI to create/delete and edit 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
11ab7b6a11 Updates the Level Numbers and Experience function 2024-05-13 04:32:22 +02:00
Vari
7887145b9b Added Default Characters to a newly created player data and changed the default currencies and hunter/runner selection. 2024-03-23 05:15:43 +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
3f9a257821 update UpdateMetadta to set the metadata of the player iven with 'playerId'. 2024-03-09 12:26:15 +01:00
Vari
c631053ce0 fixed infinite loop while adding Experience. 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
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
f179af9185 Added Matchmaking database tables and Models 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
223f94a07b Fixed Catalog item Prestige reard and reward item tables and import using only the catalog item id as id, so we could not differentiate between the prestige levels.
Implemented tracking the progress of Signature challenges.

Also implemented both challenges Endpoints "getChallenges" ans "getChallengeProgressionBatch".

For "getChallenges", we just return an empty array since we dont need weekly and dailies yet.
2024-02-28 13:06:56 +01:00
Vari
76f6a50b5a Added Signature challenges and Picked challenges to the Database and changed all relations to reflect this.
Also update updateMetadatagroup to only update picked challenges when to challenge already exists for that item.

Updated the import-catalog command to also import the signature challenges and associate them with the items that want them.
2024-02-28 03:20:51 +01:00
Vari
18377a3507 Added /inventories endpoint. Also added new raltion to player data for inventory of catalog items. 2024-02-24 23:29:36 +01:00
Vari
88fb8b3a59 Added Currencies to player data and wallet/currencies endpoint. 2024-02-24 15:28:39 +01:00
Vari
e00f72b30f Finished the Integration of the InitOrGetGroupsEndpoint. Now we can save equipped items for a users character in the Database.
Init or get groups als initializes the Data when it doesn't exist.
2024-02-24 14:18:33 +01:00
Vari
c274734fef Implemented first big half of InitOrGetGroups.
Added database structures for player progression and leveling and put all that into the InitOrGetGroups->progessionGroups response.
2024-02-22 00:16:13 +01:00
Vari
eeb29a6f46 Added Importer to import the catalog from Shaggy into the Database for future use for the other endpoints like managing inventory and stuff. 2024-02-18 18:52:43 +01:00
Vari
b9de1db675 Fixed User database fields not being filled while being created due to not being in the $fillable array.
also added getting the username while logging in via game.
2024-02-18 05:12:27 +01:00
Vari
135a1cef6d Removed .idea folder 2024-02-15 22:06:43 +01:00
Vari
90a233e7f2 Completed steam web login, forget i only had a dd() there.
Fixed auth implementation in user model.
2024-02-14 22:38:21 +01:00
Vari
1bf28e2c50 Added package spatie/laravel-permission for adding roles and permissions.
Setup default admin and view-log role and permission (the whole reason i added all this stuff).

also added artisan command to give user a role via command line with artisan permissions:AddRoleToUser {rolename} {userId}
2024-02-14 21:50:42 +01:00
Vari
154105a374 Added Ban Status endpoint and created a ban table to ban users. 2024-02-13 02:32:24 +01:00