Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 06:16

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

Advertisement



Problem mit/Problems with AutoIt code

Discussion on Problem mit/Problems with AutoIt code within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2010
Posts: 20
Received Thanks: 2
Problem mit/Problems with AutoIt code

German:
Hallo liebe Community,
ich bin noch ziemlich neu was coding angeht und ich versteh den Fehler meines Bot nicht. Könnte mir hier vlt einer helfen?

English:
Hello dear community,
I'm still fairly new in terms of coding and I do not understand the error of my bot. Could me here vlt a help?
wii12 is offline  
Old 05/23/2014, 08:42   #2
 
alpines's Avatar
 
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 815
Ich nehm malan das Problem ist die obere While Schleife von Koda das Problem.
Nimm stattdessen GUIOnEventMode und mach das für jedes Control. Außerdem darfst diu die Werte erst einlesen, wenn du die dazugehörige Funktion startest, weil sie sonst immer 0 sind.
alpines is offline  
Thanks
1 User
Old 05/23/2014, 15:07   #3
 
elite*gold: 0
Join Date: Jul 2010
Posts: 20
Received Thanks: 2
Quote:
Originally Posted by alpines View Post
Ich nehm malan das Problem ist die obere While Schleife von Koda das Problem.
Nimm stattdessen GUIOnEventMode und mach das für jedes Control. Außerdem darfst diu die Werte erst einlesen, wenn du die dazugehörige Funktion startest, weil sie sonst immer 0 sind.
Ok vielen dank das problem lag wirklich daran das die variabeln schon vorher geladen wurden. hab aber noch eins nämlich bei mir funktionieren die hotkey nicht
wii12 is offline  
Old 05/23/2014, 16:24   #4
 
alpines's Avatar
 
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 815
HotKeys deklariert man IMMER am Anfang eines Scriptes, unten haben sie nichts verloren.
Und jaja man kann sie auch unten deklarieren aber das macht man nicht, das ist böse.
alpines is offline  
Old 05/23/2014, 17:56   #5
 
elite*gold: 0
Join Date: Jul 2010
Posts: 20
Received Thanks: 2
Quote:
Originally Posted by alpines View Post
HotKeys deklariert man IMMER am Anfang eines Scriptes, unten haben sie nichts verloren.
Und jaja man kann sie auch unten deklarieren aber das macht man nicht, das ist böse.
Endlich funktioniert er vielen dank
wii12 is offline  
Old 05/23/2014, 18:30   #6
 
alpines's Avatar
 
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 815
Bitte statt Danke-Posts einfach auf Thanks drücken, das erspart das hochpushen und jeder weiß was gemeint ist.
alpines is offline  
Thanks
1 User
Old 05/23/2014, 18:46   #7
 
elite*gold: 0
Join Date: Jul 2010
Posts: 20
Received Thanks: 2
hatte vorher was anderes geschrieben was sich aber kurz darauf erspart hat^^
wii12 is offline  
Old 05/24/2014, 09:53   #8
 
elite*gold: 240
Join Date: Mar 2014
Posts: 374
Received Thanks: 585
Quote:
Originally Posted by alpines View Post
Ich nehm malan das Problem ist die obere While Schleife von Koda das Problem.
Nimm stattdessen GUIOnEventMode und mach das für jedes Control. Außerdem darfst diu die Werte erst einlesen, wenn du die dazugehörige Funktion startest, weil sie sonst immer 0 sind.
Das kann man in Koda auch einstellen . Nur so als Tipp
-SoulCr4ck- is offline  
Old 05/24/2014, 10:30   #9
 
alpines's Avatar
 
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 815
Ich mach das immer per Hand, Schleife löschen, da eine While Sleep(1000) und die Events ebenfalls per Hand.
alpines is offline  
Reply


Similar Threads Similar Threads
Autoit to exe problems
06/11/2011 - AutoIt - 1 Replies
Hey guys,I try make the script into exe.I usually made it with a convert from a guy and it was always work!But when i learnt,it can be leech i tried to obfucator and built it with Autoit Builter the hack doesnt work...I tried make it a3x but i cant so my friend did.And it was work but the music witch i add wasnt play.And also ButtonHover .bmp pictures wasnt show on.....What can i do? :confused:
AutoIT problems in AO?
02/17/2010 - Atlantica Online - 2 Replies
How does one get the mouse position for Atlantica Online? Have tried but it only gets the mouse position of the entire screen, like it is no recognizing Atlantica Online as the active window. There must be a way around this?



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


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