Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 11:50

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

Advertisement



Includes gesucht

Discussion on Includes gesucht within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
Σternαl.'s Avatar
 
elite*gold: 20
Join Date: Dec 2009
Posts: 1,850
Received Thanks: 484
Includes gesucht

Hey Community,
ich hab mir grad ein Gui Scrpit mit Koda errstellt, aber bekanntich vergisst
Koda leider immer, die Includes mit in den Source zu nehmen.

Ich brauche die Includes für die folgenden Variablen:
$WS_SYSMENU,$WS_POPUP,$WS_CLIPSIBLINGS$WS_EX OVERLAPPED WINDOW,$WS_EX_RIGHT,$WS_EX_TOOLWINDOW,$WS_EX_WINDO WEDGE

Danke im Voraus!
Σternαl. is offline  
Old 05/12/2010, 18:25   #2
 
| Moep |'s Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 1,079
Received Thanks: 438
Code:
#include <guiconstants.au3>
..komisch, bei mir vergisst er die nie...
| Moep | is offline  
Old 05/12/2010, 18:27   #3
 
elite*gold: 0
Join Date: Nov 2009
Posts: 927
Received Thanks: 1,317
Quote:
Originally Posted by | Moep | View Post
Code:
#include <guiconstants.au3>
..komisch, bei mir vergisst er die nie...
Und ich dachte immer, die $WS... und $WS_EX wären im

Code:
#include <WindowsConstants.au3>
Gruß
huberhans is offline  
Thanks
1 User
Old 05/12/2010, 18:33   #4
 
Σternαl.'s Avatar
 
elite*gold: 20
Join Date: Dec 2009
Posts: 1,850
Received Thanks: 484
Danke, ich versuchs gleich mal mit WindowsConstants ^^

@Moep
GuiConstants includet er immer, das ist aber nicht der Include, den ich brauche.

€dit: So, habs getestet mit WindowsConstants und jetzt klappts^^

Aber ein Problem hab ich noch:
Und zwar zeig er mir die GUI nicht so an, wie ich es in Koda erstellt hab, hier mal ein Bild, wie es sein sollte.



Und dann hab ich noch ein Problem, und zwar mault der Compiler wegen $ms2[1] = 1234.
"$ms2^ERROR" Was mach ich falsch?
Σternαl. is offline  
Old 05/12/2010, 19:48   #5

 
FichteFoll's Avatar
 
elite*gold: 237
Join Date: Sep 2008
Posts: 4,476
Received Thanks: 4,587
Quote:
Originally Posted by FooFightah View Post
Aber ein Problem hab ich noch:
Und zwar zeig er mir die GUI nicht so an, wie ich es in Koda erstellt hab.

Und dann hab ich noch ein Problem, und zwar mault der Compiler wegen $ms2[1] = 1234.
"$ms2^ERROR" Was mach ich falsch?
1. , ist ein Must-Have

2. Wie zeigt er es denn an? Bekommen ich/wir auch mal den Code? Also Parameter von GUICreate.

3. wenn du den Array neu definierst musst du
"Global $ms2[1] = [1234]" benutzen. Oder

"Global $ms2[1]

$ms2[0] = 1234"
FichteFoll is offline  
Thanks
1 User
Old 05/12/2010, 20:15   #6
 
Σternαl.'s Avatar
 
elite*gold: 20
Join Date: Dec 2009
Posts: 1,850
Received Thanks: 484
Quote:
Originally Posted by FichteFoll View Post
1. , ist ein Must-Have

2. Wie zeigt er es denn an? Bekommen ich/wir auch mal den Code? Also Parameter von GUICreate.

3. wenn du den Array neu definierst musst du
"Global $ms2[1] = [1234]" benutzen. Oder

"Global $ms2[1]

$ms2[0] = 1234"
Erstmal vielen Dank! Das Tool ist echt mal praktisch^^

Und zwar sieht es so aus, wenn ich das Script laufen lass.


