Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how do I get gifts from Winterfest? #374

Closed
2 tasks done
prtolem opened this issue Dec 25, 2024 · 6 comments
Closed
2 tasks done

how do I get gifts from Winterfest? #374

prtolem opened this issue Dec 25, 2024 · 6 comments

Comments

@prtolem
Copy link

prtolem commented Dec 25, 2024

Issue Checklist

  • I have properly named the issue
  • I looked in issues/discussions, if my question was previously anwsered

What is your question?

I found a method (https://github.com/LeleDerGrasshalmi/FortniteEndpointsDocumentation/blob/5863ceb55b6ea2dca9d2eece3da14e4e327ff45e/EpicGames/FN-Service/Game/Profile/Operations/UnlockRewardNode.md), but it requires some parameters such as NodeID and rewardGraphId. Where can I get them? Thanks!

@BurakYs
Copy link
Contributor

BurakYs commented Dec 25, 2024

In the game files: FortniteGame/Plugins/GameFeatures/Winterfest/Content/Items/RewardGraph/S33/S33_Winterfest.uasset

@prtolem
Copy link
Author

prtolem commented Dec 25, 2024

In the game files: FortniteGame/Plugins/GameFeatures/Winterfest/Content/Items/RewardGraph/S33/S33_Winterfest.uasset

Thank you! Do you have information about the available gifts? not in kind .uasset, in plain-text

@BurakYs
Copy link
Contributor

BurakYs commented Dec 25, 2024

Yes athena QueryProfile has a reward_nodes_claimed prop in items, the templateId of the item is AthenaRewardGraph:s33_winterfest
The prop is added when the player opens at least one present though

@prtolem
Copy link
Author

prtolem commented Dec 25, 2024

what if the user has not opened any gifts?

@LeleDerGrasshalmi
Copy link
Owner

Then that property does not exist:

{
    "templateId": "AthenaRewardGraph:s33_winterfest",
    "attributes": {
        "unlock_epoch": "2024-12-19T14:00:00.000Z",
        "player_random_seed": 238309980,
        "reward_graph_purchased_timestamp": 1735143642029,
        "reward_graph_purchased": true,
        "reward_keys": [
            {
                "static_key_template_id": "Token:athena_s33_winterfest_key",
                "static_key_max_count": 14,
                "static_key_initial_count": 0,
                "unlock_keys_used": 0
            }
        ]
    },
    "quantity": 1
}

So simply fallback to an empty array

image

@LeleDerGrasshalmi
Copy link
Owner

stale/resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants