gangelo

Citizen
I'm currently trying to run `sudo mono ServUO.exe` for the first time and after being prompted to set up a new account, an exception is raised (listed below). I read some where this may be the result of missing .mul files, but there didn't seem to be any in the ServUO git repository; if this is the issue, where can I get these .mul files? Anyhow, I followed the instructions on git (GitHub - ServUO/ServUO: An Ultima Online server emulator written in C# .NET), my machine is all up to date and my mono version and dot net versions seem to be okay: mono: Mono JIT compiler version 6.12.0.122, dot net: 5.0.402, .NET Framework: 4.0.30319.42000. Any help would be appreciated.



Error raised:
sudo mono ServUO.exe
...
Scripts: Verifying...
Finished (6119 items, 1292 mobiles, 0 customs) (0.38 seconds)
DataPath: /home/gangelo/ServUO/Data
Regions: Loading...done
World: Loading...
...done (0 items, 0 mobiles) (0.01 seconds)
Restricting enhanced client version to 67.0.59.0 SA. Action to be taken: Kick
This server has no accounts.
Do you want to create the owner account now? (y/n)y

Username: uoadmin
Password: xxxxxxx
Account created.
Error:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'Server.TileData' threw an exception. ---> System.Exception: TileData:  not found
  at Server.TileData.Load () [0x003c4] in <543fdbcb6e274022bc047ff1bd2f9331>:0
  at Server.TileData..cctor () [0x0000d] in <543fdbcb6e274022bc047ff1bd2f9331>:0
   --- End of inner exception stack trace ---
  at Server.Misc.ItemFixes.Initialize () [0x00001] in <37c0a00f56cd4f0dad2b5585cf9367a6>:0
  at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
  at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in <533173d24dae460899d2b10975534bb0>:0
   --- End of inner exception stack trace ---
  at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00083] in <533173d24dae460899d2b10975534bb0>:0
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <533173d24dae460899d2b10975534bb0>:0
  at Server.ScriptCompiler.Invoke (System.String method) [0x00091] in <543fdbcb6e274022bc047ff1bd2f9331>:0
  at Server.Core.Setup (System.String[] args) [0x006ab] in <543fdbcb6e274022bc047ff1bd2f9331>:0
  at ServUO.ServUO.Main (System.String[] args) [0x00001] in <8b22000c1ad748de941ecac0cd352f75>:0
Crash: Generating report...done
Crash: Backing up...done
Crash: Restarting...done
Exiting...done
Killed

Crash report:
Server Crash Report
===================

ServUO Version 0.0, Build 0.0
Operating System: Unix 5.4.0.88
.NET Framework: 4.0.30319.42000
Time: 10/16/2021 12:03:54 AM
Mobiles: 0
Items: 0
Exception:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'Server.TileData' threw an exception. ---> System.Exception: TileData:  not found
  at Server.TileData.Load () [0x003c4] in <543fdbcb6e274022bc047ff1bd2f9331>:0
  at Server.TileData..cctor () [0x0000d] in <543fdbcb6e274022bc047ff1bd2f9331>:0
   --- End of inner exception stack trace ---
  at Server.Misc.ItemFixes.Initialize () [0x00001] in <37c0a00f56cd4f0dad2b5585cf9367a6>:0
  at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
  at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in <533173d24dae460899d2b10975534bb0>:0
   --- End of inner exception stack trace ---
  at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00083] in <533173d24dae460899d2b10975534bb0>:0
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <533173d24dae460899d2b10975534bb0>:0
  at Server.ScriptCompiler.Invoke (System.String method) [0x00091] in <543fdbcb6e274022bc047ff1bd2f9331>:0
  at Server.Core.Setup (System.String[] args) [0x006ab] in <543fdbcb6e274022bc047ff1bd2f9331>:0
  at ServUO.ServUO.Main (System.String[] args) [0x00001] in <8b22000c1ad748de941ecac0cd352f75>:0

Clients:
- Count: 0
 

tass23

