|
You last visited: Today at 14:49
Advertisement
autoit loop not working
Discussion on autoit loop not working within the Silkroad Online forum part of the Popular Games category.
02/17/2009, 21:08
|
#1
|
elite*gold: 0
Join Date: Jul 2008
Posts: 812
Received Thanks: 105
|
autoit loop not working
Code:
$checksum = PixelChecksum(0,0, 50,50)
While 1
[COLOR="Red"]If[/COLOR] ControlGetText ("SBot v1.10a (C)2008,2009 by bot-cave.net", "", "Static9") = "Connecting" or "Connected" Then
[COLOR="Red"]If[/COLOR] not ControlGetText ("SBot v1.10a (C)2008,2009 by bot-cave.net", "", "Static11") = "Login error" Then
If $checksum = PixelChecksum(0,0, 50,50) Then
Else
Sleep(5000)
EndIf
[COLOR="Red"]Else[/COLOR]
ShellExecute($LoginScriptPath & "\" & $LoginScript, $LoginScriptPath)
Sleep(1000)
Exit
EndIf
[COLOR="Red"]Else[/COLOR]
WinClose( "SBot v1.10a (C)2008,2009 by bot-cave.net")
ShellExecute($LoginScriptPath & "\" & $LoginScript, $LoginScriptPath)
Sleep(1000)
Exit
EndIf
WEnd
My problem is, that he always goes to the Else even if the Condition isn't true(red points). Please do not post if you dont have any knowledge about this.
|
|
|
 |
Similar Threads
|
[TOOL] SRO-DB Bot Hider (WORKING WITH LOOP)
01/17/2011 - SRO PServer Guides & Releases - 9 Replies
As many people know u cant hide your silkroad client with sro db, cause it will not doing a loop because of the lack of being able to click the npcs.
I did a small, but working a workaround for this.
RapidShare: 1-CLICK Web hosting - Easy Filehosting
SRO-DB Client Hider.zip ... at uploaded.to - Free File Hosting, Free Image Hosting, Free Music Hosting, Free Video Hosting, ...
What it does:
|
IS THERE ANY ONE HAVE WORKING LOOP IN DB BOT ???
06/26/2010 - SRO Private Server - 0 Replies
:mad: is there any one having a working loop for db bot
i have v0.9 cracked and bot close suddenly when loop reach "potions shop" of hotan
is there any solution or shall i stop thinking about this stupid loop
:mad::mad::mad::mad::mad::mad::mad:
|
AutoIT Loop/If help needed
06/26/2010 - CO2 Programming - 2 Replies
Hello, I'm trying out some AutoIT programming for the first time.
I'm trying to make a very simple mining bot but i got stuck, here's the code for the loop where i am stuck:
While 1
$coord0 = PixelSearch ($pos0, $pos0, $pos1, $pos1, 0xD6A252); Search for CopperOre
If Not @error Then MouseClick ("left", $coord0, $coord0, 1, 15)
Sleep (500)
MouseClick ("left", 450, 450, 1, 20); Drop CopperOre
Sleep (2000)
|
[SRO-DB] Working loop in windowed mode
05/30/2010 - SRO PServer Guides & Releases - 11 Replies
I got tired of looking at ultra big icons and lame graphic at 1024x768 resolution when my screen is 1680x1050 so I tried to make bot work and to loop in windowed mode.
In first try I simply alt+enter but it didn't worked, bot would just open storage box and do nothing so I done another thing and it worked!
Here how it works:
1. Make fullscreen SRO in 1024x768 or higher that bot loop supports.
2. Hide client with iTools or any other win hide app.
3. Open any game who has your main...
|
Autoit - loop TAB key?
01/11/2010 - Perfect World - 4 Replies
Hi everyone :confused:
I have try all night to make a tab key work...
here the code;
**********************************************
$title = "Element Client"
$game=WinActivate($title, "")
WinSetOnTop($title, "", 0)
Sleep(1000)
$red = "0xFF0000"
|
All times are GMT +1. The time now is 14:52.
|
|