Konsolen Bot auf x86 Servern - HOWTO

Snackosaurus
Beiträge: 3
Registriert: Di 22. Aug 2023, 21:16
Hat sich bedankt: 2 Mal
Danksagung erhalten: 0

Re: Konsolen Bot auf x86 Servern - HOWTO

Beitrag von Snackosaurus »

Deathrayne hat geschrieben: Fr 25. Aug 2023, 15:12 Ich hab auf meinem Raspberry Pi ein ähnliches Problem. Ich hab jedoch gemerkt wenn ich bei den Accounts (9 an der Zahl) Autologin ausschalte und dann Konsolenbot
starte und "/login all" gefolgt von "/start all" eingebe funktioniert alles wunderbar.

Nur S6.EU habe ich noch nicht zur Konsolenversion hinzugefügt. Scheinbar Erkennt die Konsolenversion des Bots den Server nicht richtig.
In Windows funktioniert S6.EU prima und ohne Fehler
Vielen Dank für deine Rückmeldung!

Ich bin auch noch in den Release Notes zu Version 5.6.2 auf folgenden Satz gestoßen:
Wir sind uns bewusst, dass es immer noch Probleme mit SSO-Accounts wie auch mit neuen Servern gibt, vor allem mit den Linux-Konsolen.
Ich denke das dürfte es auch erklären, warum mein Charakter von EU6 noch Probleme macht :)

Viele Grüße,
Snackosaurus
Polydoros95
Beiträge: 35
Registriert: Mo 2. Mär 2015, 02:14
Hat sich bedankt: 2 Mal
Danksagung erhalten: 7 Mal

Re: Konsolen Bot auf x86 Servern - HOWTO

Beitrag von Polydoros95 »

Irgendwelche Tipps, wie ich das weg kriege?

Ubuntu 22.04
SPOILER

Code: Alles auswählen

Unhandled Exception:
System.TypeInitializationException: The type initializer for 'System.Console' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.ConsoleDriver' threw an exception. ---> System.Exception: Magic number is wrong: 542
  at System.TermInfoReader.ReadHeader (System.Byte[] buffer, System.Int32& position) [0x00028] in <a6f810169ec746eeb2789b925e2858c0>:0 
  at System.TermInfoReader..ctor (System.String term, System.String filename) [0x0005f] in <a6f810169ec746eeb2789b925e2858c0>:0 
  at System.TermInfoDriver..ctor (System.String term) [0x00055] in <a6f810169ec746eeb2789b925e2858c0>:0 
  at System.ConsoleDriver.CreateTermInfoDriver (System.String term) [0x00000] in <a6f810169ec746eeb2789b925e2858c0>:0 
  at System.ConsoleDriver..cctor () [0x0004d] in <a6f810169ec746eeb2789b925e2858c0>:0 
   --- End of inner exception stack trace ---
  at System.Console.SetupStreams (System.Text.Encoding inputEncoding, System.Text.Encoding outputEncoding) [0x00007] in <a6f810169ec746eeb2789b925e2858c0>:0 
  at System.Console..cctor () [0x0008e] in <a6f810169ec746eeb2789b925e2858c0>:0 
   --- End of inner exception stack trace ---
  at BasisFightSimulation.FightSimulationAssemblyLoader.Load () [0x00000] in <d5a17149474d47dd82b890b1e2a9e704>:0 
  at de.mfbot.MFBot_NG.Konsole.Program.Main (System.String[] args) [0x00000] in <4d828ba0dffe43078c2f5cb674a6740b>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'System.Console' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.ConsoleDriver' threw an exception. ---> System.Exception: Magic number is wrong: 542
  at System.TermInfoReader.ReadHeader (System.Byte[] buffer, System.Int32& position) [0x00028] in <a6f810169ec746eeb2789b925e2858c0>:0 
  at System.TermInfoReader..ctor (System.String term, System.String filename) [0x0005f] in <a6f810169ec746eeb2789b925e2858c0>:0 
  at System.TermInfoDriver..ctor (System.String term) [0x00055] in <a6f810169ec746eeb2789b925e2858c0>:0 
  at System.ConsoleDriver.CreateTermInfoDriver (System.String term) [0x00000] in <a6f810169ec746eeb2789b925e2858c0>:0 
  at System.ConsoleDriver..cctor () [0x0004d] in <a6f810169ec746eeb2789b925e2858c0>:0 
   --- End of inner exception stack trace ---
  at System.Console.SetupStreams (System.Text.Encoding inputEncoding, System.Text.Encoding outputEncoding) [0x00007] in <a6f810169ec746eeb2789b925e2858c0>:0 
  at System.Console..cctor () [0x0008e] in <a6f810169ec746eeb2789b925e2858c0>:0 
   --- End of inner exception stack trace ---
  at BasisFightSimulation.FightSimulationAssemblyLoader.Load () [0x00000] in <d5a17149474d47dd82b890b1e2a9e704>:0 
  at de.mfbot.MFBot_NG.Konsole.Program.Main (System.String[] args) [0x00000] in <4d828ba0dffe43078c2f5cb674a6740b>:0 
