289 Commits

Author SHA1 Message Date
Hipposgrumm
10d0fed889 Added Support for Math Blaster Movies (#9)
Added a result for type `MathBlasterMovie`.
2024-07-16 08:48:52 +00:00
Robert Paciorek
69910dad12 fix internal error in GetAvatarByUserId 2024-07-16 08:02:44 +00:00
Hipposgrumm
a0f7b1ba3e Fixed Mutt Pods + Implemented GetTopAchievementPointBuddiesByType
* Mutt Couch Fixes
Removed duplicate mutt from the couch.
Mutts on couch in other players' mutt pods will now reflect that player's account.

* Buddies list will now appear on the sidebar, making the mutt pod tutorial possible.

---------

* Fixed some issues that were pointed out.

* ContentController.GetUnselectedPetByTypes now uses regular IF check for setting owner viking.

* remove unused apiKey from GetActiveRaisedPet args
2024-07-12 07:44:30 +00:00
Robert Paciorek
a45323b447 bugfix for "Fixed Math Blaster's mutt textures." 2024-07-10 19:25:30 +00:00
Hipposgrumm
2203bae81f Fixed Math Blaster's mutt textures. (#6)
Will now set to appropriate mutt texture if pet is using a larva texture and is older than HATCHING.

The pet data saving code will now set to appropriate mutt texture if pet is using a larva texture and is older than HATCHING.
This fixes the issue that mutts were using their old larva's texture instead of the mutt's default texture.
Any existing mutts using the wrong texture will have it changed when the pet is saved (not when loaded). For users to see the fixed texture they would need to restart the game after the affected mutt(s)' data changed in any way (or otherwise saved to the server).
2024-07-10 08:27:43 +00:00
meleestars
9993198a9b Implemented neighborhoods, fixed default houses
Also:
* implemented ``GetAvatarByUserID`` from @Moonbase's previous PR.
* implemented ``GetPeriodicGameDataByGame`` and ``GetGamePlayDataForDateRange``

---------

Co-authored-by: Alan Moon <alanmoonbase2004@gmail.com>
2024-07-10 08:27:23 +00:00
meleestars
2ec4358a39 Implemented `GetGameDataByUser` 2024-07-10 08:20:53 +00:00
Robert Paciorek
363ea6a305 add Thawfest RAWR Helmet to store 2024-06-06 08:09:01 +00:00
Robert Paciorek
3e06d89cb2 GetAssetVersions placeholder + WoJS bugfixes 2024-04-30 12:13:46 +00:00
Robert Paciorek
1dfcc655eb support for MMO in SuperSecret
thanks to HaiFire
2024-04-30 12:13:46 +00:00
Robert Paciorek
a756023a86 update for store.xml:
- adds back purple cow hat
- adds back some items that got removed during the transition somehow

Thanks to YesntSoup
2024-04-30 12:13:46 +00:00
Robert Paciorek
d1258b6082 fixes for avoid network error in client
- return 200 OK for /ContentWebService.asmx
- return 404 (and log error) on connection error to asset provider server
2024-04-12 10:02:53 +00:00
Robert Paciorek
d00a2f770c move *Main.xml to assets/conf, update README.md 2024-04-09 12:06:00 +00:00
Robert Paciorek
a9151c42c5 rework WoJS Party
- fix SQL issue on removing expired parties
- use item data for party creation
2024-04-09 11:30:01 +00:00
Robert Paciorek
2d9b83db89 bugfixes
- fix "No soil plots in v.2.9"
  - do not send null `UserItemPosition.Uses` for old clients
- fix "unable to do the expansion missions in Sodoff 2.9"
  - move expansion board missions to Headmaster for old versions
- fix race condition on PurchaseItems (causing negative gems amount issue)
- move gems bundles to correct store
  - also fix "gems bundles not show after click on gems counter" issue
- fix "internal error neighborhood" (WoJS)
  (caused by room item with null item)
- fix "Release date is set to creation date upon being released" (WoJS)
  - update GrowTime value in SetRaisedPetInactive
2024-04-09 00:21:06 +00:00
Spirtix
39ab2802a3 fixup! mmo roles 2024-04-07 15:40:43 +02:00
Spirtix
768affd3b2 mmo roles 2024-04-07 15:40:37 +02:00
Spirtix
2c30736193 mmo authentication support 2024-04-07 15:40:24 +02:00
Robert Paciorek
471f09280c add missed WoJS items
Thanks for YesntSoup
2024-04-04 17:00:42 +00:00
Robert Paciorek
c4461263fa fixes for mmo support in old versions/other games 2024-04-02 12:44:11 +00:00
Robert Paciorek
6188c67271 improve run.sh and .dockerignore
- chdir on start run.sh
- do not ignore .git and some other file while build docker
2024-03-28 12:08:14 +00:00
Robert Paciorek
b5bb289a4e simplify/update docker config
- change docker config
  - by default include source in docker image for simple debug (can be disabled via uncoment section in Dockerfile)
  - fix/improve network config in docker-compose
2024-03-27 09:47:21 +00:00
e956985678 Add Placeholder For LogEvent
and Add ``ping`` Method For Status Page
2024-03-27 09:46:02 +00:00
Robert Paciorek
cba1464079 fix Paralyzing Dreadfall Axe Blueprint 2024-03-19 13:47:54 +00:00
Robert Paciorek
99ea6768f7 update items and store for WoJS
- restore missed items for WoJS 1.1 and others games
- fix items broken by new avatars as alterntives (switch via store based on apiKey)
- add FunZones and Brooms to store

Thanks for YesntSoup
2024-03-17 20:47:16 +00:00
Robert Paciorek
446c40ccea merge House into SavedData, WoJS 1.1 vs 1.21 store
- use generic XML save system (SavedData) for Houses
- add support for return different stores for WoJS 1.1 and 1.21 (based on ApiKey)
- change values of ClientVersion / gameVersion for non SoD games and some version checks logic
- common function for Viking creation for call in RegisterChild and in RegisterParent
- add SS (standard) apiKey and WoJS 1.21 (custom) apiKey
2024-03-17 20:46:40 +00:00
Robert Paciorek
9e934c3925 add UseAnyURLPrefix setting 2024-03-16 22:15:34 +00:00
Robert Paciorek
9d89a6b6da rework GetMMOServerInfoWithZone
add MMOSupportMinVersion configure setting
2024-03-16 22:13:54 +00:00
Robert Paciorek
f768020ede Merge JS Restarted into SoDOff master 2024-03-15 00:28:53 +00:00
838f15fed8 add BirthDate, CreationDate and Gender
-Set Gender For Player
-Put CreationDate and BirthDate into Viking model
-Birthday Events Now Work
2024-03-14 20:33:08 +00:00
1600938902 WoJS: Use DisplayName in GamesData
- Use DisplayName instead of Viking Name

Co-authored-by: Robert Paciorek <robert@opcode.eu.org>
2024-03-14 20:33:08 +00:00
cadf9dd977 Add Docker Support
Co-authored-by: Robert Paciorek <robert@opcode.eu.org>
2024-03-14 20:33:08 +00:00
9089ea786d ContentByType, ProfileTags, WoJS Ranks and Quests
- Add ``UserProfileTag`` Placeholder
- Add Placeholder Profile Tags
- Reimplement ``GetContentByTypeByUser``
- Fix ``GetContentByTypeByUser``
- Add Test Movie Theater Content
- Add Real Movie Content
- Add Big Cat
- Fix CatURL
- Add Arcade Content
- Add Proper Response For Arcade Content
- Replace ContentInfo With ContentInfoData
- Still Trying Arcade Things
- Update Jukebox
- Movie Theater Thumbnails
- Replace All Content And MMO URL's To Point To New Server
- Replace https With http And Do Similar Action To ``allranks_wojs``
- Fix Typo
- Add All Other MainStreet Missions
- Add WoJS Ranks
- Add Learning Content (Brain Arcade)
- Restore Original Jukebox Content
- Add External Games And Fruit Salad Chop To Arcade Content
- Update Learning Content
2024-03-14 20:32:57 +00:00
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
08b5239880 bugfix: set gender in profile when no saved avatar 2024-03-03 19:38:49 +00:00
Robert Paciorek
a420c774d1 Merge branch 'WorldOfJumpStart'
add support for World of JumpStart, MathBlaster and some other JS online games
2024-03-03 19:36:48 +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
ca95caf783 support for Futureland (IsValidApiToken) 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
88aa184881 bugfix: internal error when not use middle name 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
f8c8b75645 quests data - quests files for WoJS 2024-03-03 14:00:10 +00:00
Robert Paciorek
b2220ccfdb fix registration in Math Blaster 2024-03-03 14:00:10 +00:00