tnxQuote:
Klar gibts die :) Video Tuts auf YouTube. Es gibt Foren und es hat sogar jemand ein Buch als PDF frei verfügbar im Internet hochgeladen. Hab aber momentan leider keinen Link mehr parat. Musst mal Google anwerfen.
Patience is a virtue ;) For this is a forum and the little critters running around and helping people aren't paid there is no "help on demand". Not even for people, that just signed up to ask a question and never come back again if everything works to say thank you to the creator of the script. Vegeta has gotten a few thanks for his script and that means most of you guys don't even have the least respect for what he has done. He saves you time which is pretty priceless. Think about it.
Erklärung für die Modifikation the Scripts in Deutsch und Englisch:
Explanation for the modification of the script in German and English:
Deutsch:
Es gibt vier Bereiche im Script, die überarbeitet werden müssen, um eure Auflösung anzupassen. Zum Anpassen der Auflösung benötigt ihr [Only registered and activated users can see links. Click Here To Register...]. AutoIt installieren. Dann macht ihr euch einen neuen Ordner für die Übersichtlichkeit. Ordnern öffnen und rechtsklick machen --> neu --> AutoIT v3 Script. Die erstellte Datei benennt ihr um. Dann öffnet ihr den SciTE Script Editor und zieht die Datei rein. Der Text, der bereits drin steht wird gelöscht. Dort kopiert ihr das hinein:
abspeichern. Jetzt braucht ihr ein Blatt Papier und einen Stift ;)Code:HotKeySet("q","q") HotKeySet("{ESC}", "Terminate") While 1 sleep(100) WEnd Func q() $pos = MouseGetPos() MsgBox(0,"Your mouse pointer coordinate is:", $pos[0]&"|"&$pos[1]) EndFunc
Ihr öffnet das Spiel so, wie ihr es zum farmen haben wollt.
Schreibt euch auf euer Blatt Papier:
search:
search_loot:
kampf:
end_kampf:
Das sind die Variablen im Script, die ihr später ändern müsst.
Doppelklickt ihr auf das Script, dass ihr vorher erstellt und gespeichert habt. Drückt 1 mal "q" und wenn ein Fenster aufgeht, in dem zwei Zahlen durch ein "|" getrennt funktioniert es.
Eine Übersicht der Bereiche, die im Script abgefragt werden:
[Only registered and activated users can see links. Click Here To Register...]
In diesem Post von Ol4fff seht ihr, welche Funktion welchen Bereich absuchen muss. Ihr müsst euren Mauszeiger immer zurerst in die linke obere Ecke des Bereichs bewegen und mit q die Koordinaten abfragen (wir nennen sie jetzt x1 und y1) und danach in der rechten unteren Ecke die Koordinaten x2 und y2 abfragen. Schreibt euch die Koordinaten so auf, wie sie auch in das Script müssen:
x1, y1, x2, y2, [FARBE] --> 100, 80, 170, 100 (z.B.)
Wenn ihr für alle vier Funktionen die Koordinaten habt (die für "kampf" bekommt ihr nur im Kampf, das ist der Bereich, in dem sich die Skillleiste eures Chars befindet und die ist ja nur im Kampf zu sehen), dann erstellt ihr in dem Ordner wieder ein neues Script, nennt es Iris oder Faun und zieht es wieder in den Editor rein und löscht den kompletten Text. Sucht euch ein Script aus und kopiert es in den Editor. Dann sucht ihr die Zeilen
und tragt jeweils eure eigenen Koordinaten ein. Der fünfte Teil am Ende der Zeile ist der Farbcode in Hex, den ihr bitte genau so lasst, wie er ist.Code:$search = PixelSearch( 105, 270, 1338, 740, 0xFF0004 ) $search_loot = PixelSearch( 646, 760, 959, 803, 0x030303 ) $search_kampf = PixelSearch( 605, 860, 1070, 920, 0x080807 ) $end_kampf = PixelSearch( 203, 165, 362, 177, 0x800303 )
Zu guter letzt noch die Erklärung, worin der Unterschied vom Iris zum Faun Script liegt:
AutoIT sucht von links oben nach rechts unten den angegebenen Bereich nach einem Pixel mit der EXAKTEN Farbe ab, die angegeben ist. Also bei der Suche nach dem Heldengeist nach einem roten Pixel (der Name vom Heldengeist). Das ist der oberste linke Pixel im Namen. Wenn man da drauf klickt passiert logicherweise nichts. Deshalb sind die Zeilen
der einzige Unterschied für die unterschiedlichen Heldengeister. Die Zahlen geben an, um wieviele Pixel Abweichung AutoIT den Klick im Vergleich zur Suche ansetzen soll. Heisst bei der Iris klickt er 20 Pixel weiter rechts und 80 Pixel weiter unten als der gefundene Pixel.Code:MouseMove($search[0]+20, $search[1]+80, 1) MouseMove($search[0]+33, $search[1]+60, 1)
Wenn euer Char zu schnell die Heldengeister wechselt, heisst er läuft hin klickt an und wartet kurz und klickt dann den nächsten Heldengeist an, dann muss
die Zeit hinter sleep erhöht werden. Probiert aus, was für euch passt, ohne dass die Zeit zu lang wird. Die Zeit wird in Millisekunden angeben (1 MS = 0,001 Sekunden / 1000 MS = 1 Sek).Code:Func search_Mob() $search = PixelSearch( 105, 270, 1338, 740, 0xFF0004 ) If IsArray($search) Then MouseMove($search[0]+20, $search[1]+80, 1) MouseClick("left") sleep(1500) ConsoleWrite("Sucht Pixel")
Denke das sollte alles gewesen sein. Viel Glück/Spaß beim Anpassen nach euren Bedürfnissen.
English:
There are four areas in the script that need to be updated to make it work for your resolution settings. You will need [Only registered and activated users can see links. Click Here To Register...]. Install AutoIT. Create a new folder to keep a better track of your files. Open the created folder. Right click --> new --> AutoIT v3 Script. Rename the created file. Open the SciTE Script Editor and drag and drop the created file right into the editor window. Delete the text that's already inside the script. Copy and paste this into the editor window:
and save it. Now you'll need a sheet of paper and a pen ;)Code:HotKeySet("q","q") HotKeySet("{ESC}", "Terminate") While 1 sleep(100) WEnd Func q() $pos = MouseGetPos() MsgBox(0,"Your mouse pointer coordinate is:", $pos[0]&"|"&$pos[1]) EndFunc
Open your game window as you'll have it when farming.
Write this on your sheet of paper:
search:
search_loot:
kampf:
end_kampf:
Those are the variables that need to be changed in the script later.
Doubleclick the script you created and saved before. Press your "q" button once. If a window pops up telling you two numbers divided by a "|" everything is working as intented.
This picture shows which areas are needed for which purpose in the script:
[Only registered and activated users can see links. Click Here To Register...]
You'll always have to move your cursor to the upper left corner of the area first and press q to get the first pair of coordinates (we call them x1 and y1 for now) and then move the cursor to the lower right corner and press q to get x2 and y2. Write the coordinates the same way down as you'll need to put them into the script later:
x1, y1, x2, y2, [COLOR] --> 100, 80, 170, 100 (for example).
When you got all the coordinates you need (those for "kampf" can only be obtained while in combat for it's the area that contains your characters' skill bar which is only visible during a fight). Create a new script in your folder and call it "Iris" or "Pan". Drag and drop it into the editor as before and delete the containing text again. Chose a script (Iris or Pan) and copy and paste the text into the script. Search for those four lines:
And put your own coordinates in. The last part of the line is the color code in hex which should not be changed.Code:$search = PixelSearch( 105, 270, 1338, 740, 0xFF0004 ) $search_loot = PixelSearch( 646, 760, 959, 803, 0x030303 ) $search_kampf = PixelSearch( 605, 860, 1070, 920, 0x080807 ) $end_kampf = PixelSearch( 203, 165, 362, 177, 0x800303 )
At last this is the difference between the Iris and the Pan script:
AutoIT searches the given area starting in the upper left corner for a pixel with the EXACT color that is in the code line. For the searching of sylphs it's a red color (name of the sylph). The first match is always the upper left pixel of the first letter of the name. If you click this nothing will happen. Therefore there are these lines:
They modify the click position. For Iris it is a 20 pixel to the right and 80 pixels towards the bottom modification for the click.Code:MouseMove($search[0]+20, $search[1]+80, 1) MouseMove($search[0]+33, $search[1]+60, 1)
If your char changes between sylphs too fast, meaning it walks towards the sylph and waits and walks towards the next one before the loading bar is full, you'll have to
raise the time behind sleep. Test what time is needed for you. The time is set in milliseconds (1 MS = 0,001 sec / 1000 MS = 1 Sec).Code:Func search_Mob() $search = PixelSearch( 105, 270, 1338, 740, 0xFF0004 ) If IsArray($search) Then MouseMove($search[0]+20, $search[1]+80, 1) MouseClick("left") sleep(1500) ConsoleWrite("Sucht Pixel")
Think that schould be everything you need to know to get it working for you. Good luck and have fun fitting the script to your needs.
I am willing to pay even, so I thank him)