top_left top_right
bottom_left
Next Event: Unknown | Forum Rules | QGL Website | Event Registration
openFolder AusForums.com
iconwatfolderLineopenFolder LANs
iconwatfolderLineopenFolder QGL
iconwatfolderLineopenFolder QGL Forum
Author
Topic: VB Programmers - Need a fav
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.
system
--
Swiss_Cheeseman
Posts: 776
Location: Gold Coast, Queensland
can it be an mp3?
WarT
Posts: 8743
Location: Brisbane, Queensland
i would but i havn't got visual studio any more :(
trog
Posts: 8761
Location: Brisbane, Queensland
programmers has two m's
eYe_kAnDy
Posts: 3161
Location: Brisbane, Queensland
Does he mean pro-gamers? cause i can help in that department (roofle)
WarT
Posts: 8744
Location: Brisbane, Queensland
watch out trog's on the war path
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.
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 :)
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 :)
Morgish
Posts: 3194
Location: Gold Coast, Queensland
i dont have vb :(
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
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.
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
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.
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.
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.
Morgish
Posts: 3198
Location: Gold Coast, Queensland
awwwwwwwww, f***ing... do u think u could give it ago ? :)

/me flusshers his eyelashses
WarT
Posts: 8745
Location: Brisbane, Queensland
what the hell is it for any way?
Morgish
Posts: 3199
Location: Gold Coast, Queensland
timing red ammor in q3
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
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
Morgish
Posts: 3201
Location: Gold Coast, Queensland
nah my idea didnt work.

but if anyone else can help me that would be great!
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 :)
Morgish
Posts: 3202
Location: Gold Coast, Queensland
ok, im lost
Scuzzy
Posts: 6329
Location: Brisbane, Queensland
get the source of OGC, remove the cheaty bits, add the beepy bits.
Morgish
Posts: 3204
Location: Gold Coast, Queensland
hah!
WarT
Posts: 8746
Location: Brisbane, Queensland
scuzzy has the idea :P
system
--
Not a new post since your last visit.
New Post Since your last visit
Back To Forum
Advertise with Us | Privacy Policy | Contact Us
© Copyright 2001-2026 AusGamers Pty Ltd. ACN 093 772 242.
Hosted by Mammoth Networks - Australian VPS Hosting
Web development by Mammoth Media.