was ist das problem =(

07/22/2008 10:33 [PixeL]#1
PHP Code:
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>

#Region ### START Koda GUI section ### Form=
$Form1 GUICreate("Form1"633454193119)
$Group1 GUICtrlCreateGroup("Group1"8813765)
$Radio1 GUICtrlCreateRadio("Radio1"162411317)
$Radio2 GUICtrlCreateRadio("Radio2"164811317)
GUICtrlCreateGroup("", -99, -9911)
$Button1 GUICtrlCreateButton("Button1"8152139410)
$Group2 GUICtrlCreateGroup("Group2"88013757)
$Label1 GUICtrlCreateLabel("Label1"16966825)
GUICtrlCreateGroup("", -99, -9911)
$Input1 GUICtrlCreateInput("Input1"961124121)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
    $nMsg 
GUIGetMsg()
    Switch 
$nMsg
        
Case $GUI_EVENT_CLOSE
            
Exit
        case 
$button1
        
;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        
$Input1 guictrlread $Input1 )
        
        
$Radi1 guictrlread $Radio1 )
        
$Radi2 guictrlread $Radio2 )
        ;~~~~~~~~~~~~~~~~~~~
        
        If 
$Radi1 1 Then
        
If PixelGetColor 17856 ) ==Dec "227DE4" Then
        Send 
$Input1 )
        Endif
        
        
        
        If 
$Radi2 1 Then
        
if PixelGetColor 13757 ) ==Dec "217AE3" Then
        send 
$input1 )
        Endif
        
    
        
EndSwitch
WEnd 
07/22/2008 10:46 °Remus°#2
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>

#Region ### START Koda GUI section ### Form=
= GUICreate("Form1", 633, 454, 193, 119)
= GUICtrlCreateGroup("Group1", 8, 8, 137, 65)
= GUICtrlCreateRadio("Radio1", 16, 24, 113, 17)
= GUICtrlCreateRadio("Radio2", 16, 48, 113, 17)
GUICtrlCreateGroup("", -99, -99, 1, 1)
= GUICtrlCreateButton("Button1", 8, 152, 139, 41, 0)
= GUICtrlCreateGroup("Group2", 8, 80, 137, 57)
= GUICtrlCreateLabel("Label1", 16, 96, 68, 25)
GUICtrlCreateGroup("", -99, -99, 1, 1)
= GUICtrlCreateInput("Input1", 96, 112, 41, 21)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
= GUIGetMsg()
Switch
Case
Exit
case
;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
= guictrlread ( )

= guictrlread ( )
= guictrlread ( )
;~~~~~~~~~~~~~~~~~~~

If = 1 Then
If PixelGetColor ( 178, 56 ) ==Dec ( "227DE4" ) Then
Send ( )
Endif
EndIf


If = 1 Then
if PixelGetColor ( 137, 57 ) ==Dec ( "217AE3" ) Then
send ( )
Endif
EndIf


EndSwitch
WEnd



du hast zwei endifs vergessen^^
07/22/2008 10:49 [PixeL]#3
ich habe jetz ein anderes prob =( alles schön und gut aber er pottet nicht nur wen ich auf den button klicke pottet der einmal und dan nicht mehr auch nicht wen er potten soll


PHP Code:
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>

#Region ### START Koda GUI section ### Form=
 
GUICreate("Form1"633454193119)
 = 
GUICtrlCreateGroup("Group1"8813765)
 = 
GUICtrlCreateRadio("Radio1"162411317)
 = 
GUICtrlCreateRadio("Radio2"164811317)
GUICtrlCreateGroup("", -99, -9911)
 = 
GUICtrlCreateButton("Button1"8152139410)
 = 
GUICtrlCreateGroup("Group2"88013757)
 = 
GUICtrlCreateLabel("Label1"16966825)
GUICtrlCreateGroup("", -99, -9911)
 = 
GUICtrlCreateInput("Input1"961124121)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
     
GUIGetMsg()
    Switch 
        Case 
            Exit
        case 
        ;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         = 
guictrlread (  )
        
         = 
guictrlread (  )
         = 
guictrlread (  )
        ;~~~~~~~~~~~~~~~~~~~
        While 
1
        
If  = 1 Then
        
If PixelGetColor 17351 ) ==Dec "EE745F" Then
        Send 
(  )
        Endif
    EndIf
    
WEnd
        
        
        
While 1
        
If  = 1 Then
        
if PixelGetColor 13254 ) ==Dec "373737" Then
        send 
(  )
        Endif
        EndIf
    
WEnd
        