Knight
I'm currently trying to run `sudo mono ServUO.exe` for the first time and after being prompted to set up a new account, an exception is raised (listed below). I read some where this may be the result of missing .mul files, but there didn't seem to be any in the ServUO git repository; if this is the issue, where can I get these .mul files? Anyhow, I followed the instructions on git (GitHub - ServUO/ServUO: An Ultima Online server emulator written in C# .NET), my machine is all up to date and my mono version and dot net versions seem to be okay: mono: Mono JIT compiler version 6.12.0.122, dot net: 5.0.402, .NET Framework: 4.0.30319.42000. Any help would be appreciated.



Error raised:
sudo mono ServUO.exe
...
Scripts: Verifying...
Finished (6119 items, 1292 mobiles, 0 customs) (0.38 seconds)
DataPath: /home/gangelo/ServUO/Data
Regions: Loading...done
World: Loading...
...done (0 items, 0 mobiles) (0.01 seconds)
Restricting enhanced client version to 67.0.59.0 SA. Action to be taken: Kick
This server has no accounts.
Do you want to create the owner account now? (y/n)y

Username: uoadmin
Password: xxxxxxx
Account created.
Error:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'Server.TileData' threw an exception. ---> System.Exception: TileData:  not found
  at Server.TileData.Load () [0x003c4] in <543fdbcb6e274022bc047ff1bd2f9331>:0
  at Server.TileData..cctor () [0x0000d] in <543fdbcb6e274022bc047ff1bd2f9331>:0
   --- End of inner exception stack trace ---
  at Server.Misc.ItemFixes.Initialize () [0x00001] in <37c0a00f56cd4f0dad2b5585cf9367a6>:0
  at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
  at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in <533173d24dae460899d2b10975534bb0>:0
   --- End of inner exception stack trace ---
  at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00083] in <533173d24dae460899d2b10975534bb0>:0
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <533173d24dae460899d2b10975534bb0>:0
  at Server.ScriptCompiler.Invoke (System.String method) [0x00091] in <543fdbcb6e274022bc047ff1bd2f9331>:0
  at Server.Core.Setup (System.String[] args) [0x006ab] in <543fdbcb6e274022bc047ff1bd2f9331>:0
  at ServUO.ServUO.Main (System.String[] args) [0x00001] in <8b22000c1ad748de941ecac0cd352f75>:0
Crash: Generating report...done
Crash: Backing up...done
Crash: Restarting...done
Exiting...done
Killed

Crash report:
Server Crash Report
===================

ServUO Version 0.0, Build 0.0
Operating System: Unix 5.4.0.88
.NET Framework: 4.0.30319.42000
Time: 10/16/2021 12:03:54 AM
Mobiles: 0
Items: 0
Exception:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'Server.TileData' threw an exception. ---> System.Exception: TileData:  not found
  at Server.TileData.Load () [0x003c4] in <543fdbcb6e274022bc047ff1bd2f9331>:0
  at Server.TileData..cctor () [0x0000d] in <543fdbcb6e274022bc047ff1bd2f9331>:0
   --- End of inner exception stack trace ---
  at Server.Misc.ItemFixes.Initialize () [0x00001] in <37c0a00f56cd4f0dad2b5585cf9367a6>:0
  at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
  at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in <533173d24dae460899d2b10975534bb0>:0
   --- End of inner exception stack trace ---
  at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00083] in <533173d24dae460899d2b10975534bb0>:0
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <533173d24dae460899d2b10975534bb0>:0
  at Server.ScriptCompiler.Invoke (System.String method) [0x00091] in <543fdbcb6e274022bc047ff1bd2f9331>:0
  at Server.Core.Setup (System.String[] args) [0x006ab] in <543fdbcb6e274022bc047ff1bd2f9331>:0
  at ServUO.ServUO.Main (System.String[] args) [0x00001] in <8b22000c1ad748de941ecac0cd352f75>:0

Clients:
- Count: 0
Have you set the Datapath to point to the directory the client files are in?
 

