Sign in to follow this  
Followers 0
evelboy

rebot simple demo bypass

10 posts in this topic

as poeple asked for it

 

it,s a pretty simple script that checks if the "start" button is enabled

when it is it clicks on start > run demo

 

left key to start right to close the script

 

HotKeySet("{left}","start")
HotKeySet("{right}","end")
While 1
    Sleep(1000)
WEnd



Func start()
  Local $Data = ProcessExists('ReBot.exe')
 While 1
    $1 = ControlGetText(_GetHwndFromPID($Data),"","[CLASS:WindowsForms10.BUTTON.app.0.3551b1b_r13_ad1; INSTANCE:13]")
    If $1 = "Start" Then
    ControlClick(_GetHwndFromPID($Data),"","[CLASS:WindowsForms10.BUTTON.app.0.3551b1b_r13_ad1; INSTANCE:13]","left")
    Sleep(500)
    ControlClick("Premium Bot","","[CLASS:WindowsForms10.BUTTON.app.0.3551b1b_r13_ad1; INSTANCE:2]","left")
    EndIf
    Sleep(10000)
 WEnd
EndFunc



Func end()
    Exit
EndFunc



Func _GetHwndFromPID($PID)
    $hWnd = 0
    $stPID = DllStructCreate("int")
    Do
        $winlist2 = WinList()
        For $i = 1 To $winlist2[0][0]
            If $winlist2[$i][0] <> "" Then
                DllCall("user32.dll", "int", "GetWindowThreadProcessId", "hwnd", $winlist2[$i][1], "ptr", DllStructGetPtr($stPID))
                If DllStructGetData($stPID, 1) = $PID Then
                    $hWnd = $winlist2[$i][1]
                    ExitLoop
                EndIf
            EndIf
        Next
        Sleep(100)
    Until $hWnd <> 0
    Return $hWnd
EndFunc ;==>_GetHwndFromPID

1 person likes this

Share this post


Link to post
Share on other sites

Nice, Thanks for this, I'll test it out when I get home and let ya know

 

So do you run this as a regular Script or do you need to complie it, I'm fairly new to Autoit and scripting in general

 

When I run it I get the Autoit script in my taskbar but it doesn't do anything

Share this post


Link to post
Share on other sites

you can run it as a regular script or compile both works

start wow > rebot >the script  press left arrow to start the script right arrow to stop

Share this post


Link to post
Share on other sites

hey. cant make it work. did compile script with autoitv3. wow - then rebot - the script with left arrow, but its doesnt hit start button. any tips? thanks

Share this post


Link to post
Share on other sites

Seems Rebot Changed a few things as far as windows etc. goes so i remade this script.

Made it smaller and easier using some of your code ;)

 

Make sure your Rebot window title is Rebot for ingame. Program settings in Rebot and theres a box. Or change it to whatever you want and change Rebot to that in the script. Either way.

 

This one will also stop after 29 minutes and restart so the whole logging out of wow wont start to happen. And also makes Rebot the active window if your browsing or whatever so it can click on it.

 

Will at least tide someone over till Suspense cracks it properly :D

See code on next post

Share this post


Link to post
Share on other sites

This will be obsolete as of tomorrow, just a heads up.

Share this post


Link to post
Share on other sites

Yeah, figured it wouldn't take long hence the "Will at least tide someone over till Suspense cracks it properly  :D" :)

Share this post


Link to post
Share on other sites

Please login or register to see this link.

VIPs

 

Please login or register to see this link.

Public

Share this post


Link to post
Share on other sites
Local $Data = ProcessExists('ReBot.exe') While 1    WinActivate("Rebot")    $1 = ControlGetText("Rebot", "", "[CLASS:WindowsForms10.BUTTON.app.0.3551b1b_r11_ad1; INSTANCE:13]")    If $1 = "Start" ThenControlClick("Rebot", "", "[CLASS:WindowsForms10.BUTTON.app.0.3551b1b_r11_ad1; INSTANCE:13]")    Sleep(5000)    ControlClick("Premium Bot","","[CLASS:WindowsForms10.BUTTON.app.0.3551b1b_r11_ad1; INSTANCE:2]")    EndIf    Sleep(1740000)WinActivate("Rebot") $1 = ControlGetText("Rebot", "", "[CLASS:WindowsForms10.BUTTON.app.0.3551b1b_r11_ad1; INSTANCE:13]]")    If $1 = "Stop" ThenControlClick("Rebot", "", "[CLASS:WindowsForms10.BUTTON.app.0.3551b1b_r11_ad1; INSTANCE:13]")EndIfSleep(3000) WEnd

Better code for those in need. But shouldn't need for much longer ;)

1 person likes this

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0