Crashing constantly

Fehler der Release-Versionen
StewieBiatch
Beiträge: 134
Registriert: Di 21. Dez 2021, 11:58
Hat sich bedankt: 13 Mal
Danksagung erhalten: 15 Mal

Crashing constantly

Beitrag 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)
Folgende Benutzer bedankten sich beim Autor StewieBiatch für den Beitrag (Insgesamt 2):
Chrissey (So 26. Jun 2022, 15:41) • Fazil (Fr 1. Jul 2022, 07:14)
Benutzeravatar
Robin
Administrator
Beiträge: 1723
Registriert: So 30. Jun 2013, 18:12
Wohnort: Rheinland-Pfalz
Hat sich bedankt: 303 Mal
Danksagung erhalten: 354 Mal

Re: Crashing constantly

Beitrag 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
MFBot-VersionCode-Zeilen*In Dateien*Letzte Version
MFBot 1.5.x64851Juli 2013
MFBot 2.x1436316März 2014
MFBot 3.x2209536März 2015
MFBot 4.x55242241Juli 2018
MFBot 5.x66000440Tbc
*Ohne automatisch generierten Designer-Code
StewieBiatch
Beiträge: 134
Registriert: Di 21. Dez 2021, 11:58
Hat sich bedankt: 13 Mal
Danksagung erhalten: 15 Mal

Re: Crashing constantly

Beitrag von StewieBiatch »

I had to remove by hand all what there was left after deleted acc and now it works.
mnxao
Beiträge: 3
Registriert: Mi 3. Aug 2022, 00:06
Hat sich bedankt: 1 Mal
Danksagung erhalten: 0

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

Beitrag von mnxao »

As the title says.

Can someone look into this?

I attached the account log and my fortress settings.
Dateianhänge
image_2022-08-12_170708426.png
image_2022-08-12_170708426.png (151.69 KiB) 632 mal betrachtet
image_2022-08-12_170621984.png
image_2022-08-12_170621984.png (401.76 KiB) 632 mal betrachtet
Zuletzt geändert von Robin am Sa 10. Dez 2022, 19:45, insgesamt 1-mal geändert.
Grund: Merged two threads with the same issue
giopappy
Beiträge: 17
Registriert: Mi 11. Jan 2017, 12:29
Hat sich bedankt: 0
Danksagung erhalten: 0

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

Beitrag 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.
Bossi
Beiträge: 21
Registriert: Sa 28. Sep 2019, 14:53
Hat sich bedankt: 9 Mal
Danksagung erhalten: 7 Mal

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

Beitrag 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
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
Baaam
Core Developer
Beiträge: 967
Registriert: Mo 23. Dez 2013, 14:13
Hat sich bedankt: 172 Mal
Danksagung erhalten: 206 Mal

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

Beitrag von Baaam »

Thanks for you reports and the additional information. We will have a look into it.
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
StewieBiatch
Beiträge: 134
Registriert: Di 21. Dez 2021, 11:58
Hat sich bedankt: 13 Mal
Danksagung erhalten: 15 Mal

Re: Crashing constantly

Beitrag 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)
StewieBiatch
Beiträge: 134
Registriert: Di 21. Dez 2021, 11:58
Hat sich bedankt: 13 Mal
Danksagung erhalten: 15 Mal

Re: Crashing constantly

Beitrag 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)
StewieBiatch
Beiträge: 134
Registriert: Di 21. Dez 2021, 11:58
Hat sich bedankt: 13 Mal
Danksagung erhalten: 15 Mal

Re: Crashing constantly

Beitrag 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.
Antworten

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 4 Gäste