ok ill mess a bit with the sleep timer and hope it will stabelize a bit.
and to get in front with the question, for me patch 2.1 part 2 is coming out and new sylphs will be added. is it possible to change it to hunt the new sylphs?? and how should that be done??
ehm it works now i fix it but my question is They can caught you? Because this is not an injecable Program to inject on browser and send to the Wartune DataBase This works with autoit program wo is a autmatic languege for pc im right?
Quote:
Originally Posted by fvddsxzsad
ok ill mess a bit with the sleep timer and hope it will stabelize a bit.
and to get in front with the question, for me patch 2.1 part 2 is coming out and new sylphs will be added. is it possible to change it to hunt the new sylphs?? and how should that be done??
i played with the timers a bit and after reading your message about what does what i changed to
Code:
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Compile_Both=y
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
; Drücke Esc um das Script zu beenden, Pause um es zu pausieren
Global $Paused, $vab, $countdown = 0
HotKeySet("p", "TogglePause")
HotKeySet("{ESC}", "Terminate")
HotKeySet("+!d", "ShowMessage") ;Shift-Alt-d
;;;; Hier ist der Hauptteil des Programms ;;;;
Func search_Mob()
$search = PixelSearch( 385, 185, 1285, 790, 0xFF0004 )
If IsArray($search) Then
MouseMove($search[0]+18, $search[1]+80, 1)
MouseClick("left")
sleep(1000)
Send("2")
Send("{up}")
Send("{down}")
Send("{left}")
Send("{right}") ;kann auch verkürzt werden wenn nötig
ConsoleWrite("Sucht Pixel")
$search_loot = PixelSearch( 595, 680, 940, 735, 0x030303 )
If IsArray($search_loot) Then
ConsoleWrite('Monster angeclickt')
sleep(12000) ; war vorher 8000
Send("2")
Send("{up}")
Send("{down}")
Send("{left}")
Send("{right}")
$vab = "kampf"
EndIf
EndIf
Return $vab;
EndFunc
Func kampf()
;~ Kampf funktion
ConsoleWrite('Lädt KamPf')
$countdown = $countdown + 1
$search_kampf = PixelSearch( 385, 730, 1225, 860, 0xffffe4 )
If IsArray($search_kampf) Then
Send("2")
Send("{up}")
Send("{down}")
Send("{left}")
Send("{right}")
$end_kampf = PixelSearch( 155, 100, 305, 135, 0xaa8708 )
If IsArray($end_kampf) Then
Send("2")
Send("{up}")
Send("{down}")
Send("{left}")
Send("{right}")
$vab = false
$countdown = 0
Endif
Elseif $countdown > 7 Then ;erhöht auf 7 Counts, war vorher 6
;~ nicht kampf
$vab = false
$countdown = $countdown + 1
Send("2")
Send("{up}")
Send("{down}")
Send("{left}")
Send("{right}")
ConsoleWrite('Nicht im kampf');
EndIf
Return $vab;
EndFunc
Sleep(5000)
While 1
Sleep(1000)
If $vab == "kampf" Then
$vab = kampf()
Else
$vab = search_Mob()
EndIf
WEnd
;;;;;;;;
Func TogglePause()
$Paused = NOT $Paused
While $Paused
sleep(100)
ToolTip('Script ist pausiert',0,0)
WEnd
ToolTip("")
EndFunc
Func Terminate()
Exit 0
EndFunc
tested this for a while and seems that it clicks the iris and kills it without jumping from sylph to sylph.
now im stuck with another smoothness issue and that is when it clicks the iris and walks to it but the iris moves away. before it searches again takes to long, atleast 3-4 seconds.
I ain't got problems with moving sylphs. Think you can't solve this problem easily with AutoIt. You would have to put in a check if your character is moving and wait as long as it doesn't move anymore. I've got the problem that when i simply collect a sylph instead of having a fight the wait time is annoying. But I ignore those little bugs
The last part is the color code. 0x030303 --> it's hexadecimal 03 03 03 for RGB color. It starts with 00 00 00 for true black and ends with FF FF FF for white. The higher the number of a two-digit block is the more "amount" of the color is inside the combination. FF 00 00 is a pure red, FF FF 00 is the "truest" available yellow and so on. You can say by only seeing the code what color it might be. A 03 03 03 means very low of each color and therefore is a very intense black.
In this case the PixelSearch is looking for a pixel of this EXACT shade of black ind the area between 595, 680 and 940, 735 and starting in the top right corner of the area. You could also tell it to be
Code:
PixelSearch( 595, 680, 940, 735, 0x030303, 10 )
which means it gives the search a 10 shade variation of the color.
No. You have to "update" the script. The only difference between Iris and Pan script is the modification on the click location. For new sylphs see what their name is and what they look like. For example Apollo. Apollo is nearly the size of a Pan. So the y-axis modificator might be the same. The name is longer and therefore a higher x-axis mod should be needed for them. If you got a link to the news for your country you can post it here and we'll have a look at the info they give to see what we can do before the release.
Can anyone take a look at and try to integreat it in our existing Iris/Pan bots . It have a function to find pixels closest to a location(player spot) and this way speeds up the searching.
Holiday is over, maybe i can have a look the next days for your question but I am not sure, if i can get this into the script.
btw. the question for new sylphs:
vegetas script is searching for the red name, so the x-y-coordinates will vary for new sylphs
i changed the search-routine into a color-search at the specified sylph,which is unique at the screen. not that easy, but so i dont have to change the cursors position, if it finds the color of the sylph. So if a new sylph is integrated into the game, maybe there will be a new unique color in it, so that its easy to change the script.
Both versions should work for new sylphs, too
Quote:
Originally Posted by kingaslan21
$sToolTip = ToolTip("BLOCK " & @CRLF & "BLOCK" & @CRLF & "BLOCK WHAT DO THIS?
It creates a rectangle, which blocks the word of the sylph and the sylph itself for some seconds, so the search-routine cant find the blocked sylph and looks for another one.
Wie bekommt ihr denn das mit dem bearbeiten hin?Wenn ich den Editor öffne und den Bot reinkopiere seh ich da nur irgend einen wirren Zeichensalat.Kann damit echt nichts anfangen
Wie bekommt ihr denn das mit dem bearbeiten hin?Wenn ich den Editor öffne und den Bot reinkopiere seh ich da nur irgend einen wirren Zeichensalat.Kann damit echt nichts anfangen
Du sollst nicht die .exe reinkopieren
.exe ist ein kompiliertes Script, dass der Editor nicht einfach auslesen kann. Sonst könnte jeder jedes x-beliebige Script kopieren und nach ein paar Änderungen als seins ausgeben...
Du musst den Text in den Code Boxen reinkopieren und dann als Datei speichern.
Holiday is over, maybe i can have a look the next days for your question but I am not sure, if i can get this into the script.
btw. the question for new sylphs:
vegetas script is searching for the red name, so the x-y-coordinates will vary for new sylphs
i changed the search-routine into a color-search at the specified sylph,which is unique at the screen. not that easy, but so i dont have to change the cursors position, if it finds the color of the sylph. So if a new sylph is integrated into the game, maybe there will be a new unique color in it, so that its easy to change the script.
Both versions should work for new sylphs, too
It creates a rectangle, which blocks the word of the sylph and the sylph itself for some seconds, so the search-routine cant find the blocked sylph and looks for another one.
hi there i have this small issue i have used your modifications for 1366x768 script tha u made under vegeta it works good for some time but after a while it pauses by it self and is not continue to pick, i hit enter but i see it in chat working but is not collecting pan i play in english server and it called pan not faun maybe is that? and if yes dear friend how and where i can change it i know to use a bit the autolt3 scite. any ideas? or a way if it stucks write a command how to make it restart?
Suche Demon Slayer bot für die Heldengeister 11/17/2013 - Browsergames - 24 Replies Hey zusammen,
ich suche einen bot zum farmen der Heldengeister.
Der bot sollte die heldengeister nur auswählen und angreifen. die Verwendung der Skills ist nicht unbedingt notwendig.
Also eine Art Autoklick bot.
Wäre super wenn mir da vll jemand weiterhelfen könnte.
mfg michel