|
![]() |
|
| Author |
|
|||||||
|
Morgish
Posts: 3192
Location: Gold Coast, Queensland
|
Hey guys,
i need a little app made up. doesnt have to be vb but i thought it would be the most used. i need a little app that does the following.. on a keypress of a certin the, a 20 second timer will start and when that 20 seconds is up a .wav file will be played. it need to work every time i press it so it just doesnt work once then need to be restarted. also needs to work in the backgroud. Thanks heaps. |
|||||||
| #0 08:40pm 29/09/02 |
|
|||||||
|
system
|
--
|
|||||||
| #0 |
|
|||||||
|
Swiss_Cheeseman
Posts: 776
Location: Gold Coast, Queensland
|
can it be an mp3?
|
|||||||
| #1 08:36pm 29/09/02 |
|
|||||||
|
WarT
Posts: 8743
Location: Brisbane, Queensland
|
i would but i havn't got visual studio any more :(
|
|||||||
| #2 08:36pm 29/09/02 |
|
|||||||
|
trog
Posts: 8761
Location: Brisbane, Queensland
|
programmers has two m's
|
|||||||
| #3 08:36pm 29/09/02 |
|
|||||||
|
eYe_kAnDy
Posts: 3161
Location: Brisbane, Queensland
|
Does he mean pro-gamers? cause i can help in that department (roofle)
|
|||||||
| #4 08:37pm 29/09/02 |
|
|||||||
|
WarT
Posts: 8744
Location: Brisbane, Queensland
|
watch out trog's on the war path
|
|||||||
| #5 08:37pm 29/09/02 |
|
|||||||
|
Shadow
Posts: 850
Location: Melbourne, Victoria
|
I don't have VB at home but if I get some time I'll see what I can do for ya.
|
|||||||
| #6 08:37pm 29/09/02 |
|
|||||||
|
Morgish
Posts: 3193
Location: Gold Coast, Queensland
|
can it be an mp3? yes of course i would but i havn't got visual studio any more :( dammit programmers has two m's Sorry, ill get onto that for ya trog I don't have VB at home but if I get some time I'll see what I can do for ya. cheers dude, but if somone beats ya then ill have to take it :) |
|||||||
| #7 08:39pm 29/09/02 |
|
|||||||
|
B@ssM@n
Posts: 300
Location: Brisbane, Queensland
|
Throw the Timer object onto your form. Set it to fire off its interrupt every 20 secs (check it's properties).
Add your code to play a wav file in the TTimer Event (double click on the Timer object). Google around to find some easy ocx components that will allow you to play whatever media you like (unless you know how to use media in VB or activeX). gl - it's not hard :) |
|||||||
| #8 08:53pm 29/09/02 |
|
|||||||
|
Morgish
Posts: 3194
Location: Gold Coast, Queensland
|
i dont have vb :(
|
|||||||
| #9 09:16pm 29/09/02 |
|
|||||||
|
Swiss_Cheeseman
Posts: 777
Location: Gold Coast, Queensland
|
This isnt exactly VB, i made it using multimedia fusion. It does what its supposed to though.
http://users.bigpond.net.au/cheesecovers/countinstall.exe Install everything in the archive to the same folder. Yes, there is a dll in there, no, it isnt a trojan, its a runtime dll for the exe I made. Anyway, i didnt label everything, so ill give you instructions here: http://users.bigpond.net.au/cheesecovers/count.jpg |
|||||||
| #10 09:21pm 29/09/02 |
|
|||||||
|
Swiss_Cheeseman
Posts: 778
Location: Gold Coast, Queensland
|
I originally had a much nicer skin, but I deleted it =/
You can change it if you want, but the first pixel is always the transparent one. |
|||||||
| #11 09:22pm 29/09/02 |
|
|||||||
|
Swiss_Cheeseman
Posts: 779
Location: Gold Coast, Queensland
|
Oh, press enter to play it with keypress.
If you want any changes, I can do them for you, just post here, or msn me at sw113@hotmail.com |
|||||||
| #12 09:24pm 29/09/02 |
|
|||||||
|
Morgish
Posts: 3195
Location: Gold Coast, Queensland
|
tahts a f***ing excellent start man,
thanks heaps for doing. I dont need a button... i need it so on a keypress... say urmm.. f it will start. instead of clicking start. so it also works in a game. cheers. |
|||||||
| #13 09:26pm 29/09/02 |
|
|||||||
|
Morgish
Posts: 3196
Location: Gold Coast, Queensland
|
once it gets pressed, it shouldnt start timing again until i press the button.
so... press f, 20 down to 0, sound plays, stops. unless time of waiting press f, 20 down to 0, sound plays, stops. |
|||||||
| #14 09:27pm 29/09/02 |
|
|||||||
|
Swiss_Cheeseman
Posts: 780
Location: Gold Coast, Queensland
|
doing that is much much much harder, dont think you can do it in mmf (and youd need to know a vb pretty well to do it in vb as well) simply because by default, windows only registers keystrokes from the program thats alive, not from stuff in the background.
|
|||||||
| #15 09:30pm 29/09/02 |
|
|||||||
|
Morgish
Posts: 3198
Location: Gold Coast, Queensland
|
awwwwwwwww, f***ing... do u think u could give it ago ? :)
/me flusshers his eyelashses |
|||||||
| #16 09:31pm 29/09/02 |
|
|||||||
|
WarT
Posts: 8745
Location: Brisbane, Queensland
|
what the hell is it for any way?
|
|||||||
| #17 09:32pm 29/09/02 |
|
|||||||
|
Morgish
Posts: 3199
Location: Gold Coast, Queensland
|
timing red ammor in q3
|
|||||||
| #18 09:32pm 29/09/02 |
|
|||||||
|
Swiss_Cheeseman
Posts: 781
Location: Gold Coast, Queensland
|
eheh, cheaty =P
Nah, I dont think I can, I got pretty much every plugin for MMF on the planet, and there isnt one that allows you to do that. =/ Sorry man. But hey! Your free to use the program for other stuff! =D |
|||||||
| #19 09:37pm 29/09/02 |
|
|||||||
|
Morgish
Posts: 3200
Location: Gold Coast, Queensland
|
hehe thanks anyways man. i have an idea, and i will get back to you in a min
|
|||||||
| #20 09:40pm 29/09/02 |
|
|||||||
|
Morgish
Posts: 3201
Location: Gold Coast, Queensland
|
nah my idea didnt work.
but if anyone else can help me that would be great! |
|||||||
| #21 09:42pm 29/09/02 |
|
|||||||
|
DaFuGG
Posts: 438
Location: Brisbane, Queensland
|
surely there would be some scripting function in q3a to do that
either way - your best bet is c++ if you can get me the source to q3a 1.31 i'll do it for you.. or alternatively.. you could just add a hook and go from there or even crappier still.. i could modify the actual interrupt table .. but i don't think thats a good idea unless you've found some magical way to run q3a under dos 6.22 :) |
|||||||
| #22 09:45pm 29/09/02 |
|
|||||||
|
Morgish
Posts: 3202
Location: Gold Coast, Queensland
|
ok, im lost
|
|||||||
| #23 09:45pm 29/09/02 |
|
|||||||
|
Scuzzy
Posts: 6329
Location: Brisbane, Queensland
|
get the source of OGC, remove the cheaty bits, add the beepy bits.
|
|||||||
| #24 10:24pm 29/09/02 |
|
|||||||
|
Morgish
Posts: 3204
Location: Gold Coast, Queensland
|
hah!
|
|||||||
| #25 10:23pm 29/09/02 |
|
|||||||
|
WarT
Posts: 8746
Location: Brisbane, Queensland
|
scuzzy has the idea :P
|
|||||||
| #26 10:33pm 29/09/02 |
|
|||||||
|
system
|
--
|
|||||||
| #26 |
|
|||||||
|
| ||||||||