Tried adding VNC to my server and getting these errors, how do I fix it?:

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'VitaNex.Text.UOFont' threw an exception. ---> System.InvalidOperationException: Attempted to FindDataFile before DataDirectories list has been filled.
at Server.Core.FindDataFile (System.String path) [0x0000f] in <4ca719be608f437d976a7dfb298d7680>:0
at Server.Core.FindDataFile (System.String format, System.Object[] args) [0x00007] in <4ca719be608f437d976a7dfb298d7680>:0
at VitaNex.Text.UOFonts.LoadUnicode (System.Byte id) [0x00093] in <2b4165d823f644a9b184df556dd6063b>:0
at VitaNex.Text.UOFonts.GetFont (VitaNex.Text.UOEncoding enc, System.Byte id) [0x00019] in <2b4165d823f644a9b184df556dd6063b>:0
at VitaNex.Text.UOFonts.get_Item (System.Int32 id) [0x00006] in <2b4165d823f644a9b184df556dd6063b>:0
at VitaNex.Text.UOFont..cctor () [0x0003c] in <2b4165d823f644a9b184df556dd6063b>:0
--- End of inner exception stack trace ---
at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in <6649516e5b3542319fb262b421af0adb>:0
--- End of inner exception stack trace ---
at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00083] in <6649516e5b3542319fb262b421af0adb>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) <0x7f130e66d150 + 0x00038> in <6649516e5b3542319fb262b421af0adb>:0
at Server.ScriptCompiler.Invoke (System.String method) [0x00092] in <4ca719be608f437d976a7dfb298d7680>:0
at Server.Core.Main (System.String[] args) [0x00633] in <4ca719be608f437d976a7dfb298d7680>:0
 
I get the same errors with the current build, Voxpire knows about it, he said it's nothing to worry about right now. (Even though my OCD would love to figure out how to get rid of them lol)

 
Last edited:
Someone please go over to the Mono (GDI+ specifically) devs and put a foot up their ass to add 16bpp support for the pixel formats...
 
  • Like
Reactions: ExX
Have not got it resolved yet.
I actually took this out of my server until someone finds a fix or knows what is wrong.

My server will not run with that error because I am running on a linux server, not windows.
 
Use a clone copy to play the game with. You shouldn't play client.exe while servuo.exe is using the same game files.
 
Back