Discord rich-presence implementation for VALORANT

Overview

not working on v1 anymore in favor of v2, but if there's any big bugs i'll try to fix them

valorant-rich-presence-client

Discord rich presence extension for VALORANT

Jump to updating

Installation

Following these instructions will result in the program automatically launching with VALORANT

NOTE: Upon downloading, your browser might mark the file as dangerous, but this is a false-positive and can be ignored (all the code is open-source)

Part 1: Creating a folder for the executable

  1. Create a folder for the extension; this folder should be stored somewhere safe where it will not be moved
    • it is recommended to create a folder in C:\Program Files\ called "valorant-rpc"
  2. Move the executable to the folder created in step 1

NOTE: Antivirus/Windows Defender might mark the executable as a potentially unwanted app, this is a false-positive

Windows Defender: Select Allow on device and Start actions to allow the extension to run

  1. Copy the path to the executable for a later step
    • if the folder was made under "C:\Program Files\valorant-rpc", the path would be "C:\Program Files\valorant-rpc\valorant-rpc.exe"

Part 2: Changing the VALORANT launch target

  1. Locate the VALORANT shortcut

    • if you typically launch from your desktop, locate the VALORANT icon
    • if you typically launch from the search bar, search for VALORANT and open the file location
  2. Right click on the shortcut/icon, then select Properties

image

  1. In the Target box, paste the path to valorant-rpc.exe from part 1, step 3, then select Apply

image

  1. Launch VALORANT! The console will appear and launch the game, then minimize to the system tray.

Updating

  1. Navigate to the folder created in part 1, step 3 of installation
  2. Delete the old valorant-rpc.exe and replace it with the new executable

NOTE: Antivirus might flag the new executable as malware; follow the same steps outlined in part 1, step 2 of installation

