Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 00:43

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

Advertisement



Can someone help me optimize my script

Discussion on Can someone help me optimize my script within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2012
Posts: 20
Received Thanks: 5
Can someone help me optimize my script

Well, this is my first bot made in autoit .. so I'm very nooob I've asked for a lot of help here to make it work hahaha ... and well up to now I've achieved a lot of verdd .. but I see that my bot sometimes gets a little heavy: / or every time he works slower or with problems: / ... when using func pause I have to give him several times to grab him and things like that ... sometimes he starts to make my keyboard deconfigure and write in pure capital letters while they are deactivated ... someone could help me optimize it a bit ... And thank you very much


pliss and ty again to all !!
edmer is offline  
Old 10/29/2017, 21:14   #2
 
elite*gold: 0
Join Date: Apr 2011
Posts: 363
Received Thanks: 167
I won't give u all the code because u won't learn anything, but i will give u some tips to start.

Vars u use in all your code should be global, those variables can be accessed and changed in any function, local ones will only be accesible inside a function

Caution with those while loops, you are overusing them, and you can't pause the bot anymore.


Here is what should do, instead of 10 loops use flags, u can also make code pretier with some extra functions


Example of simple bot script with image search
elmarcia is offline  
Old 10/30/2017, 11:49   #3
 
elite*gold: 0
Join Date: Aug 2012
Posts: 20
Received Thanks: 5
Thank you brother ... thank you very much for your answer, as I said I am very new making bots and more using autoit ... I understand a little what you tell me but I do not fully understand it if you could leave me a little more explanation you could help even more ... please and I thank you ... and if I also appreciate that you do it in a way that I can learn but I do not understand much of the final how to solve everything hahaha !! Sorry ... and again thanks to everyone who wants to help.
edmer is offline  
Reply


Similar Threads Similar Threads
Anyone can optimize this code ?
11/30/2013 - CO2 Private Server - 17 Replies
Kindly make this code better guys. I want a port refresher that uses less Cpu usage. static void Port_Refresher() { while (true) { { AuthServer.Disable(); AuthServer = null;
[Release]Optimize Your GrandChase
01/20/2011 - Grand Chase Hacks, Bots, Cheats & Exploits - 17 Replies
This Program is originally from game booster. But this is Lite version made by me. This will make you to run Grand Chase and other programs faster. Instructions: 1. Download the ff file. 2. Extract using winrar.
PLEASE......CAN SOMEONE CAN GIVE ME AN ENGINE THAT CAN'T BE DETECTED...
12/30/2009 - Grand Chase Hacks, Bots, Cheats & Exploits - 3 Replies
...GIVE ME AN ENGINE THAT IS N0T DETECTED..... KAHIT NA PANG 5 DAYS LANG !^^...IF YOU ARE FINISH TO READ YOU CAN CLOSED THIS THREAD....>.<:):):):):)
corn to optimize and repair
11/10/2008 - CO2 Private Server - 1 Replies
hello how make corn to corn to optimize and repair tables every day for more good server without sql problems ???



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


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.