Raspberry pi 4 support

Antworten
Dubi09
Beiträge: 1
Registriert: Mi 24. Mär 2021, 15:35
Hat sich bedankt: 0
Danksagung erhalten: 0

Raspberry pi 4 support

Beitrag von Dubi09 »

Hello,
I tried to run console version on 2 different rpi4s, I have mono-runtime installed. But I still getting this error.
cmd output:
SPOILER

Code: Alles auswählen

--2021-03-24 15:39:00--  http://www.mfbot.de/Download/latest/MFBot_Konsole_ARMRasp
Resolving www.mfbot.de (www.mfbot.de)... 91.204.46.67, 2a03:4000:30:8bbb::13:6221
Connecting to www.mfbot.de (www.mfbot.de)|91.204.46.67|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: ../v5.3.3.0/MFBot_Konsole_ARMRasp [following]
--2021-03-24 15:39:01--  http://www.mfbot.de/Download/v5.3.3.0/MFBot_Konsole_ARMRasp
Reusing existing connection to www.mfbot.de:443.
HTTP request sent, awaiting response... 200 OK
Length: 42388245 (40M) [application/octet-stream]
Saving to: ‘MFBot_Konsole_ARMRasp’

MFBot_Konsole_ARMRasp                                       100%[=========================================================================================================================================>]  40.42M  3.97MB/s    in 9.1s    

2021-03-24 15:39:10 (4.45 MB/s) - ‘MFBot_Konsole_ARMRasp’ saved [42388245/42388245]

pi@raspberrypi:~/Music/sfgame $ chmod +x MFBot_Konsole_ARMRasp 
pi@raspberrypi:~/Music/sfgame $ ./MFBot_Konsole_ARMRasp 

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 <7c3d302d886f43bc9b55567e7eea2191>:0 
  at de.mfbot.MFBot_NG.Konsole.Program.Main (System.String[] args) [0x00000] in <ce8a99b27e44424b88dc251186737328>: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 <7c3d302d886f43bc9b55567e7eea2191>:0 
  at de.mfbot.MFBot_NG.Konsole.Program.Main (System.String[] args) [0x00000] in <ce8a99b27e44424b88dc251186737328>:0 
pi@raspberrypi:~/Music/sfgame $ ls
Acc.ini  MFBot_Konsole_ARMRasp
pi@raspberrypi:~/Music/sfgame $ sudo ./MFBot_Konsole_ARMRasp 

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 <7c3d302d886f43bc9b55567e7eea2191>:0 
  at de.mfbot.MFBot_NG.Konsole.Program.Main (System.String[] args) [0x00000] in <ce8a99b27e44424b88dc251186737328>: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 <7c3d302d886f43bc9b55567e7eea2191>:0 
  at de.mfbot.MFBot_NG.Konsole.Program.Main (System.String[] args) [0x00000] in <ce8a99b27e44424b88dc251186737328>:0 
pi@raspberrypi:~/Music/sfgame $ 
Thank you for your help
F0restbear
Moderator
Beiträge: 1139
Registriert: Mo 8. Jun 2015, 17:36
Hat sich bedankt: 39 Mal
Danksagung erhalten: 214 Mal

Re: Raspberry pi 4 support

Beitrag von F0restbear »

Hey there,

please try to run the following command before you start the bot

Code: Alles auswählen

export TERM=xterm
Viele Grüße / Best regards

F0restbear
Antworten

Wer ist online?

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