Go Back   RunUO - Ultima Online Emulation > RunUO > Server Support on Windows

Server Support on Windows Get (and give) support on general questions related to the RunUO server itself.

Reply
 
Thread Tools Display Modes
Old 03-11-2010, 07:16 PM   #1 (permalink)
Lurker
 
Join Date: Mar 2004
Posts: 20
Default directory problem runuo 2.0 latest

this is what i get everytime i start my runuo any suggestions

RunUO - [www.runuo.com] Version 2.0, Build 3567.2838
Core: Running on .NET Framework Version 2.0.50727
Core: Optimizing for 2 processors
Scripts: Compiling C# scripts...done (cached)
Scripts: Skipping VB.NET Scripts...done (use -vb to enable)
Scripts: Verifying...done (2213 items, 524 mobiles)
Enter the Ultima Online directory:
>

when i place the uo directory it gives me alot of errors and says press enter you will termanate and end this server

note im running windows 7 latest updates and my uo is at patch 7.05 latest

help thank you
quickfrost is offline   Reply With Quote
Old 03-12-2010, 02:09 AM   #2 (permalink)
Forum Expert
 
Join Date: Aug 2008
Location: Italia, near Britannia
Age: 24
Posts: 4,697
Default

hello!

Please have a look on this -> Server Datapath - UO Gamers: Demise
__________________
--
osd_daedalus is offline   Reply With Quote
Old 03-12-2010, 02:37 AM   #3 (permalink)
Lurker
 
Join Date: Mar 2004
Posts: 20
Default

thanks but read all the info and seems to me i need to take uo folder out of programs and set it up in c/games isnt there a easier way of doing this cause i really dont want to move uo
quickfrost is offline   Reply With Quote
Old 03-12-2010, 03:00 AM   #4 (permalink)
Forum Expert
 
Soteric's Avatar
 
Join Date: Aug 2006
Location: Russia, Rostov-on-Don
Posts: 2,129
Send a message via ICQ to Soteric Send a message via Skype™ to Soteric
Default

Enter the path in quotes like this
Code:
"C:\Program Files\Ultima Online"
Maybe you also need to run server as Administrator because of some security settings with Program Files folder. It's really better use some other folder.
Soteric is offline   Reply With Quote
Old 03-12-2010, 03:16 AM   #5 (permalink)
una
Newbie
 
Join Date: Jul 2005
Age: 27
Posts: 27
Default

This is what you need to do, in order to get it to work automatic!

PLEASE NOTE: Messing up with REGISTRY can be disasterous! Do only as i say and nothing else! I TAKE NO RESPONSIBILITY IF YOU MESS IT UP!

Step 1: Goto "start" menu and
if user of Windows 7 / vista: Search for "Regedit"
if user of xp: select "Run" and type in "Regedit"
Step 2: Select node: HKEY_LOCAL_MACHINE -> SOFTWARE -> Origin Worlds Online -> Ultima Online
Step 3: Select Ultima online "key" and right click and select "New->Key". Name it "1.0"
Step 4: Right click on white area ( on the window at right ) and create 5x "New -> string value"
Step 5: From the left window, click "KR Legacy Beta"
Step 6: Name the "Keys" we made to "1.0" same as in "KR Legacy Beta"
Step 7: Double click each "key" in "KR Legacy Beta" and copy info to a matching "key" inside "1.0"

Everything should be identical between these two keys ( "KR Legacy beta" and "1.0" ) Exept name ofc.
Once you have done this, it starts to work as intended!



AFTER THIS!!


Start up server from the "RunUO.exe" and it should NOT ask for location anymore.
After regions and world has been loaded, it asks you to create "Owner Account". Press "y" and enter desired Username and password!

THIS IS IMPORTANT!!

Let the server run, so it creates first save! Saves are shown in the black window, that is the visual side of the server. You can speed this up, by logging in and typing "[save"
If you dont let it save, IT WILL KEEP ASKING TO CREATE NEW ACCOUNT everytime you restart server!!


And thats it.


Please note, that 15 minutes ago, i was wondering this my self too, so im not saying this is THE solution, but its something that helps

-una

PS: Lots of people seem to have this problem, so should i create new topic for this post?

