Jump to content
Sign in to follow this  
Tyld

Counter

Recommended Posts

Tyld

Hy i was wandering if sb could help me. I want to create a counter for some game taht will count from 60 to 0. The problem i got is thhat when i make a window that is suppouse to display my counter it minimize my game. i was wandering if there is any possibility that i could display that clock without minimizing.

Share this post


Link to post
Share on other sites
jvanegmond

I've been thinking about this too. I thought that a like solution was to output through sound using the SAPI.Speach object or the Beep function. Otherwise, you could run the game in a window.

Share this post


Link to post
Share on other sites
Thatsgreat2345

i think tooltips might be able to stay up on the active window

Share this post


Link to post
Share on other sites
newb_powa'

i think tooltips might be able to stay up on the active window

I think if you put Winsetontop to your GUI it should work, I did something similar with a guy for a game called World of Warcraft an it worked. Or try to put the game in windowed mode ;)

Share this post


Link to post
Share on other sites
Thatsgreat2345

no it doenst work not for a full screen game

Share this post


Link to post
Share on other sites
newb_powa'

no it doenst work not for a full screen game

hum ... yeah ... I tested and is doesn't work on full screen ...

But I tested a tooltip and it seem to work, but it *flash* a lot, I think the game is having a too big frame rate to let the tooltip stay on top all the time ^^. By flash I mean I see it like 1/2 sec then hide 1/2 sec and then see it again ...

I don't know if it help you ;)

Share this post


Link to post
Share on other sites
Paulie

Try running your game in a window.

"WinSetOnTop" and "$WS_TOPMOST" should work if you game is in a window, even if it does cover the whole screen.

Share this post


Link to post
Share on other sites
Thatsgreat2345

yes but depending on the game you may or may not have the option of running it in a window, if you do not have the option then there is always debugging it to force it into a window but you'll have to learn that yourself

Share this post


Link to post
Share on other sites
Tyld

Thx for your help so far, but unfortuntely its not possible to run these game in window mode:(. i know taht tooltip works but that flashing thing is annoying when you pay for longer time and you dont have possibility to modify colours or enything on that tooltip. Thats why if anybody will figure something out plz share ;)

Share this post


Link to post
Share on other sites
Thatsgreat2345

What game is it, if it's easy enough ill pop it open in olly and see what I can do.

Share this post


Link to post
Share on other sites
Paulie

Yes, what game is it? have you tried adding "-window" or "-w" to the shortcut to the .exe? I have yet to find a game for which that doesn't work.

Share this post


Link to post
Share on other sites
Thatsgreat2345

Yes, what game is it? have you tried adding "-window" or "-w" to the shortcut to the .exe? I have yet to find a game for which that doesn't work.

there are plenty that it doesn't work for ;)

Share this post


Link to post
Share on other sites
jvanegmond

I know a few games where you have to press a key combination in-game to switch to windowed mode.. I think the key combination was Alt+Enter.

Share this post


Link to post
Share on other sites
Paulie

I know a few games where you have to press a key combination in-game to switch to windowed mode.. I think the key combination was Alt+Enter.

that works for command prompt....

Share this post


Link to post
Share on other sites
Tyld

the game name is Helbreath. And i was even trying to use 3d analyzer to force the window mode but it didnt worked.

Share this post


Link to post
Share on other sites
jvanegmond

the game name is Helbreath. And i was even trying to use 3d analyzer to force the window mode but it didnt worked.

I've googled a little on helbreath myself, and turns out noone has created such a thing yet. So, I think you should go with sound, or you could try to force a window on top.. Or hack the game yourself to make it show in a window.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×