Results 1 to 1 of 1
  1. #1
    eutherin's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Posts
    48
    Reputation
    10
    Thanks
    5

    Temporary fix for MPMoi's battle script

    All credit for the entire script goes to MPmoi, in fact you should just download his script.


    The script was trying to click for me but it would switch back too fast for me so it wasn't actually clicking replay
    I replaced the section labeled "Click" with this code: (Adding in a sleep delay)
    Code:
    Click:
    	MouseGetPos, theX, theY
    	WinGet, temp, PID, A
    	for i, pID in Pids{
    		WinActivate, ahk_pid %pID%
    		WinMove,ahk_pid %pID%,,0,0,576,432
    		WinWaitActive, ahk_pid %pID%
    		Sleep 100
    		MouseMove, X, Y
    		Sleep 50
    		ControlClick, x%X% y%Y%, ahk_pid %PID%
    		MouseMove, X+1, Y+1
    		Sleep 50
    		ControlClick, x%X% y%Y%, ahk_pid %PID%
    	}
    	WinActivate, ahk_pid %temp%
    	MouseMove, theX, theY
    	return
    YMMV, 200 might work for you if not play around with it a little.

    EDIT:

    I changed it a little bit because i found that now instead of switching too fast the button wouldn't activate to be clicked. I used the X variable and Y variable +1 to cause it to move to the original point, click then move up and over 1 pixel causing the game to detect mouse movement before clicking again. This has been working for me for like 15 minutes with really high accuracy.
    Last edited by eutherin; 08-13-2017 at 03:38 PM.

Similar Threads

  1. Replies: 20
    Last Post: 08-12-2013, 06:56 PM
  2. Fixes for various Errors, Read!(straight from Nexon Forums)
    By mariokiller64 in forum Combat Arms Hacks & Cheats
    Replies: 9
    Last Post: 09-05-2008, 06:02 PM
  3. Fix For Engine.exe problem.
    By GeoForReal in forum Combat Arms Hacks & Cheats
    Replies: 7
    Last Post: 09-01-2008, 10:02 AM
  4. I HAVE A FIX FOR NOT VIEWING THREADS
    By sanchez in forum Trade Accounts/Keys/Items
    Replies: 1
    Last Post: 11-16-2007, 01:42 PM
  5. Fix Your "Were You Live" Script
    By radnomguywfq3 in forum Suggestions, Requests & General Help
    Replies: 4
    Last Post: 11-15-2007, 04:00 PM