Jump to content

Niv

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by Niv

  1. Oh, you misunderstood me then. It does display smoothly on the Windows Xp desktop of course. However it blinks and distorts when I'm in World of Warcraft full screen mode (1280x1024 85Hz 24bits). It must be some kind of synchronisation display problem, any way to counter it?
  2. No, I want it to be shown for only 1-2 seconds. Right now it blinks very fast for that 1 second or so. Even if you set the tooltip to display infinitely it will keep on blinking all the time. My ideal would be that it stays there smoothly and does not blink/distort.
  3. Nope, the text box still blinks to hell and back for 1-2 sec if not shorter. When I increase the sleep time to 5000, it gives the same effect. But the script itself works well.
  4. Cameronsdad, fortunately the pause key works well and WoW does not interfere with it. Valuater, much thanks, your bit of code really helped a lot! I've revised it, I know the code isn't perfect, but most important of all the app works as intended. Clicking pause starts it, clicking pause again stops it, rinse and repeat. Is there any way to display the ToolTip('AntiAFK started.',0,0) in a smooth manner? Even if I set it to display for 1 or 2 seconds. For those 2 seconds it flashes and blinks very fast, like if there was some problem with the refresh rate or whatever. Is there any way to display the ToolTip smoothly? Here's the revised code that works: WinWaitActive("World of Warcraft") HotKeySet("{PAUSE}", "TogglePause") HotKeySet("!{PAUSE}","Quit") Dim $Paused TogglePause() While 1 Start() WEnd func Start() ToolTip('AntiAFK started.',0,0) Sleep(1000) ToolTip("") While 1 Send("{SPACE}") Sleep(Random(120000,240000)) WEnd EndFunc Func TogglePause() $Paused = NOT $Paused While $Paused WEnd Start() EndFunc func Quit() Exit EndFunc
  5. This script helps WoW for a simple reason. I play the European version of WoW and they haven't fixed /afk flag reseting upon joining a battleground instance. What this means is that if I afk for longer than 5 minutes, the /afk flag gets attached to me. I'm sitting in the battleground queue, a spot becomes available, my autojoin addon then autojoins it. Then I get kicked from the battleground because I had the /afk flag. Blizzard said that joining a battleground should reset your /afk but it doesn't. They need to hotfix it, otherwise you get kicked everytime. Queues take about 20-40 minutes and I can assure you I don't feel like coming every 5 minutes to my computer and hitting the space button.
  6. Been making a World of Warcraft AutoIt script. What this script basicly does is spam SPACE every 2-4 minutes. First it goes into a standby mode (infinitely loops). Then when I press the PAUSE key it initiates the anti afk routine and hits space every 2-4 minutes. Up to this part it works. Now when I hit PAUSE it does pause as I want it to. Now the problem is, when I hit PAUSE again to resume it, it doesn't. Why? I'd like it to be able to pause and resume. I can start, I can pause, but then I can't resume it. No idea why Know any further tricks to improve or shorten my script? Thanks in advance. Code below: WinWaitActive("World of Warcraft") HotKeySet("{pause}","activate") HotKeySet("!{pause}","inactive") While 1 $a = 0 inactive() $a = 0 start() WEnd func inactive() Do Until $a = 1 EndFunc func activate() $a = 1 EndFunc func start() Do Send("{SPACE}") Sleep(Random(120000,240000)) Until $a = 1 EndFunc func quit() Exit EndFunc
×
×
  • Create New...