Ok, so basically this allows you to control windows media player from gunz using chat commands.
This is my first contribution to ragezone.
I know guy is going to criticize me and maybe phail but oh well.
I am aware that some keyboards have buttons that do the same job, I will just ignore you if you state this.
If you want a quick way to use them, you can bind them to your in-game macros.
If I can, I will add some stuff like getting the current song title (If it's possible!)
Commands:
@Play = play the selected song
@Stop = Stop the currently playing song
@Next = Play the next song in the playlist
@Previous = Play the previous song in the playlist
@Mute = Mute the volume (Only applies to windows media player)
@Unmute = Un-mute the volume (Only applies to windows media player)
@volup = Turns the volume up (Only applies to windows media player)
@voldown = Turns the volume down (Only applies to windows media player)
Hotkeys:
END = Activates chat commands. After activated this will activate/deactivate chat commands and display the Chat commands/hotkeys (It will only show the hotkeys and commands in the version with chat output on.)
Numpad + = Turn up the volume
Numpad - = Turn down the volume
Suggestions for improvement is welcome. I used ZChatOutput in this dll, and ZChatOutput is buggy, so I included the dll without ZChatOutput.
Credits:
Brandon-Bmx
[ame="http://www.mpcforum.com/showthread.php?t=124166"][c++ Tut ]Windows Applications Remote Control (Mod On Reckah's ) - MPC Forums[/ame]
Mirageofpenguins for the d3d9 injection method.
Source included.
You will need the latest .NET framework for this to work.
Also, This dll wont work on private servers with anti-cheat systems.
Have fun :)
The archives are too big for the attachment system so I will upload on an external site (Sorry) I will upload the dlls with the attachment system though.
Visual C++ 2008 project:
http://www.sendspace.com/file/j8pznr
Changelog:
The version without messages doesn't need to be updated, so I have attatched the newer version.Code:v1.2 - Bug fixes V1.1 - Changed chat output to output an error when the handle wasn't found. V1 - First release


Reply With Quote


