Loading...
  OR  Zero-K Name:    Password:   

Running ZeroK in Mono

18 posts, 1178 views
Post comment
Filter:    Player:  
sort
8 years ago
I am trying to run the lobby in Mono, nothing appears, and I get the following text, help anyone?

Mono: Assembly Loader probing location: '/opt/RA/lib/mono/4.5/mscorlib.dll'.
Mono: Image addref mscorlib[0x14a4470] -> /opt/RA/lib/mono/4.5/mscorlib.dll[0x14a36d0]: 2
Mono: Assembly Loader probing location: '/opt/RA/lib/mono/4.5/mscorlib.dll'.
Mono: Assembly Loader loaded assembly from location: '/opt/RA/lib/mono/4.5/mscorlib.dll'.
Mono: Assembly mscorlib[0x14a4470] added to domain Zero-K.exe, ref_count=1
Mono: Assembly Loader probing location: 'Zero-K.exe'.
Mono: Image addref Zero-K.all[0x14ddfb0] -> /home/myself/Zero-K.exe[0x14a2510]: 3
Mono: Assembly Zero-K.all[0x14ddfb0] added to domain Zero-K.exe, ref_count=1
Mono: Assembly Loader loaded assembly from location: 'Zero-K.exe'.
Mono: Assembly Loader probing location: 'Zero-K.exe'.
Mono: Assembly Ref addref Zero-K.all[0x14ddfb0] -> mscorlib[0x14a4470]: 2
Mono: Assembly Loader probing location: '/opt/RA/lib/mono/gac/System.Windows.Forms/4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll'.
Mono: Image addref System.Windows.Forms[0x14e29a0] -> /opt/RA/lib/mono/gac/System.Windows.Forms/4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll[0x14e18e0]: 2
Mono: Assembly System.Windows.Forms[0x14e29a0] added to domain Zero-K.exe, ref_count=1
Mono: Assembly Loader loaded assembly from location: '/opt/RA/lib/mono/gac/System.Windows.Forms/4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll'.
Mono: Assembly Ref addref Zero-K.all[0x14ddfb0] -> System.Windows.Forms[0x14e29a0]: 2
Mono: Assembly Loader probing location: '/opt/RA/lib/mono/gac/System/4.0.0.0__b77a5c561934e089/System.dll'.
Mono: Image addref System[0x14eff80] -> /opt/RA/lib/mono/gac/System/4.0.0.0__b77a5c561934e089/System.dll[0x14ef040]: 2
Mono: Assembly System[0x14eff80] added to domain Zero-K.exe, ref_count=1
Mono: Assembly Loader loaded assembly from location: '/opt/RA/lib/mono/gac/System/4.0.0.0__b77a5c561934e089/System.dll'.
Mono: Assembly Ref addref System.Windows.Forms[0x14e29a0] -> System[0x14eff80]: 2
Mono: Assembly Ref addref System[0x14eff80] -> mscorlib[0x14a4470]: 3
Mono: Assembly Ref addref System.Windows.Forms[0x14e29a0] -> mscorlib[0x14a4470]: 4
Mono: Assembly Loader probing location: '/opt/RA/lib/mono/gac/System.Drawing/4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll'.
Mono: Image addref System.Drawing[0x1504180] -> /opt/RA/lib/mono/gac/System.Drawing/4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll[0x15033a0]: 2
Mono: Assembly System.Drawing[0x1504180] added to domain Zero-K.exe, ref_count=1
Mono: Assembly Loader loaded assembly from location: '/opt/RA/lib/mono/gac/System.Drawing/4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll'.
Mono: Assembly Ref addref Zero-K.all[0x14ddfb0] -> System.Drawing[0x1504180]: 2
Mono: Assembly Ref addref System.Drawing[0x1504180] -> mscorlib[0x14a4470]: 5
Mono: Assembly Ref addref Zero-K.all[0x14ddfb0] -> System[0x14eff80]: 3
Mono: Assembly Ref addref System.Windows.Forms[0x14e29a0] -> System.Drawing[0x1504180]: 3
Mono: Assembly Loader probing location: '/opt/RA/lib/mono/gac/Accessibility/4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll'.
Mono: Image addref Accessibility[0x1535320] -> /opt/RA/lib/mono/gac/Accessibility/4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll[0x15345e0]: 2
Mono: Assembly Accessibility[0x1535320] added to domain Zero-K.exe, ref_count=1
Mono: Assembly Loader loaded assembly from location: '/opt/RA/lib/mono/gac/Accessibility/4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll'.
Mono: Assembly Ref addref System.Windows.Forms[0x14e29a0] -> Accessibility[0x1535320]: 2
Mono: Assembly Loader probing location: '/opt/RA/lib/mono/gac/System.Xml/4.0.0.0__b77a5c561934e089/System.Xml.dll'.
Mono: Image addref System.Xml[0x1558a60] -> /opt/RA/lib/mono/gac/System.Xml/4.0.0.0__b77a5c561934e089/System.Xml.dll[0x1557d20]: 2
Mono: Assembly System.Xml[0x1558a60] added to domain Zero-K.exe, ref_count=1
Mono: Assembly Loader loaded assembly from location: '/opt/RA/lib/mono/gac/System.Xml/4.0.0.0__b77a5c561934e089/System.Xml.dll'.
Mono: Assembly Ref addref Zero-K.all[0x14ddfb0] -> System.Xml[0x1558a60]: 2
Mono: Assembly Loader probing location: '/opt/RA/lib/mono/gac/System.ServiceModel/4.0.0.0__b77a5c561934e089/System.ServiceModel.dll'.
Mono: Image addref System.ServiceModel[0x1568980] -> /opt/RA/lib/mono/gac/System.ServiceModel/4.0.0.0__b77a5c561934e089/System.ServiceModel.dll[0x1563be0]: 2
Mono: Assembly System.ServiceModel[0x1568980] added to domain Zero-K.exe, ref_count=1
Mono: Assembly Loader loaded assembly from location: '/opt/RA/lib/mono/gac/System.ServiceModel/4.0.0.0__b77a5c561934e089/System.ServiceModel.dll'.
Mono: Assembly Ref addref Zero-K.all[0x14ddfb0] -> System.ServiceModel[0x1568980]: 2
Mono: Assembly Ref addref System.ServiceModel[0x1568980] -> mscorlib[0x14a4470]: 6
Mono: Assembly Ref addref System.Xml[0x1558a60] -> mscorlib[0x14a4470]: 7
Mono: Assembly Ref addref System.ServiceModel[0x1568980] -> System[0x14eff80]: 4
Mono: Assembly Loader probing location: '/opt/RA/lib/mono/gac/System.Runtime.Serialization/4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll'.
Mono: Image addref System.Runtime.Serialization[0x15d1b30] -> /opt/RA/lib/mono/gac/System.Runtime.Serialization/4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll[0x15d0a70]: 2
Mono: Assembly System.Runtime.Serialization[0x15d1b30] added to domain Zero-K.exe, ref_count=1
Mono: Assembly Loader loaded assembly from location: '/opt/RA/lib/mono/gac/System.Runtime.Serialization/4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll'.
Mono: Assembly Ref addref System.ServiceModel[0x1568980] -> System.Runtime.Serialization[0x15d1b30]: 2
Mono: Assembly Ref addref System.Runtime.Serialization[0x15d1b30] -> System.Xml[0x1558a60]: 3
Mono: Assembly Ref addref System.ServiceModel[0x1568980] -> System.Xml[0x1558a60]: 4
Mono: Assembly Ref addref System.Runtime.Serialization[0x15d1b30] -> mscorlib[0x14a4470]: 8
Missing method set_MaxBufferSize in assembly /home/myself/Zero-K.exe, type System.ServiceModel.HttpBindingBase

