ServUO Version
Publish 57
Ultima Expansion
Endless Journey
I've compiled ServUO.exe publish 57.1 and run with mono. It compiles and runs without issues until I execute a [restart command from the client.
It seems on the restart that it forgets the path.

The shutdown part of the restart seems to be working fine, but it fails when attempting start again. In the DataPath.cfg my path is:
Code:
CustomPath=/home/ec2-user/ServUO-master/uo_files

1643423146085.png

Code:
Server Crash Report
===================

ServUO Version 0.0, Build 0.0
Operating System: Unix 5.10.82.83
.NET Framework: 4.0.30319.42000
Time: 1/29/2022 2:15:28 AM
Mobiles: 42807
Items: 153266
Exception:
System.IO.IOException: Invalid handle to path "/home/ec2-user/ServUO-master/[Unknown]"
  at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_delegate_end_invoke(object,intptr)
  at (wrapper delegate-end-invoke) System.Func`1[System.String].end_invoke_TResult__this___IAsyncResult(System.IAsyncResult)
  at Server.Misc.ServerConsole+<>c.<PollCommands>b__5_0 (System.IAsyncResult r) [0x00000] in <0314727ebca74712932399d3573846da>:0
  at (wrapper managed-to-native) System.Runtime.Remoting.Messaging.AsyncResult.Invoke(System.Runtime.Remoting.Messaging.AsyncResult)
  at System.Runtime.Remoting.Messaging.AsyncResult.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () [0x00000] in <76c3dbc427f049499d13c500c18191dc>:0
  at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00096] in <76c3dbc427f049499d13c500c18191dc>:0
  at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] in <76c3dbc427f049499d13c500c18191dc>:0

Clients:
- Count: 0

Some things I've tried...
- adding / to path
- hard coding path in DataPath.cs
- adding to $PATH
 
Last edited:
I'm no expert with Mono, have you tried renaming the uo_files to just maybe uofiles ? I know I read somewhere not to name folders using _, I could be completely wrong but worth a try if all else fails!
 
This has nothing to do with the name, it is related to losing the handle of the console.


thats what I had to come up with to get it somewhat working.

maybe needs bash as well :D not sure what terminal you are running
 
Back