Hier mal die GUICreate
PHP Code:
$Form1_1 GUICreate("COLOR                                          COLOR(HEX)                                           MOUSE X                                     MOUSE Y                      "68922189252BitOR($WS_SYSMENU,$WS_POPUP,$WS_CLIPSIBLINGS), BitOR($WS_EX_OVERLAPPEDWINDOW,$WS_EX_RIGHT,$WS_EX_TOOLWINDOW,$WS_EX_WINDOWEDGE)) 
Meinetwegen kannst du auch den ganzen Source haben, das ist ein kleines InfoTool.

Das Tool an sich klappt, aber die Zahlen sind andauernd am flimmern, weil
das Programm ja sehr schnell hintereinander die While Schleife durch geht.
Deswegen hab ich mir gedacht, dass das Programm nur dann einen Wert
als Label schreiben soll, wenn ich die Maus bewege = die Koordinaten sich verändern.
Als ich das nur mit dem Farben und noch ohne Mauskoordinaten hatte, hat
das ganz einfach geklappt, indem ich vor dem Label mit ner If Schleife
überprüft hab, ob sich die Farbe verändert hat. Dann war das Flimmern weg.
Aber jetzt flimmerts komischerweise immernoch, könnt ihr das irgendwie wegkriegen?
€dit: Ja, ich weiß, dass der 2. Include unnötig ist^^
Σternαl. is offline  
Old 05/12/2010, 20:48   #7
 
Shadow992's Avatar
 
elite*gold: 77
Join Date: May 2008
Posts: 5,430
Received Thanks: 5,878
Quote:
Originally Posted by FooFightah View Post
Erstmal vielen Dank! Das Tool ist echt mal praktisch^^

Und zwar sieht es so aus, wenn ich das Script laufen lass.


Hier mal die GUICreate
PHP Code:
$Form1_1 GUICreate("COLOR                                          COLOR(HEX)                                           MOUSE X                                     MOUSE Y                      "68922189252BitOR($WS_SYSMENU,$WS_POPUP,$WS_CLIPSIBLINGS), BitOR($WS_EX_OVERLAPPEDWINDOW,$WS_EX_RIGHT,$WS_EX_TOOLWINDOW,$WS_EX_WINDOWEDGE)) 
Meinetwegen kannst du auch den ganzen Source haben, das ist ein kleines InfoTool.

Das Tool an sich klappt, aber die Zahlen sind andauernd am flimmern, weil
das Programm ja sehr schnell hintereinander die While Schleife durch geht.
Deswegen hab ich mir gedacht, dass das Programm nur dann einen Wert
als Label schreiben soll, wenn ich die Maus bewege = die Koordinaten sich verändern.
Als ich das nur mit dem Farben und noch ohne Mauskoordinaten hatte, hat
das ganz einfach geklappt, indem ich vor dem Label mit ner If Schleife
überprüft hab, ob sich die Farbe verändert hat. Dann war das Flimmern weg.
Aber jetzt flimmerts komischerweise immernoch, könnt ihr das irgendwie wegkriegen?
€dit: Ja, ich weiß, dass der 2. Include unnötig ist^^
Probiers doch mal so
PHP Code:
#include <GUIConstantsEx.au3>
#include <EditConstants.au3>
#include <WindowsConstants.au3>

Opt("GUIOnEventMode"1)
$Form1_1 GUICreate("COLOR                                          COLOR(HEX)                                           MOUSE X                                     MOUSE Y                      "68922189252BitOR($WS_SYSMENU,$WS_POPUP,$WS_CLIPSIBLINGS), BitOR($WS_EX_OVERLAPPEDWINDOW,$WS_EX_RIGHT,$WS_EX_TOOLWINDOW,$WS_EX_WINDOWEDGE))
GUISetOnEvent($GUI_EVENT_CLOSE"_exit")
GUISetState(@SW_SHOW)

Global 
$ms2[2]
$ms2[0] = 1234567890
$ms2
[1] = 1234567890
While 1
    $ms 
MouseGetPos()
    
$clr PixelGetColor($ms[0], $ms[1])
    If 
