OnceBot | Elvenar Bot

01/22/2016 19:09 0ptimist#1
OnceBot is a bot for Elvenar.

If you want additional features or improvements, let me know. If there are enough people interested in using this bot, I will certainly add more features.

Features
  • No configuration required: the bot uses image processing to find the game elements to interact with.
  • Collects and starts workshop production.
  • Collects coins from residences.
  • Independent of localization of the game.

Requirements
The application requires Microsoft .NET Framework 4.6.1 which can be downloaded from [Only registered and activated users can see links. Click Here To Register...]

Setting up the game
This bot uses image processing to find game elements to interact with. To ensure the bot can read the game, the game must be scaled at 100% and the ingame camera must be zoomed out max. Set the scaling level in windows display settings to 100%.

Selecting the game window
Select the window the bot should operate on in the "pick window" tab. To select the game window, check the checkbox "pick next focused window" and then click on the game window. If the window has been successfully selected, its title will be shown under "last picked window".

Starting the bot
To start the bot, press the "play" button at the top of the bot app.
To stop the bot, press CTRL+ALT or click the "pause" button.

The bot collects/starts production every 5 minutes.

Virustotal: [Only registered and activated users can see links. Click Here To Register...]
01/23/2016 12:11 BrunoMG2013#2
Works fine ;)
In a future uptade will not be possible for the groceries and produce to collect and make yourself?^
Excuse my English , but is the google ; )
Good job
01/23/2016 16:51 Moonsteroid#3
VT link?
01/23/2016 17:36 0ptimist#4
Quote:
Originally Posted by ignoxx View Post
VT link?
Added it: [Only registered and activated users can see links. Click Here To Register...]

----------------------------

Quote:
Originally Posted by BrunoMG2013 View Post
Works fine ;)
In a future uptade will not be possible for the groceries and produce to collect and make yourself?^
Please send me screenshots showing:
  • the Tooltip which appears when you hover over the workshop when the production is ready to collect.
  • the dialog where you can choose the production time/amount.

When I have those screenshots, I can look into implementing the features.


Quote:
Originally Posted by BrunoMG2013 View Post
Excuse my English , but is the google ; )
And what text did you give to google?
01/25/2016 15:53 BrunoMG2013#5
[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]
01/25/2016 16:14 Cheesenonion#6
Thanks it's really useful. Let us know when more features are being added.
01/30/2016 22:22 0ptimist#7
Quote:
Originally Posted by Cheesenonion View Post
Thanks it's really useful. Let us know when more features are being added.
I will update this thread when new features are available.

If there are enough people interested, I will certainly add more features.
02/07/2016 14:00 mondler1#8
Dont work for me, it just moves coursor to the building and nothing more, it dont collect coins actually
02/08/2016 10:34 0ptimist#9
Quote:
Originally Posted by mondler1 View Post
Dont work for me, it just moves coursor to the building and nothing more, it dont collect coins actually
Collection from residences which have completed production (where no progress bar is visible) works only with english localization.
Thats because in the current version, the bot collects by clicking on the location when it sees the tooltip which appears there contains either a coin and a progressbar or the text "Click to collect".
02/17/2016 10:52 Zarielos#10
Any possibility it will work on other localizations? And will start productions?
02/17/2016 23:14 0ptimist#11
Quote:
Originally Posted by Zarielos View Post
Any possibility it will work on other localizations? And will start productions?
Yes, when I see there are enough people interested in this I will add starting of productions and also support other localizations.

I am not sure though, whether every feature can be easily implemented in a localization independent way. Therefore I recommend people state the localizations they want to use it with in this thread or in the dedicated support forum at [Only registered and activated users can see links. Click Here To Register...]
02/19/2016 19:03 sylfaen#12
Gold collection is nice, but I would love to see something that automatically collects the building tools and then restarts the 5m tool production. You make that and you'll be a hero.
03/06/2016 14:09 0ptimist#13
Quote:
Originally Posted by sylfaen View Post
Gold collection is nice, but I would love to see something that automatically collects the building tools and then restarts the 5m tool production. You make that and you'll be a hero.
Alright, I will soon add collection of tools and starting tool production.
03/09/2016 17:07 0ptimist#14
Todays release brings the features you asked for and more:
  • starting 5 minute production.
  • collecting production from workshop.
  • I removed all known dependencies on localization, the bot does not anymore rely on text.
  • improved collection speed.
03/10/2016 18:11 ender02#15
perhaps collecting and starting production of other materials?
that would be the next cool feature!