Benutzeravatar
TakeViagraDieHard
Spender
Beiträge: 140
Registriert: Fr 29. Jun 2018, 21:53
Wohnort: NRW
Hat sich bedankt: 14 Mal
Danksagung erhalten: 46 Mal

Re: Konsolen Bot auf x86 Servern - HOWTO

Beitrag von TakeViagraDieHard »

Polydoros95 hat geschrieben: Mi 6. Sep 2023, 20:52 Irgendwelche Tipps, wie ich das weg kriege?

Ubuntu 22.04
SPOILER

Code: Alles auswählen

Unhandled Exception:
System.TypeInitializationException: The type initializer for 'System.Console' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.ConsoleDriver' threw an exception. ---> System.Exception: Magic number is wrong: 542
  at System.TermInfoReader.ReadHeader (System.Byte[] buffer, System.Int32& position) [0x00028] in <a6f810169ec746eeb2789b925e2858c0>:0 
  at System.TermInfoReader..ctor (System.String term, System.String filename) [0x0005f] in <a6f810169ec746eeb2789b925e2858c0>:0 
  at System.TermInfoDriver..ctor (System.String term) [0x00055] in <a6f810169ec746eeb2789b925e2858c0>:0 
  at System.ConsoleDriver.CreateTermInfoDriver (System.String term) [0x00000] in <a6f810169ec746eeb2789b925e2858c0>:0 
  at System.ConsoleDriver..cctor () [0x0004d] in <a6f810169ec746eeb2789b925e2858c0>:0 
   --- End of inner exception stack trace ---
  at System.Console.SetupStreams (System.Text.Encoding inputEncoding, System.Text.Encoding outputEncoding) [0x00007] in <a6f810169ec746eeb2789b925e2858c0>:0 
  at System.Console..cctor () [0x0008e] in <a6f810169ec746eeb2789b925e2858c0>:0 
   --- End of inner exception stack trace ---
  at BasisFightSimulation.FightSimulationAssemblyLoader.Load () [0x00000] in <d5a17149474d47dd82b890b1e2a9e704>:0 
  at de.mfbot.MFBot_NG.Konsole.Program.Main (System.String[] args) [0x00000] in <4d828ba0dffe43078c2f5cb674a6740b>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'System.Console' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.ConsoleDriver' threw an exception. ---> System.Exception: Magic number is wrong: 542
  at System.TermInfoReader.ReadHeader (System.Byte[] buffer, System.Int32& position) [0x00028] in <a6f810169ec746eeb2789b925e2858c0>:0 
  at System.TermInfoReader..ctor (System.String term, System.String filename) [0x0005f] in <a6f810169ec746eeb2789b925e2858c0>:0 
  at System.TermInfoDriver..ctor (System.String term) [0x00055] in <a6f810169ec746eeb2789b925e2858c0>:0 
  at System.ConsoleDriver.CreateTermInfoDriver (System.String term) [0x00000] in <a6f810169ec746eeb2789b925e2858c0>:0 
  at System.ConsoleDriver..cctor () [0x0004d] in <a6f810169ec746eeb2789b925e2858c0>:0 
   --- End of inner exception stack trace ---
  at System.Console.SetupStreams (System.Text.Encoding inputEncoding, System.Text.Encoding outputEncoding) [0x00007] in <a6f810169ec746eeb2789b925e2858c0>:0 
  at System.Console..cctor () [0x0008e] in <a6f810169ec746eeb2789b925e2858c0>:0 
   --- End of inner exception stack trace ---
  at BasisFightSimulation.FightSimulationAssemblyLoader.Load () [0x00000] in <d5a17149474d47dd82b890b1e2a9e704>:0 
  at de.mfbot.MFBot_NG.Konsole.Program.Main (System.String[] args) [0x00000] in <4d828ba0dffe43078c2f5cb674a6740b>:0 