Unhandled Exception:
System.TypeInitializationException: An exception was thrown by the type initializer for ZeroKLobby.Program ---> System.TypeInitializationException: An exception was thrown by the type initializer for ZkData.GlobalConst ---> System.TypeLoadException: Could not load type 'System.ServiceModel.HttpBindingBase' from assembly 'Zero-K.all'.
at ZkData.GlobalConst.SetMode (ModeType newMode) [0x00000] in <filename unknown>:0
at ZkData.GlobalConst.set_Mode (ModeType value) [0x00000] in <filename unknown>:0
at ZkData.GlobalConst..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at ZeroKLobby.Config..ctor () [0x00000] in <filename unknown>:0
at ZeroKLobby.Program..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An exception was thrown by the type initializer for ZeroKLobby.Program ---> System.TypeInitializationException: An exception was thrown by the type initializer for ZkData.GlobalConst ---> System.TypeLoadException: Could not load type 'System.ServiceModel.HttpBindingBase' from assembly 'Zero-K.all'.
at ZkData.GlobalConst.SetMode (ModeType newMode) [0x00000] in <filename unknown>:0
at ZkData.GlobalConst.set_Mode (ModeType value) [0x00000] in <filename unknown>:0
at ZkData.GlobalConst..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at ZeroKLobby.Config..ctor () [0x00000] in <filename unknown>:0
at ZeroKLobby.Program..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---

