RXJpaw / Valorant-Companion

See others ranks, parties, loadouts, and competitive histories to dodge bad lobbies. Built-in loadout-manager, settings-manager and account switcher with visible store offers, night.market and account-export-feature!
Apache License 2.0
16 stars 0 forks source link

Agent lock functionality? #5

Closed NoozAbooz closed 1 year ago

NoozAbooz commented 1 year ago

Would it be possible to use the API to add the ability to lock agents, similiar to Recon Bolt? Just curious.

RXJpaw commented 1 year ago

Hey!

Yes. Valorant provides an API for selecting and then locking agents early. This isn't a feature implemented into Valorant Companion for two reasons;

Following API-steps are required to achieve Recon Bolt's functionality:

  1. Selecting a character: https://glz-{region}-1.{shard}.a.pvp.net/pregame/v1/matches/{matchId}/select/{agentId}
  2. Then locking the character: https://glz-{region}-1.{shard}.a.pvp.net/pregame/v1/matches/{matchId}/lock/{agentId}

Please overthink using tools like Recon Bolt. Not just is there a high chance of you losing all your skins, but also is it disruptive against players without such tools.