Hi all,
I thought it would be an interesting project to see if i could use a raspberry pi system-on-a-chip to host a runuo server. The system is low spec by todays standards (arm 11 chip and 512mb of ram) but figured it could be interesting for development or running a low numbers server.
The operating system is Raspbian, which is basically Debian-7-testing(wheezy) compiled for ARM.
Initially i tried this on a normal amd64/Debian7 PC, and everything works fine. However repeating the same steps on the raspberry i get errors (shown at end of the post)
On both platforms im installing "mono-complete" from the apt repositories.
libz is installed on both architectures as default as /lib/architecture name/libz.so.1.2.7 (eg on arm its /lib/arm-linux-gnueabihf/libz.so.1.2.7)
Im compiling runuo 2.3 r987 with
Im not using RunUO.exe.config as on the AMD64 platform everythings working fine without it (including saves), so im guessing its finding the compression library.
Following the same steps on the raspberry the server boots up fine, i can move around, use [admin and all the other commands ive tried. The problems come when i goto save , i get the following error
Can anyone help with this please?
I thought it would be an interesting project to see if i could use a raspberry pi system-on-a-chip to host a runuo server. The system is low spec by todays standards (arm 11 chip and 512mb of ram) but figured it could be interesting for development or running a low numbers server.
The operating system is Raspbian, which is basically Debian-7-testing(wheezy) compiled for ARM.
Initially i tried this on a normal amd64/Debian7 PC, and everything works fine. However repeating the same steps on the raspberry i get errors (shown at end of the post)
On both platforms im installing "mono-complete" from the apt repositories.
libz is installed on both architectures as default as /lib/architecture name/libz.so.1.2.7 (eg on arm its /lib/arm-linux-gnueabihf/libz.so.1.2.7)
Im compiling runuo 2.3 r987 with
Code:
gmcs -optimize -unsafe -d:MONO -out:RunUO.exe -win32icon:Server/runuo.ico -recurse:Server/*.cs
Im not using RunUO.exe.config as on the AMD64 platform everythings working fine without it (including saves), so im guessing its finding the compression library.
Following the same steps on the raspberry the server boots up fine, i can move around, use [admin and all the other commands ive tried. The problems come when i goto save , i get the following error
Code:
Time: 734971/00/0001 00:02:41
Mobiles: 1
Items: 28
Exception:
System.Exception: World Save event threw an exception. Save failed! ---> System.DivideByZeroException: Division by zero
at System.DateTimeUtils.ToString (DateTime dt, Nullable`1 utc_offset, System.String format, System.Globalization.DateTimeFormatInfo dfi) [0x00000] in <filename unknown>:0
at System.DateTimeUtils.ToString (DateTime dt, System.String format, System.Globalization.DateTimeFormatInfo dfi) [0x00000] in <filename unknown>:0
at System.DateTime.ToString (System.String format, IFormatProvider provider) [0x00000] in <filename unknown>:0
at System.Xml.XmlConvert.ToString (DateTime value, XmlDateTimeSerializationMode mode) [0x00000] in <filename unknown>:0
at Server.Accounting.Account.Save (System.Xml.XmlTextWriter xml) [0x00000] in <filename unknown>:0
at Server.Accounting.Accounts.Save (Server.WorldSaveEventArgs e) [0x00000] in <filename unknown>:0
at (wrapper delegate-invoke) <Module>:invoke_void__this___WorldSaveEventArgs (Server.WorldSaveEventArgs)
at (wrapper delegate-invoke) <Module>:invoke_void__this___WorldSaveEventArgs (Server.WorldSaveEventArgs)
at Server.EventSink.InvokeWorldSave (Server.WorldSaveEventArgs e) [0x00000] in <filename unknown>:0
at Server.World.Save (Boolean message, Boolean permitBackgroundWrite) [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at Server.World.Save (Boolean message, Boolean permitBackgroundWrite) [0x00000] in <filename unknown>:0
at Server.Misc.AutoSave.Save (Boolean permitBackgroundWrite) [0x00000] in <filename unknown>:0
at Server.Misc.AutoSave.Save () [0x00000] in <filename unknown>:0
at Server.Commands.CommandHandlers.Save_OnCommand (Server.Commands.CommandEventArgs e) [0x00000] in <filename unknown>:0
at Server.Commands.CommandSystem.Handle (Server.Mobile from, System.String text, MessageType type) [0x00000] in <filename unknown>:0
at Server.Mobile.DoSpeech (System.String text, System.Int32[] keywords, MessageType type, Int32 hue) [0x00000] in <filename unknown>:0
at Server.Mobiles.PlayerMobile.DoSpeech (System.String text, System.Int32[] keywords, MessageType type, Int32 hue) [0x00000] in <filename unknown>:0
at Server.Network.PacketHandlers.UnicodeSpeech (Server.Network.NetState state, Server.Network.PacketReader pvSrc) [0x00000] in <filename unknown>:0
at Server.Network.MessagePump.HandleReceive (Server.Network.NetState ns) [0x00000] in <filename unknown>:0
at Server.Network.MessagePump.Slice () [0x00000] in <filename unknown>:0
at Server.Core.Main (System.String[] args) [0x00000] in <filename unknown>:0
Can anyone help with this please?