+0 / -0
DErankflx
8 years ago
Why don't you use .NET framework?
+0 / -0

8 years ago
I think our new friend is with Linux flx
+0 / -0
Probably you have an old/different version of Mono compared to what's required. I'm not sure which one is shipped with OpenRA these days, because it seems that your Mono comes from there, or is configured to run RA anyway.

The easy solution is to use weblobby instead (don't forget to set lobby.zero-k.info as the lobby server in settings).
+0 / -0
8 years ago
Will springlobby work as well? I am installing on an old centos so I am compiling everything myself, and the weblobby source code cones with no compilation instructions.
+0 / -0
8 years ago
Springlobby is not compatible with Zero-K server protocol.

I would advise to use weblobby as EErankAdminAnarchid suggested already. Or install another version of mono.
+1 / -0

8 years ago
or you get flobby if you are fine with minimal and do not need extravagant graphics...
https://github.com/cleanrock/flobby

hint:
start it with flobby -z
for zerok lobbyserver support
+0 / -0
8 years ago
Chesti,right now I am working on compiling spring itself, after that I will compile flobby. Is there a way to tell flobby to use my compiled spring instead of downloading binaries? (Once again, I am doing this because centos has an old glibc, thus some binaries wont work and I must compile by myself)
+0 / -0

8 years ago
yes there is:
+0 / -0


8 years ago
Apparently compile instructions for swl-qt can be found here.
+0 / -0
8 years ago
Thanks. I got spring compiling, will try the lobbies soon. We are a bunch of guys who do LAN parties once a week on a Linux lab, do any of your lobbies support LAN? I prefer to avoid connecting outside of our net as much as possible
+0 / -0
You can run your own private lobby server on your LAN, which should work reasonably well. This is better to do with SpringLobby as your client because i'm not sure if any of the others support actual direct hosting.
+0 / -0
8 years ago
Orfeius said springlobby does not work with zerok anymore :-(
+0 / -0
8 years ago
http://zero-k.info/Forum/Thread/8814?postID=95236

According to this, springweblobby also allows LAN. Is it still relevant?
+0 / -0


8 years ago
You can't host battles in weblobby atm, so you either have to use springlobby or an autohost. No idea if flobby can host battles.
+0 / -0


8 years ago
Springlobby doesn't work with the zero-k lobby server. Zero-K however doesn't exactly require the ZKLS; it can also be played on Uberserver protocol which SpringLobby supports, and which (uberserver) can also be easily hosted on LAN.
+0 / -0


8 years ago
Please install mono library System.ServiceModel.dll
+0 / -0
8 years ago
someone probably already say.. but i use mono develop and no issues since that.. the ordinary mono is missing things zk needs
+0 / -0