Script

07/01/2006 21:06 FreaKzzz#1
Hey Leute,
ich habe eine Frage, ich habe eine Loadrunner.exe und meine Fishbot.au3 Datei.
Also für die, die damit nichts anfangen können, dass ist ein Script zum fischen.

Hab das mit Version 1.10 ausprobiert, und es funktionierte auch alles und ich wurd auch nicht gebannt.

Ich wollte nur mal wissen, wie sicher das ist und ob die Sicherheit vom Script selbst abhängt.

Für eine eindeutige Antwort, die das auch erlärt, gibt es Karma +.
07/01/2006 21:14 Seel#2
Also ich kenn es nur so das die Sicherheit schon vom Script abhängt da es drauf ankommt wie auffällig der Prozess ist und ob ihn Warden möglicher weise als Hack / Script einstuft.

Seel
07/01/2006 21:19 FreaKzzz#3
Sollte ich vielleicht mal den Script posten?
07/01/2006 22:17 peterwurst#4
die loadrunner.exe benutz du zum die .au3 auszuführen?

..also ich würde mir [Only registered and activated users can see links. Click Here To Register...] zulegen, die .au3 Datei so einstellen wie ich sie brauche, und das ganze dann mit einem dezenten Namen z.B. icq.exe compilen.

Danach ist aus der .au3 Datei ne ganz normale .exe geworden, die keinerlei anzeichen von AutoIt script aufweist

Fishbots mit AutoIT sind 100% sicher, und nicht von Warden detectbar:

Warum? AutoIT ist ein legales multifunktions Programm, das man nicht nur für WoW benutzen kann.
(anderst wie bei bwh z.B.)

Wenn du gebannt wirst, dann nur weil du AFK warst und dich n GM angeschrieben hat.

Sonst kannst du au3 FishBots gefahrlos benutzen.

In diesem Sinne HF
07/01/2006 22:27 FreaKzzz#5
Gibts denn einen Script, denn man da immer bentuzen kann? Ich muss für jedes neues Gebiet+Tageszeit, einen neuen Farbcode eingeben. >.<
07/01/2006 22:30 peterwurst#6
ne gibts nich, aber du kannst in deine .exe n "teilcode" einbauen , dass du nur über den Schwimmer fahren musst und es dann die Farbe automatisch erkennt,
dann musst nich immer recompilen, ist aber nich so einfach das einzubauen
solltest schon n bisschen AutoIT erfahrung dazu haben
07/02/2006 00:30 Seel#7
Wenn du AFK gehst und das Script laufen lässt würde ich
/DND Chatlog ist ausgeschaltet will meine Ruhe!
eingeben

Klappt habs probiert.
07/02/2006 02:01 FreaKzzz#8
Quote:
Originally posted by peterwurst@Jul 1 2006, 22:30
ne gibts nich, aber du kannst in deine .exe n "teilcode" einbauen , dass du nur über den Schwimmer fahren musst und es dann die Farbe automatisch erkennt,
dann musst nich immer recompilen, ist aber nich so einfach das einzubauen
solltest schon n bisschen AutoIT erfahrung dazu haben
Kannste mir ja machen. ;)

ALso wie ichs jetzt richtig verstanden habe, einfach AutoIt laden und den Script also die .au3 in Hatschi.au3 umbennen? Das wars oder wie? :O
07/02/2006 02:42 peterwurst#9
poste einfach mal dein script...
ich werd mal schaun ob ich dir das reingeschrieben bekomm
07/02/2006 04:06 FreaKzzz#10
Bitte schön:

Code:
;########### 
; Globals 
;########### 
&#036;title = &#34;WoW FishBOT&#34; 
&#036;win_title = &#34;World of Warcraft&#34; 

; Sets up the Borders to fish in 
&#036;top_border_height = 23 
&#036;left_border_width = 4 

; Sets up the Screen resolution &#036; make shure its in windowed mode 
&#036;screen_width = 800 
&#036;screen_height = 600 

; Just a simple Timer 
&#036;time_to_wait = 30000 
dim &#036;start_time 


