Windows media player mod for GunZ

Page 1 of 2 12 LastLast
Results 1 to 25 of 36
  1. #1
    Member Brandon-Bmx is offline
    MemberRank
    Aug 2009 Join Date
    57Posts

    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.
    Attached Files Attached Files
    Last edited by Brandon-Bmx; 30-10-09 at 11:12 PM.


  2. #2
    Proficient Member taurias is offline
    MemberRank
    Dec 2008 Join Date
    178Posts

    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?

  3. #3
    Ā  Phoenix is offline
    ModeratorRank
    Mar 2009 Join Date
    6,890Posts

    Re: Windows media player mod for GunZ

    This is AMAZING! Keep up the good job!

  4. #4
    Member Brandon-Bmx is offline
    MemberRank
    Aug 2009 Join Date
    57Posts

    Re: Windows media player mod for GunZ

    Quote Originally Posted by taurias View Post
    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 View Post
    This is AMAZING! Keep up the good job!
    Thanks man :)

  5. #5
    Account Upgraded | Title Enabled! ProGunzsoul is offline
    MemberRank
    Jul 2008 Join Date
    332Posts

    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 :)

  6. #6
    Member Brandon-Bmx is offline
    MemberRank
    Aug 2009 Join Date
    57Posts

    Re: Windows media player mod for GunZ

    Updated the first post, I forgot to say END activates commands... Whoops.

  7. #7
    Account Upgraded | Title Enabled! lDonatorl is offline
    MemberRank
    Sep 2009 Join Date
    FranceLocation
    272Posts

    Re: Windows media player mod for GunZ

    Nice Work 10/10 Good Jobs :)

  8. #8
    Member Brandon-Bmx is offline
    MemberRank
    Aug 2009 Join Date
    57Posts

    Re: Windows media player mod for GunZ

    Quote Originally Posted by lDonatorl View Post
    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.
    Last edited by Brandon-Bmx; 29-10-09 at 11:29 PM.

  9. #9
    I am THE DON Joe9099 is offline
    MemberRank
    Jan 2007 Join Date
    England, UkLocation
    3,655Posts

    Re: Windows media player mod for GunZ

    Excellent mod, well done

  10. #10
    Member Brandon-Bmx is offline
    MemberRank
    Aug 2009 Join Date
    57Posts

    Re: Windows media player mod for GunZ

    Quote Originally Posted by Joe9099 View Post
    Excellent mod, well done
    Thanks :)
    Has anyone got any suggestions? I'll try my best to implement them (If possible, haha)

  11. #11
    My Religion: Love ♄ diosz is offline
    MemberRank
    Feb 2008 Join Date
    IDK~Location
    314Posts

    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

  12. #12
    Enthusiast diablo3 is offline
    MemberRank
    Jan 2007 Join Date
    Pedo LandLocation
    40Posts

    Re: Windows media player mod for GunZ

    you may wanna doublecheck the
    PrintMessage("Getting Windows Media Player's handle!");
    Sleep(500);
    GetWM();
    PrintMessage("Found!");

  13. #13
    What year is this? pluke001 is offline
    MemberRank
    Nov 2008 Join Date
    LithuaniaLocation
    941Posts

    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

  14. #14
    Member Brandon-Bmx is offline
    MemberRank
    Aug 2009 Join Date
    57Posts

    Re: Windows media player mod for GunZ

    Quote Originally Posted by pluke001 View Post
    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 View Post
    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
    Last edited by Brandon-Bmx; 30-10-09 at 07:17 PM.

  15. #15
    I am THE DON Joe9099 is offline
    MemberRank
    Jan 2007 Join Date
    England, UkLocation
    3,655Posts

    Re: Windows media player mod for GunZ

    Quote Originally Posted by Brandon-Bmx View Post
    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

  16. #16
    Member Brandon-Bmx is offline
    MemberRank
    Aug 2009 Join Date
    57Posts

    Re: Windows media player mod for GunZ

    Quote Originally Posted by Joe9099 View Post
    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.
    Last edited by Brandon-Bmx; 30-10-09 at 08:10 PM.

  17. #17
    Faraday Das Neves Jizeth is offline
    MemberRank
    Sep 2008 Join Date
    VenezuelaLocation
    392Posts

    Re: Windows media player mod for GunZ

    wow! nice work!! Thnx.. 10/10

  18. #18
    Enthusiast diablo3 is offline
    MemberRank
    Jan 2007 Join Date
    Pedo LandLocation
    40Posts

    Re: Windows media player mod for GunZ

    Quote Originally Posted by Brandon-Bmx View Post
    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.

  19. #19
    Member Brandon-Bmx is offline
    MemberRank
    Aug 2009 Join Date
    57Posts

    Re: Windows media player mod for GunZ

    Quote Originally Posted by diablo3 View Post
    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.

  20. #20
    Proficient Member NIRVANAdylan is offline
    MemberRank
    Feb 2007 Join Date
    179Posts

    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

  21. #21
    Member Brandon-Bmx is offline
    MemberRank
    Aug 2009 Join Date
    57Posts

    Re: Windows media player mod for GunZ

    Quote Originally Posted by NIRVANAdylan View Post
    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 View Post
    Credits:
    Brandon-Bmx
    [c++ Tut ]Windows Applications Remote Control (Mod On Reckah's ) - MPC Forums
    Mirageofpenguins for the d3d9 injection method.
    Thanks, I didn't use your source, I lost it when I installed windows 7.

  22. #22
    Proficient Member Phantom is offline
    MemberRank
    Sep 2009 Join Date
    163Posts

    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.

  23. #23
    Member Brandon-Bmx is offline
    MemberRank
    Aug 2009 Join Date
    57Posts

    Re: Windows media player mod for GunZ

    Quote Originally Posted by Phantom View Post
    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.

  24. #24
    Account Upgraded | Title Enabled! Azet is offline
    MemberRank
    Jun 2008 Join Date
    283Posts

    Re: Windows media player mod for GunZ

    Nice wrk!!!
    Posted via Mobile Device

  25. #25
    Proficient Member Phantom is offline
    MemberRank
    Sep 2009 Join Date
    163Posts

    Re: Windows media player mod for GunZ

    Quote Originally Posted by Brandon-Bmx View Post
    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,



Page 1 of 2 12 LastLast

Advertisement