my Autohotkey 1.03 automatic Zoltun script 2 game clients on the one pc menu

User Tag List

Page 1 of 5 12345 LastLast
Results 1 to 15 of 73
  1. #1
    elexor's Avatar Private
    Reputation
    6
    Join Date
    Jun 2012
    Posts
    13
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    my Autohotkey 1.03 automatic Zoltun script 2 game clients on the one pc

    Hey just though to should share this script it was my first time using autohotkey so forgive me if its poorly coded it works perfectly tho.

    do this on normal mode up to 50 then switch to hell

    Instructions:

    1. run 2 copys of diablo 3 with the -launch command line option.
    2. set them both in windowed mode shrink them both to the smallest they will go and place them side by side.
    3. set your desktop background to solid black
    4. set the windowA and windowB cords in the script to match your desktop
    5. set cords for a blank space on your desktop for the script to click
    6. beat Zoltun on gameB collect the soulstone tp into town
    7. have gameA join gameB's game
    8. gameB leaves game and recreates in singleplayer.
    9. start bot with set hotkey.

    notes:
    had some problems on a dual monitor setup just use 1 or fix the code up for me.
    this will run completely unattended there is a rare occurrence where joining game will be greyed out the bot will pause if something goes wrong.

    Code:
    WinAx :=779									;position of window A bar used to select the window(screen cords)
    WinAy :=19
    
    WinBx :=1500									;position of window B bar used to select the window(screen cords)
    WinBy :=19
    
    Desktopx :=1800									;set this to an empty desktop space
    Desktopy :=300
    
    Pause::										;pause bot and reload script
    Reload
    Return
    
    Numpad1::									;hotkey to start the script
    
    Loop 99999									;times to loop about 16 seconds per run
    {
    	
    	MouseClick, left,  %Desktopx%,  %Desktopy%				;click empty desktop space(needed for some reason)
    	MouseClick, left,  %WinAx%,  %WinAy%					;select window A
    	Sleep, 100
    
    	PixelSearch, Px, Py, 9, 31, 802, 532, 0x1C2033, 3, Fast 		;find and click npc 100% accurate
    	MouseClick, left, %Px%, %Py%
    
    	Sleep, 4000								;Skip through dialog (my skip dialog key is numpad2 change it to suit you)
    	Send {Numpad2}											
    	Sleep, 98		
    	Send {Numpad2}
    	Sleep, 192
    	Send {Numpad2}
    	Sleep, 125
    	Send {Numpad2}
    	Sleep, 142
    	Send {Numpad2}
    	Sleep, 1000
    	MouseClick, left,  780,  589						;open social window
    	Sleep, 100
    	MouseClick, right,  646,  219						;right click friend
    	Sleep, 100
    	MouseClick, left,  678,  297						;click join party(sometimes join party can be greyed out for some reason and messes up the bot)
    	Sleep, 5000
    
    	PixelGetColor,Color,%WinAx%,%WinAy%					;if window A is closed pause script( need a solid black desktop background for this to work)
    
    	If Color=0x000000
    	{
     		pause
    	}
    	
    	PixelGetColor,Color,%WinBx%,%WinBy% 					;if window B is closed pause script( need a solid black desktop background for this to work)
    
    	If Color=0x000000
    	{
     		pause
    	}
    
    
    	MouseClick, left,  %Desktopx%,  %Desktopy%				;click empty desktop space(needed for some reason)
    	MouseClick, left,  %WinBx%,  %WinBy%					;select window b
    	Sleep, 100
    	Send, {ESC}								;open main menu
    	MouseClick, left,  393,  350						;leave game
    	Sleep, 100
    	MouseClick, left,  345,  382						;confirm		
    	Sleep, 4500
    	MouseClick, left,  141,  263						;wait and click start game
    	MouseClick, left,  %WinBx%,  %WinBy%					;select window b
    }
    my Autohotkey 1.03 automatic Zoltun script 2 game clients on the one pc-example-jpg
    Last edited by elexor; 06-23-2012 at 06:49 PM.

    my Autohotkey 1.03 automatic Zoltun script 2 game clients on the one pc
  2. #2
    ynlo's Avatar Corporal
    Reputation
    29
    Join Date
    Oct 2011
    Posts
    16
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Can you make a video for how to processe?

  3. #3
    elexor's Avatar Private
    Reputation
    6
    Join Date
    Jun 2012
    Posts
    13
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It's really easy to understand. maybe someone else can make a video but i don't really think its needed. just read the codes comments

  4. #4
    Retridin's Avatar Banned
    Reputation
    49
    Join Date
    Feb 2009
    Posts
    179
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    How do i use the script on 1280x1080 AHK confuses me

  5. #5
    SoulWeaver's Avatar Member
    Reputation
    1
    Join Date
    Jun 2012
    Posts
    10
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Where do you get the X Y Cordinates

  6. #6
    Messiuh's Avatar Active Member
    Reputation
    38
    Join Date
    Jul 2009
    Posts
    241
    Thanks G/R
    2/1
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No offense but, if you can't figure out how to get X,Y coordinates on your screen .. should you really be trying to exploit?

    Seems like you should tackle a few computing basics first.

  7. #7
    elexor's Avatar Private
    Reputation
    6
    Join Date
    Jun 2012
    Posts
    13
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Retridin View Post
    How do i use the script on 1280x1080 AHK confuses me
    your screen res doesn't matter aslong as the two windows fit on the screen look at the screen shot.

    use autoitwindow spy to find the cords in that screenshot

    left window and is the character being leveled
    WinAx :=
    WinAy :=
    right window is the character leaving and recreating the game
    WinBx :=
    WinBy :=

    this is just used to switch between windows

    look at the screen shot and run your two games like that i think its 640x480 but just shrink it down as far as it will go.
    Last edited by elexor; 06-23-2012 at 01:54 PM.

  8. #8
    elexor's Avatar Private
    Reputation
    6
    Join Date
    Jun 2012
    Posts
    13
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    btw guys you may have to adjust the sleep timers if your pc loads slower then mine

  9. #9
    Supremespeed's Avatar Member
    Reputation
    1
    Join Date
    Jan 2008
    Posts
    15
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Works for 1 loop, then minimizes both Diablo windows.

    *EDIT* Ahh I see, it's hitting the bottom corner of my screen which minimizes all windows.

    Nope, can't get it to select the proper location on the desktop at the end of the macro, once it loops it clicks the bottom right corner of the screen causing it to hit the minimize all button in W7.
    Last edited by Supremespeed; 06-23-2012 at 05:32 PM.

  10. #10
    Utharnl's Avatar Member
    Reputation
    1
    Join Date
    Mar 2011
    Posts
    7
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Works great for me. Had some problems with coordinates first because I use multiple desktops, but now it works fine!

    Could you maybe add something to pause the bot when the "join" button is not available?

  11. #11
    elexor's Avatar Private
    Reputation
    6
    Join Date
    Jun 2012
    Posts
    13
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Supremespeed View Post
    Works for 1 loop, then minimizes both Diablo windows.

    *EDIT* Ahh I see, it's hitting the bottom corner of my screen which minimizes all windows.

    Nope, can't get it to select the proper location on the desktop at the end of the macro, once it loops it clicks the bottom right corner of the screen causing it to hit the minimize all button in W7.
    did you change this to a place to click?

    Desktopx :=1800 ;set this to an empty desktop space
    Desktopy :=300

    also the screen cords don't work properly when using multiple monitors

  12. #12
    Fadeous's Avatar Sergeant
    Reputation
    3
    Join Date
    Jul 2011
    Posts
    60
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    lol if they cant figure out this they will never figure out mine haha awsome contribution tho

  13. #13
    elexor's Avatar Private
    Reputation
    6
    Join Date
    Jun 2012
    Posts
    13
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Utharnl View Post
    Works great for me. Had some problems with coordinates first because I use multiple desktops, but now it works fine!

    Could you maybe add something to pause the bot when the "join" button is not available?
    updated it with a simple pause button numpad1 now starts it

  14. #14
    Fadeous's Avatar Sergeant
    Reputation
    3
    Join Date
    Jul 2011
    Posts
    60
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    To have no game delay to have 22 second games

    Huge Tip for you guys this is how im doing it with my macro

    Have your 60/Highbie toon at the menu ,
    After your Lowbie Cashes in
    Have the Highbie invite him to the party, you get an Insta Exit, and you get an insta Game join No delays !!

  15. #15
    elexor's Avatar Private
    Reputation
    6
    Join Date
    Jun 2012
    Posts
    13
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    my script gets 16seconds per run i could speed it up even more but i figure this will be hotfixed soon anyways

Page 1 of 5 12345 LastLast

Similar Threads

  1. [Lua] Reload scripts in-game on the fly, ANY engine, ANY rev
    By Dynashock in forum WoW EMU General Releases
    Replies: 11
    Last Post: 07-09-2010, 01:16 AM
  2. [Lua Script] How to I reload lua scripts in-game ?
    By Wheeze201 in forum WoW EMU Questions & Requests
    Replies: 2
    Last Post: 06-27-2010, 08:28 AM
  3. "Item Scripting"? (E.g. "Backpack of the Monkey")
    By Omahz in forum World of Warcraft General
    Replies: 3
    Last Post: 03-10-2009, 10:25 PM
  4. [Script] Launch aoc without requiring the patcher to run first
    By raindog in forum Age of Conan Exploits|Hacks
    Replies: 18
    Last Post: 07-10-2008, 02:04 AM
  5. LUA scripting -- Making game objects cast spells.
    By Jotox in forum World of Warcraft Emulator Servers
    Replies: 6
    Last Post: 05-08-2008, 03:44 PM
All times are GMT -5. The time now is 09:57 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search