Afk-leveling 56-60

12/09/2005 03:31 ogR1sH#31
Beim Abgeben loopt das AC Tool immer Line 5 und es geht einfahc nicht weiter. Also ich steh vor Chromie, Quest Diaglog ist offen aber er gibt die Q einfach nicht ab. Hilfe?
12/09/2005 08:52 hanks#32
Wenn er zu lange bei den Questdialogen rumsteht, liegt es an den Farbpunkteprüfungen. Kann ich jetzt leider nicht nachvollziehen, warum es bei Euch mal funktioniert und mal nicht.
Ihr könntet einfach die
Code:
Call CheckQuestRed ...
...
Call CheckQuestYellow ...
mit
Code:
delay 300
oder auch länger ersetzen, wie JonnyX es im letzten Post auch gemacht hat.

JonnyX, der Port unter Chromieshaus passiert durch die selbe Prozedur wie bei den Uhrenports. Wenn es zu disconnects kommt, kannst Du an dieser Stelle
Code:
//Jump to position indexed with "jumpInd"
Procedure Jump
keydown ö 70
delay 400
das delay erhöhen, dann läuft er länger (mit "Ö" ausgelöst), bevor geportet wird.

Edit: Achja, drück vorm Start langsam nacheinander 2x "Ö", um Dich zu vergewissern, dass er beim ersten Tastendruck losläuft, und beim zweiten stehen bleibt. Denn wenn Du vorher mal mit "Ö" das Loslaufen ausgelöst hast, aber danach durch Mausclicks ihn stoppst, dann vergisst der client, irgendein Statusflag, das durch "Ö" geschaltet wurde, zu resetten. Beim nächsten Tastendruck von "Ö" läuft er dann also nicht los, sondern da wird nur das Laufen noch mal abgeschaltet, und er steht weiter am Ort und Stelle.
12/09/2005 11:14 ogR1sH#33
Hmm also bis das Ding nicht ohne Probleme läuft ist es sicherlich besser mit dem Bot 2 Mobs zu kloppen die 250xp bringen. Werd das mit dem Farbpunktüberprüfungen vielleicht mal testen.
12/09/2005 12:24 lincs#34
`have a little problem ... when i start the script in AC... it begins and start typing:
and ingame i start to say

[myname]says: &t myname bwhtele 2
[myname]says: &t myname bwhtele 3
[myname]says: &t myname bwhtele 2

can someone please help me with this matter, cause i really dont know where to find the problem and how to change it.
12/09/2005 12:41 JonnyX#35
Sry, my Englsih is very bad :(

Is it possible, that u have klicked on the Chatwindow before?

So it was writing this what the Bot make?

Check it again and check that u have closed all other addons

Ich brauch dringend mal wieder nen Englisch Kurs ^^
12/09/2005 12:54 lincs#36
Thx for fast reply, and ur english isnt bad at all :P

But uhmm i havent opened the chatwindow nor clicked on it.

Dont have any addon on it, except Quickloot.
12/09/2005 12:59 lincs#37
wait ill post my code here.. maybe u can take a look on it, if its right configered

Code:
Constants
//general Vars
ind=1
true=1
jumpInd=
lootAble=0
lootLoop=8

//casespecific Vars
watch=0
End

//Jump to position indexed with "jumpInd"
Procedure Jump
keydown i 70
delay 400

keydown {return} 100
keys ~7t myname bwhtele $jumpInd
delay 100
keydown {return} 100
delay 200
keydown i 100
keys ad
delay 100
keys ad

keys ad
End

//Wait for Lootability
//BOOLEAN: lootAble
Procedure Wait4Loot
Loop $lootLoop
Compute lootAble = 0
MousePos 400, 360
delay 120
LoadRGB 405, 363
if {RGBred} > 200 and {RGBgreen} >150 and {RGBblue} < 90
 Compute lootAble = 1
 break
end

MousePos 400, 240
delay 120
LoadRGB 405, 243
if {RGBred} > 200 and {RGBgreen} >150 and {RGBblue} < 90
 Compute lootAble = 1
 break
end

MousePos 460, 300
delay 120
LoadRGB 465, 303
if {RGBred} > 200 and {RGBgreen} >150 and {RGBblue} < 90
 Compute lootAble = 1
 exit
end

MousePos 340, 300
delay 120
LoadRGB 345, 303
if {RGBred} > 200 and {RGBgreen} >150 and {RGBblue} < 90
 Compute lootAble = 1
 break
end

MousePos 400, 300
delay 120
LoadRGB 405, 303
if {RGBred} > 200 and {RGBgreen} >150 and {RGBblue} < 90
 Compute lootAble = 1
 break
end
End

delay 220
End

//Coordinates: X, Y
Procedure CheckRed using X, Y
WHILE $true=1
 IsRed $X, $Y
 Exit
 End
 delay 100
End
End

//Coordinates: X, Y
Procedure CheckQuestYellow using X, Y
WHILE $true=1
 LoadRGB $X, $Y
 If {rgbRed} > 200 and {rgbGreen} > 200 and {rgbBlue} < 30
 Exit
 End
 delay 100
End
End

//Coordinates: X, Y
Procedure CheckQuestRed using X, Y
WHILE $true=1
 LoadRGB $X, $Y
 If {rgbRed} > 200 and {rgbGreen} < 30 and {rgbBlue} < 30
 Exit
 End
 delay 100
End
End


//RadarScan
Procedure ScanRadar
Constants
 X=
 Y=
 alarm=1
End
While $alarm=1
 Compute alarm=0
 Loop X=734 to 767
 Loop Y=102 to 139
  LoadRGB $X, $Y
  If {rgbRed} > 200 and {rgbGreen} < 50 and {rgbBlue} < 80
  Compute alarm=1
  break
  End
 End
 If $alarm=1
  break
 End
 End
 delay 400
End

End

//--------------Main---------------
WHILE $true=1
LOOP ind = 2 to 22
//damn ProcessGuard, force me to do that for sure.
SetActiveWindow WORLD OF WARCRAFT

//Looking for watches
Compute jumpInd = $ind
Call Jump

//loot it----
Call Wait4Loot
IF $lootAble = 1
rightclick
delay 6000
leftclick
delay 100
leftclick
leftclick
delay 200

Compute watch=$watch+1
//-----
If $watch=5
 Compute watch=0
 //port under chromie's house
 Compute jumpInd = 0
 Call Jump
 delay 300
 //waiting near chromie, clientside, for her and entities to appear
 keydown {f11}
 MousePos 47, 104
 delay 100
 doubleclick
 delay 100
 keydown {f11}
 //change cam view
 MousePos 400, 100
 DragTo 400, 500
 MousePos 400, 100
 DragTo 400, 500
 MousePos 400, 100
 DragTo 400, 500

 while $true=1
 Call Wait4Loot
 if $lootAble = 1
  break
 end
 end
 
 //porting back and scan radar for pcs
 keydown {f11}
 MousePos 50, 91
 delay 100
 doubleclick
 delay 100
 keydown {f11}
 
 Call ScanRadar
 
 //port to chromie, return quest and get new one
 keydown {f11}
 MousePos 47, 104
 delay 100
 doubleclick
 delay 100
 keydown {f11}
 keys ad
 delay 300
 //return quest
 MousePos 400, 350
 rightclick
 rightclick
 Call CheckQuestYellow 28, 310 
 MousePos 28, 310
 delay 300
 leftclick
 delay 100
 leftclick
 MousePos 49, 445
 Call CheckQuestRed 44, 447
 delay 100
 leftclick
 delay 500
 leftclick
 delay 300
 //get new quest
 MousePos 400, 350
 delay 100
 rightclick
 delay 100
 rightclick
 Call CheckQuestYellow 28, 310
 MousePos 28, 310
 delay 300
 leftclick
 delay 100
 leftclick
 MousePos 61, 446
 Call CheckQuestRed 52, 445
 delay 100
 doubleclick
 
 //back under house
 keydown {f11}
 MousePos 50, 91
 delay 100
 doubleclick
 delay 100
 keys ad
 keydown {f11}
 //cam view back
 MousePos 400, 500
 DragTo 408, 100
 MousePos 400, 500
 DragTo 408, 100
 MousePos 400, 500
 DragTo 408, 100

 //throw away reward
 MousePos 683, 441
 delay 100
 leftclick
 delay 400
 MousePos 625, 91
 delay 800
 leftclick
 delay 600
 MousePos 361, 166
 leftclick
End
//----

END //loot handled



END
END
12/09/2005 20:06 lincs#38
Come on guys, please reply its about 8 hours ago..of the last post.
No one knows? :eek:
12/09/2005 23:53 hanks#39
maybe you are using an english keyboard. The macro is made for german keyboards.
The intended output should be:
/t myname bwhtele 1
/t myname bwhtele 2
/t myname bwhtele 3

On german keyboards, the sign "/" is on the same key as "7". Therefore, the macrocode is
Code:
keys ~7t CharName bwhtele $jumpInd
In this line "~7 " means "shift-7". If your "/" is somewhere else, just change that.
12/10/2005 16:33 lincs#40
thanks hanks.. worked for me :D ... only now its teleporting to Chromie.. changes his view.. clicks on Chromie for delivering the quest.... he doenst deliver.. he teleports.. then he teleports back to Chromie... clicks on him again... and doenst do anything more only standing there.. without clicking on the quest deliver button + continue + complete quest.... he only stands there doing nothing :(

You know about this problem?

here is een screenshot of it:

[Only registered and activated users can see links. Click Here To Register...]
12/10/2005 17:40 hanks#41
hmm, thats strange, first time Ive seen the "talk-to" mouse cursor in that red. At this point, the macro wait for the mouse to turn yelllow, and thats why your bot stucks there.

Search for all those function calls:
Code:
Call CheckQuestRed ...
 ...

Call CheckQuestYellow ...
and replace them with
Code:
delay 300
(300 is just an average estimated time, maybe your pc & inet-connection need bigger values, or can handle smaller values)
12/10/2005 17:43 Sephusath#42
Hanks , könntest du vielleicht die Veränderungen die neu gekommen sind , ins script reinpacken? Kriegst auch nen + karma =) und ich spar mir die minuten gg
12/10/2005 18:20 hanks#43
standard macro attached
12/10/2005 18:21 hanks#44
use this when your bot get stuck in dialogues with chromie.
12/10/2005 18:21 lincs#45
haha no Hanks... this is changed with photoshop.. to distract other people from recognizing me.

on the screen without changes it is yellow .