Last edited by una; 03-12-2010 at 03:39 AM.
una is offline   Reply With Quote
Old 03-12-2010, 04:58 AM   #6 (permalink)
Lurker
 
Join Date: Mar 2004
Posts: 20
Default

ok now im kinda worried about that step messing with regedit is one thing i do know not to mess with but what i tried so far is the second option and this is what i get

RunUO - [www.runuo.com] Version 2.0, Build 3567.2838
Core: Running on .NET Framework Version 2.0.50727
Core: Optimizing for 2 processors
Scripts: Compiling C# scripts...done (cached)
Scripts: Skipping VB.NET Scripts...done (use -vb to enable)
Scripts: Verifying...done (2213 items, 524 mobiles)
Enter the Ultima Online directory:
> C:\Program Files\Ultima Online
Regions: Loading...done
World: Loading...tiledata.mul was not found
Make sure your Scripts/Misc/DataPath.cs is properly configured
After pressing return an exception will be thrown and the server will terminate
An error was encountered while loading a saved object
- Type: Server.Items.LargeCrate
- Serial: 0x4000011C
Delete the object? (y/n)


now so you know i havent messed with anything nothing custom and when i push y to delete object it says delete all objects then it says press return will elimante this program
and pressing n will say the same termenate program
quickfrost is offline   Reply With Quote
Old 03-12-2010, 05:01 AM   #7 (permalink)
Forum Expert
 
Soteric's Avatar
 
Join Date: Aug 2006
Location: Russia, Rostov-on-Don
Posts: 2,129
Send a message via ICQ to Soteric Send a message via Skype™ to Soteric
Default

Write the path to ultima in quotes.
Soteric is offline   Reply With Quote
Old 03-12-2010, 05:19 AM   #8 (permalink)
una
Newbie
 
Join Date: Jul 2005
Age: 27
Posts: 27
Default

Regedit surely can mess up your computer, but that happens ONLY if you go and delete something stupid.
In my "guide", you don't need to delete anything, you just add a new section.
I did that in 5 minutes and after that i havent had any problems.
But if you want to continue fighting with your problem and posting about it here, its fine for me.

But, those few steps are your guaranteed way to "victory".

-una
una is offline   Reply With Quote
Old 03-12-2010, 07:01 AM   #9 (permalink)
Lurker
 
Join Date: Mar 2004
Posts: 20
Default

well ill try it and ill keep you guys informed
quickfrost is offline   Reply With Quote
Old 03-12-2010, 12:26 PM   #10 (permalink)
Forum Expert
 
Join Date: Aug 2008
Location: Italia, near Britannia
Age: 24
Posts: 4,697
Default

Quote:
Originally Posted by quickfrost View Post
thanks but read all the info and seems to me i need to take uo folder out of programs and set it up in c/games isnt there a easier way of doing this cause i really dont want to move uo
for the truth I wasn't meaning that.

You can, as everyone suggests (and I did too), create new registry values. The alternative is to make your RunUO distro able to read also to the "KR Legacy Beta" server datapath, by installing the patch that is included in the thread I linked, and implementing it with TortoiseSVN or another SVN versioning tool you like.
__________________
--
osd_daedalus is offline   Reply With Quote
Old 03-12-2010, 04:57 PM   #11 (permalink)
Forum Expert
 
Murzin's Avatar
 
Join Date: Nov 2004
Posts: 2,466
Send a message via AIM to Murzin
Default

of course, an easier way would be to copy the specific files its looking for into the runuo directory


or else do what soteric said.


if you are editing your registry to fix this, you are doing it wrong.

i do not care if it "solves" your error, you are doing it wrong.
Murzin is offline   Reply With Quote
Old 03-12-2010, 07:53 PM   #12 (permalink)
Lurker
 
Join Date: Mar 2004
Posts: 20
Default

ok this is what i get when i put the quotes in