gangelo

Citizen
Ty for your reply! I pointed my Datapath directory to ServUO/Data which is the folder that already exists as part of the ServUO git repository. Something tells me I need to actually add a Client folder with the UI client?
 

tass23

Knight
Ty for your reply! I pointed my Datapath directory to ServUO/Data which is the folder that already exists as part of the ServUO git repository. Something tells me I need to actually add a Client folder with the UI client?
Yes, you are correct. You need to have the client files for the server to read from.
If you run the 'shard local, you will want two clients: one to edit with and one for the 'shard to run from. :)
 

gangelo

Citizen
Yes, you are correct. You need to have the client files for the server to read from.
If you run the 'shard local, you will want two clients: one to edit with and one for the 'shard to run from. :)
Thanks @tass23

I've set up a ~/ClientUO folder that has (among other files and folders) UOClassicSetup_7_0_24_0.exe and UOS_Latest.exe. when I run `sudo mono ServUO.exe`, what exactly should I put in ~/ServUO/Config/DataPath.cfg? Currently I have ~/ServUO/Config/DataPath.cfg CustomPath set to /home/myuser/ClientUO/drive_c/'Program Files'/UOS/Data but ServUO.exe crashes. I also tried /home/myuser/ClientUO and other variations, but ServUO.exe keeps crashing with the aforementioned error.
 

tass23

Knight
Thanks @tass23