;######################################################################### 
; Hot Keys Section 
; 
; Set up a Hot key to be used later to end the script 
;######################################################################### 

HotKeySet&#40;&#34;{PAUSE}&#34;, &#34;request_end&#34;&#41; 



;######################################################################### 
; Fish Bot View Paremeters 
; 
; Sets up the boundaries of the fishbot on the screen and returns 
; some visual confirmation by moving the mouse in a square showing 
; where the bot will be searching for the fishing bobber 
;######################################################################### 

if not WinExists&#40;&#036;win_title, &#34;&#34;&#41; then 
msg&#40;&#036;win_title & &#34; window must be open.&#34;&#41; 
Exit 
endif 

WinActivate&#40;&#036;win_title, &#34;&#34;&#41; 
WinSetOnTop&#40;&#036;win_title, &#34;&#34;, 0&#41; 
Sleep&#40;500&#41; 

check_window&#40;&#41; 

&#036;win_pos = WinGetPos&#40;&#036;win_title, &#34;&#34;&#41; 
&#036;win_x = &#036;win_pos&#91;0&#93; + &#036;left_border_width 
&#036;win_y = &#036;win_pos&#91;1&#93; + &#036;top_border_height 

&#036;top = &#036;win_y + &#40;.25 * &#036;screen_height&#41; 
&#036;bottom = &#036;top + &#40;.35 * &#036;screen_height&#41; - 1 
&#036;left = &#036;win_x + &#40;.15 * &#036;screen_width&#41; 
&#036;right = &#036;left + &#036;screen_width - &#40;.15 * 2.0 * &#036;screen_width&#41; - 1 

Start_Bot&#40;&#41; 


;########################### 
; Visual confirmation 
; Area scanned for bobber 
;########################### 

MouseMove&#40;&#036;left, &#036;top, 2&#41; 
MouseMove&#40;&#036;right, &#036;top, 2&#41; 
MouseMove&#40;&#036;right, &#036;bottom, 2&#41; 
MouseMove&#40;&#036;left, &#036;bottom, 2&#41; 

cast_pole&#40;&#41; 
find_float&#40;&#41; 

;######################################################################### 
; 
; Function find_float 
; 
; Once bobber has been cast the bobber needs to be found via colors 
; The most prominent color is the red so by default that is enabled 
; More colors have been defined and you may switch them if you want 
; The only reason to switch them is when fishing in Stormwind or at 
; night when colors are all very diffrent. 
;######################################################################### 

func find_float&#40;&#41; 

;##################### 
; Color Definitions 
;##################### 

&#036;color_dark_purple = 0x463B4D 
&#036;color_dark_blue = 0x283A64 
&#036;color_red = 0x3E160F
&#036;color_stormwind_daylight_blue = 0x2B3254 
&#036;color_stormwind_daylight_red = 0x6B1F0C 
&#036;color_beige = 0xBB9B3D 
&#036;color_night_blue = 0x0B1931 
&#036;color_wc = 0x210B04 

;######################################################### 
; This is the color used to pixelsearch for the bobber. 
; Change the color to a good color 
; on the bobber that is prominent on the screen 
;######################################################### 

&#036;color_to_use = &#036;color_red 

;################################################################## 
; This is the search tolerance. In areas where the bobber 
; colors really stand out, you can use a fairly high threshold. 
; In areas where the bobber colors are fairly muted in with 
; the background, you will have to lower the values considerably. 
;################################################################## 

&#036;bobber_search_tolerance = 20 

;######################################################################## 
; It's better to use lower values here in favor of accurate searching. 
; This will take more time for it to detect the bobber, but usually 
; the splash doesn't occur until at least 30% of the time has run out, 
; and by that time, it should have detected the bobber &#40;assuming the 
; color values and tolerance are correct&#41;. 
;######################################################################## 

&#036;bobber_search_step = 2 

;######################################################################### 
; Search for float. In certain lighting, the part of the float may look 
; more purple than blue. In this case, using &#036;color_red tends to work 
; the best with a tolerance of 20. 
;######################################################################### 

while 1 
if TimerDiff&#40;&#036;start_time&#41; >= &#036;time_to_wait then 
cast_pole&#40;&#41; 
endif 