Code:
 invocation. ---> System.ArgumentException: Illegal characters in path.
   at System.IO.Path.CheckInvalidPathChars(String path)
   at System.IO.Path.Combine(String path1, String path2)
   at Server.Core.FindDataFile(String path)
   at Server.TileMatrix..ctor(Map owner, Int32 fileIndex, Int32 mapID, Int32 wid
th, Int32 height)
   at Server.Map.get_Tiles()
   at Server.Map.GetAverageZ(Int32 x, Int32 y, Int32& z, Int32& avg, Int32& top)

   at Server.Map.GetAverageZ(Int32 x, Int32 y)
   at Server.Region..ctor(XmlElement xml, Map map, Region parent)
   at Server.Regions.BaseRegion..ctor(XmlElement xml, Map map, Region parent)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStru
ct& signature, IntPtr declaringType)
   at System.RuntimeMethodHandle.InvokeConstructor(Object[] args, SignatureStruc
t signature, RuntimeTypeHandle declaringType)
   at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, B
inder binder, Object[] parameters, CultureInfo culture)
   at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder bin
der, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binde
r binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at Server.Region.LoadRegions(XmlElement xml, Map map, Region parent)
Error during the creation of region type 'Server.Regions.BaseRegion': System.Ref
lection.TargetInvocationException: Exception has been thrown by the target of an
 invocation. ---> System.ArgumentException: Illegal characters in path.
   at System.IO.Path.CheckInvalidPathChars(String path)
   at System.IO.Path.Combine(String path1, String path2)
   at Server.Core.FindDataFile(String path)
   at Server.TileMatrix..ctor(Map owner, Int32 fileIndex, Int32 mapID, Int32 wid
th, Int32 height)
   at Server.Map.get_Tiles()
   at Server.Map.GetAverageZ(Int32 x, Int32 y, Int32& z, Int32& avg, Int32& top)

   at Server.Map.GetAverageZ(Int32 x, Int32 y)
   at Server.Region..ctor(XmlElement xml, Map map, Region parent)
   at Server.Regions.BaseRegion..ctor(XmlElement xml, Map map, Region parent)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStru
ct& signature, IntPtr declaringType)
   at System.RuntimeMethodHandle.InvokeConstructor(Object[] args, SignatureStruc
t signature, RuntimeTypeHandle declaringType)
   at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, B
inder binder, Object[] parameters, CultureInfo culture)
   at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder bin
der, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binde
r binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at Server.Region.LoadRegions(XmlElement xml, Map map, Region parent)
Error during the creation of region type 'Server.Regions.DungeonRegion': System.
Reflection.TargetInvocationException: Exception has been thrown by the target of
 an invocation. ---> System.ArgumentException: Illegal characters in path.
   at System.IO.Path.CheckInvalidPathChars(String path)
   at System.IO.Path.Combine(String path1, String path2)
   at Server.Core.FindDataFile(String path)
   at Server.TileMatrix..ctor(Map owner, Int32 fileIndex, Int32 mapID, Int32 wid
th, Int32 height)
   at Server.Map.get_Tiles()
   at Server.Map.GetAverageZ(Int32 x, Int32 y, Int32& z, Int32& avg, Int32& top)

   at Server.Map.GetAverageZ(Int32 x, Int32 y)
   at Server.Region.ReadPoint3D(XmlElement xml, Map map, Point3D& value, Boolean
 mandatory)
   at Server.Regions.DungeonRegion..ctor(XmlElement xml, Map map, Region parent)

   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStru
ct& signature, IntPtr declaringType)
   at System.RuntimeMethodHandle.InvokeConstructor(Object[] args, SignatureStruc
t signature, RuntimeTypeHandle declaringType)
   at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, B
inder binder, Object[] parameters, CultureInfo culture)
   at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder bin
der, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binde
r binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at Server.Region.LoadRegions(XmlElement xml, Map map, Region parent)
Error during the creation of region type 'Server.Regions.DungeonRegion': System.
Reflection.TargetInvocationException: Exception has been thrown by the target of
 an invocation. ---> System.ArgumentException: Illegal characters in path.
   at System.IO.Path.CheckInvalidPathChars(String path)
   at System.IO.Path.Combine(String path1, String path2)
   at Server.Core.FindDataFile(String path)
   at Server.TileMatrix..ctor(Map owner, Int32 fileIndex, Int32 mapID, Int32 wid
th, Int32 height)
   at Server.Map.get_Tiles()
   at Server.Map.GetAverageZ(Int32 x, Int32 y, Int32& z, Int32& avg, Int32& top)

   at Server.Map.GetAverageZ(Int32 x, Int32 y)
   at Server.Region.ReadPoint3D(XmlElement xml, Map map, Point3D& value, Boolean
 mandatory)
   at Server.Regions.DungeonRegion..ctor(XmlElement xml, Map map, Region parent)

   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStru
