Hey there!

I've been trying to run a brand new Servuo's server from cratch for a couple of hours and I can't get it to run.

Is there a new way to handle the Datapath if you have a custom folder?

I've changed the line 17 to : private static string CustomPath = @"C:\Ultima Online\Ultima Online Classic";

Here is the error :

Code:
ServUO - [http://www.servuo.com] Version 0.5, Build 5864.11054
Publish 54
Core: Optimizing for 4 64-bit processors
RandomImpl: CSPRandom (Software)
Core: Loading config...
Scripts: Compiling C# scripts...done (cached)
Scripts: Skipping VB.NET Scripts...done (use -vb to enable)
Scripts: Verifying...
Finished (4145 items, 1035 mobiles, 5 customs) (0,57 seconds)
Config: Warning, using default value for DataPath.CustomPath
Regions: Loading...done
World: Loading...[Persistence]: System.IO.EndOfStreamException: Impossible de li
re au-delà de la fin du flux.
   à System.IO.BinaryReader.FillBuffer(Int32 numBytes)
   à System.IO.BinaryReader.ReadInt32()
   à Server.Engines.Craft.CraftContext.<OnLoad>b__5(GenericReader reader)
   à Server.Persistence.Deserialize(FileInfo file, Action`1 deserializer, Boolea
n ensure) dans c:\Ultima Online\ServUO\Server\Persistence\Persistence.cs:
ligne 95
[Persistence]: System.IO.EndOfStreamException: Impossible de lire au-delà de la
fin du flux.
   à System.IO.BinaryReader.FillBuffer(Int32 numBytes)
   à System.IO.BinaryReader.ReadInt32()
   à Server.Engines.Help.HelpPersistence.<OnLoad>b__3(GenericReader reader)
   à Server.Persistence.Deserialize(FileInfo file, Action`1 deserializer, Boolea
n ensure) dans c:\Ultima Online\ServUO\Server\Persistence\Persistence.cs:
ligne 95
[Persistence]: System.IO.EndOfStreamException: Impossible de lire au-delà de la
fin du flux.
   à System.IO.BinaryReader.FillBuffer(Int32 numBytes)
   à System.IO.BinaryReader.ReadInt32()
   à Server.Items.DisguisePersistence.<OnLoad>b__2(GenericReader reader)
   à Server.Persistence.Deserialize(FileInfo file, Action`1 deserializer, Boolea
n ensure) dans c:\Ultima Online\ServUO\Server\Persistence\Persistence.cs:
ligne 95
done (0 items, 0 mobiles, 0 customs) (0,02 seconds)
Experimental Room, Puzzle Room and Maze of Death initialized.
Config: Warning, using default value for Accounts.RestrictDeletion
Error:
System.Reflection.TargetInvocationException: Une exception a été levée par la ci
ble d'un appel. ---> System.TypeInitializationException: Une exception a été lev
ée par l'initialiseur de type pour 'Server.Misc.AccountHandler'. ---> System.For
matException: Le format de la chaîne d'entrée est incorrect.
   à System.Number.ParseDouble(String value, NumberStyles options, NumberFormatI
nfo numfmt)
   à Server.Config.GetDouble(String key, Double defaultValue) dans c:\Ultima Onl
ine\ServUO\Server\Config.cs:ligne 178
   à Server.Misc.AccountHandler..cctor()
   --- Fin de la trace de la pile d'exception interne ---
   à Server.Misc.AccountHandler.Initialize()
   --- Fin de la trace de la pile d'exception interne ---
   à System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments,
Signature sig, Boolean constructor)
   à System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object
[] parameters, Object[] arguments)
   à System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeA
ttr, Binder binder, Object[] parameters, CultureInfo culture)
   à Server.ScriptCompiler.Invoke(String method) dans c:\Ultima Online\ServUO\Server\ScriptCompiler.cs:ligne 661
   à Server.Core.Main(String[] args) dans c:\Ultima Online\ServUO\Server\
Main.cs:ligne 546
This exception is fatal, press return to exit

Your help would be appreciated! For now I'm using an older version of ServUO that I used for an old test server.

And sorry for my english.
 
The new way to specify a custom data path is in the file Config/DataPath.cfg . See the comments in that file for info. But the reason your world won't load is that your save data appears to be corrupt. Also there may be some localization issues with the new config system. That last exception doesn't look so nice.
 
Thanks a lot for the quick response!

So I've deleted the folder
Extracted the files from the repo (after disabling my firewall)
Opened the DataPath.cfg, deleted the "#" and set my path to CustomPath=C:\Projets\Ultima Online Classic
Compiled with Compile.Win.Bat

And then I got the error :

Code:
--------------------------------------------------------------------------------

ServUO - [http://www.servuo.com] Version 0.5, Build 5864.15942
Publish 54
Core: Optimizing for 4 64-bit processors
RandomImpl: CSPRandom (Software)
Core: Loading config...
Scripts: Compiling C# scripts...Finished with: 0 errors, 0 warnings
Scripts: Skipping VB.NET Scripts...done (use -vb to enable)
Scripts: Verifying...
Finished (4145 items, 1035 mobiles, 5 customs) (0,58 seconds)
Regions: Loading...done
World: Loading...done (0 items, 0 mobiles, 0 customs) (0,02 seconds)
Experimental Room, Puzzle Room and Maze of Death initialized.
Config: Warning, using default value for Accounts.RestrictDeletion
Error:
System.Reflection.TargetInvocationException: Une exception a été levée par la ci
ble d'un appel. ---> System.TypeInitializationException: Une exception a été lev
ée par l'initialiseur de type pour 'Server.Misc.AccountHandler'. ---> System.For
matException: Le format de la chaîne d'entrée est incorrect.
   à System.Number.ParseDouble(String value, NumberStyles options, NumberFormatI
nfo numfmt)
   à Server.Config.GetDouble(String key, Double defaultValue) dans c:\Projets\Se
rvUO\Server\Config.cs:ligne 178
   à Server.Misc.AccountHandler..cctor()
   --- Fin de la trace de la pile d'exception interne ---
   à Server.Misc.AccountHandler.Initialize()
   --- Fin de la trace de la pile d'exception interne ---
   à System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments,
Signature sig, Boolean constructor)
   à System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object
[] parameters, Object[] arguments)
   à System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeA
ttr, Binder binder, Object[] parameters, CultureInfo culture)
   à Server.ScriptCompiler.Invoke(String method) dans c:\Projets\ServUO\Server\S
criptCompiler.cs:ligne 661
   à Server.Core.Main(String[] args) dans c:\Projets\ServUO\Server\Main.cs:ligne
 546
This exception is fatal, press return to exit
 
Yea, that's what I was afraid of. The new config code is locale dependent. It is expecting to see a comma separating digits in your locale instead of a period. I will have to make a code fix for this. Give me maybe an hour.
 
I've been able to set the server and log in without any problem!

Thank you so much for your work and time.
 
Did you update from the repo in the past hour or so? I put in the fix but was unable to let you know over the forums. I can't easily test this fix so I'd like to know.

Glad you're up and running!
 
Back