I was working on a simple ore hauler while using the simple miner script that came with sanderling as reference.
I was able to get warping to the correct stargate working after a few hours of trial and error (It was hard for me to get used to the API) I have a question about using the Measurement var. Am I suppose to recall it to update the values?
It gets pretty complicated for a simpleton like me, are there any skeletons (rules to follow) for making a script?
I have a question about using the Measurement var. Am I suppose to recall it to update the values?
Yes, to get the current state you should get a new Measurement from the framework. The contents of the Measurement object handed to you are not changed by the framework.
It gets pretty complicated for a simpleton like me, are there any skeletons (rules to follow) for making a script?
Yes, there are definitely rules: First you should identify a path of how you could achieve the desired outcome by making inputs to the eve online UI like a normal user with keyboard and mouse. When working with the mouse, you have to know which UIElements to use. Simplest way to discover the UIElements is the API Explorer.
I was able to get warping to the correct stargate working after a few hours of trial and error (It was hard for me to get used to the API)
To make it easier for you, I suggest you start with the approach explained above and then have a look at the wiki at https://github.com/Arcitectus/Sanderling/wiki/Bot-API. But as soon as you know which path you want to take through the UI, you can ask for guidance on UI parts on the forum at http://forum.botlab.org/cat/eve-online/.
Yes, to get the current state you should get a new Measurement from the framework. The contents of the Measurement object handed to you are not changed by the framework.
I have looked into the API link but it seems more of like what features the bot has, not really much documentation on how to use it. I learned more using the mining.cs as reference while testing what I was able to do while altering it. I will keep experimenting and hopefully one day I can release a hauler script into the forum. Thanks!
1 Like