29 Commits

Author SHA1 Message Date
Robert Paciorek
c7b3a74390 use ItemService for store and itemId in store.xml
- replace full items def in store.xml by item id
- load items def from items.xml (via ItemService) in StoreService constructor
2023-09-18 14:01:24 +02:00
Spirtix
95008797b1 initial mmo work 2023-09-13 15:01:29 +02:00
Robert Paciorek
31cf0915d3 add AchievementPointType = 11 (Trophies) 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
883fbd2181 add missing RedeemRequest 2023-09-04 21:00:43 +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
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
rpaciorek
7bee6c620a
dragons tactics (battle) backpack (#26)
* return battle item as battle items

placeholder - no saved stats, always use default stats

* Blacksmith API implementation

* ApplyRewards (DT rewards) and AddBattleItems

also temporary disable some AchievementsTask rewards from DT ... probably should not be repeatable ...

* support "box tickets" blueprints

- add OpenBox in ItemService (should be useful for other boxes also)
- move checking item category to ItemService (ItemHasCategory)

* InventoryService and full DragonTactics rewards

- move "add to inventory" to InventoryService
- move creating CommonInventoryData from inventory to InventoryService
- move CreateItemStats() to ItemService
- assigning random "item" reward from DT based on dtrewards.xml (at this moment list of all DT items not listed in store)
- rework dragon XP and add player XP and gems reward to DT
2023-08-31 20:42:03 +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
d7e62ffbc3 add missing DeleteProfileStatus 2023-08-19 21:19:29 +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
Robert Paciorek
794b8487f1 fix flight club
- add placeholder for GetGameData
2023-08-14 14:22:14 +02:00
Spirtix
724a052e17 fix server error caused by blueprints 2023-08-05 20:19:17 +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
f71fbe3559 initial farm implementation 2023-07-20 22:11:42 +02:00
Spirtix
1c01eb25f5 hideouts 2023-07-12 22:07:24 +02:00
Spirtix
e48858fd01 implement GetAnnouncementsByUser 2023-07-09 11:21:19 +02:00
Spirtix
f821a0b1cb stub achievements to progress in missions 2023-07-07 22:23:48 +02:00
Spirtix
9cef74dd26 add support for missions
still requires achievements to work corrently
2023-07-07 01:25:25 +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
Spirtix
5b2ec98701 stub various endpoints 2023-06-27 22:15:06 +02:00
Spirtix
b7e2b2f822 properly track mission states and rewards 2023-06-22 22:08:54 +02:00
Spirtix
94da3ff337 support for items and inventories 2023-06-22 13:59:14 +02:00
hictooth
5f7921ea6f implement dragons
pets, which are dragons in SoD
2023-06-21 21:01:54 +01:00
Spirtix
2c195832f5 mockup for the tutorial mission 2023-06-21 16:13:21 +02:00
hictooth
199d44f1cd create profile
works up to start of tutorial
2023-06-19 20:23:53 +01:00
Spirtix
2a4edfffef Get/Set pairs 2023-06-19 19:59:42 +02:00
hictooth
d4517b459b child registration and login 2023-06-17 22:17:36 +01:00
Spirtix
e1d4daf3b7 Add project files; implement login/registration 2023-06-16 16:16:50 +02:00