EndSwitch
WEnd 
07/22/2008 10:51 °Remus°#4
Quote:
Originally Posted by ~System~ View Post
das habe ich auch eben bemerkt xD aber trotzdem danke
no problem
einfach die fehlermeldungen anschauen (vor dem letzten update waren die besser^^)
07/22/2008 11:03 [PixeL]#5
wieso pottet der nicht wan er potten soll
07/22/2008 11:09 °Remus°#6
post das nochma ohne php man sieht die ganzen variablen gar nicht
07/22/2008 11:14 °Remus°#7
musst ne while schleife in
case $button1 einbauen
07/22/2008 11:17 [PixeL]#8
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>

#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 633, 454, 193, 119)
$Group1 = GUICtrlCreateGroup("Group1", 8, 8, 137, 65)
$Radio1 = GUICtrlCreateRadio("Radio1", 16, 24, 113, 17)
$Radio2 = GUICtrlCreateRadio("Radio2", 16, 48, 113, 17)
GUICtrlCreateGroup("", -99, -99, 1, 1)
$Button1 = GUICtrlCreateButton("Button1", 8, 152, 139, 41, 0)
$Group2 = GUICtrlCreateGroup("Group2", 8, 80, 137, 57)
$Label1 = GUICtrlCreateLabel("Label1", 16, 96, 68, 25)
GUICtrlCreateGroup("", -99, -99, 1, 1)
$Input1 = GUICtrlCreateInput("Input1", 96, 112, 41, 21)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
case $button1
;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
$Input1 = guictrlread ( $Input1 )

$Radi1 = guictrlread ( $Radio1 )
$Radi2 = guictrlread ( $Radio2 )
;~~~~~~~~~~~~~~~~~~~
While 1
If $Radi1 = 1 Then
If PixelGetColor ( 173, 51 ) ==Dec ( "EE745F" ) Then
Send ( $Input1 )
Endif
EndIf
WEnd


While 1
If $Radi2 = 1 Then
if PixelGetColor ( 132, 54 ) ==Dec ( "373737" ) Then
send ( $input1 )
Endif
EndIf
WEnd

EndSwitch
WEnd
07/22/2008 11:21 °Remus°#9
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>

#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 633, 454, 193, 119)
$Group1 = GUICtrlCreateGroup("Group1", 8, 8, 137, 65)
$Radio1 = GUICtrlCreateRadio("Radio1", 16, 24, 113, 17)
$Radio2 = GUICtrlCreateRadio("Radio2", 16, 48, 113, 17)
GUICtrlCreateGroup("", -99, -99, 1, 1)
$Button1 = GUICtrlCreateButton("Button1", 8, 152, 139, 41, 0)
$Group2 = GUICtrlCreateGroup("Group2", 8, 80, 137, 57)
$Label1 = GUICtrlCreateLabel("Label1", 16, 96, 68, 25)
GUICtrlCreateGroup("", -99, -99, 1, 1)
$Input1 = GUICtrlCreateInput("Input1", 96, 112, 41, 21)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
case $button1
;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
$Input1 = guictrlread ( $Input1 )

$Radi1 = guictrlread ( $Radio1 )
$Radi2 = guictrlread ( $Radio2 )
;~~~~~~~~~~~~~~~~~~~

If $Radi1 = 1 Then
While 1
If PixelGetColor ( 173, 51 ) ==Dec ( "EE745F" ) Then Send ( $Input1 )
WEnd
EndIf

If $Radi2 = 1 Then
While 1
if PixelGetColor ( 132, 54 ) ==Dec ( "373737" ) Then send ( $input1 )
WEnd
EndIf


EndSwitch
WEnd

eher so
07/22/2008 11:29 [PixeL]#10
sry geht immer nich nicht =(
07/22/2008 11:41 °Remus°#11
ich könnt dir jetzt nen fertiges script hinschreiben, welches in etwa deinen vorstellungen entsprchen sollte und wo du blos noch die werte einsetzten musst, aber erstens bringt dich das nicht weiter und 2tens hab ich sowas auch blos mit hilfe von tutorials etc. geschafft,
wieso willst du da eigentlich ne gui reinbauen? das macht das ganze doch viel komplizierter, mit hotkeys geht das doch viel besser
07/22/2008 11:55 [PixeL]#12
also er geht aber wen er die farbe sieht und egal wo pottet er die ganze zeit das verbraUCHT DIE GANZEN POTTS Xd
07/22/2008 12:04 [PixeL]#13
also das soll ein auto pott bot für nostale werden^^ aber er pottet die ganze zeit xD


kannst du mir den fertigen script geben?
07/22/2008 12:54 la burne#14
wenn du es nicht selber kannst dann solltest du es lassen!
07/22/2008 12:56 [PixeL]#15
Quote:
Originally Posted by mattjean View Post
wenn du es nicht selber kannst dann solltest du es lassen!
ich kanns warscheinlich besser als du guck mal ins nostale forum da alle bots die crazy 4 live gemacht hat das ist n freund und wir haben die bots zu sammen gemacht ich kann zwar vieles aber nicht alles und ich lerne halt noch dazu du bauer