&#036;pos = PixelSearch&#40;&#036;left, &#036;top, &#036;right, &#036;bottom, &#036;color_to_use, &#036;bobber_search_tolerance, &#036;bobber_search_step&#41; 
if @error then 
SetError&#40;0&#41; 
else 
MouseMove&#40;&#036;pos&#91;0&#93;, &#036;pos&#91;1&#93;, 2&#41; 
find_splash&#40;&#036;pos&#91;0&#93;, &#036;pos&#91;1&#93; &#41; 
endif 
Sleep&#40;10&#41; 
wend 
endfunc 

; ############################################################################ 
func find_splash&#40;&#036;float_x, &#036;float_y&#41; 
&#036;search_left = &#036;float_x - 32 
&#036;search_right = &#036;search_left + 52 
&#036;search_top = &#036;float_y - 32 
&#036;search_bottom = &#036;search_top + 64 

; Usually you do not have to modify the search color for the splash, as the pixels 
; have a very distinctive, bright color. 
&#036;splash_color = 0xF6F6F6 

; Sometimes 30 tolerance works well, sometimes 20 is better in lit areas to avoid catching highlights 
; in other things. 
&#036;splash_tolerance = 20 

; The search step can be pretty small here &#40;1 to 3&#41; without worries because the search area is 
; so small once it has been narrowed down - speed isn't much of an issue. 
&#036;splash_search_step = 2 

; Search for splash 
while TimerDiff&#40;&#036;start_time&#41; &#60; &#036;time_to_wait 
&#036;pos = PixelSearch&#40;&#036;search_left, &#036;search_top, &#036;search_right, &#036;search_bottom, &#036;splash_color, &#036;splash_tolerance, &#036;splash_search_step&#41; 
if @error then 
SetError&#40;0&#41; 
else 
; Click on the splash 
send&#40;&#34;{SHIFTDOWN}&#34;&#41; 
MouseClick&#40;&#34;right&#34;&#41;;, &#036;pos&#91;0&#93;, &#036;pos&#91;1&#93;, 1, 2&#41; 
send&#40;&#34;{ShiftUP}&#34;&#41; 
Sleep&#40;5000&#41; 

ExitLoop 
endif 
Sleep&#40;10&#41; 
wend 

; Cast pole and start all over again. 
cast_pole&#40;&#41; 
endfunc 

; ############################################################################## 
func cast_pole&#40;&#41; 
&#036;start_time = TimerInit&#40;&#41; 
Send&#40;&#34;1&#34;&#41; 
Sleep&#40;1000&#41; 
endfunc 

; ############################################################################## 
func check_window&#40;&#41; 
&#036;dimensions = WinGetClientSize&#40;&#036;win_title, &#34;&#34;&#41; 
if &#036;dimensions&#91;0&#93; &#60;> &#036;screen_width or &#036;dimensions&#91;1&#93; &#60;> &#036;screen_height then 
msg&#40;&#34;Invalid window size. You must use &#34; & &#036;screen_width & &#34;x&#34; & &#036;screen_height & &#34; resolution in window mode.&#34;&#41; 
Exit 
endif 
endfunc 

; ############################################################################## 
func msg&#40;&#036;text&#41; 
MsgBox&#40;0, &#036;title, &#036;text&#41; 
endfunc 

; ############################################################################## 
func msg_array&#40;&#036;title, &#036;array, &#036;num_elements&#41; 
dim &#036;text 
&#036;text = &#036;array&#91;0&#93; 

for &#036;j = 1 to &#036;num_elements - 1 
&#036;text = &#036;text & &#34;, &#34; & &#036;array&#91;&#036;j&#93; 
next 

MsgBox&#40;0, &#036;title, &#036;text&#41; 
endfunc 


; ########################################################## 
func request_end&#40;&#41; 
&#036;MB_YESNO = 4 
&#036;MB_YES = 6 

if MsgBox&#40;&#036;MB_YESNO, &#036;title, &#34;End script?&#34;&#41; == &#036;MB_YES then 
Exit 
endif 
endfunc 