SuFu :D viewtopic.php?t=3068
Folgende Benutzer bedankten sich beim Autor TakeViagraDieHard für den Beitrag:
Polydoros95 (Sa 11. Nov 2023, 18:23)
PanDaa
Beiträge: 1
Registriert: Fr 27. Okt 2023, 23:57
Hat sich bedankt: 0
Danksagung erhalten: 0

Re: Konsolen Bot auf x86 Servern - HOWTO

Beitrag von PanDaa »

Grüßt euch,

ich versuche seit gestern Abend den Bot auf einem Ionos VPS Server zu installieren, aheb auch alles geschafft und die meisten Fehler ausräumen können. Jetzt habe ich allerdings das Problem:

Code: Alles auswählen

27.10.2023 22:22:51 Info Core NAME@S7.SFGAME.EU Logging in...
27.10.2023 22:22:52 Error Core General
   !##The given key was not present in the dictionary.
   !##  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <a6f810169ec746eeb2789b925e2858c0>:0
  at de.mfbot.MFBot_NG.Basisbibliothek.Server.get_GameServerId () [0x0000b] in <319df8ad8dc1431fb71d5570005b1986>:0
  at de.mfbot.MFBot_NG.Basisbibliothek.Server+<>c__DisplayClass82_0.<executeSsoLogin>b__2 (de.mfbot.MFBot_NG.Basisbibliothek.ServerCommunication.SSO.SFAccountLinkedCharacter c) [0x0001f] in <319df8ad8dc1431fb71d5570005b1986>:0
  at System.Linq.Enumerable.TryGetFirst[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate, System.Boolean& found) [0x0003f] in <abeb153532fb46718501a600866a8d76>:0
  at System.Linq.Enumerable.FirstOrDefault[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00000] in <abeb153532fb46718501a600866a8d76>:0
  at de.mfbot.MFBot_NG.Basisbibliothek.Server.executeSsoLogin (de.mfbot.MFBot_NG.Basisbibliothek.Account acc, de.mfbot.MFBot_NG.Basisbibliothek.SsoAccountSettings ssoAccountSettings) [0x00093] in <319df8ad8dc1431fb71d5570005b1986>:0
  at de.mfbot.MFBot_NG.Basisbibliothek.Server.doLogin (de.mfbot.MFBot_NG.Basisbibliothek.Account acc) [0x00044] in <319df8ad8dc1431fb71d5570005b1986>:0
  at de.mfbot.MFBot_NG.Basisbibliothek.Server.login (de.mfbot.MFBot_NG.Basisbibliothek.Account acc) [0x00035] in <319df8ad8dc1431fb71d5570005b1986>:0
  at de.mfbot.MFBot_NG.Basisbibliothek.Account.login (System.Boolean relog) [0x000c3] in <319df8ad8dc1431fb71d5570005b1986>:0
  at de.mfbot.MFBot_NG.Basisbibliothek.Account.start () [0x00008] in <319df8ad8dc1431fb71d5570005b1986>:0
  at de.mfbot.MFBot_NG.Basisbibliothek.Bot+<>c__DisplayClass46_0.<startAccount>b__0 () [0x00000] in <319df8ad8dc1431fb71d5570005b1986>:0
  at de.mfbot.MFBot_NG.Basisbibliothek.PerformanceHelper+<>c__DisplayClass27_0.<createThread>b__0 () [0x00000] in <319df8ad8dc1431fb71d5570005b1986>:0

