Hi there,
I just followed this instructions but i could only get the character name!
Can you explain me how to get the CharacterId? because It request for updating its Data,Statistic and such things!
Target is server.
Thanks your help!
Hi there,
I just followed this instructions but i could only get the character name!
Can you explain me how to get the CharacterId? because It request for updating its Data,Statistic and such things!
Target is server.
Thanks your help!
I have tried to reproduce this issue but my blueprint works fine. It should be very similar to yours. Would you check the nodes again?
The log outputs seems to be correct:
LogBlueprintUserMessages:[Test_C_1] FighterDude-- 3D8620DCD494E693--Blue Warrior LogBlueprintUserMessages:[Test_C_1] FighterDude2-- B1535F8763931012--AAAAAA LogBlueprintUserMessages:[Test_C_1] FighterDude2-- D784CA9010147E47—AAAAAA
hey
Well mine shows : 0
For I'd and type .
Could you show me your whole blueprint parts please ? (Get all user character )
I use server version .
Thanks
Sure. Please check Get Character Test > BlueprintUE.com | PasteBin For Unreal Engine 4. I have changed to Server API.
Meanwhile, even though we don't add any Print node, the PlayFab UE4 SDK will generate the full callback content in the log, which will be like:
LogPlayFab: Response : {"code":200,"status":"OK","data":{"Characters":[{"CharacterId":"3D8620DCD494E693","CharacterName":"FighterDude","CharacterType":"Blue Warrior"},{"CharacterId":"B1535F8763931012","CharacterName":"FighterDude2","CharacterType":"AAAAAA"},{"CharacterId":"D784CA9010147E47","CharacterName":"FighterDude2","CharacterType":"AAAAAA"}]}}<br>
Please double-check that you can see this log and make sure the player has the characters.
hey thanks i was using "number fields" instead "string fields" now its ok!
thanky!!
Also can you tell me why the error says:
"Kills" is not a valid statistic name?
What is the good way to set the statistic name and the value what I want to update for the selected character?
thanks!
this is how i set the updating json:
here is the error at the end:
well i would like to update the Character statistic and not player statistic, as you can see i used :
And the character is already exist and having the Kills statistic what i added when i grantet the character at "add title data"
Please refer to Server update Character Sta > BlueprintUE.com | PasteBin For Unreal Engine 4.
The corresponding error means the request is not defined properly. The best way to debugging this issue is to check the official documentation and understand the types that defined in request node by SDK. Update Character Statistics API is using an Object instead of an array, hence you will need to construct an Object, which contains KVPs (also in the form of PlayFab JSON Object).
2 People are following this question.
How to create a character for each playfabid?
Possible to query all users for the same characterID?,Can I query all character IDs on a server?
How to manage challenges and how to store the challenge data amoung players?
How to call SetObjects to create an object with the correct entity type
How do I get character inventory data from another player's character?