Welcome, Guest
Please Login or Register.    Lost Password?

On-Grid Booster Project Vs 3.5
(0 viewing) 
Go to bottomPage: 1...2526272829303132
TOPIC: On-Grid Booster Project Vs 3.5
*
#48256
Re: On-Grid Booster Project Vs 3.5 4 Years ago Karma: 33
Alur71 wrote:
innominate thanks for the clarification, I would be happy to help you write the script lines that you could insert into the main script. Checking the locale, if everything is clean, then the script continues, if an enemy is found, then stop the script and go to the standard EP algorithm. Sorry for bad english, google translator)
Sorry, I'm busy doing a core code overhaul so my bots can get 2x-3x their current income. I already have a much more fully featured check local.
It is actually so easy to make a function that searches for the neut and hostile boxes in local.
My tip is to put the main code block in a Try, Catch, Finally format. If check local returns true, you can do a Throw to gracefully exit anywhere in the script.
innominate
Gold Boarder
Posts: 632
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#48268
Re: On-Grid Booster Project Vs 3.5 4 Years ago Karma: 14
innominate писал(а):
Sorry, I'm busy doing a core code overhaul so my bots can get 2x-3x their current income. I already have a much more fully featured check local.
It is actually so easy to make a function that searches for the neut and hostile boxes in local.
My tip is to put the main code block in a Try, Catch, Finally format. If check local returns true, you can do a Throw to gracefully exit anywhere in the script.

I'm not so advanced in writing scripts, I can make up a maximum of templates by doing something
slightly added a local test to the original looter script
Warning: Spoiler!
Alur71
Expert Boarder
Posts: 385
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2017/11/03 09:08 By Alur71.
The administrator has disabled public write access.
 
#48276
Re: On-Grid Booster Project Vs 3.5 4 Years ago Karma: 6
Is there a good set of setup instructions or a guide for this? I am reading the text file and I don't really see where to start. Do I need to install AHK first?
My_Miner_Alt
Senior Boarder
Posts: 146
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#48278
Re: On-Grid Booster Project Vs 3.5 4 Years ago Karma: 33
Alur71, that would only make it so that it is checked after each script is done. It probably would not be much quicker. I was saying you would need to insert a small function into his code like this: (Done on phone...)
Warning: Spoiler!
innominate
Gold Boarder
Posts: 632
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#48286
Re: On-Grid Booster Project Vs 3.5 4 Years ago Karma: 14
innominate thanks a lot for the help, I already wrote above that I do not really understand the programming languages. How do I understand this block can be inserted into the script anywhere? if everything is OK, then the script continues, if not, then the script stops and the usual script EP occurs.
Alur71
Expert Boarder
Posts: 385
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#48289
Re: On-Grid Booster Project Vs 3.5 4 Years ago Karma: 33
Alur71 wrote:
innominate thanks a lot for the help, I already wrote above that I do not really understand the programming languages. How do I understand this block can be inserted into the script anywhere? if everything is OK, then the script continues, if not, then the script stops and the usual script EP occurs.
I guess Minesalot could add it then.
innominate
Gold Boarder
Posts: 632
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1...2526272829303132
Moderators: Slav2
© Macro Laboratory 2021
All rights reserved!
Design by Ivan Kozyrin