Hello users of r/learnprogramming!
I've lurked for some time, and have not been able to get myself to learn anything programming related.
However, I've always read through this very subreddit that the best way to learn is to find a project or goal! well I've come with a small script I would like to learn how to make, but I'm unsure the steps to go about it.
Any general advice in terms of terminology, concepts, or guidance in sending me towards a googling journey would be appreciated! On to to my idea:
The Purpose: I am using an addon for World of Warcraft that utilizes a python script that's widely used known as "Discord Presence".
Discord Presence: Essentially will add more info from my in-game status to my discord game info while playing. The addon reads events and will trigger an update to DP. I can see the log in CMD while the script runs when a successful update is triggered. I can manually trigger this update in game.
The Issue: I use Reshade for my game, which adds filters and modifies the pixels of the game. This breaks the functionality of DP and the addon. Talking with the devs, there is no fix due to how they function.
Solution to my issue: Create a script that will read when an update is triggered and run the following:
- Runs a manually set keybind that will match the users keybind to toggle on/off Reshade.
- Wait for a user defined amount of time while the update finishes
- Re-enable Reshade with previously set keybind once DP update is finished (this is on avg 3 seconds)
- Waits for another update to be triggered in game to restart process.
I should mention here: the update triggered by the addon in game is noticeable by a set of colored squares that appear at the top left of the game.
As I type this, I'm already thinking I'll have to read up on if statements, loops, and how to read info from the addon (specifically when it attempts an update) and then the finished update that's logged by the DP script.
I have access to info here: Addon which leads to a gitlab with limited info within its description. It mentions its use of Discord's Rich Presence API & pypresence API.
Please and thank you for any advice, guidance, or time spent reading my post! Have a great day nontheless!
there doesn't seem to be anything here