ct& signature, IntPtr declaringType)
   at System.RuntimeMethodHandle.InvokeConstructor(Object[] args, SignatureStruc
t signature, RuntimeTypeHandle declaringType)
   at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, B
inder binder, Object[] parameters, CultureInfo culture)
   at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder bin
der, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binde
r binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at Server.Region.LoadRegions(XmlElement xml, Map map, Region parent)
Error during the creation of region type 'Server.Regions.DungeonRegion': System.
Reflection.TargetInvocationException: Exception has been thrown by the target of
 an invocation. ---> System.ArgumentException: Illegal characters in path.
   at System.IO.Path.CheckInvalidPathChars(String path)
   at System.IO.Path.Combine(String path1, String path2)
   at Server.Core.FindDataFile(String path)
   at Server.TileMatrix..ctor(Map owner, Int32 fileIndex, Int32 mapID, Int32 wid
th, Int32 height)
   at Server.Map.get_Tiles()
   at Server.Map.GetAverageZ(Int32 x, Int32 y, Int32& z, Int32& avg, Int32& top)

   at Server.Map.GetAverageZ(Int32 x, Int32 y)
   at Server.Region.ReadPoint3D(XmlElement xml, Map map, Point3D& value, Boolean
 mandatory)
   at Server.Regions.DungeonRegion..ctor(XmlElement xml, Map map, Region parent)

   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStru
ct& signature, IntPtr declaringType)
   at System.RuntimeMethodHandle.InvokeConstructor(Object[] args, SignatureStruc
t signature, RuntimeTypeHandle declaringType)
   at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, B
inder binder, Object[] parameters, CultureInfo culture)
   at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder bin
der, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binde
r binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at Server.Region.LoadRegions(XmlElement xml, Map map, Region parent)
Error during the creation of region type 'Server.Regions.DungeonRegion': System.
Reflection.TargetInvocationException: Exception has been thrown by the target of
 an invocation. ---> System.ArgumentException: Illegal characters in path.
   at System.IO.Path.CheckInvalidPathChars(String path)
   at System.IO.Path.Combine(String path1, String path2)
   at Server.Core.FindDataFile(String path)
   at Server.TileMatrix..ctor(Map owner, Int32 fileIndex, Int32 mapID, Int32 wid
th, Int32 height)
   at Server.Map.get_Tiles()
   at Server.Map.GetAverageZ(Int32 x, Int32 y, Int32& z, Int32& avg, Int32& top)

   at Server.Map.GetAverageZ(Int32 x, Int32 y)
   at Server.Region.ReadPoint3D(XmlElement xml, Map map, Point3D& value, Boolean
 mandatory)
   at Server.Regions.DungeonRegion..ctor(XmlElement xml, Map map, Region parent)

   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStru
ct& signature, IntPtr declaringType)
   at System.RuntimeMethodHandle.InvokeConstructor(Object[] args, SignatureStruc
t signature, RuntimeTypeHandle declaringType)
   at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, B
inder binder, Object[] parameters, CultureInfo culture)
   at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder bin
der, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binde
r binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at Server.Region.LoadRegions(XmlElement xml, Map map, Region parent)
Error during the creation of region type 'Server.Regions.BaseRegion': System.Ref
lection.TargetInvocationException: Exception has been thrown by the target of an
 invocation. ---> System.ArgumentException: Illegal characters in path.
   at System.IO.Path.CheckInvalidPathChars(String path)
   at System.IO.Path.Combine(String path1, String path2)
   at Server.Core.FindDataFile(String path)
   at Server.TileMatrix..ctor(Map owner, Int32 fileIndex, Int32 mapID, Int32 wid
th, Int32 height)
   at Server.Map.get_Tiles()
   at Server.Map.GetAverageZ(Int32 x, Int32 y, Int32& z, Int32& avg, Int32& top)

   at Server.Map.GetAverageZ(Int32 x, Int32 y)
   at Server.Region..ctor(XmlElement xml, Map map, Region parent)
   at Server.Regions.BaseRegion..ctor(XmlElement xml, Map map, Region parent)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStru
