12 Commits

Author SHA1 Message Date
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
11ab7b6a11 Updates the Level Numbers and Experience function 2024-05-13 04:32:22 +02: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
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
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
e5f5d89cd1 Fixed items always being reset because of order of operations. 2024-02-27 12:19:33 +01:00
Vari
9d098c4057 Added new command to put characters into your inventory
Added logging to reset character data

Removed api throttle from game routes because the game sometimes sends too many.
2024-02-27 12:19:33 +01:00
Vari
1360bb7d44 Added updateMetadataGroup:
- Moved initOrGetGroup and updateMetadataGroup into own MetadataController.php becauseits really big and cluttered the PlayerController.php

- Added Challenges and pciked challenges for the characters

- Added that when the game sends us an update for the Character metadata, it automatically creates unknown challenges in the database and sets the picked challenges for this characterData
2024-02-26 11:23:59 +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