93 Commits

Author SHA1 Message Date
d796f5c4ce Implement Get/SetScene and Houses
- Attempt Implementation Of ``GetScene`` and ``SetScene``
- Typo In Route
- Implement Houses
2024-03-14 18:29:16 +00:00
8d236ef8d3 Add Parties System (WoJS)
- Add Placeholder For GetActiveParties
- Add Proper Placeholder For GetActiveParties
- Attempt Party Implementation
- Return Null When Party Time Is Not One Hour
- Do Not Buy Party If It Already Exists
- Remove Coins From User After Buying Party
- Fix Parties Not Getting Removed After One Hour
- db model fixes
- Make Party ID key an integer
- Add ``GetPartiesByUserId``
- Fixes Parties Not Having Decorations
- Add All Other Party Durations And Types
- Fix Mistake In ``GetActiveParties``
2024-03-14 18:29:16 +00:00
93361c5e84 add endpoints for WoJS
add:
 - SetGameCurrency
 - GetDisplayNameByUserId
 - GetCommonInventoryByUserId
and some placeholders

- Reimplement Currency System (WoJS)
- Implement ``GetDisplayNameByUserId``
- Move ``GetCombinedListMessage`` To Messaging Controller
- Add More Placeholders For MMO
- ``SetScore`` Placeholder
- Add ``GetRevealIndex`` For Learning Games

Co-authored-by: Robert Paciorek <robert@opcode.eu.org>
2024-03-14 18:29:03 +00:00
Robert Paciorek
d8b996c6d7 bugfixes
- fix race condition on SetProduct
- properly create ModdingService singleton on startup
- remove debug print
2024-03-04 01:50:38 +00:00
Robert Paciorek
d557871fd3 rework ProductData and Petz saves
- support for separate saves for lands via ClientVersion.GetVersion(apiKey)
- add Adventureland apiKey to ClientVersion
2024-03-03 14:56:09 +00:00
Robert Paciorek
2a20cbd758 add GetActiveRaisedPetsByTypes 2024-03-03 14:00:35 +00:00
Robert Paciorek
22b5a76147 minisaur should start as baby (not powerup) 2024-03-03 14:00:35 +00:00
Robert Paciorek
f611b9203c SetAvatar (v1) should return bool 2024-03-03 14:00:35 +00:00
Robert Paciorek
baab40c828 Mythies issues fixes
- fix "Mythies" tab in profile
- fix Minisaurs vs Mythies conflict
2024-03-03 14:00:10 +00:00
Robert Paciorek
c842a2f3b2 implement Petz system 2024-03-03 14:00:10 +00:00
Robert Paciorek
6960aadcc3 fix set Jumpee name (and init move tutorial) 2024-03-03 14:00:10 +00:00
Robert Paciorek
7189f049e8 SetRaisedPetInactive -> support for releasing pet 2024-03-03 14:00:10 +00:00
Robert Paciorek
6dde75fbc7 use VikingSession for WoJS, fix GetActiveRaisedPet 2024-03-03 14:00:10 +00:00
Robert Paciorek
f695f96517 support for Math Blaster 2024-03-03 14:00:10 +00:00
Robert Paciorek
c1e759e766 WoJS: mythie and sanctuaty 1.1 fixes 2024-03-03 14:00:10 +00:00
ff19b747d8 backport Set/GetProduct from WoJSReStartedApi
Co-authored-by: Robert Paciorek <robert@opcode.eu.org>
2024-03-03 14:00:10 +00:00
Robert Paciorek
f5c7bc0fca initial support for World Of Jumpstart 2024-03-03 14:00:09 +00:00
Robert Paciorek
1f190dd19a add api config settings: database and response url 2024-03-01 17:14:56 +00:00
Robert Paciorek
97503cc389 rework game version managment
now we use game and SoD version encoded in uint (instead of compare raw apiKey values),
this allows for easy support for more versions ...
2024-02-24 18:47:04 +00:00
Robert Paciorek
56c388b1d6 fix internal server error on 2.9 quests
also fix error on invalid SetAvatar call
2024-02-06 20:20:35 +00:00
Robert Paciorek
4e792658d8 battle event rewards support
* fix RedeemMysteryBoxItems for support gems and coins from boxes
* add missing battle event fail achievement
2024-01-23 01:11:50 +00:00
Robert Paciorek
36d009dc3a implemented SetDisplayName 2024-01-09 20:43:38 +00:00
Robert Paciorek
5c802927a0 job board and quests bugfixes
* fix: jobs disappear after completing
* fix: jobs (and quest) does not cost items
2024-01-04 00:19:16 +00:00
Robert Paciorek
e50207ac2e add support for customizable items 2023-12-29 22:49:11 +00:00
Robert Paciorek
47e1bfb065 SoD 1.6 fixes
- CreateRaisedPet endpoint
- support for 1.6 apiKey + util class for management apiKey version recognition
2023-12-11 16:50:20 +01:00
Spirtix
80481713e3 include discounts in purchase prices 2023-12-09 22:01:10 +01:00
Robert Paciorek
5b8c952419 wallet-store fix for old SoD (1.13, 2.9) 2023-12-07 21:02:57 +00:00
Spirtix
8b3ed124c6 wallets 2023-12-07 20:38:06 +01:00
Spirtix
385449c1e7 highscore fixes 2023-11-26 17:44:38 +01:00
Spirtix
a0e2e198da score leaderboards 2023-11-26 17:44:38 +01:00
Robert Paciorek
132057911f bugfix: check item gender for mystery box rewards 2023-11-07 11:39:07 +01:00
Spirtix
fd831058c6 data model improvements 2023-10-17 07:58:04 +02:00
Robert Paciorek
42ee2ab77d job board mission fixes
- set as inactive and need accept in 1.13
- allow repeat in all versions