ct& signature, IntPtr declaringType)
   at System.RuntimeMethodHandle.InvokeConstructor(Object[] args, SignatureStruc
t signature, RuntimeTypeHandle declaringType)
   at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, B
inder binder, Object[] parameters, CultureInfo culture)
   at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder bin
der, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binde
r binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at Server.Region.LoadRegions(XmlElement xml, Map map, Region parent)
Error during the creation of region type 'Server.Regions.BaseRegion': System.Ref
lection.TargetInvocationException: Exception has been thrown by the target of an
 invocation. ---> System.ArgumentException: Illegal characters in path.
   at System.IO.Path.CheckInvalidPathChars(String path)
   at System.IO.Path.Combine(String path1, String path2)
   at Server.Core.FindDataFile(String path)
   at Server.TileMatrix..ctor(Map owner, Int32 fileIndex, Int32 mapID, Int32 wid
th, Int32 height)
   at Server.Map.get_Tiles()
   at Server.Map.GetAverageZ(Int32 x, Int32 y, Int32& z, Int32& avg, Int32& top)

   at Server.Map.GetAverageZ(Int32 x, Int32 y)
   at Server.Region..ctor(XmlElement xml, Map map, Region parent)
   at Server.Regions.BaseRegion..ctor(XmlElement xml, Map map, Region parent)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStru
ct& signature, IntPtr declaringType)
   at System.RuntimeMethodHandle.InvokeConstructor(Object[] args, SignatureStruc
t signature, RuntimeTypeHandle declaringType)
   at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, B
inder binder, Object[] parameters, CultureInfo culture)
   at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder bin
der, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binde
r binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at Server.Region.LoadRegions(XmlElement xml, Map map, Region parent)
Error during the creation of region type 'Server.Regions.BaseRegion': System.Ref
lection.TargetInvocationException: Exception has been thrown by the target of an
 invocation. ---> System.ArgumentException: Illegal characters in path.
   at System.IO.Path.CheckInvalidPathChars(String path)
   at System.IO.Path.Combine(String path1, String path2)
   at Server.Core.FindDataFile(String path)
   at Server.TileMatrix..ctor(Map owner, Int32 fileIndex, Int32 mapID, Int32 wid
th, Int32 height)
   at Server.Map.get_Tiles()
   at Server.Map.GetAverageZ(Int32 x, Int32 y, Int32& z, Int32& avg, Int32& top)

   at Server.Map.GetAverageZ(Int32 x, Int32 y)
   at Server.Region..ctor(XmlElement xml, Map map, Region parent)
   at Server.Regions.BaseRegion..ctor(XmlElement xml, Map map, Region parent)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStru
ct& signature, IntPtr declaringType)
   at System.RuntimeMethodHandle.InvokeConstructor(Object[] args, SignatureStruc
t signature, RuntimeTypeHandle declaringType)
   at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, B
inder binder, Object[] parameters, CultureInfo culture)
   at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder bin
der, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binde
r binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at Server.Region.LoadRegions(XmlElement xml, Map map, Region parent)
Error during the creation of region type 'Server.Regions.GuardedRegion': System.
Reflection.TargetInvocationException: Exception has been thrown by the target of
 an invocation. ---> System.ArgumentException: Illegal characters in path.
   at System.IO.Path.CheckInvalidPathChars(String path)
   at System.IO.Path.Combine(String path1, String path2)
   at Server.Core.FindDataFile(String path)
   at Server.TileMatrix..ctor(Map owner, Int32 fileIndex, Int32 mapID, Int32 wid
th, Int32 height)
   at Server.Map.get_Tiles()
   at Server.Map.GetAverageZ(Int32 x, Int32 y, Int32& z, Int32& avg, Int32& top)

   at Server.Map.GetAverageZ(Int32 x, Int32 y)
   at Server.Region..ctor(XmlElement xml, Map map, Region parent)
   at Server.Regions.BaseRegion..ctor(XmlElement xml, Map map, Region parent)
   at Server.Regions.GuardedRegion..ctor(XmlElement xml, Map map, Region parent)

   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStru
