262 Commits

Author SHA1 Message Date
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
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
58a9c2ebd3 add run.bat and run.sh, update .gitignore 2024-03-03 12:06:05 +00:00
Robert Paciorek
566b75eefe some optimizations for Profile Answers 2024-03-02 20:19:42 +00:00
cc802043ec Profile Answers
-Add Ability For Profile Answers To Save
-Add WoJS response for ``GetQuestions``
-Add ``Pain`` Mood To Question Data
2024-03-02 17:36:29 +00:00
Robert Paciorek
1f190dd19a add api config settings: database and response url 2024-03-01 17:14:56 +00:00
rpaciorek
4662bbd629
update README, add sample files for localhosting (#2)
* update README, add sample files for localhosting

* fix port number in sample DWADragonsMain.xml

* update readme

* update itemid schema info

* update appsettings comments

---------

Co-authored-by: Spirtix <michal.prazak1@gmail.com>
2024-02-25 17:55:00 +01: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
2dfb5fd1b8 better handle proxy cache rename error 2024-02-17 00:28:40 +00:00
Robert Paciorek
b7720af330 add ListenIP config option for asset server 2024-02-08 19:26:30 +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
c39b4bb015 remove per zone mmo config
using common mmo config from DWADragonsMain.xml allows to
easy host own servers without having to edit the server code

per zone config can by enabled by edditing Resources/mmo.xml
2024-02-05 16:47:38 +00:00
Robert Paciorek
e1a8f47a27 add "auto encrypt" function for *Main.xml 2024-02-04 12:32:52 +00:00
Robert Paciorek
bd6df27c92 assets server "partial" mode improvements
* add support for cache/store assets in partial mode
* use stream approach in assets proxy mode
	* reduce memory usage on proxy big files
	* reduce risk of game client timeouts on slow connection
2024-01-29 21:21:53 +00:00
Robert Paciorek
7888445eee support for mods - items add/overwrite interface 2024-01-29 14:28:51 +00:00
Robert Paciorek
18f7e89509 fix some icons in store
* use Alpha Skins icons for Membership Toothless and Membership Light Fury
  (not a perfect solution, but better than an icon that doesn't load)
* use correct icon (with visible alpha glow) for Alpha Toothless Friendship Hearts Paint
2024-01-26 18:27:21 +00:00
Robert Paciorek
c0d5b79518 add items to store
* Chimeragon Thawfest Saddle
* Thawfest Dragon Saddle Chest
* Friendship Arch
* Stormshatter
2024-01-26 18:22:21 +00:00
Robert Paciorek
20bcd835d7 create Kingstail skin (21003) using og assets
... and add it to store
2024-01-26 12:57:38 +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
7e5a90ba87 use utf-8 in xml headers from SerializeXml
we use ascii/utf-8 (not utf-16) encoding in files and network data
so XML header should be always `<?xml version="1.0" encoding="utf-8"?>`
2024-01-09 16:08:42 +00:00
Robert Paciorek
ea3de10100 disable sending email in LoginParent reply 2024-01-07 16:24:00 +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