also remove from mission list for 1.13 Maze and MainReward quests
2023-10-04 15:38:28 +02:00
Robert Paciorek
a8d1bae4ac fix fuse error in "Battle Skills" tutorial 2023-10-04 15:38:28 +02:00
Robert Paciorek
2e9c8f22da fix intenal error on fuse and reroll 2023-09-27 07:54:36 +02:00
rpaciorek
44ea10ed71
support for SoD old tutorial and for Magic And Mythies (#17)
* old tutorial, works on 3.0.0 (partial on 2.9 also)

thanks to BrokenTV for quest data

* support for Magic And Mythies

* oldclients - avatar fix for 3.12

* register and create viking on 1.13

* fix Data Validation Failed on viking create in 2.9

* fix tutorial on 2.9

- fix opening cryptex cage
- replace initial dialogs (Grimmel version) by old version (based on wiki info)
- replace final dialogs (Harald bomb reference)

* missions support and better init profile on 1.13

- add support for mission in old SoD
- add stub for "New Student" quest for pre 2.3
- properly set HubBerkDOFirstCommon (via tutorial/quest, not via RegisterChild)
  - this allow show intro movie
- allow select and hatch first dragon (in hatchery as part of New Student quest)
  - this also fix stables on 1.13

* disable mmo on old clients
2023-09-18 19:22:45 +02:00
Robert Paciorek
9071d0bf37 fix some race conditions
- use session lock for SetKeyValuePair* endpoints
- use session lock for SetAchievementByEntityIDs endpoints
2023-09-18 13:59:04 +02:00
Robert Paciorek
70a28f4d1b bugfix: fuse item from inventory blueprint 2023-09-13 14:57:45 +02:00
Robert Paciorek
c6ad11b5d7 support for random quantity box prize
- add ItemService.GetItemQuantity
- add ItemService.CheckAndOpenBox and new form of ItemService.OpenBox
- add runes to DT rewards
2023-09-13 14:57:45 +02:00
Robert Paciorek
ed8cba8159 bugfixes: removing item in SetCommonInventory, ...
- fix removing item from inventtory in SetCommonInventory (regresion after switch to InventoryService)
- fix null exception in SellItem on invalid UserInventoryCommonIDs
- remove unused fields in AchievementService (are in AchievementStoreSingleton)
2023-09-05 07:46:44 +02:00
Robert Paciorek
5dbd28e83c support for mystery boxes and bundles 2023-09-04 20:50:47 +02:00
Robert Paciorek
645d1f30ad bugfix: reward DT with correct gender items 2023-09-04 20:50:47 +02:00
Robert Paciorek
82d31853ea stable mission rewards
- implement SetAchievementByEntityIDs endpoint
- add stable achivments to achievementsids.xml (generated from TimedMissionDO.xml)
- remove AddAchievementPointsAndGetReward, AddAchievementPoints now return AchievementReward
- add ApplyPayout to proxy
2023-09-04 20:50:47 +02:00
Robert Paciorek
d9e3315d41 bugfixes for mmo info from API server
- fix database exception in GetAllActivePetsByuserId
- fix exception when GetUserProfileByUserID call with invalid userId
2023-09-03 19:39:29 +02:00
Robert Paciorek
391be35a7a fix vikings profile and vist farm on MMO 2023-09-03 19:35:04 +02:00
Robert Paciorek
d122786778 fix error in ProcessRewardedItems on empty request 2023-09-03 19:34:41 +02:00
Robert Paciorek
4544c6a3d1 fix crash on reward from DT without player dragon 2023-09-02 12:38:18 +02:00
Robert Paciorek
b5e76d1846 DT reward bugfix + GetUserCurrency function
- bugfix DT rewards:
  - fix selling from reward screen
  - fix showing in inventory without reload
- add InventoryService.SellInventoryItem
- add AchievementService.GetUserCurrency function
2023-09-02 12:38:18 +02:00
Robert Paciorek
c039337430 use VikingSession for DT items API 2023-09-02 12:38:18 +02:00
Robert Paciorek
51c490aad9 unification KeyValuePair KeyValuePairByUserID API (and use VikingSession interface for its) 2023-09-02 12:38:18 +02:00