I've set up a ~/ClientUO folder that has (among other files and folders) UOClassicSetup_7_0_24_0.exe and UOS_Latest.exe. when I run `sudo mono ServUO.exe`, what exactly should I put in ~/ServUO/Config/DataPath.cfg? Currently I have ~/ServUO/Config/DataPath.cfg CustomPath set to /home/myuser/ClientUO/drive_c/'Program Files'/UOS/Data but ServUO.exe crashes. I also tried /home/myuser/ClientUO and other variations, but ServUO.exe keeps crashing with the aforementioned error.
You need to enter whatever the path is in DataPath.cfg, but I do not know what the path construction is for mono. :(
 

gangelo

Citizen
You need to enter whatever the path is in DataPath.cfg, but I do not know what the path construction is for mono. :(
Ok, that's fine, but do you know what folder I need to point to under my ~/ClientUO folder/ Where the .exe's are? or some other folder? I've tried just about every variation and get the same error raised :(
 

tass23

Knight
Ok, that's fine, but do you know what folder I need to point to under my ~/ClientUO folder/ Where the .exe's are? or some other folder? I've tried just about every variation and get the same error raised :(
All the client files should be in the same folder, that includes the exe files, muls, etc., etc.
Probably two additional folders: Music and Support.
 

gangelo

Citizen
All the client files should be in the same folder, that includes the exe files, muls, etc., etc.
Probably two additional folders: Music and Support.
Ok, so something is wrong on my end because none of my folders in ~/ClientUO has *.mul files. I do have a Sounds folder (~/ClientUO/drive_c/Program Files/UOS/Sound) but no Music folder.

I don't even remember what instructions I used to install the client, can you send me a link that outlines how to install the client on Linux (Ubuntu)?
 

HellRazor

Vita-Nex Sponsor
Reading through the thread, I think part of your confusion about the client is that you may not have actually installed the client.

UOClassicSetup_7_0_24_0.exe isn't actually the client - it's the Windows executable file that installs the client.

On a Windows machine, the user clicks UOClassicSetup_7_0_24_0.exe to install and update the official UO client for the first time. This results in a directory full of the files the client (and ServUO) need to operate.

(Note: You will want 2 copies of these files so that ServUO (the server) is not using the same copies as the client.)

Unfortunately I don't think there is a Linux version of the official UO installer. Do you have access to a Windows machine? Once you can install the client to get the files you need, you can just copy them over to your Ubunto setup.

Also, you can use ClassicUO as a client instead of the official client, as there is a Linux version of ClassicUO - it is an open source UO client created by community members. But ClassicUO still needs the files from the official client to work.

Hope this helps!

This is what your UO client directory should look like:

(DIR) Data
(DIR) GDF
(DIR) logs
(DIR) Music
(DIR) notes
(DIR) patcher

anim.idx
anim.mul
Anim1.def
Anim1024.bin
Anim2.def
anim2.idx
anim2.mul
Anim256.bin
anim3.idx
anim3.mul
anim4.idx
anim4.mul
anim5.idx
anim5.mul
AnimationFrame1.uop
AnimationFrame2.uop
AnimationFrame3.uop
AnimationFrame4.uop
AnimationSequence.uop
animdata.mul
animinfo.mul
Antx1024.bin
Antx256.bin
art.def
artLegacyMUL.uop
Arttable.cfg
Binkw32.dll
Blueprints.tbp
Body.def
Bodyconv.def
Chat.cht
Chat.deu
Chat.enu
Chat.esp
Chat.fra
Chat.jpn
Chat.kor
client.exe
ClientPicker.exe
client_tc.exe
Cliloc.chs
Cliloc.cht
Cliloc.deu
Cliloc.enu
Cliloc.esp
Cliloc.fra
Cliloc.jpn
Cliloc.kor
Corpse.def
Credits.dat
Data
dbghelp.dll
Default.mac
desktop.nwb
doors.txt
entitled.def
Equipconv.def
facet00.mul
facet01.mul
facet02.mul
facet03.mul
facet04.mul
facet05.mul
floors.txt
fonts.mul
gamegen.txt
GDF
Gesture.cht
Gesture.deu
Gesture.enu
Gesture.esp
Gesture.fra
Gesture.jpn
Gesture.kor
Granny.dll
Gt_0000.cht
Gt_0000.deu
Gt_0000.enu
Gt_0000.esp
Gt_0000.fra
Gt_0000.jpn
Gt_0000.kor
Gt_1010.cht
Gt_1010.deu
Gt_1010.enu
Gt_1010.esp
Gt_1010.fra
Gt_1010.jpn
Gt_1010.kor
Gt_2000.cht
Gt_2000.deu
Gt_2000.enu
Gt_2000.esp
Gt_2000.fra
Gt_2000.jpn
Gt_2000.kor
Gt_2310.cht
Gt_2310.deu
Gt_2310.enu
Gt_2310.esp
Gt_2310.fra
Gt_2310.jpn
Gt_2310.kor
Gt_2400.cht
Gt_2400.deu
Gt_2400.enu
Gt_2400.esp
Gt_2400.fra
Gt_2400.jpn
Gt_2400.kor
Gt_4000.cht
Gt_4000.deu
Gt_4000.enu
Gt_4000.esp
Gt_4000.fra
Gt_4000.jpn
Gt_4000.kor
Gt_5000.cht
Gt_5000.deu
Gt_5000.enu
Gt_5000.esp
Gt_5000.fra
Gt_5000.jpn
Gt_5000.kor
Gt_5400.cht
Gt_5400.deu
Gt_5400.enu
Gt_5400.esp
Gt_5400.fra
Gt_5400.jpn
Gt_5400.kor
gump.def
gumpartLegacyMUL.uop
Helpindx.dat
hues.mul
Igrping.dll
Intloc00.cht
Intloc00.deu
intloc00.enu
Intloc00.esp
Intloc00.fra
Intloc00.jpn
Intloc00.kor
Intloc01.cht
Intloc01.deu
Intloc01.enu
Intloc01.esp
Intloc01.fra
Intloc01.jpn
Intloc01.kor
Intloc02.cht
Intloc02.deu
INTLOC02.ENU
Intloc02.esp
Intloc02.fra
INTLOC02.JPN
INTLOC02.KOR
INTLOC06.CHT
INTLOC06.ENU
INTLOC06.JPN
INTLOC06.KOR
INTLOC10.CHT
INTLOC10.ENU
INTLOC10.JPN
INTLOC10.KOR
intloc11.enu
Intrface.def
Intro.cht
Intro.deu
Intro.enu
Intro.esp
Intro.fra
Intro.jpn
Intro.kor
Keynames.txt
Langcode.iff
light.mul
lightidx.mul
Login.cfg
logs
Macros.txt
macros2d.txt
MainMisc.uop
map0LegacyMUL.uop
map0xLegacyMUL.uop
map1LegacyMUL.uop
map1xLegacyMUL.uop
map2LegacyMUL.uop
map2xLegacyMUL.uop
map3LegacyMUL.uop
map4LegacyMUL.uop
map5LegacyMUL.uop
map5xLegacyMUL.uop
metrics.txt
mft.myp
misc.txt
mobtypes.txt
multi.idx
multi.mul
MultiCollection.uop
Multimap.rle
Music
Music.def
notes
Obscene.lst
options.cht
options.deu
options.enu
options.esp
options.fra
options.JPN
options.kor
OPTNUOTD.CHT
OPTNUOTD.DEU
OPTNUOTD.ENU
OPTNUOTD.ESP
OPTNUOTD.FRA
OPTNUOTD.JPN
OPTNUOTD.KOR
optuotd.JPN
Owo.exe
palette.mul
patch.myp
patcher
patchui.dll
patchui_win.dll
Patchw32.dll
Prof.txt
Professn.cht
Professn.deu
Professn.enu
Professn.esp
Professn.fra
Professn.jpn
Professn.kor
radarcol.mul
roof.txt
sjis2uni.mul
SKILL16.CHT
SKILL16.ENU
SKILL16.JPN
SKILL16.KOR
SKILL30.CHT
SKILL30.ENU
SKILL30.JPN
SKILL30.KOR
skillgrp.mul
Skills.idx
skills.mul
Skilname.cht
Skilname.deu
SKILNAME.ENU
Skilname.esp
Skilname.fra
SKILNAME.JPN
SKILNAME.KOR
Sound.def
soundLegacyMUL.uop
speech.mul
stadif0.mul
stadif1.mul
stadif2.mul
stadifi0.mul
stadifi1.mul
stadifi2.mul
stadifl0.mul
stadifl1.mul
stadifl2.mul
staidx0.mul
staidx0x.mul
staidx1.mul
staidx1x.mul
staidx2.mul
staidx2x.mul
staidx3.mul
staidx4.mul
staidx5.mul
staidx5x.mul
stairs.txt
statics0.mul
statics0x.mul
statics1.mul
statics1x.mul
statics2.mul
statics2x.mul
statics3.mul
statics4.mul
statics5.mul
statics5x.mul
stitchin.def
string_dictionary.uop
suppinfo.txt
teleprts.txt
texidx.mul
texmaps.mul
TexTerr.def
Tile1024.txt
Tile256.txt
tileart.uop
tiledata.mul
Tilehelp.cht
Tilehelp.deu
Tilehelp.enu
Tilehelp.esp
Tilehelp.fra
Tilehelp.jpn
Tilehelp.kor
Tooltips.cht
Tooltips.deu
Tooltips.enu
Tooltips.esp
Tooltips.fra
Tooltips.jpn
Tooltips.kor
Transerv.exe
unifont.mul
unifont1.mul
unifont10.mul
unifont11.mul
unifont12.mul
unifont2.mul
unifont3.mul
unifont4.mul
unifont5.mul
unifont6.mul
unifont7.mul
unifont8.mul
unifont9.mul
uninstUOClassic.exe
UO-patch.cfg
UO.bin
Uo.cfg
UO.exe
UO.exe.manifest
Uobscene.lst
Uomax.cfg
UOPatch.exe
Uoreg.cfg
uotd.exe
Uoupg.cfg
vercfg.cfg
Version.dat
Version.txt
walls.txt
 
Last edited:

Max

Citizen
I think you can get the installer to work with wine or in a VM (virtual box) running windows 10.
You anyway will need a client to be able to play...