$ms2[0] = $ms[0] And $ms2[1] = $ms[1]Then
        sleep
(1)
    Else
        
$Label3 GUICtrlCreateLabel($ms[0], 40005120)
        
GUICtrlSetFont(-1108000"MS Sans Serif")
        
$Label4 GUICtrlCreateLabel($ms[1], 56005120)
        
GUICtrlSetFont(-1108000"MS Sans Serif")
        
$Label1 GUICtrlCreateLabel($clr32011520)
        
GUICtrlSetFont(-1108000"MS Sans Serif")
        
$Label2 GUICtrlCreateLabel(Hex($clr), 192011520)
        
GUICtrlSetFont(-1108000"MS Sans Serif")
        
$ms2 MouseGetPos()
    EndIf
WEnd

Func _exit
()
    Exit
EndFunc 
Shadow992 is offline  
Old 05/12/2010, 20:50   #8
 
| Moep |'s Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 1,079
Received Thanks: 438
Code:
#include <GUIConstantsEx.au3>
#include <EditConstants.au3>
#include <WindowsConstants.au3>

Opt("GUIOnEventMode", 1)
$Form1_1 = GUICreate("COLOR                                          COLOR(HEX)                                           MOUSE X                                     MOUSE Y                      ", 689, 22, 189, 252, BitOR($WS_SYSMENU,$WS_POPUP,$WS_CLIPSIBLINGS), BitOR($WS_EX_OVERLAPPEDWINDOW,$WS_EX_RIGHT,$WS_EX_TOOLWINDOW,$WS_EX_WINDOWEDGE))
GUISetOnEvent($GUI_EVENT_CLOSE, "_exit")
GUISetState(@SW_SHOW)
$ms0 = MouseGetPos()
While 1
    $ms1 = MouseGetPos()
    If $ms0[0] <> $ms1[0] or $ms0[1] <> $ms1[1] Then
		$ms0 = MouseGetPos()
		$clr = PixelGetColor($ms0[0], $ms0[1])
		$Label3 = GUICtrlCreateLabel($ms0[0], 400, 0, 51, 20)
        GUICtrlSetFont(-1, 10, 800, 0, "MS Sans Serif")
        $Label4 = GUICtrlCreateLabel($ms0[1], 560, 0, 51, 20)
        GUICtrlSetFont(-1, 10, 800, 0, "MS Sans Serif")
        $Label1 = GUICtrlCreateLabel($clr, 32, 0, 115, 20)
        GUICtrlSetFont(-1, 10, 800, 0, "MS Sans Serif")
        $Label2 = GUICtrlCreateLabel(Hex($clr), 192, 0, 115, 20)
        GUICtrlSetFont(-1, 10, 800, 0, "MS Sans Serif")
	EndIf
    sleep(1)
WEnd

Func _exit()
    Exit
EndFunc
Edit. meins is ressourcen schonender, da er erst den pixel ausliest wenn sich die maus bewegt hat
Edit2. Außerdem musst du bei Shadows script die x AND y pos der maus verändern um ein refresh deiner gui zu erzwingen, bei mir kommt des schon bei nur einer Achse...
| Moep | is offline  
Thanks
1 User
Old 05/12/2010, 20:57   #9
 
Σternαl.'s Avatar
 
elite*gold: 20
Join Date: Dec 2009
Posts: 1,850
Received Thanks: 484
Danke Moep, jetzt muss ich nurnoch das Problem mit der GUI lösen^^
Σternαl. is offline  
Old 05/12/2010, 21:03   #10

 
FichteFoll's Avatar
 
elite*gold: 237
Join Date: Sep 2008
Posts: 4,476
Received Thanks: 4,587
Ich würde eher CtrlSetData benutzen.

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

Opt("GUIOnEventMode"1)
$Form1_1 GUICreate("COLOR                                          COLOR(HEX)                                           MOUSE X                                     MOUSE Y"68922189252, -1$WS_EX_TOOLWINDOW)
GUISetOnEvent($GUI_EVENT_CLOSE"_exit"); $WS_EX_TOOLWINDOW

