Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff
You last visited: Today at 15:31

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Optimierung meines Farmbots

Discussion on Optimierung meines Farmbots within the Flyff forum part of the MMORPGs category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2019
Posts: 5
Received Thanks: 2
Optimierung meines Farmbots

Hallo Leute,

Bevor ihr mich anspuckt, es ist mir klar das die Funktion "Pixel Search" sowas von 2009 ist, jedoch bekomme ich das mit der Funktion "ImageSearch" nicht gebacken. Ich habe mit AutoIT keinerlei Erfahrung und kenne auch niemanden, der mir da helfen könnte. Deshalb suche ich hiermit jemanden, der sich damit auskennt.


Der Bot funktioniert schon, jedoch halt nicht "perfekt"

Ich lasse die Funktion "PixelSearch" schon andersrum dienen, damit der Bot nicht so weit läuft, und ich nicht weiß, wie ich ab dem Mittelpunkt meines Flyff Fensters suchen kann, und er dann nach aussen bis zum Ende entlang scannt. Thema Pakete & Offsets, bin ich erstmal raus, weil mein Kollege sich da schon schlau macht, und er noch einige Zeit dafür brauchen wird, da er nicht aus der "Flyff" Scene kommt.

Der eingetragene Farbcode im Source ist der für nen Mob auf dem Flyff Server


CODE:

Quote:
#include <GUIConstants.au3>
;GUI erstellen
GUICreate("Teamspeak 3 Musikbot" ,200,150 )
GUICtrlCreateLabel ("Mobs:", 1, 30, 50)
GUICtrlCreateLabel ("Failed:", 1, 50, 50)

;Variablenkram
$Mobs = GUICtrlCreateLabel ("0", 50, 30, 50)
$non = GUICtrlCreateLabel ("0", 50, 50, 50)
$info = GUICtrlCreateLabel ("Normal State", 1, 70, 1000)
GUISetState (@SW_SHOW)
sleep(3000)

;Hotkeys festlegen
HotKeySet("{f2}","_Pause")
HotKeySet("{f3}","_Display")
;PixelBot
While 1

Send("{RIGHT 7}")
sleep(500)
;$Variable = PixelSearch(1112,729,282,243, 0x82525D,2)
$Variable = PixelSearch(22,52,1297,1025, 0x82525D,2)
GUICtrlSetData($Info, "Lege los.")
If IsArray ($Variable) = True Then
MouseMove ($variable [0], $Variable [1],1)
MouseClick("Left")
MouseClick("Left")
sleep(1000)
GUICtrlSetData($Mobs, GUICtrlRead($Mobs) + 1)
GUICtrlSetData($Info, "Warte")
Else

GUICtrlSetData($non, GUICtrlRead($non) + 1)

GUICtrlSetData($Info, "Mob wurde nicht gefunden")
EndIf

WEnd
; functions
Func _Exit ()
Exit
EndFunc

Func _Pause ()
GUICtrlSetData($Info, "Pausiert")
Sleep(10000)
GUICtrlSetData($Info, "Bereit")
EndFunc

Func _Display ()
$Mon = GUICtrlRead($Mobs)
$fail = GUICtrlRead($non)
MsgBox(4096, "DATA", "You killed: " & $Mon &" Monsters ," & "Pixelseach failed: " & $fail & " times", 2)
EndFunc

Wäre lieb, wenn mir jemand hier helfen könnte.


Lieben Gruß
gtayakashi is offline  
Old 06/10/2019, 20:48   #2
 
cookie69's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 627
Received Thanks: 688
You can:
- get the game window size -> width=x, height = y
-> the center is at (x/2, y/2)
- calculate the factor between x and y. y/x ->0.8 for example
- do a loop that increases the size of the rectangle at each iteration (using the factor to know how to compute x1 and y1, x2 and y2
->the top-left side of the rectangle will have x1 and y1 reduced
-> the bottom -right of the rectange will have x2 and y2 increased
cookie69 is offline  
Thanks
1 User
Old 06/11/2019, 18:06   #3
 
elite*gold: 0
Join Date: Feb 2019
Posts: 25
Received Thanks: 4
Radius for a pixelbot :

make a dummy and invite to your party, position dummy at the center of your farming spot. Always pixelsearch the navigator to see if your dummy toon (blue dot) is outside the navigator. If it is not found on the navigator, you are outside the spot. Make sure to equip dummy with fashion that contrasts the scenery. Pixel search and click on your dummy until bllue dot is at the center of the minimapp just like what you do on monster.

Another:

Pressing '9' or typing '/position' command generates position.txt . Make a script that reads it every 200millisecond to determine your location and move accordingly to get to the center.

Use wasd, jump ocassionally to make automation movement less linear. When white dot appears on minimap, another toon is near. Use beep command to alert or just pause the script.

Autoselling to NPC can be easily done with autoit pixelsearch but challenging with memorybot.
Feellblis is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
Relogger für Farmbots und auch so :)
06/17/2010 - Metin2 Hacks, Bots, Cheats, Exploits & Macros - 121 Replies
Hey Habe für euch einen Relogger gescriptet. Er ist Optimal für einen Standard-Farmbot, da er beim Reloggen die Leertaste, 1-F4 und die Pick-Up Tasten sperrt, und sie nach dem Relog wieder freigibt. Erstmal regeln: Metin2 muss im Fenstermodus, 800x600, 16bpp sein. Das wars. Du kannst deinen Server, deinen Channel und deinen Character auswählen.
Farmbots down?
09/08/2009 - Metin2 - 1 Replies
Hey hatte mir farmbot geladen ... Aber iorgendwie geht er seit heute nacht nichtmehr ist down anscheinend brauiche eure hilfe dass der wieder geht
Need eden black dye farmbots
01/25/2009 - GW Exploits, Hacks, Bots, Tools & Macros - 1 Replies
Hello all, sry for my bad english, i need a bots to farm black dye in eden i think a bots with the farm with the Quest of bandits i have a EL lvl 16. A bots who take the dye and don't sell it on merchand. If someone can help me :(
Suche Infos z ueinfachen Farmbots
10/14/2008 - WoW Bots - 2 Replies
hi, ich hab jetzt hscon viele threads hier und anderswo durchgelesen, nur langsam werden meine Augen schwach^^. Also stell ich mal meien Frage : Gibt es einen Bot, vll auchnur pixelbot oda so, der einfach anfängt mobs zu killn, muss nich zum lvlarea hinrennen oder sonstiges, einfach nur mobs farmen und looten ? Wenn ja, ist dieser sicher ? Mir gehts einfach darum, das keine Chance besteht, das ich gebannt werde. Somasomarum einen AFK-Bot Danke schonma für die Hilfe
Kostenlose Farmbots?
04/29/2007 - WoW Bots - 1 Replies
Gibt es kostenfreie Farmbots die relativ einfach zu verstehen sind? WoWsk verstehe ich ned, trotz den Bildern ^_^.



All times are GMT +1. The time now is 15:32.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.