I have just installed RunUO2RC1 and unzipped the 3 required files into c:/RunUO2RC1/scripts/cusom/XMLSpawner2
When I start the server I get this error:
-------
RunUO - [www.runuo.com] Version 2.0, Build 2357.32527
Core: Running on .NET Framework Version 2.0.50727
Scripts: Compiling C# scripts...failed (1 errors, 1 warnings)
Warnings:
Error:
System.ArgumentException: The path is not of a legal form.
at System.IO.Path.NormalizePathFast(String path, Boolean fullCheck)
at System.IO.Path.GetFullPathInternal(String path)
at System.IO.Path.GetFullPath(String path)
at Server.ScriptCompiler.Display(CompilerResults results)
at Server.ScriptCompiler.CompileCSScripts(Boolean debug, Assembly& assembly)
at Server.ScriptCompiler.Compile(Boolean debug)
at Server.Core.Main(String[] args)
This exception is fatal, press return to exit
------
When I removed the folder XMLSpawner the server started and was playable. I understand this error is due to a filename with illegal charcters in the name. I have looked over the files and have not seen any errors in any of the filenames.
Have I missed something?
Is there another reason this error will come up?
I did uncomment the line:
#define RUNUO2RC1
Thanks
Kato
The compiler is trying to report some kind of error during compilation.
It wants to display the error along with the full pathname of the file that contains it.
For some reason is complaining about the pathname of the file that contains the error.
From msdn this error comes up when:
QUOTE |
path is a zero-length string, contains only white space, or contains one or more of the invalid characters defined in GetInvalidPathChars.
-or-
The system could not retrieve the absolute path.
|
I would look for any folder or file that has a '(' or ')' in the name since those are common restricted chars that get added when you try to overwrite existing files and copies are made.
Also, if this is a networked drive there could be problems retrieving the full path.
If you extracted the support.zip in the package, make sure that you removed or renamed the duplicate container.cs and stealing.cs files.
I did a search on the whole scrips folder for ( and it found one filename that had (UO 3D only) parrot.cs. I changed that file name to uo3donlyparrot.cs and tried again. It was still giving an error. While using the search files program that comes with windows, I somehow managed to crash explorer (not IE) I was forced to restart. Upon restart the the server started great! I'm not sure if it was cashing the error or what. But it started up great!
Now, I can play with it, should be much fun!
Thanks,
Kato