Sunday, May 31, 2009

Alt + 4 Toggle issues

Most people have this problem when they start up their bots. The bot simply alt+4 repeatedly and does nothing else.

Solution by TheOnlyOne (Hail to the creator)

Alt+4 is allways done if the Bot wants to Pixelsearch, as it prevents it from getting Results of the GUI and it prevents it from clicking parts of the GUI it should not.

Important for this was that peops got problem with the Help Request, or it could randomly click on the Quest List if an monster was behind it (as the List is transparent) which opens the Quest Info all the time and never gets to click the Monster.

All this simply make it better to use the Alt+4, especially in combat with the Camera Position, as otherwise parts of the GUI block the View and Clicks.

The Function that says if the GUI is visible or not:

Func _checkVisibleGUI()
$pixelChecksum = PixelChecksum(6,8,9,13)
if $pixelChecksum = 3827775855 Then
return True
return False

Simply looks for a small white part of the GUI Menu on the top, if it can't get the correct CheckSum it simply assumes the GUI is not visible and clicks Alt+4 if it wants to see the GUI, the other check simply wants to "hide" the GUI and looks if its "not" visible.

So if it just keeps pressing Alt+4 you know that your coords are not the same as this here.

The easy trick is stated in the FAQ like for many other problems related to this wrong Coords.

Use the MouseSearch.exe tool to look if your upper Left corner of the Ingame Window (not the TitleBar, only the Ingame WIndow) is the 0,0 coord, and you can simply make the Pixelchecksum with the given coords.

So hover the mouse on the 6,8 coord and press F1, than hover on 9,13 and press F2, you will now have a PixelChecksum produced between this coords.
If your GUI is visible the Bot wants it to be exactly the given, if its different you have to change were the Atlantica Window is placed.

In Config.ini theirs:

$GuiMoveX = 0
$GuiMoveY = 0
$FuseGUIwithApp = 1

So you can change it to

$GuiMoveX = 0
$GuiMoveY = 5

if your Coord in upper Left is than 0,0 it should work as it should.

Direct information at

No comments:

Post a Comment