;########################################################### 
func Start_Bot&#40;&#41; 
&#036;MB_YESNO = 4 
&#036;MB_YES = 6 

if MsgBox&#40;&#036;MB_YESNO, &#036;title, &#34;Do you want to start the Bot?&#34;&#41; == &#036;MB_Yes then 

else 
Exit 
endif 
endfunc 

; ########################################################## 
func drain_timer&#40;&#41; 
Msg&#40;&#34;Restart&#34;&#41; 
&#036;start_time = &#036;start_time - &#036;time_to_wait 
endfunc 

;##########################################################
No comment, please. :ops:
07/02/2006 10:21 peterwurst#11
Code:
;###########
; Globals
;###########
&#036;title = &#34;something&#34;
&#036;win_title = &#34;World of Warcraft&#34;

; Sets up the Borders to fish in
&#036;top_border_height = 23
&#036;left_border_width = 4

; Sets up the Screen resolution &#036; make shure its in windowed mode
&#036;screen_width = 800
&#036;screen_height = 600

; Just a simple Timer
&#036;time_to_wait = random&#40;29700, 32000, 1&#41;
dim &#036;start_time


;#########################################################################
; Hot Keys Section
;
; Set up a Hot key to be used later to end the script
;#########################################################################

HotKeySet&#40;&#34;{PAUSE}&#34;, &#34;request_end&#34;&#41;

Msg&#40;&#34;Werf deinen Schwimmer aus...dann klicke auf ok&#34;&#41;
Msg&#40;&#34;Fahre jetzt mit der Maus auf den Schwimmer&#40;die Farbe die du haben willst&#41; und dann nicht ok klicken, sondern ENTER&#40;und Maus dabei nicht bewegen&#41;&#34;&#41;
&#036;mouserPOS = MouseGetPos&#40;&#41;

	&#036;xx = &#036;mouserPOS&#91;0&#93;
	&#036;yy = &#036;mouserPOS&#91;1&#93;
	Sleep&#40;20&#41;
	&#036;color_to_use = &#34;0x&#34; & Hex&#40;PixelGetColor &#40;&#036;xx , &#036;yy&#41;, 6&#41;
	Sleep&#40;2000&#41;
	msg&#40;&#036;color_to_use &&#34; wurde erfolgreich als Farbe definiert.&#34;&#41;
	&#036;bobber_search_tolerance = InputBox&#40;&#036;title, &#34;&#036;bobber_search_tolerance =&#34;&#41;
;#########################################################################
; Fish Bot View Paremeters
;
; Sets up the boundaries of the fishbot on the screen and returns
; some visual confirmation by moving the mouse in a square showing
; where the bot will be searching for the fishing bobber
;#########################################################################

if not WinExists&#40;&#036;win_title, &#34;&#34;&#41; then
msg&#40;&#036;win_title & &#34; window must be open.&#34;&#41;
Exit
endif

WinActivate&#40;&#036;win_title, &#34;&#34;&#41;
WinSetOnTop&#40;&#036;win_title, &#34;&#34;, 0&#41;
Sleep&#40;500&#41;

check_window&#40;&#41;

&#036;win_pos = WinGetPos&#40;&#036;win_title, &#34;&#34;&#41;
&#036;win_x = &#036;win_pos&#91;0&#93; + &#036;left_border_width
&#036;win_y = &#036;win_pos&#91;1&#93; + &#036;top_border_height

&#036;top = &#036;win_y + &#40;.25 * &#036;screen_height&#41;
&#036;bottom = &#036;top + &#40;.35 * &#036;screen_height&#41; - 1
&#036;left = &#036;win_x + &#40;.15 * &#036;screen_width&#41;
&#036;right = &#036;left + &#036;screen_width - &#40;.15 * 2.0 * &#036;screen_width&#41; - 1

Start_Bot&#40;&#41;


;###########################
; Visual confirmation
; Area scanned for bobber
;###########################

MouseMove&#40;&#036;left, &#036;top, 2&#41;
MouseMove&#40;&#036;right, &#036;top, 2&#41;
MouseMove&#40;&#036;right, &#036;bottom, 2&#41;
MouseMove&#40;&#036;left, &#036;bottom, 2&#41;