Swamttert
Beiträge: 11
Registriert: Fr 15. Mär 2019, 19:21
Hat sich bedankt: 4 Mal
Danksagung erhalten: 0

Re: Konsolen Bot auf x86 Servern - HOWTO

Beitrag von Swamttert »

PanDaa hat geschrieben: Sa 28. Okt 2023, 00:06 Grüßt euch,

ich versuche seit gestern Abend den Bot auf einem Ionos VPS Server zu installieren, aheb auch alles geschafft und die meisten Fehler ausräumen können. Jetzt habe ich allerdings das Problem:

Code: Alles auswählen

27.10.2023 22:22:51 Info Core NAME@S7.SFGAME.EU Logging in...
27.10.2023 22:22:52 Error Core General
   !##The given key was not present in the dictionary.
   !##  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <a6f810169ec746eeb2789b925e2858c0>:0
  at de.mfbot.MFBot_NG.Basisbibliothek.Server.get_GameServerId () [0x0000b] in <319df8ad8dc1431fb71d5570005b1986>:0
  at de.mfbot.MFBot_NG.Basisbibliothek.Server+<>c__DisplayClass82_0.<executeSsoLogin>b__2 (de.mfbot.MFBot_NG.Basisbibliothek.ServerCommunication.SSO.SFAccountLinkedCharacter c) [0x0001f] in <319df8ad8dc1431fb71d5570005b1986>:0
  at System.Linq.Enumerable.TryGetFirst[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate, System.Boolean& found) [0x0003f] in <abeb153532fb46718501a600866a8d76>:0
  at System.Linq.Enumerable.FirstOrDefault[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00000] in <abeb153532fb46718501a600866a8d76>:0
  at de.mfbot.MFBot_NG.Basisbibliothek.Server.executeSsoLogin (de.mfbot.MFBot_NG.Basisbibliothek.Account acc, de.mfbot.MFBot_NG.Basisbibliothek.SsoAccountSettings ssoAccountSettings) [0x00093] in <319df8ad8dc1431fb71d5570005b1986>:0
  at de.mfbot.MFBot_NG.Basisbibliothek.Server.doLogin (de.mfbot.MFBot_NG.Basisbibliothek.Account acc) [0x00044] in <319df8ad8dc1431fb71d5570005b1986>:0
  at de.mfbot.MFBot_NG.Basisbibliothek.Server.login (de.mfbot.MFBot_NG.Basisbibliothek.Account acc) [0x00035] in <319df8ad8dc1431fb71d5570005b1986>:0
  at de.mfbot.MFBot_NG.Basisbibliothek.Account.login (System.Boolean relog) [0x000c3] in <319df8ad8dc1431fb71d5570005b1986>:0
  at de.mfbot.MFBot_NG.Basisbibliothek.Account.start () [0x00008] in <319df8ad8dc1431fb71d5570005b1986>:0
  at de.mfbot.MFBot_NG.Basisbibliothek.Bot+<>c__DisplayClass46_0.<startAccount>b__0 () [0x00000] in <319df8ad8dc1431fb71d5570005b1986>:0
  at de.mfbot.MFBot_NG.Basisbibliothek.PerformanceHelper+<>c__DisplayClass27_0.<createThread>b__0 () [0x00000] in <319df8ad8dc1431fb71d5570005b1986>:0

I'm having the same exact error.
Antworten

Wer ist online?

Mitglieder in diesem Forum: Ahrefs [Bot] und 13 Gäste