[Release] Forge of Empires Farmer

01/17/2015 07:03 freakyblue#691
loved it till this morning
my account has been permanently banned for botting
01/17/2015 20:09 Jaduwa#692
Along with my account and many others!! :(
01/18/2015 13:10 ljubisa24#693
Myself and my friend both gone. It seems like they banned half of their gaming population lol

I guess its safe to say this bot is NOT SAFE TO USE anymore.
01/23/2015 10:09 tobikk#694
Can you make one for Elvenar, same game type, same company made it.
02/12/2015 01:36 klismanster#695
What i need to know to code a similar bot to another game?
Can you give me any tip? Or tutorial to learn.
You used WPF?

Thanks for the bot.
02/17/2015 22:45 BinkanSalaryman#696
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.
02/24/2015 23:02 Veddak#697
What a sad day. I got permanently banned today. DO NOT USE this BOT anymore. It's 100% not SAFE.
02/25/2015 20:07 0xdemhax#698
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.
03/03/2015 08:43 noyer#699
el programa a dejado de funcionar sale el siguiente mensaje: Unknown error :(

el programa a dejado de funcionar: Unknown error
03/04/2015 13:30 pjus#700
czech servers banned too this bot
03/04/2015 21:43 FoEGuy1337#701
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.
[Only registered and activated users can see links. Click Here To Register...]
03/05/2015 13:03 noyer#702
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()
03/13/2015 16:44 yangc10#703
Nice bot... worked great!

I would add this to the request as well... Auto collect treasure hunt!
03/22/2015 17:13 substyler#704
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!!
03/25/2015 13:49 j.snape#705
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.