pekster Posted May 7, 2004 Share Posted May 7, 2004 (edited) I would like a way to notify a user of an event "nicely," and my users may be in a full screen game at the time. By nicely I mean the game should not minimize like it does when a MsgBox() call is made. I tried a ToolTip("message", 0, 0) command while in a full screen directX game (Diablo II), but it only appears for half a second before vanishing. Here is my test code: Sleep(1000*10);gives me time to get into the full screen game to test ToolTip("ToolTip Message", 0, 0) Sleep(1000*10);assure that the tooltip has plenty of time to be viewed edited to correct a minor mistake Edited May 7, 2004 by pekster [font="Optima"]"Standing in the rain, twisted and insane, we are holding onto nothing.Feeling every breath, holding no regrets, we're still looking out for something."[/font]Note: my projects are off-line until I can spend more time to make them compatable with syntax changes. Link to comment Share on other sites More sharing options...
Valik Posted May 7, 2004 Share Posted May 7, 2004 The tooltip is forced on top already. Other people have used tooltips for this same purpose with no problems, so I guess Diablo is causing the tip to disappear by how it behaves. Link to comment Share on other sites More sharing options...
dazzyreil Posted May 7, 2004 Share Posted May 7, 2004 hmm maybe d2 disables it cuz loads of ppl try to hack d2 so blizz added alot of anti hack stuff to d2 so maybe d2 thinks the tooltip is a hack attempt.. Link to comment Share on other sites More sharing options...
Valik Posted May 7, 2004 Share Posted May 7, 2004 Its more likely to do with painting the screen and stuff like that. Motherboard Monitor 5 has an on-screen display for displaying the temperature of the processor and stuff. I can get this display to appear in some games, but not in others. In some games it will flash for a second or appear in a different color than what it is supposed to. I highly doubt Blizzard went to the trouble of detecting a tooltip on top of their game when there are so many more important hacks that are jacking into the memory space of the game. Link to comment Share on other sites More sharing options...
pekster Posted May 7, 2004 Author Share Posted May 7, 2004 That was the problem. It still flickers in other fullscreen games, but at least it stays viewable. Diablo II just doesn't play nice with tooltips. Thanks for your help. [font="Optima"]"Standing in the rain, twisted and insane, we are holding onto nothing.Feeling every breath, holding no regrets, we're still looking out for something."[/font]Note: my projects are off-line until I can spend more time to make them compatable with syntax changes. Link to comment Share on other sites More sharing options...
scriptkitty Posted May 7, 2004 Share Posted May 7, 2004 use adlib to keep it up, it will flicker, but stay on top just fine. AdlibEnable ("tip",2) $x="Hello there" While 1 sleep(10) Wend Func tip() tooltip($x,0,0) EndFunc AutoIt3, the MACGYVER Pocket Knife for computers. Link to comment Share on other sites More sharing options...
pekster Posted May 7, 2004 Author Share Posted May 7, 2004 Fantastic solution. Thank you! [font="Optima"]"Standing in the rain, twisted and insane, we are holding onto nothing.Feeling every breath, holding no regrets, we're still looking out for something."[/font]Note: my projects are off-line until I can spend more time to make them compatable with syntax changes. Link to comment Share on other sites More sharing options...
Moja Posted May 8, 2004 Share Posted May 8, 2004 Hey i play Diablo II too on the europe realm, and in the process of learning how to use AutoIt scripts. Interesting that you get a much higher refresh rate when you bring the map up (TAB)? Weird :/ Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now