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

Set cosmetic locker slot error #361

Open
2 tasks done
ironweb10 opened this issue Dec 11, 2024 · 7 comments
Open
2 tasks done

Set cosmetic locker slot error #361

ironweb10 opened this issue Dec 11, 2024 · 7 comments

Comments

@ironweb10
Copy link

ironweb10 commented Dec 11, 2024

Issue Checklist

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

What is the Request Method?

POST

What is the Request URL?

https://fortnite-public-service-prod11.ol.epicgames.com/fortnite/api/game/v2/profile/${Id}/client/SetCosmeticLockerSlot?profileId=athena&rvn=-1

What are your Request Headers (if applicable)?

headers: {
'Content-Type': 'application/json',
'Authorization': Bearer ${token}
}

What are your Request Payload/Body (if applicable)?

No response

What is the Response Status Code?

404

What are the Response Headers (if applicable)?

No response

What is the Response Content? (if applicable)

Not found

Additional Context (if applicable)

No response

@ironweb10
Copy link
Author

I will test it

@ironweb10
Copy link
Author

It doesnt work:
errorCode: 'errors.com.epicgames.bad_request',
errorMessage: 'Disabled locker command SetCosmeticLockerSlot is not allowed',

@entraptaa
Copy link
Contributor

No longer done by MCP, instead use EOS. However, the Locker API hasn't been documented yet.

@ironweb10
Copy link
Author

ok thanks

@ironweb10
Copy link
Author

@entraptaa Can u add the documentation for:
Headers:
PUT /api/locker/v4/62a9473a2dca46b29ccf17577fcf42d7/account/eca05b30e34040a8a69a86b51dfbde1b/active-loadout-group HTTP/1.1
Host: fngw-svc-gc-livefn.ol.epicgames.com
Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJra
User-Agent: Fortnite/++Fortnite+Release-33.10-CL-38630093 Windows/10.0.22635.1.768.64bit
Accept-Encoding: gzip, deflate
Content-Length: 1856

HTTP/1.1 200 OK
Date: Sun, 15 Dec 2024 15:16:51 GMT
Content-Type: application/json
Connection: keep-alive
X-Epic-Correlation-Id: FN-bDby7u0EbkSsDWs3-DE1NQ
Server: fn-gateway
Content-Length: 1507

request content:
{
"loadouts":
{
"CosmeticLoadout:LoadoutSchema_Character":
{
"loadoutSlots": [
{
"slotTemplate": "CosmeticLoadoutSlotTemplate:LoadoutSlot_Backpack",
"equippedItemId": "AthenaBackpack:backpack_kelplinenmagnesium",
"itemCustomizations": []
},
{
"slotTemplate": "CosmeticLoadoutSlotTemplate:LoadoutSlot_Pickaxe",
"equippedItemId": "AthenaPickaxe:pickaxe_random",
"itemCustomizations": []
},
{
"slotTemplate": "CosmeticLoadoutSlotTemplate:LoadoutSlot_Glider",
"equippedItemId": "AthenaGlider:glider_random",
"itemCustomizations": []
},
{
"slotTemplate": "CosmeticLoadoutSlotTemplate:LoadoutSlot_Contrails",
"itemCustomizations": []
},
{
"slotTemplate": "CosmeticLoadoutSlotTemplate:LoadoutSlot_Aura",
"equippedItemId": "SparksAura:sparksaura_default",
"itemCustomizations": []
},
{
"slotTemplate": "CosmeticLoadoutSlotTemplate:LoadoutSlot_Shoes",
"itemCustomizations": []
},
{
"slotTemplate": "CosmeticLoadoutSlotTemplate:LoadoutSlot_Character",
"equippedItemId": "AthenaCharacter:cid_defaultoutfit",
"itemCustomizations": [
{
"channelTag": "ThemeFilter",
"variantTag": "Theme.Military",
"additionalData": ""
},
{
"channelTag": "Theme.Military",
"variantTag": "Outfit.Random",
"additionalData": ""
},
{
"channelTag": "Theme.Streetwear",
"variantTag": "Outfit.Random",
"additionalData": ""
}
]
}
],
"shuffleType": "DISABLED"
}
},
"shuffleType": "DISABLED",
"equippedPresetItemId": "4b5f7200-6f0b-4aef-a8b3-1d15dcba143c",
"athenaItemId": "4b5f7200-6f0b-4aef-a8b3-1d15dcba143c",
"creationTime": "2024-11-03T16:46:20.968Z"
}

response:

{"deploymentId":"62a9473a2dca46b29ccf17577fcf42d7","accountId":"eca05b30e34040a8a69a86b51dfbde1b","athenaItemId":"4b5f7200-6f0b-4aef-a8b3-1d15dcba143c","creationTime":"2024-11-03T16:46:20.967969031Z","updatedTime":"2024-12-15T15:16:50.991400140Z","loadouts":{"CosmeticLoadout:LoadoutSchema_Character":{"loadoutSlots":[{"slotTemplate":"CosmeticLoadoutSlotTemplate:LoadoutSlot_Backpack","equippedItemId":"AthenaBackpack:backpack_kelplinenmagnesium","itemCustomizations":[]},{"slotTemplate":"CosmeticLoadoutSlotTemplate:LoadoutSlot_Pickaxe","equippedItemId":"AthenaPickaxe:pickaxe_random","itemCustomizations":[]},{"slotTemplate":"CosmeticLoadoutSlotTemplate:LoadoutSlot_Glider","equippedItemId":"AthenaGlider:glider_random","itemCustomizations":[]},{"slotTemplate":"CosmeticLoadoutSlotTemplate:LoadoutSlot_Contrails","itemCustomizations":[]},{"slotTemplate":"CosmeticLoadoutSlotTemplate:LoadoutSlot_Aura","equippedItemId":"SparksAura:sparksaura_default","itemCustomizations":[]},{"slotTemplate":"CosmeticLoadoutSlotTemplate:LoadoutSlot_Shoes","itemCustomizations":[]},{"slotTemplate":"CosmeticLoadoutSlotTemplate:LoadoutSlot_Character","equippedItemId":"AthenaCharacter:cid_defaultoutfit","itemCustomizations":[{"channelTag":"ThemeFilter","variantTag":"Theme.Military","additionalData":""},{"channelTag":"Theme.Military","variantTag":"Outfit.Random","additionalData":""},{"channelTag":"Theme.Streetwear","variantTag":"Outfit.Random","additionalData":""}]}],"shuffleType":"DISABLED"}},"shuffleType":"DISABLED"}

@ironweb10
Copy link
Author

Please

@entraptaa
Copy link
Contributor

Added commit to my PR.

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

2 participants