[AutoIT] ZK - 2 PCs menu

Shout-Out

User Tag List

Results 1 to 3 of 3
  1. #1
    x47hbk's Avatar Member
    Reputation
    1
    Join Date
    Jan 2012
    Posts
    6
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [AutoIT] ZK - 2 PCs

    Game Creater (lvl 60 Char)

    You will have to get the Coordinates and everything yourself with AutoIt Window Info application. I use a small resolution on my laptop, which probably not many people use. Check the MouseClick lines and replace the coords with the ones from the AutoIT Window Info. I might update it for 1920x1080 when I get my chars up

    It invites the person on top of your friendlist. So if you have multiple friends and the position changes... not much one can do about it....


    Code:
    Global $Paused, $Go = False, $Leave = True;
    
    HotKeySet("-","Begin")  ;script started by pressing -
    HotKeySet("p", "Pause") ;script paused by pressing p
    HotKeySet("x", "Stop") ;script stopped by pressing x
    
    
    While 1
    	Call("RestartRun")
    WEnd
    
    Func RestartRun()
    	If ($Go) Then
    		if($Leave) Then
    			$i = 0
    			MouseClick("left", 1250, 706) ; open social window, bottom right
    			Sleep(400);
    			MouseClick("left", 1191, 266) ; invite top most player
    			Sleep(1500);
    			MouseClick("left", 170, 306) ; resume game
    			Sleep(7000); might have to increase this value, depending on your PCs speed, loading time to enter the game
    			Send("{ESC}") ; open game menu
    			Sleep(100);
    			MouseClick("left", 658, 414) ; leave game
    			Sleep(100);
    			MouseClick("left", 573, 452) ; confirm leave game                     
    			Sleep("6000"); might have to increase this value, depending on your PCs speed
    		Endif  
    	Endif
    EndFunc
    
    Func Begin()
    	$Go = Not $Go
    	Call("RestartRun")
    EndFunc   ;==>Begin
    
    Func Pause()
    	$Leave = False
    EndFunc
    
    Func Stop();
    	Exit
    EndFunc
    
    Func Leave()
    	$Leave = True
    EndFunc
    The leecher, 1920x1080 Fullscreen (Windowed)

    Code:
    Global $Paused, $Go = False, $Leave = True;
    HotKeySet("-","Begin")  ;script started by pressing =
    HotKeySet("p", "Pause") ;script paused by pressing -
    HotKeySet("x", "Stop") ;script stopped by pressing x
    Local $PixelCheck, $NewCheck;
    
    While 1
    	Call("RestartRun")
    WEnd
    
    Func RestartRun()
    	If ($Go) Then
    		if($Leave) Then
    			$i = 0
    			While 1; search for accept pixel
    				$PixelCheck = PixelSearch(1717, 916, 1739, 938, 0x36E400);
    				If not @error Then 
    					MouseClick("left", 1731, 926);		
    					ExitLoop;
    				EndIf
    				sleep(50);
    			Wend
    			
    			
    			Sleep(6000); ;; check this value
    			MouseClick("left", 467, 169); go near adria
    			
    			$PixelCheck = PixelCheckSum(21,193,75,198);
    			While 1; search for player left
    				$NewCheck = PixelCheckSum(21,193,75,198);
    				if $PixelCheck <> $NewCheck Then
    					MouseClick("left", 859, 377); click adria
    					Sleep(200);
    					Send("{SPACE}"); skip dialogue
    					Sleep(200);
    					Send("{SPACE}"); skip dialogue
    					Sleep(200);
    					Send("{SPACE}"); skip dialogue
    					Sleep(800);                       
    					MouseClick("left", 1254, 1027) ; open menu
    					Sleep(300);
    					MouseClick("left", 960, 580) ; leave game
    					ExitLoop;
    				EndIf
    				sleep(50);
    			Wend
    		Endif  
    	Endif
    EndFunc
    
    Func Begin()
    	$Go = Not $Go
    	Call("RestartRun")
    EndFunc   ;==>Begin
    
    Func Pause()
    	$Leave = False
    EndFunc
    
    Func Stop() ;to allow the script to stop
    	Exit
    EndFunc
    
    Func Leave()
    	$Leave = True
    EndFunc

    I don't really code in AutoIT, I "abused" notAres Sarkoth Script as Template. Maybe this is useful to someone.


    Start the Leecher first, as it will wait for the Invite at the bottom right. Once leecher is started, start the inviter and watch it go.

    Before you start the scripts:

    Kill ZK with both in Party, ensure that the Inviter doesn't get a Checkpoint at the terminus but spawns in the city when resuming the game.
    Last edited by x47hbk; 06-22-2012 at 07:23 AM.

    [AutoIT] ZK - 2 PCs
  2. #2
    08449's Avatar Contributor

    Reputation
    100
    Join Date
    Feb 2007
    Posts
    244
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    There are a few guides on this already.

    DeadlyDragon has a really good guide on how to set this up on 2 PC's. You also didn't mention the resolution you use (Only 1920x1080 for the leecher, what about the booster?).



  3. #3
    x47hbk's Avatar Member
    Reputation
    1
    Join Date
    Jan 2012
    Posts
    6
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I use a small resolution on my laptop, which probably not many people use
    For reference, my D3Prefs.txt for the creater/booster

    Code:
    DisplayModeWindowMode "1"
    DisplayModeWinLeft "1"
    DisplayModeWinTop "1"
    DisplayModeWinWidth "1296"
    DisplayModeWinHeight "758"
    DisplayModeUIOptWidth "1280"
    DisplayModeUIOptHeight "720"
    DisplayModeWidth "1280"
    DisplayModeHeight "720
    DisplayModeRefreshRate "60"
    DisplayModeBitDepth "32"

Similar Threads

  1. AutoIT
    By ashkanesla in forum World of Warcraft Bots and Programs
    Replies: 5
    Last Post: 08-31-2006, 12:43 PM
  2. [Autoit help]Modify hotkey to rightclick(fishbot)
    By darknavi in forum World of Warcraft General
    Replies: 4
    Last Post: 07-01-2006, 09:31 PM
  3. No fall dmg (autoIT)
    By KuRIoS in forum World of Warcraft Exploits
    Replies: 6
    Last Post: 06-19-2006, 12:22 PM
  4. autoIT question
    By Vel0city in forum World of Warcraft General
    Replies: 3
    Last Post: 06-18-2006, 02:54 PM
  5. AutoIt Macro for WoW AFK Bot
    By Matt in forum World of Warcraft Bots and Programs
    Replies: 8
    Last Post: 04-06-2006, 06:01 AM
All times are GMT -5. The time now is 02:05 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search