Welcome, Guest
Please Login or Register.    Lost Password?

Functional Mining Drones Vs 2.0 (Dead project)
(0 viewing) 
Go to bottomPage: 123456789
TOPIC: Functional Mining Drones Vs 2.0 (Dead project)
#46054
Re: Functional Mining Drones Vs 1.1 8 Years, 9 Months ago Karma: 10
That is the plan. Going to add Dock Drones call in a few places. I watched many miners going for a couple hours, and some of them lost their drones while others did not.

Also noticed that on some VM's it is in a FM loop for way too long, like 10 minutes. I have Fight mode set to 120 seconds in EP, and time out at 70 seconds in the EPscript. Need to find a better method of activate FM, launch combat drones, Fight, then dock them and carry on.

This is FUN!

Build it, it breaks, fix it, it breaks in another spot. Fix that, it breaks for some and not others. Weeks of coding saves hours of planning.
Minesalot
Expert Boarder
Posts: 236
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#46055
Re: Functional Mining Drones Vs 1.1 8 Years, 9 Months ago Karma: 33
First of all, so glad you chose a picture!
Minesalot wrote:
That is the plan. Going to add Dock Drones call in a few places. I watched many miners going for a couple hours, and some of them lost their drones while others did not.

Also noticed that on some VM's it is in a FM loop for way too long, like 10 minutes. I have Fight mode set to 120 seconds in EP, and time out at 70 seconds in the EPscript. Need to find a better method of activate FM, launch combat drones, Fight, then dock them and carry on.

That is a new one to me.
Minesalot wrote:

This is FUN!

Build it, it breaks, fix it, it breaks in another spot. Fix that, it breaks for some and not others. Weeks of coding saves hours of planning.


So fun!
Yeah, that is the point I was trying to make about class and object based coding. I know the planning may feel like you're not getting anything done, but once you're done coding it, your done worrying about it as it keeps interaction to a minimum.

innominate
Gold Boarder
Posts: 632
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#46061
Re: Functional Mining Drones Vs 1.1 8 Years, 9 Months ago Karma: 10
I added a bunch of DockDrones just before any warp outs, so that should solve that problem. I'll see if that slows it down too much, but safe is better than faster. Need to test it out.

Also here is the simple code for health checking. Thought of the simple way. Look for that nice separator bar, then check for any red just to the right of it.
Warning: Spoiler!


How would I go about returning to EP and telling EP we should get our fight on? Use iniwrite I suppose, and use... NVM, think i got it. iniwrite 1 2 3 or 4 based on what i find, then EP will use that to send to diferent parts of the algorithm.

Which also gives me another idea of making use of the ini file. Using that to determine what type of drone to launch. and a couple other things.
Minesalot
Expert Boarder
Posts: 236
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2017/05/21 02:48 By Minesalot.
The administrator has disabled public write access.
 
#46063
Re: Functional Mining Drones Vs 1.1 8 Years, 9 Months ago Karma: 10
Why is it when I am sitting here watching this run for a few hours that My drones never take any damage? All I want is one screen shot so I can get the color to search for. I go have a smoke and 1 is dead and another is showing some damage. Woo Hoo I got my color but damnit, cost me a million isk.
Minesalot
Expert Boarder
Posts: 236
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#46064
Re: Functional Mining Drones Vs 1.1 8 Years, 9 Months ago Karma: 33
I just shot a drone.
innominate
Gold Boarder
Posts: 632
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#46073
Re: Functional Mining Drones Vs 1.1 8 Years, 9 Months ago Karma: 10
I just shot a drone.
Damn you for your awesome thinking skills.

Using ini read and write for some stuff now.
Code:


IniWrite, 2 , EPVars.ini, Drones, Type ;Tell AHK to work with Combat drones
IniWrite, 4 , EPVars.ini, Drones, EPControl ;Report 4 to start fight moduel
sleep, 4500
ExitApp



How exactly do I exit AHK and let EP know it was ExitCode: 4 ?

371: AutoHotkey(DroneControl.ahk;25;False;False;CorpBMImages\EPVars.ini|Drones|EPControl)[372;372;372;372;FM]

That should do it right?
Minesalot
Expert Boarder
Posts: 236
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 123456789
Moderators: Slav2
© Macro Laboratory 2026
All rights reserved!
Design by Ivan Kozyrin