i tried using the server api gettitledata and it wouldnt work
{ "code": 401, "status": "Unauthorized", "error": "NotAuthenticated", "errorCode": 1074, "errorMessage": "Missing or invalid X-SecretKey HTTP header" }
it giving me this - i am logging in with a normal player though so i would think i shouldnt be authorized to do server api calls - or am i looking at this incorrectly?
Anyways i am using the session key as t he secretkey var s(without changing it and i gettitledata without issue under the client api its just the gettitledata server api call that im getting this which leads me to believe authorization issues.
any help would be awesome
thanks!
daniel
,Hello
I am looking into creating an RPG game that will have
a player with 3 characters that he will control all at once and have stats and equipment tied to it
I want to know what the best way to go about integrating this with Playfab would be ( i want as much i can to be modifiable on the server side (cloud) )
what i was thinking was to use titledata to store
Fore each character for that player:
base stats (hp power xp level etc)
currentstats(currenthp,powerwithbonuses,currentxp, currentlevel,totalhp,totalxp etc)
name
items equipped (itemid from the catalog)
damage type (spell,physical,etc)
the player will have
curreency and inventory which i think will work by some normal api calls (wont have to use titledata?)
does this makes sense or would i need to go about another means like an mysql server and try that way?
if the titledata method will work do you have any example json or source code files that i can browse through to see how to implement properly? Specifically ones with multiple subategories
since the keeper will have a base stat which will have the stattype
hope that makes sense
thanks!
daniel