On-Grid Booster Project Vs 3.5 (0 чел.)
 | | |
|
Сообщения темы: On-Grid Booster Project Vs 3.5
|
|
Re: On-Grid Booster Project 9 г., 4 мес. назад
|
Репутация: 10
|
So this works pretty well, For me. since my down time is 6 am CDT.
Got a suggestion to make it more universal?
Предупреждение: Помехи!
| Код: |
IniRead, LastScanTime, %SharedDir%OGEPVars.ini, Booster, TimeOfLastScan
StringTrimRight, vNow, A_NowUTC, 6 ;Cut off the HHMMSS
LastDowntime := (vNow)061500 ;Join back Downtime HHMMSS
NextDowntime := (vNow +1)061500 ;Add 1 to the day, then add back HHMMSS
If ((LastScanTime < NextDowntime) and (LastScanTime > LastDowntime)){
;MsgBox, Already Scanned today
ExitApp
}
Else {
OGScanBMs()
IniWrite, %A_NowUTC%, %SharedDir%OGEPVars.ini, Booster, TimeOfLastScan
}
|
|
|
|
|
|
|
|
Re: On-Grid Booster Project 9 г., 3 мес. назад
|
Репутация: 34
|
|
Still not sure what you're trying to accomplish.
|
|
|
|
|
|
|
Re: On-Grid Booster Project 9 г., 3 мес. назад
|
Репутация: 10
|
|
You see Eve downtime is an event that happens every day at 11:00 in Iceland. Where they reset the servers and repopulate the asteroid belts.
That happens to be 6:00 AM in the center of the United States, where I have my proxy server set up so it looks like I live there.
I am scanning the Green BM's in the Boosters PnP. Recording their #= 0 for reset roid content | X location | Y Location.
This only needs to happen 1 time per day from 6:15 am today to 6:00 am tomorrow. Throughout the day as the booster monitors the roid content of a belt, if he finds it empy, he will change the ini BM to X=1|XXX|YYY to show it is empty and avoid it for the rest of the day. If he finds all of the belts marked as 1, he wont go searching any more. So it needs to be reset every day after downtime to 0|XXX|YYY.
Using "(vNow)061500 " works for me because it sets the time to my time 6:15 CDT.
I was asking if you can think of a more universaly usable timestamp.
|
|
|
|
|
|
|
Re: On-Grid Booster Project 9 г., 3 мес. назад
|
Репутация: 34
|
|
I think this is something similar from when i was trying to replicate afkLogoffCheck. (In the end i came up with some much more... Innominate.) ;p
If iniDay < utcDay and utcHour > 11{
iniWrite utcDay +1
Reset belts
}
Or do what I said in a recent post.
|
|
|
|
Последнее редактирование: 14.06.2017 19:37 Редактировал innominate.
|
|
|
Re: On-Grid Booster Project 9 г., 3 мес. назад
|
Репутация: 2
|
|
|
|
|
|
Последнее редактирование: 17.06.2017 09:59 Редактировал asda1702.
|
|
|
Re: On-Grid Booster Project 9 г., 3 мес. назад
|
Репутация: 10
|
|
It depends on several factors.
1. I am still tweaking it so it truly is not stable yet. I am on vs 3.1 now. Making lots of changes and documenting them. So buyer be ware. lol
2. Did you follow the instructions on running the run me first?
3. did you make the changes to overview settings and export properly?
Mostly I just posted what I had to get some input on how to do some of the stuff better.
I have received some good input, and have learned how to do some checks better/more efficient.
Right now the issues I am having are.
1. looter sometimes thinks he is not in space and wants to run home. I think because I slid the main HUD over too far to the left and now EP does not see it properly it freaks out. but i want more room to show modules.
2. miners are switching to crystal set 1 when they arrive on belt. and for some reason after about 20-30 minutes they switch to crystal set 1 again, even though there are plenty of rocks left. (something in my checks I have a reset, need to find it.)
3. my waiting to warp is not 100% accurate for everyone every time. but it is better than what it was.
I am enjoying myself tweaking, learning and making it better.
|
|
|
|
|
|
|
 | | |
|
|