I'd love to see a continuation of the project or a full source code release...
Your code helped me alot for development of my own coding work, thanks for that.
I develeoped my own Bot based on the source code parts that got released.
There is a lot stuff in the http headers and json payload, that is very outdated. So when Inno checks for this values they can detect it easily.
Login might be still possible, but on their side one doesn't appear like a legit flash client.
This game is outdated itself.. The world has almost finished getting rid of FLASH player, yet they decide to make their game on flash. That's some amateurish programming right there. It lags like hell even on high-end PC.
2015-03-05 02:56:02.1250|INFO|Samotorcan.Client.Wpf.Windows8. Application|Forge of Empires Farmer v1.6.5.0 started.
2015-03-05 02:56:03.4843|INFO|Samotorcan.ForgeOfEmpires.Farme r.Application|Farmer started.
2015-03-05 02:58:03.6250|ERROR|Samotorcan.Client.Wpf.Windows8 .Application|Response error from PreLogin: The given password is incorrect.Samotorcan.ForgeOfEmpires.Exceptions.Err orResponseException: The given password is incorrect.
en Samotorcan.ForgeOfEmpires.Context.PreLogin(String portalTid, String username, String password, Region region)
en Samotorcan.ForgeOfEmpires.Context.PartialLogin(Str ing userName, String password, Region region)
en Samotorcan.Client.Wpf.Windows8.Views.Login.<>c__Di splayClassf.<LoginAction>b__8() en Samotorcan.ForgeOfEmpires.Context.PreLogin(String portalTid, String username, String password, Region region)
en Samotorcan.ForgeOfEmpires.Context.PartialLogin(Str ing userName, String password, Region region)
en Samotorcan.Client.Wpf.Windows8.Views.Login.<>c__Di splayClassf.<LoginAction>b__8()
2015-03-05 02:58:13.9062|ERROR|Samotorcan.Client.Wpf.Windows8 .Application|Response error from PreLogin: The given password is incorrect.Samotorcan.ForgeOfEmpires.Exceptions.Err orResponseException: The given password is incorrect.
en Samotorcan.ForgeOfEmpires.Context.PreLogin(String portalTid, String username, String password, Region region)
en Samotorcan.ForgeOfEmpires.Context.PartialLogin(Str ing userName, String password, Region region)
en Samotorcan.Client.Wpf.Windows8.Views.Login.<>c__Di splayClassf.<LoginAction>b__8() en Samotorcan.ForgeOfEmpires.Context.PreLogin(String portalTid, String username, String password, Region region)
en Samotorcan.ForgeOfEmpires.Context.PartialLogin(Str ing userName, String password, Region region)
en Samotorcan.Client.Wpf.Windows8.Views.Login.<>c__Di splayClassf.<LoginAction>b__8()
2015-03-05 02:58:14.9687|ERROR|Samotorcan.Client.Wpf.Windows8 .Application|Response error from PreLogin: The given password is incorrect.Samotorcan.ForgeOfEmpires.Exceptions.Err orResponseException: The given password is incorrect.
en Samotorcan.ForgeOfEmpires.Context.PreLogin(String portalTid, String username, String password, Region region)
en Samotorcan.ForgeOfEmpires.Context.PartialLogin(Str ing userName, String password, Region region)
en Samotorcan.Client.Wpf.Windows8.Views.Login.<>c__Di splayClassf.<LoginAction>b__8() en Samotorcan.ForgeOfEmpires.Context.PreLogin(String portalTid, String username, String password, Region region)
en Samotorcan.ForgeOfEmpires.Context.PartialLogin(Str ing userName, String password, Region region)
en Samotorcan.Client.Wpf.Windows8.Views.Login.<>c__Di splayClassf.<LoginAction>b__8()
2015-03-05 03:01:12.1093|ERROR|Samotorcan.Client.Wpf.Windows8 .Application|Unknown error.Samotorcan.ForgeOfEmpires.Exceptions.Unknown ResponseException: Cid missing.
en Samotorcan.ForgeOfEmpires.Context.PreLogin(String portalTid, String username, String password, Region region)
en Samotorcan.ForgeOfEmpires.Context.PartialLogin(Str ing userName, String password, Region region)
en Samotorcan.Client.Wpf.Windows8.Views.Login.<>c__Di splayClassf.<LoginAction>b__8() en Samotorcan.ForgeOfEmpires.Context.PreLogin(String portalTid, String username, String password, Region region)
en Samotorcan.ForgeOfEmpires.Context.PartialLogin(Str ing userName, String password, Region region)
en Samotorcan.Client.Wpf.Windows8.Views.Login.<>c__Di splayClassf.<LoginAction>b__8()
2015-03-05 03:01:13.3125|ERROR|Samotorcan.Client.Wpf.Windows8 .Application|Unknown error.Samotorcan.ForgeOfEmpires.Exceptions.Unknown ResponseException: Cid missing.
en Samotorcan.ForgeOfEmpires.Context.PreLogin(String portalTid, String username, String password, Region region)
en Samotorcan.ForgeOfEmpires.Context.PartialLogin(Str ing userName, String password, Region region)
en Samotorcan.Client.Wpf.Windows8.Views.Login.<>c__Di splayClassf.<LoginAction>b__8() en Samotorcan.ForgeOfEmpires.Context.PreLogin(String portalTid, String username, String password, Region region)
en Samotorcan.ForgeOfEmpires.Context.PartialLogin(Str ing userName, String password, Region region)
en Samotorcan.Client.Wpf.Windows8.Views.Login.<>c__Di splayClassf.<LoginAction>b__8()
2015-03-05 03:05:18.1875|ERROR|Samotorcan.Client.Wpf.Windows8 .Application|Unknown error.Samotorcan.ForgeOfEmpires.Exceptions.Unknown ResponseException: Cid missing.
en Samotorcan.ForgeOfEmpires.Context.PreLogin(String portalTid, String username, String password, Region region)
en Samotorcan.ForgeOfEmpires.Context.PartialLogin(Str ing userName, String password, Region region)
en Samotorcan.Client.Wpf.Windows8.Views.Login.<>c__Di splayClassf.<LoginAction>b__8() en Samotorcan.ForgeOfEmpires.Context.PreLogin(String portalTid, String username, String password, Region region)
en Samotorcan.ForgeOfEmpires.Context.PartialLogin(Str ing userName, String password, Region region)
en Samotorcan.Client.Wpf.Windows8.Views.Login.<>c__Di splayClassf.<LoginAction>b__8()
2015-03-05 03:05:19.2812|ERROR|Samotorcan.Client.Wpf.Windows8 .Application|Unknown error.Samotorcan.ForgeOfEmpires.Exceptions.Unknown ResponseException: Cid missing.
en Samotorcan.ForgeOfEmpires.Context.PreLogin(String portalTid, String username, String password, Region region)
en Samotorcan.ForgeOfEmpires.Context.PartialLogin(Str ing userName, String password, Region region)
en Samotorcan.Client.Wpf.Windows8.Views.Login.<>c__Di splayClassf.<LoginAction>b__8() en Samotorcan.ForgeOfEmpires.Context.PreLogin(String portalTid, String username, String password, Region region)
en Samotorcan.ForgeOfEmpires.Context.PartialLogin(Str ing userName, String password, Region region)
en Samotorcan.Client.Wpf.Windows8.Views.Login.<>c__Di splayClassf.<LoginAction>b__8()
2015-03-05 12:51:51.8593|INFO|Samotorcan.Client.Wpf.Windows8. Application|Forge of Empires Farmer v1.6.5.0 started.
2015-03-05 12:51:55.8437|INFO|Samotorcan.ForgeOfEmpires.Farme r.Application|Farmer started.
2015-03-05 12:52:37.0000|ERROR|Samotorcan.Client.Wpf.Windows8 .Application|Unknown error.Samotorcan.ForgeOfEmpires.Exceptions.Unknown ResponseException: Cid missing.
en Samotorcan.ForgeOfEmpires.Context.PreLogin(String portalTid, String username, String password, Region region)
en Samotorcan.ForgeOfEmpires.Context.PartialLogin(Str ing userName, String password, Region region)
en Samotorcan.Client.Wpf.Windows8.Views.Login.<>c__Di splayClassf.<LoginAction>b__8() en Samotorcan.ForgeOfEmpires.Context.PreLogin(String portalTid, String username, String password, Region region)
en Samotorcan.ForgeOfEmpires.Context.PartialLogin(Str ing userName, String password, Region region)
en Samotorcan.Client.Wpf.Windows8.Views.Login.<>c__Di splayClassf.<LoginAction>b__8()
2015-03-05 12:53:02.9062|ERROR|Samotorcan.Client.Wpf.Windows8 .Application|Unknown error.Samotorcan.ForgeOfEmpires.Exceptions.Unknown ResponseException: Cid missing.
en Samotorcan.ForgeOfEmpires.Context.PreLogin(String portalTid, String username, String password, Region region)
en Samotorcan.ForgeOfEmpires.Context.PartialLogin(Str ing userName, String password, Region region)
en Samotorcan.Client.Wpf.Windows8.Views.Login.<>c__Di splayClassf.<LoginAction>b__8() en Samotorcan.ForgeOfEmpires.Context.PreLogin(String portalTid, String username, String password, Region region)
en Samotorcan.ForgeOfEmpires.Context.PartialLogin(Str ing userName, String password, Region region)
en Samotorcan.Client.Wpf.Windows8.Views.Login.<>c__Di splayClassf.<LoginAction>b__8()
This was a brilliant bot, Many kudo's for it's creation.
It needs the login method and cache updating, maybe some changes to to object ID's.
The the ability to auto collect on treasure hunt would be amazing too, also a feature to auto-buy training slots (with options for using diamonds of not).
But working would be good enough. There seems to be a requirement for a valid client ID since the 1.47 update, this may fix login.
If the dev doesn't maintain this anymore, and since he has released the source (I know nothing of pearl, is it even in pearl?) is there anyone who can update this to run on current version 1.47 you would be The Epic Master Of Amazeballs!!
Hi, I downloaded this morning and am having some trouble with the bot... I keep getting an "Unknown Application Error"... any help will be appreciated.
Below is what is coming up on the application.txt file.
Code:
2015-03-25 12:06:36.3496|INFO|Samotorcan.ForgeOfEmpires.Farmer.Application|Logout {Username:j.snape, Server:Jaims, Region:en}.
2015-03-25 12:06:36.6226|INFO|Samotorcan.ForgeOfEmpires.Farmer.Application|Relog time for {Username:j.snape, Server:Jaims, Region:en} at 12:11:36.
2015-03-25 12:42:27.6534|INFO|Samotorcan.Client.Wpf.Windows8.Application|Forge of Empires Farmer v1.6.5.0 started.
2015-03-25 12:42:36.2168|INFO|Samotorcan.ForgeOfEmpires.Farmer.Application|Farmer started.
2015-03-25 12:42:49.0683|WARN|Samotorcan.Client.Wpf.Windows8.Application|Invalid sensitive data file.
2015-03-25 12:43:17.1568|INFO|Samotorcan.ForgeOfEmpires.Farmer.Application|Session added {Username:j.snape, Server:Jaims, Region:en}
2015-03-25 12:43:17.1728|INFO|Samotorcan.ForgeOfEmpires.Farmer.Application|Login {Username:j.snape, Server:Jaims, Region:en}.
2015-03-25 12:43:22.9461|INFO|Samotorcan.ForgeOfEmpires.Farmer.Application|Get startup data for {Username:j.snape, Server:Jaims, Region:en}.
2015-03-25 12:43:39.3511|ERROR|Samotorcan.ForgeOfEmpires.Farmer.Application|EXCEPTION:
Samotorcan.ForgeOfEmpires.Exceptions.JsonParseException: Invalid json. ---> System.ArgumentNullException: Value cannot be null.
Parameter name: json
at Samotorcan.ForgeOfEmpires.Entities.EasterSeasonalResource.<>c__DisplayClass2.<.ctor>b__0()
at Samotorcan.ForgeOfEmpires.Utilities.HandleJsonParse(JToken json, Action action)
--- End of inner exception stack trace ---
at Samotorcan.ForgeOfEmpires.Utilities.HandleJsonParse(JToken json, Action action)
at Samotorcan.ForgeOfEmpires.Entities.TransitionEasterSeasonalResource..ctor(JToken json, DateTime transition)
at Samotorcan.ForgeOfEmpires.Entities.CityResource.<>c__DisplayClass5.<.ctor>b__2()
at Samotorcan.ForgeOfEmpires.Utilities.HandleJsonParse(JToken json, Action action)
at Samotorcan.ForgeOfEmpires.Entities.Response.ResponseGetStartupData.<>c__DisplayClass11.<.ctor>b__1()
at Samotorcan.ForgeOfEmpires.Utilities.HandleJsonParse(JToken json, Action action)
at Samotorcan.ForgeOfEmpires.Context.ParseResponse(JToken json)
at Samotorcan.ForgeOfEmpires.Farmer.Farmer.<>c__DisplayClassc.<GetStartupData>b__a()
at Samotorcan.ForgeOfEmpires.Farmer.Farmer.HandleException(SessionData sessionData, Action action) at Samotorcan.ForgeOfEmpires.Utilities.HandleJsonParse(JToken json, Action action)
at Samotorcan.ForgeOfEmpires.Entities.TransitionEasterSeasonalResource..ctor(JToken json, DateTime transition)
at Samotorcan.ForgeOfEmpires.Entities.CityResource.<>c__DisplayClass5.<.ctor>b__2()
at Samotorcan.ForgeOfEmpires.Utilities.HandleJsonParse(JToken json, Action action)
at Samotorcan.ForgeOfEmpires.Entities.Response.ResponseGetStartupData.<>c__DisplayClass11.<.ctor>b__1()
at Samotorcan.ForgeOfEmpires.Utilities.HandleJsonParse(JToken json, Action action)
at Samotorcan.ForgeOfEmpires.Context.ParseResponse(JToken json)
at Samotorcan.ForgeOfEmpires.Farmer.Farmer.<>c__DisplayClassc.<GetStartupData>b__a()
at Samotorcan.ForgeOfEmpires.Farmer.Farmer.HandleException(SessionData sessionData, Action action)
System.ArgumentNullException: Value cannot be null.
Parameter name: json
at Samotorcan.ForgeOfEmpires.Entities.EasterSeasonalResource.<>c__DisplayClass2.<.ctor>b__0()
at Samotorcan.ForgeOfEmpires.Utilities.HandleJsonParse(JToken json, Action action) at Samotorcan.ForgeOfEmpires.Entities.EasterSeasonalResource.<>c__DisplayClass2.<.ctor>b__0()
at Samotorcan.ForgeOfEmpires.Utilities.HandleJsonParse(JToken json, Action action)
2015-03-25 12:43:39.6301|ERROR|Samotorcan.ForgeOfEmpires.Farmer.Application|JSON:
{
"egg_color": null,
"seasonal_resource": 87,
"seasonal_points_vo": {
"max_seasonal_points": 6,
"current_seasonal_points": 0,
"seasonal_points_bought": null,
"next_seasonal_point_in": 3285,
"producing_time": 3600,
"__class__": "SeasonalPoints"
},
"__class__": "EasterSeasonalResource"
}
2015-03-25 12:43:39.6301|INFO|Samotorcan.ForgeOfEmpires.Farmer.Application|Logout {Username:j.snape, Server:Jaims, Region:en}.
2015-03-25 12:43:40.9872|INFO|Samotorcan.ForgeOfEmpires.Farmer.Application|Relog time for {Username:j.snape, Server:Jaims, Region:en} at 12:48:40.
[Release] Advanced Forge Of Empires Bot - FOEBot 09/17/2017 - Browsergames - 200 Replies This is the release of the first background packet bot for Forge Of Empires.
Functions:
Auto login
Pickup gold
Pickup supplies
uses the collection time of every residential / production item
very fast
works for every server
[Release] KryoBot FOE - Forge Of Empires Bot 11/25/2016 - Browsergames - 64 Replies KryoBot FOE
Forge Of Empires Bot
This bot is a side product of my current project. Therefore I wont say much about it. It's made for the game "Forge Of Empire". Some things wont work properly because the bot isn't finished yet. But it still works well.
KryoBot is a pixelsearch & image recognition bot. This means it needs the mouse to operate and
you can't do anything on your computer as long as it runs.
Features:
• Pickup gold
[Release] ivanJo Forge Of Empires BOT 08/02/2015 - Browsergames - 643 Replies This bot is work in progress and you may encounter bugs, so please post them and I’ll be glad to assist and improve it.
Should any new idea get on your mind, do not hesitate to write it to me, so we build this useful tool together.
Latest version: v1.0.13.33000 (13.04.2014)
Donate:
You’re always welcome to donate. There’s nice Donate button in the lower left corner of the application.
[Release] ForgeBot - Forge of Empires 01/19/2013 - Browsergames - 774 Replies This is the bot i made for Forge of Empires. It is still in development stages and might have bugs and errors.
Please post here any bugs or difficulties you encounter. as this bot was only tested by me, i need some feedback so i can create a more stable future version. Feature suggestions are also welcome.
Last version: v0.6.79.1208 (08.12.2012)
Download:
ForgeBot v0.6.79.1208 MediaFire