Henry_R;726180 said:hi....
new to shard building and C#, but have used the custom region controllers on different shards as staff----- great product!
i had to work around the V4.0 *custom-go-to-location* problem that other people reported... got it figured out.
i can place the region control and configure the settings etc, and everything seems to be working fine.... when i restart the server i get a console error message and have to delete the region controller(s) and the server terminates.
any help/guidance on this matter would be appreciated
here's the log when start runuo:
****************************************************
RunUO - [www.runuo.com] Version 2.0, Build 2357.32527
Core: Running on .NET Framework Version 2.0.50727
Scripts: Compiling C# scripts...done (cached)
Scripts: Compiling VB.NET scripts...no files found.
Scripts: Verifying...done (2128 items, 544 mobiles)
Regions: Loading...done
World: Loading...An error was encountered while loading a saved object
- Type: Server.Items.RegionControl
- Serial: 0x400002DF
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.RegionControl, serial=0x400002DF) ---> System.IO.EndOfStreamException:
Unable to read beyond the end of the stream.
at System.IO.__Error.EndOfFile()
at System.IO.BinaryReader.FillBuffer(Int32 numBytes)
at System.IO.BinaryReader.ReadBoolean()
at Server.BinaryFileReader.ReadBool()
at Server.Items.RegionControl.ReadBitArray(GenericReader reader)
at Server.Items.RegionControl.Deserialize(GenericReader reader)
at Server.World.Load()
--- End of inner exception stack trace ---
at Server.World.Load()
at Server.ScriptCompiler.Compile(Boolean debug)
at Server.Core.Main(String[] args)
This exception is fatal, press return to exit
****************************************************
thanks-
Henry
Yeah hooly crap(sorry) i lost with script from 1 page my Saves. I've add new RegionControl then save and restart and got same error. When i check Save folder there is only Mobile, Items, Guild folders
It's fully my fall.
Author fix and re-post first archive or all also will lost their saves.