|
||
|
|||||||
| Server Support on Windows Get (and give) support on general questions related to the RunUO server itself. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) | |
|
Not a Lurker
Join Date: Jun 2004
Location: USA
Age: 34
Posts: 63
|
I don't know what caused this, I added the script "valor" rebooted, it was working fine...rebooted later tonight and I started getting this error on EVERY creature.....Please HELP
Scripts: Compiling C# scripts...done (0 errors, 0 warnings) Scripts: Compiling VB.net scripts...no files found. Scripts: Verifying...done (3352 items, 800 mobiles) World: Loading...An error was encountered while loading a saved object - Type: Server.Mobiles.Troll - Serial: 0x0000A6AB Delete the object? (y/n) y Delete all objects of that type? (y/n) y After pressing return an exception will be thrown and the server will terminate Error: System.Exception: Load failed (items=False, mobiles=True, guilds=False, regions= False, type=Server.Mobiles.Troll, serial=0x0000A6AB) ---> System.Exception: **** * Bad serialize on Server.Mobiles.Troll ***** 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
__________________
Quote:
|
|
|
|
|
|
|
#3 (permalink) | |
|
Not a Lurker
Join Date: Jun 2004
Location: USA
Age: 34
Posts: 63
|
WOW thanks for your help
__________________
Quote:
|
|
|
|
|
|
|
#4 (permalink) |
|
Master of the Internet
Join Date: Aug 2003
Posts: 5,688
|
your serialization and deserialization methods dont match, so while it appeared to be running fine, it was actually saving information through your Serialize method that it was going to be unable to read later on when you restarted. This is because you are writing something out in a writer.Write call in your Serialize that doesnt have a corresponding reader.Read-type call in your Deserialize method. Compare your Serialize and Deserialize methods and make sure that everything you write out, you read in again in exactly the same order and with the proper type (if you write out an int, then read it in as an int).
__________________
The first line of the first rule in the forum rules and guidelines "Be respectful of others. " For questions, information, and support for XmlSpawner and its addons, visit the XmlSpawner Support Forum |
|
|
|
|
|
#6 (permalink) | ||
|
Not a Lurker
Join Date: Jun 2004
Location: USA
Age: 34
Posts: 63
|
Quote:
I am female At least I left it at that and didn't act like a child. So be nice MR RUDE MAN ![]()
__________________
Quote:
|
||
|
|
|
|
|
#7 (permalink) | ||
|
Not a Lurker
Join Date: Jun 2004
Location: USA
Age: 34
Posts: 63
|
Quote:
Thank You, ArteGordon. That was a very clear answer, at least now I know where to start to fix the problem on my "TEST" server so I can make the script available on my main server. Very rarely do I get and/or see an answer that has some merit. It's people like you that make all the difference in the community. Yea, some our "knowledgeable", but their bed side manner stinks and is hurtful to people trying to learn. Thanks for answering my post, it's much appreciated. ![]()
__________________
Quote:
|
||
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|