LightbulbMW3 Media Player [Simple]

Posts 1–15 of 29 · Page 1 of 2
MW3 Media Player [Simple]
Well, I just made a media player for you guys.
If any wonder why I did this, it's because I feel it would be nice to have a media player that register my Keys Pressed.
So I don't have to go out of the game to change song, or start a new song.

This Idea is from the Advanced Modern Warfare 3 Editor V4.1
Credits go therefore to - @Anonymouss

I have also included the Source Code in the Spoiler Under. (Language = C#)
 
Click here to view Source Code

Code:
private void button1_Click(object sender, EventArgs e)
        {
            try
            {
                listBox1.Items.Clear();
                OpenFileDialog a = new OpenFileDialog();
                a.Multiselect = true;
                a.ShowDialog(this);
                foreach (string b in a.FileNames)
                {
                     listBox1.Items.Add(b);
                }
                listBox1.SelectedIndex = 0;
                Play();
            }
            catch { }
        }


        void Play()
        {
            axWindowsMediaPlayer1.URL = listBox1.SelectedItem.ToString();
            axWindowsMediaPlayer1.Ctlcontrols.play();
        }

        private void listBox1_SelectedIndexChanged(object sender, EventArgs e)
        {
            Play();
        }


        bool visu = true;
        [DllImport("user32.dll")]
        public static extern Int16 GetAsyncKeyState(Keys vKey);
        private void timer1_Tick(object sender, EventArgs e)
        {
            try
            {
                if (Convert.ToBoolean(GetAsyncKeyState(Keys.F1))) { Play(); }
                if (Convert.ToBoolean(GetAsyncKeyState(Keys.F2))) {  axWindowsMediaPlayer1.Ctlcontrols.stop(); }
                if (Convert.ToBoolean(GetAsyncKeyState(Keys.F3))) { listBox1.SelectedIndex++; Play(); }
                if (Convert.ToBoolean(GetAsyncKeyState(Keys.F4))) { listBox1.SelectedIndex--; Play(); }
                if (Convert.ToBoolean(GetAsyncKeyState(Keys.Insert))){if (visu) { visu = false; this.Hide(); } else { visu = true; this.Show(); }}
                if (Convert.ToBoolean(GetAsyncKeyState(Keys.End))) { Application.Exit(); }
            }
            catch { }
        }

        private void timer2_Tick(object sender, EventArgs e)
        {
            if (axWindowsMediaPlayer1.playState == WMPPlayState.wmppsStopped) { listBox1.SelectedIndex++; Play(); }
        }


Note: the DLLs that are included are needed. Those DLLs are the Windows Media Player DLLs. (Required to run the Program)
And yes... The Stop is bugged :S

Our lovely image


And the beloved Virus scans that most don't bother to look on
Our First Scan 0/43
Our Second Scan 0/20
MW3IMP.rar86 KB · 237 downloads Scanning…
Is this reason for ban?
Quote Originally Posted by t1r4n0s View Post
Is this reason for ban?
...
/dumb

Really, this is a media player.
How can they ban you for using a media player?

And why would a media player need to use MW3 to play your music.


So NO!
Why did u make a double post to answer me?
1. GJ
2. Where is the Replay ? (i mean i love to listen all songs again & agian)
3. This is Universal Tool Am I right?
Quote Originally Posted by EpicCockMuncherNo1 View Post
1. GJ
2. Where is the Replay ? (i mean i love to listen all songs again & agian)
3. This is Universal Tool Am I right?
1: Thanks
2: Press F1 (Play will also Mean Replay :S)
3: Indeed it is


Quote Originally Posted by t1r4n0s View Post
Why did u make a double post to answer me?
Didn't mean to do that :S
Was just that MPGH is a bit unstable now, so it took some time. (So I pressed post 2 times...)
Tested & working fine Bro. But for me nothing to use as mw3 is simple tab out like the Most Games ! Would make more sense for MW2.

Anyway THX. GJ as Always
This is a cute thank you
So does it show on the mw3 screen?
Good job Jorndel, looks nice

Will give it a try when I get back home.

- NiPP@
Quote Originally Posted by LokiStormBringer View Post
I do look at virus scans
Well, you one of not so many.
(Because if they get approved, means they are mostly like clean and safe as they can be.)
I just don't see how this is relevant to mw3
Quote Originally Posted by willrulz188 View Post
I just don't see how this is relevant to mw3
Who do...
I was just bored, and since the one that was made before didn't work.
I just made a working one for they who wanted this.


But hey, who cares.
There is no need for anything I make anymore :S
Quote Originally Posted by Jorndel View Post
Who do...
I was just bored, and since the one that was made before didn't work.
I just made a working one for they who wanted this.


But hey, who cares.
There is no need for anything I make anymore :S
I'm going to release one soon too :s so don't think your the only one whos going to release one

just have to get the hotkeys going then done
Posts 1–15 of 29 · Page 1 of 2

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us