SOLVED[4.6.5.0]Raspbian console problem?

In das Unterforum "Erledigt" werden alle Beiträge geschoben, die erledigt sind, bspw. bei behobenen Bugs.
Gesperrt
Sathorn
Spender
Beiträge: 41
Registriert: Di 10. Jan 2017, 19:03
Hat sich bedankt: 6 Mal
Danksagung erhalten: 5 Mal

SOLVED[4.6.5.0]Raspbian console problem?

Beitrag von Sathorn »

This is a message I am getting on every instance of bot:
SPOILER
Can't find custom attr constructor image: Basisbibliothek.dll mtoken: 0x0a00001e due to: Could not load file or assembly 'System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. assembly:System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 type:<unknown type> member:<none>
No clue whether it is a problem or not? Bot is working at least for now without problems. It may change later maybe, but so far so good.
Zuletzt geändert von Sathorn am Di 21. Nov 2017, 14:03, insgesamt 1-mal geändert.
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: [4.6.5.0]Raspbian console problem?

Beitrag von Robin »

Hi Sathorn!
May I ask which Raspberry Pi / console version you're working on?

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
Sathorn
Spender
Beiträge: 41
Registriert: Di 10. Jan 2017, 19:03
Hat sich bedankt: 6 Mal
Danksagung erhalten: 5 Mal

Re: [4.6.5.0]Raspbian console problem?

Beitrag von Sathorn »

Model: Raspberry Pi ver 3B,
System: Linux raspberrypi 4.9.24-v7+ #993 SMP Wed Apr 26 18:01:23 BST 2017 armv7l GNU/Linux
I am using terminator console
I downloaded MFBot_4650_Konsole_ARM32 if that what you asking.
Sathorn
Spender
Beiträge: 41
Registriert: Di 10. Jan 2017, 19:03
Hat sich bedankt: 6 Mal
Danksagung erhalten: 5 Mal

Re: [4.6.5.0]Raspbian console problem?

Beitrag von Sathorn »

Hello Robin,
I got this error on windows version 4.6.5.2
SPOILER
Object reference not set to an instance of an object.
Message: Object reference not set to an instance of an object.
HResult: -2147467261
Source: Basisbibliothek
StackTrace: at de.mfbot.MFBot_NG.Basisbibliothek.Player.(Skilltype , PotionType , Int32 ) in File100:line 514
at de.mfbot.MFBot_NG.Gui.FrmAccount.(Object , PropertyChangedEventArgs )
at de.mfbot.MFBot_NG.Gui.FrmAccount.()
at de.mfbot.MFBot_NG.Gui.FrmAccount..ctor(Account acc)
at de.mfbot.MFBot_NG.Gui.FrmMain.(Object , EventArgs )
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at SkinSoft.UI.WinFormsExtenderControl.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
TargetSite: Int32 (de.mfbot.MFBot_NG.Basisbibliothek.Skilltype, de.mfbot.MFBot_NG.Basisbibliothek.PotionType, Int32)
Maybe it is connected with polish version of bot translation, since no one else report it? :)
2g4y1
Spender
Beiträge: 32
Registriert: Mo 20. Apr 2015, 16:16
Hat sich bedankt: 14 Mal
Danksagung erhalten: 9 Mal

Re: [4.6.5.0]Raspbian console problem?

Beitrag von 2g4y1 »

Hi

Bekomme auch den Fehler am raspberry 2b
Fehler kommt gleich als erster Eintrag in screen wenn man den bot startet.

Can't find custom attr constructor image: Basisbibliothek.dll mtoken: 0x0a00001e due to: Could not load file or assembly 'System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. assembly:System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 type:<unknown type> member:<none>
> Running MFBot Konsole, Version Console 4.6.5.0 (Dodecatheon) on Mono runtime


Mono: (nicht aus raspberry repo sondern aus der mono repo)
apt list --installed | grep mono

WARNING: apt does not have a stable CLI interface yet. Use with caution in scripts.

ca-certificates-mono/stable,now 5.2.0.224-0xamarin7+debian7b1 all [Installiert,automatisch]
libmono-corlib4.5-cil/stable,now 5.2.0.224-0xamarin7+debian7b1 all [Installiert,automatisch]
libmono-i18n-west4.0-cil/stable,now 5.2.0.224-0xamarin7+debian7b1 all [Installiert,automatisch]
libmono-i18n4.0-cil/stable,now 5.2.0.224-0xamarin7+debian7b1 all [Installiert,automatisch]
libmono-security4.0-cil/stable,now 5.2.0.224-0xamarin7+debian7b1 all [Installiert,automatisch]
libmono-system-configuration4.0-cil/stable,now 5.2.0.224-0xamarin7+debian7b1 all [Installiert,automatisch]
libmono-system-security4.0-cil/stable,now 5.2.0.224-0xamarin7+debian7b1 all [Installiert,automatisch]
libmono-system-xml4.0-cil/stable,now 5.2.0.224-0xamarin7+debian7b1 all [Installiert,automatisch]
libmono-system4.0-cil/stable,now 5.2.0.224-0xamarin7+debian7b1 all [Installiert,automatisch]
mono-4.0-gac/stable,now 5.2.0.224-0xamarin7+debian7b1 all [Installiert,automatisch]
mono-gac/stable,now 5.2.0.224-0xamarin7+debian7b1 all [Installiert,automatisch]
mono-runtime/stable,now 5.2.0.224-0xamarin7+debian7b1 armhf [installiert]
mono-runtime-common/stable,now 5.2.0.224-0xamarin7+debian7b1 armhf [Installiert,automatisch]
mono-runtime-sgen/stable,now 5.2.0.224-0xamarin7+debian7b1 armhf [Installiert,automatisch]


Ps. Bot funtioniert trtzdem =)

Und noch ein log

Code: Alles auswählen

MONO_LOG_LEVEL=debug mono MFBot_Konsole_ARM32 >> monotrace.log
https://pastebin.com/Mbgt8DU2
Zuletzt geändert von 2g4y1 am Fr 13. Okt 2017, 08:28, insgesamt 1-mal geändert.
2g4y1
Spender
Beiträge: 32
Registriert: Mo 20. Apr 2015, 16:16
Hat sich bedankt: 14 Mal
Danksagung erhalten: 9 Mal

Re: [4.6.5.0]Raspbian console problem?

Beitrag von 2g4y1 »

Hi Sathorn,
this resolved the problem for me: https://forum.fivem.net/t/error-by-crea ... -8/17208/5
The script for step 4 is here under raspbian: http://www.mono-project.com/download/#download-lin

@Devs, es dürften wohl doch einige Funktionen von diesem Fehler betroffen gewesen sein.
Nach der reinstallation von Mono trat der Fehler nichtmehr auf und der bot hat gleich mal auf ein paar Chars das Mount verlängert gekauft, Items ausgetauscht und Rollen darauf angewendet.
Items müssten schon länger im inventar gewesen sein.
Folgende Benutzer bedankten sich beim Autor 2g4y1 für den Beitrag:
Baaam (Fr 13. Okt 2017, 08:41)
Sathorn
Spender
Beiträge: 41
Registriert: Di 10. Jan 2017, 19:03
Hat sich bedankt: 6 Mal
Danksagung erhalten: 5 Mal

Re: [4.6.5.0]Raspbian console problem?

Beitrag von Sathorn »

New version solves it completely, topic to be closed.
Folgende Benutzer bedankten sich beim Autor Sathorn für den Beitrag:
Brummiheld82 (Di 21. Nov 2017, 14:13)
Gesperrt

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 1 Gast