Seite 1 von 3

Crashing constantly

Verfasst: Mo 20. Jun 2022, 22:15
von StewieBiatch
From this morning i am getting crashing by MFBot again and again. There is only this in log:
SPOILER
#####################################################
#### Log pro: General
#### Začátek logu: 20.06.2022 22:04:06
#### Verze bota: 5.4.1.0
#####################################################
20220620 22:04:10 Warn Core Exception has been thrown by the target of an invocation.
Message: Exception has been thrown by the target of an invocation.
HResult: -2146232828
Source: mscorlib
StackTrace: at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.Activator.CreateInstance(Type type)
at A.ORK..ctor(List`1 J)
at A.ORK..ctor()
at A.CVK..ctor()
at A.KFK.L()
at de.mfbot.MFBot_NG.Basisbibliothek.BaseProgram.start(Action methodToRun) in File121:line 436
TargetSite: System.Object CreateInstance(System.RuntimeType, Boolean, Boolean, Boolean ByRef, System.RuntimeMethodHandleInternal ByRef, Boolean ByRef)
=== INNER EXCEPTION ===
Message: Object reference not set to an instance of an object.
HResult: -2147467261
Source: Basisbibliothek
StackTrace: at de.mfbot.MFBot_NG.Basisbibliothek.Bot.J(IniSection J) in File122:line 188
at de.mfbot.MFBot_NG.Basisbibliothek.Bot.load() in File122:line 161
at de.mfbot.MFBot_NG.Basisbibliothek.Bot.get_CurrentBot() in File122:line 50
at A.TWK.E(Object J, EventArgs M)
TargetSite: Boolean J(IniSection)

Re: Crashing constantly

Verfasst: So 17. Jul 2022, 19:30
von Robin
Hi there,

the stack trace hints at one or more corrupt sections in your Acc.ini (the bots' settings file).
Usually, the bot would just skip the account, but in this case it seems a bit more severe.

Could you please check if your Acc.ini still has any content? If not, try to use an Acc.ini from the "backup" folder.

Regards,
Robin

Re: Crashing constantly

Verfasst: Di 19. Jul 2022, 10:15
von StewieBiatch
I had to remove by hand all what there was left after deleted acc and now it works.

Loop in Account Log - "You searched for another opponent in the fortress."

Verfasst: Fr 12. Aug 2022, 17:07
von mnxao
As the title says.

Can someone look into this?

I attached the account log and my fortress settings.

Re: Loop in Account Log - "You searched for another opponent in the fortress."

Verfasst: Mi 7. Sep 2022, 12:06
von giopappy
Same here ... closing and restarting the bot it disappear ... anyway it doesn't search really for an other opponent since gold wasn't used.

Re: Loop in Account Log - "You searched for another opponent in the fortress."

Verfasst: Mi 7. Sep 2022, 12:39
von Bossi
Hello

First of all many thanks to the team for the great work you put into the bot.

I can add the following to the problem described.
I also have this problem from time to time. It seems to me that it occurs when I log in manually with the browser. It doesn't always happen, but only sporadically. As if the bot sometimes doesn't notice that the session has expired by logging in manually.

Greetings Bossi

Re: Loop in Account Log - "You searched for another opponent in the fortress."

Verfasst: Fr 9. Sep 2022, 15:45
von Baaam
Thanks for you reports and the additional information. We will have a look into it.

Re: Crashing constantly

Verfasst: Di 20. Sep 2022, 07:26
von StewieBiatch
Not going to open new thread, so here is another few crashes on my Version 5.4.3 Yucca
SPOILER
20220920 02:17:14 Error Core String reference not set to an instance of a String.
Parameter name: s
Message: String reference not set to an instance of a String.
Parameter name: s
HResult: -2147467261
Source: mscorlib
StackTrace: at System.Text.Encoding.GetBytes(String s)
at de.mfbot.MFBot_NG.Basisbibliothek.BaseResponse.ToString() in File100:line 278
at de.mfbot.MFBot_NG.Basisbibliothek.Server.send(Account acc, Command cmd) in File180:line 616
at de.mfbot.MFBot_NG.Basisbibliothek.Account.send(Command command) in File0:line 1316
at de.mfbot.MFBot_NG.Basisbibliothek.ArenaTasker.Q(Boolean Q) in File5:line 139
at de.mfbot.MFBot_NG.Basisbibliothek.ArenaTasker.Q() in File5:line 107
at de.mfbot.MFBot_NG.Basisbibliothek.PerformanceHelper.VW.Q() in File188:line 242
TargetSite: Byte[] GetBytes(System.String)

Re: Crashing constantly

Verfasst: Fr 23. Sep 2022, 14:43
von StewieBiatch
SPOILER
20220923 14:41:31 Warn Core Exception has been thrown by the target of an invocation.
Message: Exception has been thrown by the target of an invocation.
HResult: -2146232828
Source: mscorlib
StackTrace: at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.Activator.CreateInstance(Type type)
at A.NCW..ctor(List`1 Q)
at A.NCW..ctor()
at A.JHW..ctor()
at A.PHW.U()
at de.mfbot.MFBot_NG.Basisbibliothek.BaseProgram.start(Action methodToRun) in File150:line 446
TargetSite: System.Object CreateInstance(System.RuntimeType, Boolean, Boolean, Boolean ByRef, System.RuntimeMethodHandleInternal ByRef, Boolean ByRef)
=== INNER EXCEPTION ===
Message: Object reference not set to an instance of an object.
HResult: -2147467261
Source: Basisbibliothek
StackTrace: at de.mfbot.MFBot_NG.Basisbibliothek.Bot.Q(IniSection Q) in File151:line 182
at de.mfbot.MFBot_NG.Basisbibliothek.Bot.load() in File151:line 161
at de.mfbot.MFBot_NG.Basisbibliothek.Bot.get_CurrentBot() in File151:line 50
at A.KRW.E(Object Q, EventArgs O)
TargetSite: Boolean Q(IniSection)

Re: Crashing constantly

Verfasst: Sa 1. Okt 2022, 11:48
von StewieBiatch
SPOILER
20221001 07:41:00 Info Fortress You searched for another opponent in the fortress.
20221001 07:41:00 Info Fortress You searched for another opponent in the fortress.
20221001 07:41:01 Info Fortress You searched for another opponent in the fortress.
20221001 07:41:01 Info Fortress You searched for another opponent in the fortress.
20221001 07:41:02 Info Fortress You searched for another opponent in the fortress.
20221001 07:41:02 Info Fortress You searched for another opponent in the fortress.
Everytime when it crashes, this is what i find in last log.