Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 23:40

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

Advertisement



brauch ma schnell eure hilfe bekomt auch thx

Discussion on brauch ma schnell eure hilfe bekomt auch thx within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jun 2010
Posts: 21
Received Thanks: 0
brauch ma schnell eure hilfe bekomt auch thx

ich habe script gemacht aber dann kommt dieser fehler könntet ihr pls ausbessern wäre seht nett
FEHLERMELDUNG

PHP Code:
ERRORPixelSearch() [built-incalled with wrong number of args.
        
PixelSearch (GUICtrlRead ($input3), GUICtrlRead ($input4), 0xF9F5F8

mein script

PHP Code:
GuiCreate("Angelbot",286,230,523,257)
$button1=GuiCtrlCreateButton("Start",12,10,77,49)
$button2=GuiCtrlCreateButton("Login",99,10,76,23)
$button3=GuiCtrlCreateButton("Exit",189,10,79,23)
$input1=GuiCtrlCreateInput("ID",22,58,111,20)
$input2=GuiCtrlCreateInput("PW",148,57,122,20)
$input3=GuiCtrlCreateInput("829, 39",65,97,65,20)
$input4=GuiCtrlCreateInput("674, 332",155,96,70,20)
$input5=GuiCtrlCreateInput("Angelzeit",113,134,61,20)
$label1=GuiCtrlCreateLabel("Angelbot Mit verstellbarem suchfenster nach Fischblase ",4,167,266,15)
$label2=GuiCtrlCreateLabel("Scriptet by DaZe",72,199,164,15)
$label3=GuiCtrlCreateLabel("Koords unten links",154,80,122,15)
$label4=GuiCtrlCreateLabel("Koords oben rechts",54,81,99,15)
GuiSetState()

While 
1
$msg
=GuiGetMsg()
If 
$msg=-3 Then Exit
If 
$msg=$button1 Then button1()
If 
$msg=$button2 Then button2()
If 
$msg=$button3 Then button3()
Wend




Func button1
()
            
WinActivate ("Metin2 Fantasy v.1.0.5.2 - The Future Client Reloadet","")
    
WinWaitActive ("Metin2 Fantasy v.1.0.5.2 - The Future Client Reloadet")
    
Sleep (1000)
        
Send ("{F3 down}")
        
Sleep (500)
        
Send ("{F3 up}")
        
Sleep (500)
         
Send ("{F4 down}")
        
Sleep (500)
        
Send ("{F4 up}")
        While 
1
        PixelSearch 
(GUICtrlRead ($input3), GUICtrlRead ($input4)0xF9F5F8) ;@@@@@@@@@@@  hier muss der fehler sein !!!!
If 
Not @error Then
    Sleep
(GUICtrlRead($Input5))
    
Send ("{F4 down}")
        
Sleep (500)
        
Send ("{F4 up}")
        
Sleep (4000)
        
Send ("{F3 down}")
        
Sleep (500)
        
Send ("{F3 up}")
        
Sleep (500)
EndIf
WEnd
EndFunc

Func button2
()
    
WinActivate ("Metin2 Fantasy v.1.0.5.2 - The Future Client Reloadet","")
    
WinWaitActive ("Metin2 Fantasy v.1.0.5.2 - The Future Client Reloadet")
    
Sleep (100)
    
MouseClick("left",837762,1)
    
Sleep (400)
Send(GUICtrlRead($Input1))
    
Sleep (100)
    
Send ("{enter}")
    
Sleep (100)
Send(GUICtrlRead($Input2))
    
Sleep (100)
    
Send ("{enter}")
EndFunc

Func button3
()
    Exit
EndFunc 
°DaZe° is offline  
Old 07/01/2010, 17:37   #2
 
omer36's Avatar
 
elite*gold: 0
Join Date: Mar 2009
Posts: 2,317
Received Thanks: 1,254
omg...

hier ich schreib was:

<-- sagt merh als tausend worte....

erst hier alles voll spamen dann hier weiter machen...

und wenn ich mir das ansehe,
PixelSearch (GUICtrlRead ($input3), GUICtrlRead ($input4)0xF9F5F8, 0 )
sieht man gleich was nicht ganz stimmt...
ein " , " fehlt, und die 0 kannste weg lassen ....
omer36 is offline  
Old 07/01/2010, 17:50   #3
 
elite*gold: 0
Join Date: Jun 2010
Posts: 21
Received Thanks: 0
lol und WOOO soll da ein komma fehlen ????
°DaZe° is offline  
Old 07/01/2010, 17:56   #4
 
Smincke2's Avatar
 
elite*gold: 0
Join Date: Jul 2009
Posts: 184
Received Thanks: 299
PixelSearch(GUICtrlRead($input3), GUICtrlRead($input4), 0xF9F5F8)
du hast fast den iq 85 ereicht
Smincke2 is offline  
Old 07/01/2010, 17:58   #5
 
elite*gold: 0
Join Date: Jun 2010
Posts: 21
Received Thanks: 0
lol der stimmt aber IMMERNOCH NICH

also denk selber ma über deinen iq nach
°DaZe° is offline  
Old 07/01/2010, 18:15   #6
 
omer36's Avatar
 
elite*gold: 0
Join Date: Mar 2009
Posts: 2,317
Received Thanks: 1,254
zeig doch mal die fehlermeldung.....

oder versuchs mal erst obs so klappt:

PixelSearch (829, 39, 674, 332,0xF9F5F8)
omer36 is offline  
Old 07/01/2010, 18:41   #7
 
elite*gold: 0
Join Date: Jun 2010
Posts: 21
Received Thanks: 0
: ERROR: PixelSearch() [built-in] called with wrong number of args.
PixelSearch (GUICtrlRead ($input3), GUICtrlRead ($input4), 0xF9F5F8, 0 )


das ist die fehlermeldung
°DaZe° is offline  
Old 07/01/2010, 18:44   #8
 
omer36's Avatar
 
elite*gold: 0
Join Date: Mar 2009
Posts: 2,317
Received Thanks: 1,254
schon
PixelSearch (829, 39, 674, 332,0xF9F5F8)
versucht??


entweder so
PHP Code:
PixelSearch (GUICtrlRead ($input3),""GUICtrlRead ($input4),"",0xF9F5F8
wenn das dann im spiel nciht klappt, musst du 2 weitere Inputs einfügen zb so:

PHP Code:
$input3=GuiCtrlCreateInput("obenx",65,97,65,20)
$Input4=GUICtrlCreateInput("obeny"441166921)
$input5=GuiCtrlCreateInput("untenx",155,96,70,20)
$Input6=GUICtrlCreateInput("unteny"1761166921)
$input7=GuiCtrlCreateInput("Angelzeit",113,134,61,20)

------
PixelSearch (GUICtrlRead($input3), GUICtrlRead($input4),GUICtrlRead($input5),GUICtrlRead($input6),0xF9F5F8)
If 
Not @error Then
    Sleep
(GUICtrlRead($Input7)) 
omer36 is offline  
Thanks
1 User
Old 07/01/2010, 19:02   #9
 
elite*gold: 0
Join Date: Jun 2010
Posts: 21
Received Thanks: 0
yeaa danke es hat geklappt
°DaZe° is offline  
Reply


Similar Threads Similar Threads
brauch mal schnell eure hilfe
06/14/2010 - Metin2 Private Server - 2 Replies
hallo zusammen mein problem ist jetzt so, bei meinem eigenen pserver sind alle mobs weg auf map 1 weiß einer wieso ??? mfg



All times are GMT +2. The time now is 23:40.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.