-
2 Attachment(s)
Windows media player mod for GunZ
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:
Code:
v1.2 - Bug fixes
V1.1 - Changed chat output to output an error when the handle wasn't found.
V1 - First release
The version without messages doesn't need to be updated, so I have attatched the newer version.
-
Re: Windows media player mod for GunZ
interesting... i believe ive seen u on gzp alot? is this going to be the start of u switching from hacks to mods?
-
Re: Windows media player mod for GunZ
This is AMAZING! Keep up the good job!
-
Re: Windows media player mod for GunZ
Quote:
Originally Posted by
taurias
interesting... i believe ive seen u on gzp alot? is this going to be the start of u switching from hacks to mods?
I'd love to, But I don't think I am good enough yet to make anything decent, I'm still learning C++ and ASM so who knows :)
Quote:
Originally Posted by
phoenix_147
This is AMAZING! Keep up the good job!
Thanks man :)
-
Re: Windows media player mod for GunZ
nice one -- 10/10 !
i hope you can do all your ideas in good side to help us :)
-
Re: Windows media player mod for GunZ
Updated the first post, I forgot to say END activates commands... Whoops.
-
Re: Windows media player mod for GunZ
Nice Work 10/10 Good Jobs :)
-
Re: Windows media player mod for GunZ
Quote:
Originally Posted by
lDonatorl
Nice Work 10/10 Good Jobs :)
Thanks.
Wow, I didn't think it was going to be like this lol, I thought you were all going to say somthing like we already have keys for that noob.
Maybe I will release more stuff on here xD
Ok, so apparently there is a bug, I'm working on it.
So there wasn't a bug apparently.
-
Re: Windows media player mod for GunZ
-
Re: Windows media player mod for GunZ
Quote:
Originally Posted by
Joe9099
Excellent mod, well done
Thanks :)
Has anyone got any suggestions? I'll try my best to implement them (If possible, haha)
-
Re: Windows media player mod for GunZ
very nice xdd
i dont like minimize gunz for change music or stop or something xdd
i go to check it
and thanks for the source
-
Re: Windows media player mod for GunZ
you may wanna doublecheck the
PrintMessage("Getting Windows Media Player's handle!");
Sleep(500);
GetWM();
PrintMessage("Found!");
-
Re: Windows media player mod for GunZ
but @ thing is used for private chat typing. so I guess that if I do @play, it will got to chat lol... why not to use \ or %? :P
-
Re: Windows media player mod for GunZ
Quote:
Originally Posted by
pluke001
but @ thing is used for private chat typing. so I guess that if I do @play, it will got to chat lol... why not to use \ or %? :P
I suppose I could, but then it would output it to everyone in the room or the channel. I'll take a look.
Quote:
Originally Posted by
diablo3
you may wanna doublecheck the
PrintMessage("Getting Windows Media Player's handle!");
Sleep(500);
GetWM();
PrintMessage("Found!");
I'll work on that.
Ok, I've fixed error handling.
Updated project can be found here:
http://www.sendspace.com/file/dbop06
-
Re: Windows media player mod for GunZ
Quote:
Originally Posted by
Brandon-Bmx
I suppose I could, but then it would output it to everyone in the room or the channel. I'll take a look.
I'll work on that.
Ok, I've fixed error handling.
Updated project can be found here:
http://www.sendspace.com/file/dbop06
Well done man, you dont give up on projects, this is what all people working on projects should be like.
Looking forward to seeing other mods later on in date, like a proper attack and defend system? lol
-
Re: Windows media player mod for GunZ
Quote:
Originally Posted by
Joe9099
Well done man, you dont give up on projects, this is what all people working on projects should be like.
Looking forward to seeing other mods later on in date, like a proper attack and defend system? lol
That could be possible.
If the player's position is past X then it teleports them back to the base.
Thanks for the idea!
In other news:
Updated to 1.2 and source has been updated.
Without chat output is still stable.
-
Re: Windows media player mod for GunZ
wow! nice work!! Thnx.. 10/10
-
Re: Windows media player mod for GunZ
Quote:
Originally Posted by
Brandon-Bmx
I suppose I could, but then it would output it to everyone in the room or the channel. I'll take a look.
You could remove the input from being outputted through zchat::input
ya also, not diablo3 postin, borrowin acc.
-
Re: Windows media player mod for GunZ
Quote:
Originally Posted by
diablo3
You could remove the input from being outputted through zchat::input
ya also, not diablo3 postin, borrowin acc.
Yeah, I suppose I could hook ZChat::Input. I've never tried hooking any functions before though but I will have a look.
-
Re: Windows media player mod for GunZ
Wow, considering i gave you the source for this.. i get.. no credits?
I remember my exact words when i shown you the source.
~ZxPwn
-
Re: Windows media player mod for GunZ
Quote:
Originally Posted by
NIRVANAdylan
Wow, considering i gave you the source for this.. i get.. no credits?
I remember my exact words when i shown you the source.
~ZxPwn
Quote:
Originally Posted by
Brandon-Bmx
Thanks, I didn't use your source, I lost it when I installed windows 7.
-
Re: Windows media player mod for GunZ
Do we need to inject this into matchserver or the runnable lol? i'm so confused. i read it and all and it didn't work.
-
Re: Windows media player mod for GunZ
Quote:
Originally Posted by
Phantom
Do we need to inject this into matchserver or the runnable lol? i'm so confused. i read it and all and it didn't work.
Into the client.
Pressing end will search for windows media player.
Once found, it will enable chat commands.
-
Re: Windows media player mod for GunZ
Nice wrk!!!
Posted via Mobile Device
-
Re: Windows media player mod for GunZ
Quote:
Originally Posted by
Brandon-Bmx
Into the client.
Pressing end will search for windows media player.
Once found, it will enable chat commands.
Ah ok thank you. :P good job btw,