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

PATCH: Implement /track and /trackoff commands for "following" a user or bot in to a game #5

Open
GoogleCodeExporter opened this issue Mar 24, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

Hi, I hacked up a new custom command that I called "/track"

When you type "/track <username>" your gproxy bot will issue a /whois 
<username> command every 4 seconds and when it detects the the user (could be a 
regular user or a bot that hosts games regulary) has entered a game it will 
play a sound (on win32) and start "looking" for that game (as if you had typed 
/game <gamename>)

This is very useful for me as I don't have to type long game names... and if 
I'm trying to join the next game that a bot is going to host I don't have to 
sit there manually typing /whois waiting for it to host....

As far as the sound effect goes, it just looks for a file "track_done.wav" in 
the current directory (where gproxy.exe is).... no errors will happen if the 
file doesn't exist.

For me the sound effect is key becase I'll minimize windows and start doing 
other stuff waiting for the game I'm interested in to host....

If anyone wants to use this patch (and can't apply it and compile gproxy 
themselves) let me know, and I'll send a compiled version to you.

Original issue reported on code.google.com by [email protected] on 7 Mar 2011 at 1:41

Attachments:

Unitil added a commit to Unitil/gproxyplusplus that referenced this issue Sep 25, 2018
Two new commands
/track <username> & /trackoff

This will /whois username every 4 seconds, and once they are in-game, it will automatically search for that users game via /game gamename.

This will also play track_done.wav once the player is in-game. This is to notify the user is in-game, and GProxy is searching for their game name.

Code was provided by a previous suggestion made in 2011.
(w3gh#5)
• Sound notification works/tested on Windows/Mac.
• track_done.wav provided with compiled GProxy on ENT Gaming Wiki.
Unitil added a commit to Unitil/gproxyplusplus that referenced this issue Sep 25, 2018
Two new commands
/track <username> & /trackoff

This will /whois username every 4 seconds, and once they are in-game, it will automatically search for that users game via /game gamename.

This will also play track_done.wav once the player is in-game. This is to notify the user is in-game, and GProxy is searching for their game name.

Code was provided by a previous suggestion made in 2011.
(w3gh#5)
• Sound notification works/tested on Windows/Mac.
• track_done.wav provided with compiled GProxy on ENT Gaming Wiki.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant