Tribal Wars 2 farm bot | FarmManager

05/12/2016 18:42 0ptimist#46
Quote:
Originally Posted by 0ptimist View Post
I take a look at it soon.
Today I tested on Version 1.54 and it worked without problems.
05/12/2016 21:57 sigb#47
created at 21:56:25 (PID: )
Exception: {Type:"System.Reflection.TargetInvocationException ",Message:"Het doel van een aanroep heeft een uitzondering veroorzaakt.",InnerException:{Type:"System.Invalid OperationException",Message:"Kan het proces niet starten omdat er geen bestandsnaam is opgegeven.",InnerException:null,StackTrace:" bij System.Diagnostics.Process.Start()
bij System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
bij Limbara.Interface.Impl.RemoteControl.App.CreatePro cess(BrowserProcessConfig Config)",TargetSite:"null"},StackTrace:"
Server stack trace:
bij System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
bij System.Reflection.RuntimeMethodInfo.UnsafeInvokeIn ternal(Object obj, Object[] parameters, Object[] arguments)
bij System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
bij System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
bij BotEngine.InvocationProxy.Host.Invoke(String InvocationSerial)
bij Limbara.Interface.Impl.ServiceRoot.<.ctor>b__3_0(S tring invocationSerial)
bij BotEngine.InvocationProxy.HostDelegate.Invoke(Stri ng invocationSerial)
bij System.Runtime.Remoting.Messaging.StackBuilderSink ._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
bij System.Runtime.Remoting.Messaging.StackBuilderSink .SyncProcessMessage(IMessage msg)

Exception rethrown at [0]:
bij System.Runtime.Remoting.Proxies.RealProxy.HandleRe turnMessage(IMessage reqMsg, IMessage retMsg)
bij System.Runtime.Remoting.Proxies.RealProxy.PrivateI nvoke(MessageData& msgData, Int32 type)
bij BotEngine.InvocationProxy.IHost.Invoke(String invocationSerial)
bij Limbara.Interface.InvocationProxy.Proxy.<>c__Displ ayClass3_0.<.ctor>b__0(String arg)
bij BotEngine.InvocationProxy.Proxy.Invoke(Int64 RemoteObjectId, MethodInfo Method, Object[] ListArgument)
bij BotEngine.InvocationProxy.Proxy.Interceptor.Interc ept(IInvocation invocation)
bij Castle.DynamicProxy.AbstractInvocation.Proceed()
bij Castle.Proxies.IAppProxy.CreateProcess(BrowserProc essConfig Config)
bij Limbara.Script.ToScript.AppExtension.ReuseOrCreate Process(IApp App, BrowserProcessConfig BrowserProcessConfig)
bij FarmManager.BrowserProcessCreation..ctor(IApp BrowserServiceInterface, BrowserProcessConfig BrowserProcessConfig, String Url) in T:\\Günta\\Projekt\\Tribe Manager\\FarmManager\\impl\\FarmManager\\src\\Farm Manager\\BrowserProcessCreation.cs:regel 38",TargetSite:"InvokeMethod"}

it doesnt start a browser

its opened a browser so i start bot open my villages but nothing happens

"StartTimeCal": "2016-05-12T23:07:12.6245751+02:00",
"BreakActiveNot": true,
"browserDocumentAvailable": true,
"Exception": {
"ClassName": "System.ArgumentNullException",
"Message": "Waarde kan niet null zijn.",
"Data": null,
"InnerException": null,
"HelpURL": null,
"StackTraceString": " bij FarmManager.Bot.Step(Int64 Time, BrowserService browserService) in T:\\Günta\\Projekt\\Tribe Manager\\FarmManager\\impl\\FarmManager\\src\\Farm Manager\\Bot.cs:regel 223",
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": "8\nStep\nFarmManager, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null\nFarmManager.Bot\nFarmManager. BotStepReport Step(Int64, FarmManager.BrowserService)",
"HResult": -2147467261,
"Source": "FarmManager",
"WatsonBuckets": null,
"ParamName": "AnyElementFromGetElementFromXPath"
}
}
05/14/2016 12:18 0ptimist#48
After switching to chrome version 50.0.2661.102, I saw the problems as reported by @[Only registered and activated users can see links. Click Here To Register...] and @[Only registered and activated users can see links. Click Here To Register...], basically AnyElementFromGetElementFromXPath being null.

I will investigate.
05/14/2016 15:17 sigb#49
thankyou very much can you poste when u solve this
05/14/2016 16:41 johannessch#50
[Only registered and activated users can see links. Click Here To Register...]


not working!??
05/14/2016 20:21 0ptimist#51
Quote:
Originally Posted by sigb View Post
thankyou very much can you poste when u solve this
Yes, I will post when I solve this.

Quote:
Originally Posted by johannessch View Post
[Only registered and activated users can see links. Click Here To Register...]


not working!??
not reading!??

Quote:
Originally Posted by 0ptimist View Post
After switching to chrome version 50.0.2661.102, I saw the problems as reported by @[Only registered and activated users can see links. Click Here To Register...] and @[Only registered and activated users can see links. Click Here To Register...], basically AnyElementFromGetElementFromXPath being null.

I will investigate.
05/15/2016 12:28 0ptimist#52
Good news everyone!
I released v16.04.14 of the Tribal Wars 2 Farmbot to fix the bug that occured with the chrome updates. Tested with chrome version 50.0.2661.102.
05/15/2016 17:34 sigb#53
thankyou verymuch but im sad to tell when i start it it works fine but after like 13 attacks he says again

started at 17:32:04
current village:
System.ArgumentNullException: Waarde kan niet null zijn.
Parameternaam: browserDocument
05/16/2016 13:48 M@DD!N#54
Quote:
Originally Posted by sigb View Post
thankyou verymuch but im sad to tell when i start it it works fine but after like 13 attacks he says again

started at 17:32:04
current village:
System.ArgumentNullException: Waarde kan niet null zijn.
Parameternaam: browserDocument
For me it works again. startet the bot today, send 95 attacks till now.

€dit: Maybe update your Chrome? I work with 50.0.2661.102.
05/16/2016 18:08 vieira89#55
doesnt work.... reads reports, send couple of attacks but then says this: start break because: no more reports to open

and i have thousands of reports and troops to use :s
05/20/2016 18:59 0ptimist#56
Quote:
Originally Posted by sigb View Post
thankyou verymuch but im sad to tell when i start it it works fine but after like 13 attacks he says again

started at 17:32:04
current village:
System.ArgumentNullException: Waarde kan niet null zijn.
Parameternaam: browserDocument
@[Only registered and activated users can see links. Click Here To Register...]

Today I released v16.04.19 to address this problem. In the older version, performance degraded over time which could eventually lead to the error you showed.

Let me know in case you are seeing any problems.
05/22/2016 22:58 vieira89#57
i am using the new version :s
05/24/2016 00:40 0ptimist#58
I released v16.04.21 which fixes a bug:
In some cases, the bot did not send attacks after the first round.
05/24/2016 13:05 Nether1402#59
and today patch 1.55 came... any problems?

For me it is working now, too, even with 1.55
05/31/2016 10:17 0ptimist#60
Today I released version 16.04.29 with performance improvements and reduced memory usage.