ct& signature, IntPtr declaringType)
   at System.RuntimeMethodHandle.InvokeConstructor(Object[] args, SignatureStruc
t signature, RuntimeTypeHandle declaringType)
   at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, B
inder binder, Object[] parameters, CultureInfo culture)
   at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder bin
der, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binde
r binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at Server.Region.LoadRegions(XmlElement xml, Map map, Region parent)
Error during the creation of region type 'Server.Regions.BaseRegion': System.Ref
lection.TargetInvocationException: Exception has been thrown by the target of an
 invocation. ---> System.ArgumentException: Illegal characters in path.
   at System.IO.Path.CheckInvalidPathChars(String path)
   at System.IO.Path.Combine(String path1, String path2)
   at Server.Core.FindDataFile(String path)
   at Server.TileMatrix..ctor(Map owner, Int32 fileIndex, Int32 mapID, Int32 wid
th, Int32 height)
   at Server.Map.get_Tiles()
   at Server.Map.GetAverageZ(Int32 x, Int32 y, Int32& z, Int32& avg, Int32& top)

   at Server.Map.GetAverageZ(Int32 x, Int32 y)
   at Server.Region..ctor(XmlElement xml, Map map, Region parent)
   at Server.Regions.BaseRegion..ctor(XmlElement xml, Map map, Region parent)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStru
ct& signature, IntPtr declaringType)
   at System.RuntimeMethodHandle.InvokeConstructor(Object[] args, SignatureStruc
t signature, RuntimeTypeHandle declaringType)
   at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, B
inder binder, Object[] parameters, CultureInfo culture)
   at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder bin
der, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binde
r binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at Server.Region.LoadRegions(XmlElement xml, Map map, Region parent)
done
World: Loading...An error was encountered while loading a saved object
 - Type: Server.Items.LargeCrate
 - Serial: 0x4000011C
Delete the object? (y/n)
and what files do i need to copy into runuo directory
quickfrost is offline   Reply With Quote
Old 03-12-2010, 09:26 PM   #13 (permalink)
Forum Novice
 
Join Date: Mar 2006
Location: In a Hole
Age: 39
Posts: 207
Send a message via ICQ to migzilla
Default

I just did this last week after reformatting to windows 7, just follow the steps and you will get up and running in a matter of minutes.

1) Go into your program files, or programfilesx86 folder for win7,

2) find your EA Games folder, open it and find the client folder, open it up.

3) Right click and "Copy" the entire folder.( If you dont want to copy all the files, see the code below for the exact files you need in your new folder.)

4) Go back out of your folders and just into your C Drive, which would have the program files folder.

5) Right click and make a new folder, rename it UOFILES, then paste the client into it.

6) Find the Datapath.cs file, modify it to look like the following....

Code:
namespace Server.Misc
{
	public class DataPath
	{
		/* If you have not installed Ultima Online,
		 * or wish the server to use a separate set of datafiles,
		 * change the 'CustomPath' value, example:
		 * 
		 * private const string CustomPath = @"C:\Program Files\Ultima Online";
		 */
		
                private static string CustomPath = @"C:\UOFILES";


