Hi all, I have a little issue with the bot I'm doin using the tt6 move to engine. I'm trying the make it scan in front of my charc on the minimap to check if enemies are present.
So here's the func:
Code:
;scan if enemy is in front of us
Func ScanEnemy1()
PixelSearch(86, 460, 173, 516, $MonsterColor_Red, 10)
If @error then
Sleep( 100 )
PixelSearch(86, 460, 173, 516, $MonsterColor_Red, 10)
if @error then return False
EndIf
return True
EndFunc
And here's how I've used it in my script:
Code:
;go to Lissah
PrepMoveTo()
MoveTo(1, 17619, -17449)
MoveTo(1, 15697, -15812)
MoveTo(1, 13328, -14471)
MoveTo(1, 11022, -12727)
MoveTo(1, 10985, -12696)
RndSleep(200)
;check enemy in path
StopMoveTo()
RndSleep(500)
InitDest(4140, -11602)
If ScanEnemy1() Then
Sleep(100)
EndIf
If Not ScanEnemy1() Then
ContinueLoop
;resume
PrepMoveTo()
MoveTo(1, 9504, -12488)
MoveTo(1, 7695, -10883)
MoveTo(1, 4239, -11442)
MoveTo(1, 4140, -11602)
EndIf
Still it doesnt seem to be working as my charc moves to the next waypoint while there is or isnt any enemies in front. So I was wondering if anyone could help me out.
I am really sorry, i have tried to replicate your problem because i was looking to add a similar bit of code to something i am working on but i am very new to autoit so i could not get it working
Hi all, I have a little issue with the bot I'm doin using the tt6 move to engine. I'm trying the make it scan in front of my charc on the minimap to check if enemies are present.
So here's the func:
Code:
;scan if enemy is in front of us
Func ScanEnemy1()
PixelSearch(86, 460, 173, 516, $MonsterColor_Red, 10)
If @error then
Sleep( 100 )
PixelSearch(86, 460, 173, 516, $MonsterColor_Red, 10)
if @error then return False
EndIf
return True
EndFunc
And here's how I've used it in my script:
Code:
;go to Lissah
PrepMoveTo()
MoveTo(1, 17619, -17449)
MoveTo(1, 15697, -15812)
MoveTo(1, 13328, -14471)
MoveTo(1, 11022, -12727)
MoveTo(1, 10985, -12696)
RndSleep(200)
;check enemy in path
StopMoveTo()
RndSleep(500)
InitDest(4140, -11602)
If ScanEnemy1() Then
Sleep(100)
EndIf
If Not ScanEnemy1() Then
ContinueLoop
;resume
PrepMoveTo()
MoveTo(1, 9504, -12488)
MoveTo(1, 7695, -10883)
MoveTo(1, 4239, -11442)
MoveTo(1, 4140, -11602)
EndIf
Still it doesnt seem to be working as my charc moves to the next waypoint while there is or isnt any enemies in front. So I was wondering if anyone could help me out.
Thx
There's an static Memory Address, you could use Cheat Engine to find it.
Returns 1 or 0.
There's an static Memory Address, you could use Cheat Engine to find it.
Returns 1 or 0.
I'm not really used to cheat Engine, might get to it someday but I preffer putting my efforts in autoit right now.
Thx
Oh, I've resolved my problem.
I was wondering If you could show me how you'd do it with memoryreading. I uses the tt6 engine. Plus I wanted to make one monitoring hp and energy. I have updated my memoryadresses in the update.ini but my character simply turns around. What have I done wrong?
I'm not really used to cheat Engine, might get to it someday but I preffer putting my efforts in autoit right now.
Thx
Oh, I've resolved my problem.
I was wondering If you could show me how you'd do it with memoryreading. I uses the tt6 engine. Plus I wanted to make one monitoring hp and energy. I have updated my memoryadresses in the update.ini but my character simply turns around. What have I done wrong?
You need an actual update.ini and the newest version of the tt6.au3.
There are 3(?) static addresses for checking if you look to your enemy:
0x00A23B79
0x00A23C50
0x00A24DF9
Nvm that I found my answer. But I have a question tho. With the adresses you gave me, yes I add them in my update.ini. That I can do, but how do I know wich one is to check if theres an enemy in the path of my character.
Thanks a lot eF Hacks and Xninja. I havent had time to check it out yet, but you pointed me to the right direction thx. Xninja, I'll try out the script you gave me tonight see how it goes. I'll use it with credits.
wr func net 04/02/2010 - WarRock Hacks, Bots, Cheats & Exploits - 1 Replies Wenn ich wr starte und auf game starten klcike steht da "ERROR:Cannot Find Exeute file!
was muss ich machen habe win 7
Func in IE.au3 10/15/2009 - AutoIt - 26 Replies Hallo,
mal eine Frage zur IE.au3
Ich möchte im gleichen Fenster eine andere Adresse aufrufen,
kann ich das hiermit machen ?
IENavigate(ByRef $o_object, $s_Url, $f_wait = 1)
dann hab ich da mal 2 weitere fragen zu.
Was genau kommt bei $o_object rein und was ist mit dem ByRef ?
Vielen Dank falls mir geholfen werden kann.
loot func 11/17/2008 - Guild Wars - 15 Replies Hi
Ich weis sowas gabs schonmal in dem Thermalquellen Bot von Blackworkxx glaub ich.
Ich hab mich auch grad dran versucht, aber ich find den Fehler einfach nicht mehr.
Im moment siehts so aus:
func _loot()
for $a= 0 to 8 step 1
sleep(100)
move to func. 10/21/2008 - Guild Wars - 46 Replies ich hab also die speicher addresse von x und y und auch die jewaligen anfangs und endwerte möchte nun aber das sich die spielfigur von x1/y1 zu x2/y2 bewegt.
schreibe ich dafür die jewligen werte einfach nur um und das wird dann als bewegung interpretiert oder wäre das sozusagen ein teleport vorgang (clientside) und der server würde das nicht verstehen und einfach wieder an den startpunkt setzen??
bei reequia gab es eine moveto function allerdings hab ich keine ahnung wie genau die aussah bzw...
Func hilfe.... 05/25/2008 - Guild Wars - 2 Replies Hi,
ich bräuchte mal hilfe bei ner function....
Ich habe in meinem Bot 2 Farm gebiete drin.... und man kann halt auch mit Ele oder Monk Farmen. Dies kann man per GUI auswählen // checkboxen... so soweit so gut..
Wenn man jetzt z.B. "Farm TQ und Farm mit Monk TQ" ausgewählt hat dann macht der das auch, wenn man dann "Farm Elona und Farm mit Monk Elona" ausgewählt hat dann funktioniert das auch. So aber wenn man "Farm Elona und Farm mit Ele Elona" ausgewählt hat dann macht der nicht das...