ok, let me talk now about the automatic behaviours in this version:
before start, let me point out that since i've done an installer, i've changed some file path in order to organize better things to backup easily
In the client folder, you'll see a Data folder, that's the only one directory important that you should backup.
If you are an old user, you should copy your settings.xml file in that Data directory
In Data/ScreenShot you'll find screenshots saved with F12
In Data/logs you'll find logs (even about the new bot system)
ok now let's talk about the automatic behaviours:
you'll see a new icon, a blue button with a cog
clicking that icon, will give you access to a dialog wher you can configure your automatics behaviours
on the top you'll see listed your available bots, in the pic you can see Collector and Hearthseeker that aren't available to you (they are an updated version of what you've available i'm working on)
clicking on one of the available behaviour, you'll see your saved configurations.
Let's try clicking on SimpleCollector
as you can see, of course it's empty becase we haven't yet configured anything, click on the button to create a new configuration
you can see all the availables parameters configurable, with the online help that can be seen when you hover the question mark icon
Let me explain briefly those:
Target Area X and
Target Area Y are the coordinate where your hunter will go to start collecting coins
Sight Range rapresent how far your hunter will try to look for coins based on its actual current position
Max Distance From Target Area is the value that's used to know if the hunter has to go back to target area. If you are far more then this value, your hunter will go back
Max Loot is the maximum amount of coins that your hunter can hold, before going to bank it
this behaviour keep looping, so after it go to base it go back to target area.
here an example of the configuration i've tried to collect coin near the red base pool:
now it's time to assing that behaviour to an our hunter, so right click on the name of one of your hunter in the troop window:
click "Configure Behaviour" to have access to another dialog
you can select multiple different behaviours but only one of each kind, so you can't have applied 2 different SimpleCollector to the same hunter, but you could have SimpleCollector and SimpleHeartseeker running togheter, so that if an heart spawn in a configurable range (look @ SimpleHeartseeker configuration) you can get a new hunter!
ok, once you have created your configuration (remember to press Save!!) you can now see another interesting things in your troop window: you'll see a cog icon next to your player that has some automatic behaviours applied
when the cog is BLACK, this mean that at least one hunter of that player has automatic behaviours, this is important to know because if you try to manual move some hunter that belong to a player with behaviours, if a new block comes every queued moves will be sent, so if you want to have manual control of that player, i've added a menu: right click on your player name and click on Disable Automatic Behaviours, this will set the cog icon to GRAY and will disable automatic behaviours for that player, but keeping the associations so you could re-enable it easily without reapplying configurations.
to enable again just do the same thing, right click and see that the label this time will be Enable Automatic Behaviours and will set back your cog icon to black
as a note, i want just to point out that the configurations and associations are stored into Data/Behaviours
anyway just backup Data folder when you need it.
wow, wrote a lot but well, it's a big subject and i merely touched it
I'll keep upgrading bots and I will release new ones as they are ready. I'd like to release an SDK to allow every C# fellow to implemet it and hopefully sell it on my future Behaviours Market (depend on success of coin and interest in the client, so it's too early now to talk about that)
Of course the client must be left running in order to have those behaviours applied