OSFameBot release 5: Train AI
If you don't know what this is, have a look at this thread.
New Features
Dynamic obstacle loading.
Instead of obstacles being hard coded, they are now loaded from the Objects.xml when KRelay starts. This has no noticeable impact on start-up time. Previously the only obstacle was the god lands rock, but now every obstacle will be avoided.
When the FameBot starts it will tell you how many obstacles have been found

Train AI.
The bot will now try to stay towards the front of the train. It does this by targeting only a certain percentage of players who are at the front. The percentage of players which the bot will target is configurable and will default to 30%. I have found 30%-50% works great for staying towards the front but not so far forward that enemies will hit you.
Enemy avoidance distance is now configurable.
This will default to 6.0 tiles. I have found 4.0 tiles works great if you have a decent pet.
Enemy avoidance has also been improved slightly, the bot will now try to walk around enemies like it does with obstacles instead of just walking away.
Here is an example of what the config looks like now
The settings added in this release are 'Train AI Target Percent' and 'Avoid distance' for enemy avoidance.
Shorthand commands
You can now use '/famebot set rp' and '/famebot set fp' instead of 'realmposition' and 'fountainposition'. (the old words will still work)
Bug Fixes
Fixed an issue where the bot couldn't go to a realm which was below the realm position.
Thanks to @Natiiix for updating the FameBot dependencies to the current RotMG version.
Thanks to @gW$RYHW$YW$YHWHerhRH for testing.
Virus Scans
Jotti. (0/18)
Virus Total. (0/59)
New Features
Dynamic obstacle loading.
Instead of obstacles being hard coded, they are now loaded from the Objects.xml when KRelay starts. This has no noticeable impact on start-up time. Previously the only obstacle was the god lands rock, but now every obstacle will be avoided.
When the FameBot starts it will tell you how many obstacles have been found

Train AI.
The bot will now try to stay towards the front of the train. It does this by targeting only a certain percentage of players who are at the front. The percentage of players which the bot will target is configurable and will default to 30%. I have found 30%-50% works great for staying towards the front but not so far forward that enemies will hit you.
Enemy avoidance distance is now configurable.
This will default to 6.0 tiles. I have found 4.0 tiles works great if you have a decent pet.
Enemy avoidance has also been improved slightly, the bot will now try to walk around enemies like it does with obstacles instead of just walking away.
Here is an example of what the config looks like now
New Config
The settings added in this release are 'Train AI Target Percent' and 'Avoid distance' for enemy avoidance.
Shorthand commands
You can now use '/famebot set rp' and '/famebot set fp' instead of 'realmposition' and 'fountainposition'. (the old words will still work)
Bug Fixes
Fixed an issue where the bot couldn't go to a realm which was below the realm position.
Thanks to @Natiiix for updating the FameBot dependencies to the current RotMG version.
Thanks to @gW$RYHW$YW$YHWHerhRH for testing.
Virus Scans
Jotti. (0/18)
Virus Total. (0/59)