Comments
  • consistent menu presences

    consistent menu presences

    competitive lobbies should now show rank throughout queue/pregame states and when away instead of only when idle (plus I think it looks overall nicer)

    opened by janinhasz 5
  • Pls Help

    Pls Help


    | | / / _ | / / / __ / _ / _ | / |/ /_ /________ ____ | |/ / __ |/ // /_/ / , / __ |/ / / / // / _ / / |// |//_//|// |//|/ // // / ./_/ // v3.2.1

    attempting to autodetect region the program encountered an error: please create an issue with the traceback below if this problem persists Traceback (most recent call last): File "valclient\client.py", line 907, in __get_lockfile FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\Brick\AppData\Local\Riot Games\Riot Client\Config\lockfile'

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last): File "valclient\client.py", line 73, in activate File "valclient\client.py", line 912, in __get_lockfile valclient.exceptions.LockfileError: Lockfile not found

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last): File "main.py", line 19, in File "src\startup.py", line 50, in init File "src\startup.py", line 159, in check_region File "valclient\client.py", line 82, in activate valclient.exceptions.HandshakeError: Unable to activate; is VALORANT running? press enter to exit...

    opened by Brick0-0 4
  • Error 13 Permission denied

    Error 13 Permission denied

    Traceback (most recent call last): File "main.py", line 19, in File "src\startup.py", line 32, in init File "src\utilities\program_data.py", line 22, in update_file_location File "src\utilities\program_data.py", line 36, in modify_isntalls PermissionError: [Errno 13] Permission denied: 'C:\ProgramData\valorant-tools\installs.json'

    opened by zLxisFX 4
  • Error in Range

    Error in Range

    the program encountered an error: please create an issue with the traceback below if this problem persists
    Traceback (most recent call last):
      File "src\presence\presence.py", line 35, in main_loop
      File "src\presence\presence.py", line 65, in update_presence
      File "src\presence\presences\ingame.py", line 18, in presence
      File "src\presence\presences\ingame_presences\range.py", line 18, in __init__
    ValueError: not enough values to unpack (expected 2, got 0)
    press enter to exit...
    

    This happens when i go in range

    bug 
    opened by BearTS 4
  • Riot authentication error

    Riot authentication error

    Program won't authenticate with riot. Also getting script execution errors when going into agent select. [!] could not authenticate with Riot for enhanced presence, check username/password!

    opened by HarvsoDev 4
  • Updated readme

    Updated readme

    Some people (including me) can't use the RPC because they don't have a lockfile. I updated this readme because I figured out that the lockfile only exists when Valorant is running so on first time use you need to start Valorant and then the RPC

    opened by shimizu-izumi 3
  • error while Valorant is running in the background

    error while Valorant is running in the background

    Traceback (most recent call last): File "pypresence\baseclient.py", line 102, in read_output File "asyncio\streams.py", line 621, in read File "asyncio\proactor_events.py", line 370, in _loop_writing File "asyncio\windows_events.py", line 474, in send BrokenPipeError: [WinError 232] Die Pipe wird gerade geschlossen

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last): File "src\presence\presence.py", line 35, in main_loop File "src\presence\presence.py", line 65, in update_presence File "src\presence\presences\menu.py", line 10, in presence File "src\presence\presences\menu_presences\default.py", line 9, in presence File "src\presence\presences\menu_presences\away.py", line 10, in presence File "pypresence\presence.py", line 34, in update File "asyncio\base_events.py", line 579, in run_until_complete File "pypresence\baseclient.py", line 106, in read_output pypresence.exceptions.InvalidID: Client ID is Invalid

    image

    opened by Dreamtrailtv 3
  • error that happens every so often

    error that happens every so often

     _   _____   __   ____  ___  ___   _  ________
    | | / / _ | / /  / __ \/ _ \/ _ | / |/ /_  __/__________  ____
    | |/ / __ |/ /__/ /_/ / , _/ __ |/    / / / /___/ __/ _ \/ __/
    |___/_/ |_/____/\____/_/|_/_/ |_/_/|_/ /_/     /_/ / .__/\__/
                                                      /_/ v3.1.0
    
    program startup successful, hiding window in 5 seconds
    
    presence running!
    the program encountered an error: please create an issue with the traceback below if this problem persists
    Traceback (most recent call last):
      File "src\presence\presence.py", line 35, in main_loop
      File "src\presence\presence.py", line 65, in update_presence
      File "src\presence\presences\pregame.py", line 9, in presence
      File "valclient\client.py", line 599, in pregame_fetch_player
      File "valclient\client.py", line 101, in fetch
      File "valclient\client.py", line 93, in __verify_status_code
    valclient.exceptions.PhaseError: You are not in a pre-game
    press enter to exit...
    
    opened by PangwenE 3
  • Program encountered an error?

    Program encountered an error?

    Traceback (most recent call last): File "valclient\client.py", line 822, in __get_headers KeyError: 'subject'

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last): File "valclient\client.py", line 70, in activate File "valclient\client.py", line 838, in __get_headers Exception: Unable to get headers; is VALORANT running?

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last): File "main.py", line 18, in File "src\startup.py", line 34, in init File "src\startup.py", line 132, in check_region File "valclient\client.py", line 78, in activate Exception: Unable to activate; is VALORANT running? press enter to exit...

    opened by coldxsin 3
  • failure to execute script main help please

    failure to execute script main help please

    hi everytime i'm trying to lunch the app this error shows up and the app closes its own please help me hear i like this app its happening from version 2.5

    opened by pokichu 3
  • RPC stops working after playing for about 20 mins

    RPC stops working after playing for about 20 mins

    I have Valorant installed in my D drive and I typically start Valorant using RPC. RPC will work at first, but then after about 15-20 minutes it stops working.

    opened by EllairaX 1
  • Option to start Discord if it's not already running

    Option to start Discord if it's not already running

    Sometimes after a restart, Discord isn't launched when I run the program. This can be due to it updating and not having the pipe available yet, or it may simply not be launched. I think the program should:

    • Wait a few moments if the Discord updater or Discord is found but the pipe isn't ready yet
    • Occasionally re-scan for Discord and attempt to re-establish the pipe if it isn't present (this could be a config option if performance is an issue)
    enhancement 
    opened by NatCubed 2
Releases(v3.2.2)
Owner
colinh
16, i dabble in python
colinh
Track live sentiment for stocks from Reddit and Twitter and identify growing stocks

Market Sentiment About This repository can mainly be used for two things. a. Tracking the live sentiment of stocks from Reddit and Twitter b. Tracking

Market Sentiment 345 Dec 17, 2022
Async wrapper over hentaichan.live

hentai-chan-api-async is a small asynchronous parser library that will allow you to easily use manga from https://hentaichan.live Recommended to use python3.7+

7 Dec 15, 2022
A library that revolutionizes the way people interact with NextDNS.

NextDNS-API An awesome way to interface with your NextDNS account - via Python! Explore the docs » Report Bug . Request Feature Table Of Contents Abou

34 Dec 07, 2022
Boilerplate template for the discord-py-interactions library