$ms 
MouseGetPos()
$clr PixelGetColor($ms[0], $ms[1])
$Label3 GUICtrlCreateLabel($ms[0], 40005120)
GUICtrlSetFont(-1108000"MS Sans Serif")
$Label4 GUICtrlCreateLabel($ms[1], 56005120)
GUICtrlSetFont(-1108000"MS Sans Serif")
$Label1 GUICtrlCreateLabel($clr32011520)
GUICtrlSetFont(-1108000"MS Sans Serif")
$Label2 GUICtrlCreateLabel(Hex($clr), 192011520)
GUICtrlSetFont(-1108000"MS Sans Serif")

GUISetState(@SW_SHOW)

Global 
$ms2[2]
$ms2[0] = 1234567890
$ms2
[1] = 1234567890
While 1
    $ms 
MouseGetPos()
    
$clr PixelGetColor($ms[0], $ms[1])

    If 
$ms2[0] <> $ms[0] And $ms2[1] <> $ms[1]Then
        GUICtrlSetData
($Label1$clr)
        
GUICtrlSetData($Label2Hex($clr))
        
GUICtrlSetData($Label3$ms[0])
        
GUICtrlSetData($Label4$ms[1])
    EndIf

    
Sleep(200)
WEnd

Func _exit
()
    Exit
EndFunc 
FichteFoll is offline  
Old 05/12/2010, 21:11   #11
 
| Moep |'s Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 1,079
Received Thanks: 438
Quote:
Originally Posted by FooFightah View Post
Danke Moep, jetzt muss ich nurnoch das Problem mit der GUI lösen^^
this!?

Code:
#include <GUIConstantsEx.au3>
#include <EditConstants.au3>
#include <WindowsConstants.au3>

Opt("GUIOnEventMode", 1)
$Form1_1 = GUICreate("COLOR                                          COLOR(HEX)                                           MOUSE X                                     MOUSE Y                      ", 689, 22, 189, 252, BitOR($WS_CAPTION ,$WS_SYSMENU), $WS_EX_TOOLWINDOW)
GUISetOnEvent($GUI_EVENT_CLOSE, "_exit")
GUISetState(@SW_SHOW)
$ms0 = MouseGetPos()
While 1
    $ms1 = MouseGetPos()
    If $ms0[0] <> $ms1[0] or $ms0[1] <> $ms1[1] Then
		$ms0 = MouseGetPos()
		$clr = PixelGetColor($ms0[0], $ms0[1])
		$Label3 = GUICtrlCreateLabel($ms0[0], 400, 0, 51, 20)
        GUICtrlSetFont(-1, 10, 800, 0, "MS Sans Serif")
        $Label4 = GUICtrlCreateLabel($ms0[1], 560, 0, 51, 20)
        GUICtrlSetFont(-1, 10, 800, 0, "MS Sans Serif")
        $Label1 = GUICtrlCreateLabel($clr, 32, 0, 115, 20)
        GUICtrlSetFont(-1, 10, 800, 0, "MS Sans Serif")
        $Label2 = GUICtrlCreateLabel(Hex($clr), 192, 0, 115, 20)
        GUICtrlSetFont(-1, 10, 800, 0, "MS Sans Serif")
	EndIf
    sleep(1)
WEnd

Func _exit()
    Exit
EndFunc
edit
Quote:
Originally Posted by FichteFoll View Post
Ich würde eher CtrlSetData benutzen.
Jop, stimmt. garnicht bemerk, so veränderst du nur den wert des Labels. In FooFightah´s Version wird dass label jedesmal über den vorhergehenden neu erzeugt...
| Moep | is offline  
Thanks
1 User
Old 05/12/2010, 21:30   #12
 
Σternαl.'s Avatar
 
elite*gold: 20
Join Date: Dec 2009
Posts: 1,850
Received Thanks: 484
So >_>
Erstmal danke für die Codes, aber ich habs jetzt folgendermaßen gemacht =D
Σternαl. is offline  
Old 05/12/2010, 21:35   #13
 
