Добро пожаловать, Гость
Пожалуйста Вход или Регистрация.    Забыли пароль?

Functional Mining Drones Vs 2.0 (Dead project)
(0 чел.) 
ВнизСтраница: 123456789
Сообщения темы: Functional Mining Drones Vs 2.0 (Dead project)
#46054
Re: Functional Mining Drones Vs 1.1 8 г., 11 мес. назад Репутация: 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
Постов: 236
graphgraph
Пользователь в оффлайне Кликните здесь, чтобы посмотреть профиль этого пользователя
Для добавления сообщений Вы должны зарегистрироваться или авторизоваться
 
#46055
Re: Functional Mining Drones Vs 1.1 8 г., 11 мес. назад Репутация: 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
Постов: 632
graphgraph
Пользователь в оффлайне Кликните здесь, чтобы посмотреть профиль этого пользователя
Для добавления сообщений Вы должны зарегистрироваться или авторизоваться
 
#46061
Re: Functional Mining Drones Vs 1.1 8 г., 11 мес. назад Репутация: 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.
Предупреждение: Помехи!


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
Постов: 236
graphgraph
Пользователь в оффлайне Кликните здесь, чтобы посмотреть профиль этого пользователя
Последнее редактирование: 21.05.2017 02:48 Редактировал Minesalot.
Для добавления сообщений Вы должны зарегистрироваться или авторизоваться
 
#46063
Re: Functional Mining Drones Vs 1.1 8 г., 11 мес. назад Репутация: 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
Постов: 236
graphgraph
Пользователь в оффлайне Кликните здесь, чтобы посмотреть профиль этого пользователя
Для добавления сообщений Вы должны зарегистрироваться или авторизоваться
 
#46064
Re: Functional Mining Drones Vs 1.1 8 г., 11 мес. назад Репутация: 33
I just shot a drone.
innominate
Gold Boarder
Постов: 632
graphgraph
Пользователь в оффлайне Кликните здесь, чтобы посмотреть профиль этого пользователя
Для добавления сообщений Вы должны зарегистрироваться или авторизоваться
 
#46073
Re: Functional Mining Drones Vs 1.1 8 г., 11 мес. назад Репутация: 10
I just shot a drone.
Damn you for your awesome thinking skills.

Using ini read and write for some stuff now.
Код:


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
Постов: 236
graphgraph
Пользователь в оффлайне Кликните здесь, чтобы посмотреть профиль этого пользователя
Для добавления сообщений Вы должны зарегистрироваться или авторизоваться
 
ВверхСтраница: 123456789
Модераторы: Slav2
© Macro Laboratory 2026
Все права защищены!
Design by Ivan Kozyrin