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)
Folgende Benutzer bedankten sich beim Autor StewieBiatch für den Beitrag (Insgesamt 2):
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.
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
Zuletzt geändert von Robin am Sa 10. Dez 2022, 19:46, insgesamt 1-mal geändert.
Grund:Merged two threads with the same issue
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)
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)
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.