		/* The following is a list of files which a required for proper execution:
		 * 
		 * Multi.idx
		 * Multi.mul
		 * VerData.mul
		 * TileData.mul
		 * Map*.mul
		 * StaIdx*.mul
		 * Statics*.mul
		 * MapDif*.mul
		 * MapDifL*.mul
		 * StaDif*.mul
		 * StaDifL*.mul
		 * StaDifI*.mul
		 */
The line in red is your important line.

One of the reasons you want a seperate client to run the server is just incase you ever decide to do any map modifications. Not to mention if you play on your machine it may not be a good idea to be sharing the original client.

Good luck and if you need help pm me.
migzilla is offline   Reply With Quote
Old 03-12-2010, 10:19 PM   #14 (permalink)
Lurker
 
Join Date: Mar 2004
Posts: 20
Default

migzilla i did everything you said and this is what i got

Code:
RunUO - [www.runuo.com] Version 2.0, Build 3567.2838
Core: Running on .NET Framework Version 2.0.50727
Core: Optimizing for 2 processors
Scripts: Compiling C# scripts...done (0 errors, 0 warnings)
Scripts: Skipping VB.NET Scripts...done (use -vb to enable)
Scripts: Verifying...done (2213 items, 524 mobiles)
Regions: Loading...done
World: Loading...tiledata.mul was not found
Make sure your Scripts/Misc/DataPath.cs is properly configured
After pressing return an exception will be thrown and the server will terminate
An error was encountered while loading a saved object
 - Type: Server.Items.LargeCrate
 - Serial: 0x4000011C
Delete the object? (y/n)
Delete all objects of that type? (y/n)
After pressing return an exception will be thrown and the server will terminate.


Error:
System.Exception: Load failed (items=True, mobiles=False, guilds=False, type=Ser
ver.Items.LargeCrate, serial=0x4000011C) ---> System.TypeInitializationException
: The type initializer for 'Server.TileData' threw an exception. ---> System.Exc
eption: TileData:  not found
   at Server.TileData..cctor()
   --- End of inner exception stack trace ---
   at Server.TileData.get_ItemTable()
   at Server.Item.get_DefaultWeight()
   at Server.Item.get_Weight()
   at Server.Items.LargeCrate.Deserialize(GenericReader reader)
   at Server.World.Load()
   --- End of inner exception stack trace ---
   at Server.World.Load()
   at Server.Core.Main(String[] args)
This exception is fatal, press return to exit
any suggestions??
quickfrost is offline   Reply With Quote
Old 03-12-2010, 11:18 PM   #15 (permalink)
Forum Novice
 
Join Date: Mar 2006
Location: In a Hole
Age: 39
Posts: 207
Send a message via ICQ to migzilla
Default

Check to make sure all the files copied into your client folder, you have a tiledata error there

Also, post your entire datapath.cs file please so we can compare it to another one of our own.

Last edited by migzilla; 03-12-2010 at 11:21 PM.
migzilla is offline   Reply With Quote
Old 03-13-2010, 02:40 AM   #16 (permalink)
Lurker
 
Join Date: Mar 2004
Posts: 20
Default

here is the datapath

Code:
using System;
using System.IO;
using Microsoft.Win32;
using Server;

namespace Server.Misc
{
	public class DataPath
	{
		/* If you have not installed Ultima Online,
		 * or wish the server to use a separate set of datafiles,
		 * change the 'CustomPath' value, example:
		 * 
		 * private const string CustomPath = @"C:\Program Files\Ultima Online";
		 */
		
                private static string CustomPath = @"C:\UOFILES";


		/* The following is a list of files which a required for proper execution:
		 * 
		 * Multi.idx
		 * Multi.mul
		 * VerData.mul
		 * TileData.mul
		 * Map*.mul
		 * StaIdx*.mul
		 * Statics*.mul
		 * MapDif*.mul
		 * MapDifL*.mul
		 * StaDif*.mul
		 * StaDifL*.mul
		 * StaDifI*.mul
		 */

		public static void Configure()
		{
			string pathReg = GetExePath( "Ultima Online" );
			string pathTD = GetExePath( "Ultima Online Third Dawn" );	//These refer to 2D & 3D, not the Third Dawn expansion

			if ( CustomPath != null ) 
				Core.DataDirectories.Add( CustomPath ); 

			if ( pathReg != null ) 
				Core.DataDirectories.Add( pathReg ); 

			if ( pathTD != null ) 
				Core.DataDirectories.Add( pathTD ); 

			if ( Core.DataDirectories.Count == 0 && !Core.Service )
			{
				Console.WriteLine( "Enter the Ultima Online directory:" );
				Console.Write( "> " );

				Core.DataDirectories.Add( Console.ReadLine() );
			}
		}