| Moep |'s Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 1,079
Received Thanks: 438
Quote:
Originally Posted by FooFightah View Post
So >_>
Erstmal danke für die Codes, aber ich habs jetzt folgendermaßen gemacht =D
Damit hast du nur meine Or Abfrage in zwei if Abfragen gesplittet, ergo mehr code, ergo unübersichtlicher. Außerdem sieht dass nicht so aus wie in deinem pic?!
| Moep | is offline  
Old 05/12/2010, 21:38   #14
 
Σternαl.'s Avatar
 
elite*gold: 20
Join Date: Dec 2009
Posts: 1,850
Received Thanks: 484
Quote:
Originally Posted by | Moep | View Post
Damit hast du nur meine Or Abfrage in zwei if Abfragen gesplittet, ergo mehr code, ergo unübersichtlicher. Außerdem sieht dass nicht so aus wie in deinem pic?!
Was hat denn die If Schleife mit dem Pic zutun? oO

€dit: Kann mir jemand noch sagen, wie ich es hinbekomme, dass das Fenster immer im Vordergrund ist?
Also wie beim Taskmanager oder beim WindowInfoTool von AutoIt.
Σternαl. is offline  
Old 05/12/2010, 21:52   #15
 
| Moep |'s Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 1,079
Received Thanks: 438
Quote:
Originally Posted by FooFightah View Post
Was hat denn die If Schleife mit dem Pic zutun? oO
War dass nicht dein request? oO

Quote:
Originally Posted by FooFightah View Post
€dit: Kann mir jemand noch sagen, wie ich es hinbekomme, dass das Fenster immer im Vordergrund ist?
Also wie beim Taskmanager oder beim WindowInfoTool von AutoIt.

| Moep | is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
New Cabal EU Bot. (includes GG Bypass)
06/23/2010 - Cabal Hacks, Bots, Cheats, Exploits & Macros - 10 Replies
This is new Cabal Europe Macroing/Botting program. It includes Game-Guard Bypass and other features. It's NOT Fake.. Before you admins/haters post some crap.. TRY IT FIRST. Its UP-TO-DATE Illusion Castle.. (After new update it WON'T WORK!) ~G
Character Bot Includes Eminem
11/29/2009 - Soldier Front Hacks, Bots, Cheats & Exploits - 2 Replies
This is a character Bot for Soldier front, it is undetected so you can use it. NO ROKMC BUT EMINEM! http://img39.imageshack.us/img39/6721/immagine3j. png Here is the download link: force_090.rar
WTS: Steam Account; includes only 1.6 (non esl!)
10/06/2009 - Steam Trading - 4 Replies
Hi @ Verkaufe hier meinen CS 1.6 Account, er ist weder gebannt noch in der ESL eingetragen (kann somit frei genutzt werden ;)). Auf wunsch kann ich ein Screen machen (momentan nur kein Steam drauf) oder auch ein Foto von der Verpackung + Kassenzettel. Preis: 10 € Nach dem Kauf erhaltet ihr eine Text-Datei welche die Accountdaten beinhaltet :)
[Guide] to 2nd RB Quest *includes a map!*
03/09/2009 - CO2 Guides & Templates - 3 Replies
This is for all the players who are doing the 2nd reborn quest and having a hard time. I made the map and guide by myself and I hope this helps you guys. I hope this in a way makes the quest easier for you or faster. Anyways onto the product. Enjoy! *Side Note: My calculations may be off so sincerest apologies if so! *Side Note: The map may be a little off but please bare with that. Also, remember it's not always on the actual spot because monsters do tend to move i.e, the Curses. And it's...
Botting includes no dc client users too?
03/08/2008 - Silkroad Online - 1 Replies
So,I'm fully legit, only using no-dc client and i havent bought silk for 3 months.Do i have possibility to get banned. Maybe anybody remembers last banning in 2007 summer or anything else



All times are GMT +1. The time now is 11:51.


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.