Welcome, Guest
Please Login or Register.    Lost Password?
Go to bottomPage: 12345678...13
TOPIC: Corp Bookmarking Miners
*
#43433
Re: Corp Bookmarking Miners 7 Years, 12 Months ago Karma: 33
So, does it work for anyone?

And as another tip, for those who haven't had programming training, once you get the hang of the easy stuff like that it is time to transition to creating methods for everything instead of like the code in the Corp Bookmarking Miners example. Methods make it so that you don't have to recode the same things over and over again. In fact, once you become good at it the majority of your code will be debugging, error trapping, and making it work under more various scenarios. (Check out how I can show you two of my core methods without revealing anything useful at all about how the rest of my code works.)

Warning: Spoiler!
innominate
Gold Boarder
Posts: 632
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2016/12/17 02:38 By innominate.
The administrator has disabled public write access.
 
#43442
Re: Corp Bookmarking Miners 7 Years, 12 Months ago Karma: 16
I'm sitting down to test it right now. I'll let you know how it progresses. Thank you for the coding tips. I've done a lot of lightweight scripting for data analysis, but not a lot of full-spectrum programming.
AbbadonDespoiler
Expert Boarder
Posts: 375
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2016/12/17 18:55 By AbbadonDespoiler.
The administrator has disabled public write access.
 
#43444
Re: Corp Bookmarking Miners 7 Years, 12 Months ago Karma: 16
First Notes:

1. Bookmark creation seems to work well. Good call on the formatting so that it warps to the first can jettisoned. However, it seems that the bots are creating multiple bookmarks, I've seen one instance where it makes 2 BMs, 1 minute apart, and another bot made 3 BMS, 1-2 minutes apart each.

2. The looter warps back to the station after clearing a single bookmark, even though the ore hold wasn't even close to full. Is that a part of the Looter? Seems like a huge waste of time to me. That may be a note for Slav2, though.
AbbadonDespoiler
Expert Boarder
Posts: 375
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2016/12/17 19:06 By AbbadonDespoiler.
The administrator has disabled public write access.
 
#43449
Re: Corp Bookmarking Miners 7 Years, 12 Months ago Karma: 33
1. Fixing the timer should be simple.
2. Normal.
innominate
Gold Boarder
Posts: 632
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#43451
Re: Corp Bookmarking Miners 7 Years, 12 Months ago Karma: 16
1. Great!
2. Hopefully the solution in the other thread bears fruit. It'd be interesting to hear why Slav2 made it that way. Anyway, this piece can be continued in the other thread since it's nothing to do with your custom algorithm

It's been running for a few hours, in a couple more I'll check on it and report back.
AbbadonDespoiler
Expert Boarder
Posts: 375
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#43471
Re: Corp Bookmarking Miners 7 Years, 12 Months ago Karma: 16
I don't know if it's my Looter (an Orca, 22s align time) or the bot itself or what, but it's going very slowly, and missing a lot of cans. There were dozens of leftover bookmarks from last night after it logged off (2 extra hours of looting time after miners logged). I need to answer some questions on my end first before I make any conclusions though. I'm going to alter the if(minSinceLastBM < 25) to be 45 to see if that helps. The number of miners I have may be just flooding the bookmarks and making it take the looter too long to go through each one, especially since many are redundant.
AbbadonDespoiler
Expert Boarder
Posts: 375
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 12345678...13
Moderators: Slav2
© Macro Laboratory 2024
All rights reserved!
Design by Ivan Kozyrin