		private static string GetExePath( string subName )
		{
			try
			{
				String keyString;

				if( Core.Is64Bit )
					keyString = @"SOFTWARE\Wow6432Node\Origin Worlds Online\{0}\1.0";
				else
					keyString = @"SOFTWARE\Origin Worlds Online\{0}\1.0";

				using( RegistryKey key = Registry.LocalMachine.OpenSubKey( String.Format( keyString, subName ) ) )
				{
					if( key == null )
						return null;

					string v = key.GetValue( "ExePath" ) as string;

					if( v == null || v.Length <= 0 )
						return null;

					if( !File.Exists( v ) )
						return null;

					v = Path.GetDirectoryName( v );

					if( v == null )
						return null;

					return v;
				}
			}
			catch
			{
				return null;
			}
		}
	}
}
thats what i did for last step by step you asked

and i copied the full uo client into uofiles in c drive

here are the picks of where its at uo files and inside uofiles



quickfrost is offline   Reply With Quote
Old 03-13-2010, 02:47 AM   #17 (permalink)
Forum Expert
 
Soteric's Avatar
 
Join Date: Aug 2006
Location: Russia, Rostov-on-Don
Posts: 2,129
Send a message via ICQ to Soteric Send a message via Skype™ to Soteric
Default

Do you see the difference between files in
Code:
c:\uofiles
and
Code:
c:\uofiles\Utlima Online 2D Client
Soteric is offline   Reply With Quote
Old 03-13-2010, 03:12 AM   #18 (permalink)
Lurker
 
Join Date: Mar 2004
Posts: 20
Default

im still getting errors and asking me to delete barrels and bods and all kinds of deleting and i have not done one custom thing to runuo or uo
quickfrost is offline   Reply With Quote
Old 03-13-2010, 06:06 AM   #19 (permalink)
Forum Novice
 
Join Date: Mar 2006
Location: In a Hole
Age: 39
Posts: 207
Send a message via ICQ to migzilla
Default

I guess my last questions are, what are you patched at on that client you are pointing datapath to? Are you able to log in on other shards using that client?
migzilla is offline   Reply With Quote
Old 03-13-2010, 08:21 AM   #20 (permalink)
Lurker
 
Join Date: Mar 2004
Posts: 20
Default

i can use connectuo and razor to a another shard with my uo client with the most recent patch. oh yeah when i first got the runuo it worked when i was i 6.15 patch but since the newest patch of uo i cant get on runuo even a new runuo when i deleted the runuo 2.0 about 2 weeks ago personally i think runuo cant figure out newest patch with win 7 thats all i can figure out and btw i only use runuo to make new scripts for the shard i play at
quickfrost is offline   Reply With Quote
Old 03-13-2010, 06:58 PM   #21 (permalink)
Forum Novice
 
Join Date: Mar 2006
Location: In a Hole
Age: 39
Posts: 207
Send a message via ICQ to migzilla
Default

Here are just a few of the files from the client in my UOFILES folder, you didnt post a pic of that so just make sure it has all the correct files in it. Or change your datapath to read the folder you have inside the UOFILES folder like this because you need to make sure it points to the very last folder in the listed directory you specify.

private static string CustomPath = @"C:\UOFILES\UltimaOnline2dclient";
Attached Images
File Type: png UOFILES.png (248.8 KB, 9 views)

Last edited by migzilla; 03-13-2010 at 07:04 PM.
migzilla is offline   Reply With Quote
Old 03-15-2010, 11:34 AM   #22 (permalink)
Forum Expert
 
Join Date: Aug 2008
Location: Italia, near Britannia
Age: 24
Posts: 4,697
Default

maybe you guys are all missing an important aspect:

Quote:
Originally Posted by quickfrost View Post
here is the datapath

Code:
        private static string GetExePath( string subName )
        {
            try
            {
                String keyString;

                if( Core.Is64Bit )
                    keyString = @"SOFTWARE\Wow6432Node\Origin Worlds Online\{0}\1.0";
                else
                    keyString = @"SOFTWARE\Origin Worlds Online\{0}\1.0";
the fact is, the new UO installers (the 9th Anniversary one) won't create a Registry key "1.0", but a "KR Legacy Beta" one.

Installation directories are all in that registry part, but Datapath.cs is searching for 1.0, NOT for "KR Legacy Beta".

So, you have to tell RunUO to search in "KR Legacy Beta" too (see link I provided, there is an attachment in .diff you can implement with TortoiseSVN), or you have to create a new key in Registry "1.0" and copy all of values in there.

And this is the same reason why programs like UOAtlas or Pandora's Box often will return issues.
__________________
--
osd_daedalus is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5