cast_pole&#40;&#41;
find_float&#40;&#41;

;#########################################################################
;
; Function find_float
;
; Once bobber has been cast the bobber needs to be found via colors
; The most prominent color is the red so by default that is enabled
; More colors have been defined and you may switch them if you want
; The only reason to switch them is when fishing in Stormwind or at
; night when colors are all very diffrent.
;#########################################################################

func find_float&#40;&#41;

;#####################
; Color Definitions
;#####################

&#036;color_dark_purple = 0x463B4D
&#036;color_dark_blue = 0x283A64
&#036;color_red = 0x3E160F
&#036;color_stormwind_daylight_blue = 0x2B3254
&#036;color_stormwind_daylight_red = 0x6B1F0C
&#036;color_beige = 0xBB9B3D
&#036;color_night_blue = 0x0B1931
&#036;color_wc = 0x210B04

;#########################################################
; This is the color used to pixelsearch for the bobber.
; Change the color to a good color
; on the bobber that is prominent on the screen
;#########################################################

;&#036;color_to_use = &#036;color_red

;##################################################################
; This is the search tolerance. In areas where the bobber
; colors really stand out, you can use a fairly high threshold.
; In areas where the bobber colors are fairly muted in with
; the background, you will have to lower the values considerably.
;##################################################################

;&#036;bobber_search_tolerance = 20

;########################################################################
; It's better to use lower values here in favor of accurate searching.
; This will take more time for it to detect the bobber, but usually
; the splash doesn't occur until at least 30% of the time has run out,
; and by that time, it should have detected the bobber &#40;assuming the
; color values and tolerance are correct&#41;.
;########################################################################

&#036;bobber_search_step = 2

;#########################################################################
; Search for float. In certain lighting, the part of the float may look
; more purple than blue. In this case, using &#036;color_red tends to work
; the best with a tolerance of 20.
;#########################################################################

while 1
if TimerDiff&#40;&#036;start_time&#41; >= &#036;time_to_wait then
cast_pole&#40;&#41;
endif

&#036;pos = PixelSearch&#40;&#036;left, &#036;top, &#036;right, &#036;bottom, &#036;color_to_use, &#036;bobber_search_tolerance, &#036;bobber_search_step&#41;
if @error then
SetError&#40;0&#41;
else
MouseMove&#40;&#036;pos&#91;0&#93;, &#036;pos&#91;1&#93;, 2&#41;
find_splash&#40;&#036;pos&#91;0&#93;, &#036;pos&#91;1&#93; &#41;
endif
Sleep&#40;10&#41;
wend
endfunc

; ############################################################################
func find_splash&#40;&#036;float_x, &#036;float_y&#41;
&#036;search_left = &#036;float_x - 32
&#036;search_right = &#036;search_left + 52
&#036;search_top = &#036;float_y - 32
&#036;search_bottom = &#036;search_top + 64

; Usually you do not have to modify the search color for the splash, as the pixels
; have a very distinctive, bright color.
&#036;splash_color = 0xF6F6F6

; Sometimes 30 tolerance works well, sometimes 20 is better in lit areas to avoid catching highlights
; in other things.
&#036;splash_tolerance = 20

; The search step can be pretty small here &#40;1 to 3&#41; without worries because the search area is
; so small once it has been narrowed down - speed isn't much of an issue.
&#036;splash_search_step = 2

; Search for splash
while TimerDiff&#40;&#036;start_time&#41; &#60; &#036;time_to_wait
&#036;pos = PixelSearch&#40;&#036;search_left, &#036;search_top, &#036;search_right, &#036;search_bottom, &#036;splash_color, &#036;splash_tolerance, &#036;splash_search_step&#41;
if @error then
SetError&#40;0&#41;
else
; Click on the splash
send&#40;&#34;{SHIFTDOWN}&#34;&#41;
MouseClick&#40;&#34;right&#34;&#41;;, &#036;pos&#91;0&#93;, &#036;pos&#91;1&#93;, 1, 2&#41;
send&#40;&#34;{ShiftUP}&#34;&#41;
Sleep&#40;5000&#41;

