17 Commits

Author SHA1 Message Date
Spirtix
f4de1f495f Revert "temporarily disable mmo to fix loading issues"
This reverts commit 5d62a068ace4246934d44faacc562934fee8bfc2.
2023-09-13 15:01:30 +02:00
Spirtix
95008797b1 initial mmo work 2023-09-13 15:01:29 +02:00
Robert Paciorek
e88a5db3bf more friendly response for profile not found 2023-09-13 14:57:45 +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
rpaciorek
e3314ae1f1
Viking session via ActionFilter (#29) 2023-08-31 21:01:55 +02:00
rpaciorek
665089d5ef
support AchievementTask and AchievementID rewards (#25)
- add task and id reward xml databases
   - thanks to Project Edge community for sniffed network data!
- implement SetAchievementAndGetReward, SetUserAchievementAndGetReward
- partially implement SetUserAchievementTask
- move rewards logic to AchievementService
- show real value of farming and fishing XP
- show UDP points

Co-authored-by: Spirtix <michal.prazak1@gmail.com>
2023-08-23 22:07:08 +02:00
Robert Paciorek
2f89f37c93 send membership for old clients 2023-08-23 21:57:57 +02:00
Spirtix
5d62a068ac temporarily disable mmo to fix loading issues 2023-08-15 22:38:52 +02:00
rpaciorek
406ebe20c2
initial support for XP points (#16)
* GetPetAchievementsByUserID and enum for PointTypes

* add RankService

* use AchievementPointTypes for PointTypeID

... insted of int in schema

* support for player XP, fix dragon XP

- database table
- return correct value in API call
- save XP from mission

* rename RankService to AchievementService

* use addAchievementPoints for all non item reward

this could be a good place for wallet servicing too ... so currency reward too

* return const XP value for farming and fishing

we don't have gathering method for those XPs yet

* fix avatar schema, fix coding style
2023-08-14 18:34:14 +02:00
rpaciorek
0ef87a61ff
basic support for 1.13.0 client (#15)
- add GetUnselectedPetByTypes
- block update avatar in calls SetAvatar from too old clients
- add support for call GetUserProfileByUserID with viking apiToken
2023-08-14 14:36:33 +02:00
Robert Paciorek
9b52f1fdd4 increase CashCurrency and GameCurrency 2023-08-14 14:22:14 +02:00
Spirtix
9c3c374741 unify timestamps 2023-07-27 19:06:19 +02:00
rpaciorek
4c2dd92969
initial support for older clients, tested with 2.9 (#11)
- add GetChildList method
- add placeholder fields to respond in GetUserInfoByApiToken and GetUserProfile
2023-07-25 23:25:37 +02:00
Spirtix
ffd7fd9a20 fix farms issues
spoof levels
2023-07-24 22:16:46 +02:00
Spirtix
0460746824 implement store, purchases; fix inventory
This only implements V2 purchases
V1 purchases are used outside of the store
2023-07-03 19:38:52 +02:00
hictooth
199d44f1cd create profile
works up to start of tutorial
2023-06-19 20:23:53 +01:00
hictooth
d4517b459b child registration and login 2023-06-17 22:17:36 +01:00