discord-py-interactions_boilerplate Boilerplate template for the discord-py-interactions library Currently, this boilerplate supports discord-py-inter

Ventus 7 Dec 03, 2022
The Official Twilio SendGrid Led, Community Driven Python API Library

The default branch name for this repository has been changed to main as of 07/27/2020. This library allows you to quickly and easily use the SendGrid

Twilio SendGrid 1.4k Jan 07, 2023
Zero2 Discord bot is written with Discord.py using Python.

Zero2 Discord bot is written with Discord.py using Python.

Siva Avanish 4 Nov 08, 2021
🖥️ Python - P1 Monitor API Asynchronous Python Client

🖥️ Asynchronous Python client for the P1 Monitor

Klaas Schoute 9 Dec 12, 2022
Want to get your driver's license? Can't get a appointment because of COVID? Well I got a solution for you.

NJDMV-appoitment-alert Want to get your driver's license? Can't get a appointment because of COVID? Well I got a solution for you. We'll get you one i

Harris Spahic 3 Feb 04, 2022
Autofilter with imdb bot || broakcast , imdb poster and imdb rating

LuciferMoringstar_Robot How To Deploy Video Subscribe YouTube Channel Added Features Imdb posters for autofilter. Imdb rating for autofilter. Custom c

Muhammed 127 Dec 29, 2022
TeamDltvideo Bot you can add in your Telegram Group Thanks

TeamDltvideo TeamDltvideo Bot you can add in your Telegram Group Thanks Video Stream is a telegram bot project that's allow you to play video on teleg

TeamDlt 1 Nov 18, 2021
A python library for creating Slack slash commands using AWS Lambda Functions

slashbot Slashbot makes it easy to create slash commands using AWS Lambda functions. These can be handy for creating a secure way to execute automated

Eric Brassell 17 Oct 21, 2022
A slack bot that notifies you when a restaurant is available for orders

Slack Wolt Notifier A Slack bot that notifies you when a Wolt restaurant or venue is available for orders. How does it work? Slack supports bots that

Gil Matok 8 Oct 24, 2022
Community-based extensions for the python-telegram-bot library.

Community-based extensions for the python-telegram-bot library. Table of contents Introduction Installing Getting help Contributing License Introducti

74 Dec 24, 2022
Video-Player - Telegram Music/ Video Streaming Bot Using Pytgcalls

Video Player 🔥 ᴢᴀɪᴅ ᴠᴄ ᴘʟᴀyᴇʀ ɪꜱ ᴀ ᴛᴇʟᴇɢʀᴀᴍ ᴘʀᴏᴊᴇᴄᴛ ʙᴀꜱᴇᴅ ᴏɴ ᴘʏʀᴏɢʀᴀᴍ ꜰᴏʀ ᴘʟᴀʏ

Zaid 16 Nov 30, 2022
A simple library for interacting with Amazon S3.

BucketStore is a very simple Amazon S3 client, written in Python. It aims to be much more straight-forward to use than boto3, and specializes only in

Jacobi Petrucciani 219 Oct 03, 2022
Telegram Group Management Bot based on Pyrogram

Komi-San Telegram Group Management Bot based on Pyrogram More updates coming soon Support Group Open a Pull request if you wana contribute Example for

33 Nov 07, 2022
KTUN Öğrenci Bilgi Sistemine bağlanıp her 15 dakikada notları kontrol eden ve değişiklik olduğu zaman size Discord Webhook ile mesaj atan uygulama.

KTUN_Obis KTUN Öğrenci Bilgi Sistemi KTUN Öğrenci Bilgi Sistemine selenium kullanarak girip setttings.py dosyasında verdiğiniz bilgeri doldurup ardınd

İbrahim Uysal 5 Oct 27, 2022
Build a better understanding of your data in PostgreSQL.

Data Fluent for PostgreSQL Build a better understanding of your data in PostgreSQL. The following shows an example report generated by this tool. It g

Mark Litwintschik 28 Aug 30, 2022
Raphtory-client - The python client for the Raphtory project

Raphtory Client This is the python client for the Raphtory project Install via p

Raphtory 5 Apr 28, 2022
Python Wrapper for handling payment requests through the Daraja MPESA API

Python Daraja Description Python Wrapper for handling payment requests through the Daraja MPESA API Contribution Refer to the CONTRIBUTING GUIDE. Usag

William Otieno 18 Dec 14, 2022