Register for your free account! | Forgot your password?

You last visited: Today at 23:23

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

Advertisement



KODA

Discussion on KODA within the GW Bots forum part of the Guild Wars category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2008
Posts: 45
Received Thanks: 3
Post KODA

Hi all wollte für mein bot ne schöne GUI zum Start machen. Nun meine Frage wie schreibe ich in die funce die behfehle 1. Zum starten 2. Zum speichern der Input 3. Beenden der GUI und des Bots thx. hier ist der Code: #Region ### START Koda GUI section ### Form=Desktop\Autoit Hallo.kxf
$Form1 = GUICreate("Form1", 625, 443, 193, 125)
$Button1 = GUICtrlCreateButton("Start", 8, 376, 75, 25)
$Button2 = GUICtrlCreateButton("Save", 96, 376, 75, 25)
$Button3 = GUICtrlCreateButton("Exit", 184, 376, 75, 25)
$Input1 = GUICtrlCreateInput("Input1", 496, 32, 121, 21)
$Pic1 = GUICtrlCreatePic("", 8, 8, 332, 340)
$Input2 = GUICtrlCreateInput("Input2", 496, 56, 121, 21)
$Input3 = GUICtrlCreateInput("Input3", 496, 80, 121, 21)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Case $Button1
go ()
Case $Button2
save ()
Case $Button3
Exit

EndSwitch
WEnd

func go ()
...
endfunc

func save ()
...
endfunc
Artimes Fowl is offline  
Old 11/10/2009, 19:50   #2
 
in MIND's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 442
Received Thanks: 189
lasses lieber...
du fragst doch tatsächlich, wie du einen bot schreibst
in MIND is offline  
Old 11/10/2009, 20:17   #3
 
elite*gold: 0
Join Date: Dec 2008
Posts: 45
Received Thanks: 3
Ne ich frag nur was ich schreiben muss damit wenn ich dem button "Start" drüke der Bot startet usw.
Artimes Fowl is offline  
Old 11/10/2009, 20:42   #4
 
roho808's Avatar
 
elite*gold: 0
Join Date: Sep 2009
Posts: 41
Received Thanks: 4
der sollte doch jetzt schon starten oder?
roho808 is offline  
Old 11/10/2009, 20:53   #5
 
elite*gold: 0
Join Date: Dec 2008
Posts: 45
Received Thanks: 3
Nein erst erscheint die GUI und dann kann man entscheiden was man macht ob man was (coords) in die inputboxen schreibt oder denn bot startet oder beendet.
Artimes Fowl is offline  
Old 11/10/2009, 21:11   #6
 
roho808's Avatar
 
elite*gold: 0
Join Date: Sep 2009
Posts: 41
Received Thanks: 4
offensichtlich hast du das prinzip verstanden. sind jetzt noch irgendwechsel fragen offen?
roho808 is offline  
Old 11/10/2009, 21:20   #7
 
elite*gold: 0
Join Date: Dec 2008
Posts: 45
Received Thanks: 3
Ja wenn ich die GUI starte und zb. Auf Exit drüke passiert ja nichts . Und ich will wissen was ich tun muss damit was passiert .
Artimes Fowl is offline  
Old 11/10/2009, 21:24   #8
 
roho808's Avatar
 
elite*gold: 0
Join Date: Sep 2009
Posts: 41
Received Thanks: 4
woher sollen wir das wissen? dein quelltext gibt leider nicht her, ob exit() überhaupt irgendwas sinnvolles enthält.
roho808 is offline  
Old 11/10/2009, 21:57   #9
 
in MIND's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 442
Received Thanks: 189
wie ich schon gesagt hab, lasses lieber, denn du weisst offenbar nicht wie du den bot schreiben musst
in MIND is offline  
Reply


Similar Threads Similar Threads
Koda+AutoIt
03/12/2010 - AutoIt - 6 Replies
HI, ich habe ein Problem. Ich habe mit Koda ein GUI erstellt. Nun will ich das wenn ich auf den "Button1" klick
Frage zu Koda!
02/28/2010 - AutoIt - 4 Replies
Hallo Guys ich wollt mal wieder ein kleines Programm machen und wollte fragen, ob Koda auch solche Fenster mit einbeziehn kann: http://www2.pic-upload.de/27.02.10/dbkfablbck7r.j pg Wenn man halt auf die Datei klickt, die man möchte, solle der Pfad in der zugehörigen Inputbox rein. Sag schonmal Danke im vorraus (::handsdown: LG -Marks-
.Cur in KoDa
02/10/2010 - AutoIt - 5 Replies
Kann man .cur (also Cursor) in AutoIt als "Bild" darstellen? Es gibt ja keine direkte Funktion und einfach die Dateiendung umbenennen geht auch nicht^^
Koda...
01/14/2010 - AutoIt - 2 Replies
Hallo ich möchte eine art Lexikon erstellen wo man zb auf einen button gehen kann der eine unter rubrik also eine 2te Form öffnet wo in dieser weiderum buttons aufgehen aber wei kann ich eine form2 mit einem Button2 in Form 1 öffnen lassen? und wie kann ich einen Button in Form 2 machen der auf die erste seite führt ?
Koda
11/10/2009 - AutoIt - 8 Replies
Hi all, hab mir bei Koda was erstellt aber wie bekomme ich ein Bild hinein? Und wie füge ich zum Beispiel die runden ein die ich eintippe oder die coords für die truhe bei gw in den scrit ein. Gruß



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


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.