Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Guild Wars > GW Bots
You last visited: Today at 15:01

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

Advertisement



Fragen zum GUI

Discussion on Fragen zum GUI within the GW Bots forum part of the Guild Wars category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2007
Posts: 301
Received Thanks: 53
Fragen zum GUI

Hallo,
Ich hab mal 2 fragen zum Thema GUI.
Und zwar:

1. Warum bekomm ich wen ich ein Bild in meinen GUI rein machen will immer folgendes ERROR ??

Code:
C:\Users\Hokler\AppData\Local\Temp\test.au3 (5) : ==> Variable used without being declared.:
$Pic1 = GUICtrlCreatePic("C:\Users\Hokler\Desktop\guild_wars_main.jpg", 0, 0, 364, 284,BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
$Pic1 = GUICtrlCreatePic("C:\Users\Hokler\Desktop\guild_wars_main.jpg", 0, 0, 364, 284,BitOR(^ ERROR
Hir mal der GUI Code:

PHP Code:
#include <GUIConstants.au3>

#Region ### START Koda GUI section ### Form=
$Form1 GUICreate("Ascalon Tutorial Bier-Bot by Hokler    (v.1a)"365285191125)
$Pic1 GUICtrlCreatePic("C:\Users\Hokler\Desktop\guild_wars_main.jpg"00364284,BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
$Button1 GUICtrlCreateButton("Fenster Anpassen"1624121490)
GUICtrlSetFont(-1108000"Comic Sans MS")
$Button2 GUICtrlCreateButton("Background Start"16120121490)
GUICtrlSetFont(-1108000"Comic Sans MS")
$Button3 GUICtrlCreateButton("Over-Night Start"16216121490)
GUICtrlSetFont(-1108000"Comic Sans MS")
$Button4 GUICtrlCreateButton("Help !"21696121490)
GUICtrlSetFont(-1108000"Comic Sans MS")
$Button5 GUICtrlCreateButton("Exit"216192121490)
GUICtrlSetFont(-1108000"Comic Sans MS")
$Label1 GUICtrlCreateLabel("CopyRight(c) by Hokler"24826411317)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
    $nMsg 
GUIGetMsg()
    Switch 
$nMsg
        
Case $GUI_EVENT_CLOSE
            
Exit

    EndSwitch
WEnd 
so das war die erste Frage

Jetzt kommt die zweite Frage:
Wie kann ich meine Bot ein eigenes Icon machen?
Also wen ich mein Script zu einer .exe mache hatt die .exe immer das AutoIt Symbol. Aber ich hätte gerne ein eigenes Symbol weis aber nicht wie ich das machen kann

So ich hoffe ihr könnt mir meine Fragen beantworten =)

mfg
Hokler


PS: Ich hab die SuFu benutzt hab aber nix gefunden das mir weiterhilft =(.
Hokler is offline  
Old 02/03/2009, 20:30   #2
 
cab_killer's Avatar
 
elite*gold: 9
Join Date: Jan 2009
Posts: 206
Received Thanks: 24
Zu 2 kann ich sagen
Ich habe mal gesehen das du Compile with Options auswählen kannst und da kannst du soweit ich das weiss ein Icon einsetzen da gibt es ein feld wo du ein icon auswählen kannst

Hab es noch nicht getestet aber so muss es ja gehen

Wenn nicht dann gibt es auch noch mehrere programme mit denem man da Lösen kann

MFG
cab_killer is offline  
Old 02/03/2009, 20:34   #3
 
elite*gold: 20
Join Date: Feb 2007
Posts: 3,080
Received Thanks: 4,294
du musst windowscontstants.au3 includen
kknb is offline  
Old 02/03/2009, 20:45   #4
 
elite*gold: 0
Join Date: Dec 2007
Posts: 301
Received Thanks: 53
erstmal danke an euch =)

aber mein erster fehler ist noch da =( und des ist doof weil son grauer eintöniger gui doof aussieht =/
Hokler is offline  
Old 02/03/2009, 20:51   #5
 
cab_killer's Avatar
 
elite*gold: 9
Join Date: Jan 2009
Posts: 206
Received Thanks: 24
So ich habe dein Problem gefunden

Füge mal noch

#include <StaticConstants.au3>

ein dann gehts

MFG
cab_killer is offline  
Reply


Similar Threads Similar Threads
[Fragen]Ein paar fragen und IHR seid gefragt...
08/22/2010 - Metin2 Private Server - 5 Replies
Hab mal nen paar fragen an euch...vielleicht kann sie ja der ein oder andere beantworten 1.Wie baut man Serverside mehrere CH´s ein?möchte gerne auf 4 ch´s erweitern. 2.Wie Baut man Clientside mehr CH´s ein?(benutze neonblue seinen) 3.Wie baut man das cash -in script von saphira auf seiner HP ein? 4.wie baut man einen patcher in seinen Client ein?
80er Waffen ? Fragen über Fragen ô.ô
07/31/2009 - Metin2 Private Server - 15 Replies
Hey, Ich wollte mal gerne wissen wie man eig. eine 80er Waffe bekommt? Also was muss man tun? Was braucht man? Wohin damit?Benötige ich dazu noch was? Wäre echt neTT,wenn jmd mir des erklären könnte :) Danke in vorraus :D



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


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.