ExitLoop
endif
Sleep&#40;10&#41;
wend

; Cast pole and start all over again.
cast_pole&#40;&#41;
endfunc

; ##############################################################################
func cast_pole&#40;&#41;
&#036;start_time = TimerInit&#40;&#41;
Send&#40;&#34;1&#34;&#41;
Sleep&#40;1000&#41;
endfunc

; ##############################################################################
func check_window&#40;&#41;
&#036;dimensions = WinGetClientSize&#40;&#036;win_title, &#34;&#34;&#41;
if &#036;dimensions&#91;0&#93; &#60;> &#036;screen_width or &#036;dimensions&#91;1&#93; &#60;> &#036;screen_height then
msg&#40;&#34;Invalid window size. You must use &#34; & &#036;screen_width & &#34;x&#34; & &#036;screen_height & &#34; resolution in window mode.&#34;&#41;
Exit
endif
endfunc

; ##############################################################################
func msg&#40;&#036;text&#41;
MsgBox&#40;0, &#036;title, &#036;text&#41;
endfunc

; ##############################################################################
func msg_array&#40;&#036;title, &#036;array, &#036;num_elements&#41;
dim &#036;text
&#036;text = &#036;array&#91;0&#93;

for &#036;j = 1 to &#036;num_elements - 1
&#036;text = &#036;text & &#34;, &#34; & &#036;array&#91;&#036;j&#93;
next

MsgBox&#40;0, &#036;title, &#036;text&#41;
endfunc


; ##########################################################
func request_end&#40;&#41;
&#036;MB_YESNO = 4
&#036;MB_YES = 6

if MsgBox&#40;&#036;MB_YESNO, &#036;title, &#34;End script?&#34;&#41; == &#036;MB_YES then
Exit
endif
endfunc

;###########################################################
func Start_Bot&#40;&#41;
&#036;MB_YESNO = 4
&#036;MB_YES = 6

if MsgBox&#40;&#036;MB_YESNO, &#036;title, &#34;Do you want to start the Bot?&#34;&#41; == &#036;MB_Yes then

else
Exit
endif
endfunc

; ##########################################################
func drain_timer&#40;&#41;
Msg&#40;&#34;Restart&#34;&#41;
&#036;start_time = &#036;start_time - &#036;time_to_wait
endfunc

;##########################################################
Sollte so funktionieren, bei Problemen einfach nochmal melden
07/02/2006 10:23 FreaKzzz#12
Du bist super. :) Also jetzt einfach nur noch ebnutzen und nie mehr was umändern? :D
07/02/2006 12:30 berzerkwolf#13
ok nur so als info die loadrunner.exe wurde von mir erstellt es ist einen recompilierte autoit.exe bei der ich den prozessnamen und alles möglich was ich finden konnte was auf autoit hinweisst geändert habe und in ein programm von me3rcury umbenannt habe ..

wieweit dei loadrunner.exe nun schon im verlauf ist seh ich ja ^^


es war damals einfach nur als hiding hilfe gedacht ..

zum thema script und sicherheit .. ja peterwurst hat eignetlich schon erklärt loadrunner ist sogesehen ein ganz normales legals programm :)

zum script

ich würd die bobber_search_tolerance wieder mit reinnehmen ..

und gleich eine frage:
die funktion zum farbe finden, find ich super .. dürfte ich diese wohl auch in mein gechanged script übernhmen welches man [Only registered and activated users can see links. Click Here To Register...] finden kann


was mich mal interessieren würde ist wo du das script her hast ;)
07/03/2006 12:41 FreaKzzz#14
Hey Leute, also wollte nochmal eben Fragen auf welchen Slot ist FIshing setzen muss bei dem Script.

Muss dazu sagen ich benutze die englische Version, muss ich jetzt noch einen Namen im Script umsetzen?


Zudem habe ich ein größeres Problem.
Siehe Anhang, hilfe.
07/05/2006 14:41 FreaKzzz#15
Sorry 4 DP, aber es soll eine Art push sein, denn ich braeuchte da wirklich mal Hilfe. :>

So far,
FreaK