Full Version : i need help with sever crashing
xmlspawner >>Scripting Support >>i need help with sever crashing


<< Prev | Next >>

Crystal Jem- 07-14-2006
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 (2711 items, 620 mobiles)
Regions: Loading...done
World: Loading...Error:
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.ReadInt32()
at Server.World.Load()
at Server.ScriptCompiler.Compile(Boolean debug)
at Server.Core.Main(String[] args)
This exception is fatal, press return to exit



the last Scipt i added was a merge that one og the sript writers did for me. i can put that up if needed other then that i haven't beed able to log on for more then a few min's

ArteGordon- 07-14-2006
that is a corrupted save file. It generally results from interruption of the save process, or crashing during serialization.

You will need to restore one of your backups.

Crystal Jem- 07-14-2006
QUOTE (ArteGordon @ July 14, 2006 04:21 pm)
that is a corrupted save file. It generally results from interruption of the save process, or crashing during serialization.

You will need to restore one of your backups.

How do i do that?

ArteGordon- 07-14-2006
what I do is to
1) go into your main RunUO directory and delete the folder named 'Saves'.
2) go into the Backups/Automatic folder and copy one of the backup folders there into the main RunUO directory.
3) rename that folder in the main RunUO directory that you just copied to 'Saves'
4) restart the server

Crystal Jem- 07-14-2006
QUOTE (ArteGordon @ July 14, 2006 04:33 pm)
what I do is to
1) go into your main RunUO directory and delete the folder named 'Saves'.
2) go into the Backups/Automatic folder and copy one of the backup folders there into the main RunUO directory.
3) rename that folder in the main RunUO directory that you just copied to 'Saves'
4) restart the server

I did htat it let me on but crashed when it went to save

ArteGordon- 07-14-2006
you mean that it crashed after you restarted the server while it was doing a save?

start the server up in debug mode, and then post the crash log along with the line number that it tells you is the location of the crash.

To start the server in debug mode, open up a console window, go into your RunUO directory, and execute the command line

RunUO.exe -debug

Or you can create a shortcut to your RunUO.exe server, open up the properties of the shortcut, and change the Target field to read

"c:\blah\blah\blah\RunUO.exe" -debug

where you have to replace the blah/blah/blah with the actual path to your server.

Crystal Jem- 07-14-2006
it says sever saveing please wait then sever crash when it re boots it says :

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 (2711 items, 620 mobiles)
Regions: Loading...done
World: Loading...Error:
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.ReadInt32()
at Server.World.Load()
at Server.ScriptCompiler.Compile(Boolean debug)
at Server.Core.Main(String[] args)
This exception is fatal, press return to exit


I don't know if i got it set to debug i did see some crash files

[CODE]Server Crash Report
===================

RunUO Version 2.0, Build 2357.32527
Operating System: Microsoft Windows NT 5.1.2600 Service Pack 2
.NET Framework: 2.0.50727.42
Time: 7/14/2006 2:13:49 PM
Mobiles: 2676
Items: 101100
Clients:
- Count: 1
+ 192.168.15.100: (account = Crystal Jem) (mobile = 0x1 'Crystal Jem')

Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at Server.Mobiles.PlayerMobile.Serialize(GenericWriter writer)
at Server.StandardSaveStrategy.SaveMobiles(SaveMetrics metrics)
at Server.StandardSaveStrategy.Save(SaveMetrics metrics)
at Server.World.Save(Boolean message)
at Server.World.Save()
at Server.Misc.AutoSave.Save()
at Server.Misc.AutoSave.OnTick()
at Server.Timer.Slice()
at Server.Core.Main(String[] args)


ArteGordon- 07-14-2006
it is not in debug, but if it was, the crash log would tell you exactly where this error was occurring

System.NullReferenceException: Object reference not set to an instance of an object.

which is what you need to know.

(edit)

from your other post it is probably here

m_TamingBOBFilter.Serialize(writer);

where m_TamingBOBFilter has a null value. You will have to find out where this is supposed to be assigned a value and fix it.

Crystal Jem- 07-15-2006
QUOTE (ArteGordon @ July 14, 2006 05:36 pm)
you mean that it crashed after you restarted the server while it was doing a save?

start the server up in debug mode, and then post the crash log along with the line number that it tells you is the location of the crash.

To start the server in debug mode, open up a console window, go into your RunUO directory, and execute the command line

RunUO.exe -debug

Or you can create a shortcut to your RunUO.exe server, open up the properties of the shortcut, and change the Target field to read

"c:\blah\blah\blah\RunUO.exe" -debug

where you have to replace the blah/blah/blah with the actual path to your server.

Ok have have been trying to find my runuo directrory and i'm still not seeing it can you tell me what i'm doing wrong i think i really need my sever to run in debug mode. smile.gif

ArteGordon- 07-15-2006
do you have a shortcut or anything that points to your RunUO.exe server?

If so, then just open up the properties and look to see where the executable is located.

the RunUO.exe executable is located wherever you installed runuo and is in the same folder as the Scripts folder. So if you know where those things are, then you can find the server executable.

Crystal Jem- 07-15-2006
QUOTE (ArteGordon @ July 14, 2006 06:57 pm)
it is not in debug, but if it was, the crash log would tell you exactly where this error was occurring

System.NullReferenceException: Object reference not set to an instance of an object.

which is what you need to know.

(edit)

from your other post it is probably here

m_TamingBOBFilter.Serialize(writer);

where m_TamingBOBFilter has a null value. You will have to find out where this is supposed to be assigned a value and fix it.


Do you meen this ?

[CODE] CheckAtrophies( this );

base.Serialize( writer );

writer.Write((int)28); // version

m_TamingBOBFilter.Serialize(writer);

writer.Write(m_Bioenginer);

writer.Write(NextTamingBulkOrder);

Crystal Jem- 07-15-2006
QUOTE (ArteGordon @ July 15, 2006 12:17 pm)
do you have a shortcut or anything that points to your RunUO.exe server?

If so, then just open up the properties and look to see where the executable is located.

the RunUO.exe executable is located wherever you installed runuo and is in the same folder as the Scripts folder. So if you know where those things are, then you can find the server executable.

Yes I havr a short cut to the runuo sever. and when i put in what you said it says.

target box not valid make sure path and file name correct.

i take it i don't have the right path. what i did was copy and past the RunUO.exe" -debug at the end of the \.


ArteGordon- 07-15-2006
QUOTE (Crystal Jem @ July 15, 2006 08:26 am)
QUOTE (ArteGordon @ July 14, 2006 06:57 pm)
it is not in debug, but if it was, the crash log would tell you exactly where this error was occurring

System.NullReferenceException: Object reference not set to an instance of an object.

which is what you need to know.

(edit)

from your other post it is probably here

m_TamingBOBFilter.Serialize(writer);

where m_TamingBOBFilter has a null value.  You will have to find out where this is supposed to be assigned a value and fix it.


Do you meen this ?

[CODE] CheckAtrophies( this );

base.Serialize( writer );

writer.Write((int)28); // version

m_TamingBOBFilter.Serialize(writer);

writer.Write(m_Bioenginer);

writer.Write(NextTamingBulkOrder);

yes

m_TamingBOBFilter.Serialize(writer);

you probably have not assigned m_TamingBOBFilter and so it is null and causes the crash.

ArteGordon- 07-15-2006
QUOTE (Crystal Jem @ July 15, 2006 08:39 am)
QUOTE (ArteGordon @ July 15, 2006 12:17 pm)
do you have a shortcut or anything that points to your RunUO.exe server?

If so, then just open up the properties and look to see where the executable is located.

the RunUO.exe executable is located wherever you installed runuo and is in the same folder as the Scripts folder.  So if you know where those things are, then you can find the server executable.

Yes I havr a short cut to the runuo sever. and when i put in what you said it says.

target box not valid make sure path and file name correct.

i take it i don't have the right path. what i did was copy and past the RunUO.exe" -debug at the end of the \.

if you find your RunUO.exe executable, just right click it, select create shortcut, open the properties of the shortcut, and then add -debug AFTER the double quotes in the Target: field.

it needs to look exactly like

"c:\blah\blah\blah\RunUO.exe" -debug

the blah\blah\blah stuff will already have the correct path if you have created the shortcut the way I described. Put a space after the last double quote, and add the -debug

Crystal Jem- 07-15-2006
QUOTE (ArteGordon @ July 15, 2006 12:47 pm)
QUOTE (Crystal Jem @ July 15, 2006 08:39 am)
QUOTE (ArteGordon @ July 15, 2006 12:17 pm)
do you have a shortcut or anything that points to your RunUO.exe server?

If so, then just open up the properties and look to see where the executable is located.

the RunUO.exe executable is located wherever you installed runuo and is in the same folder as the Scripts folder.  So if you know where those things are, then you can find the server executable.

Yes I havr a short cut to the runuo sever. and when i put in what you said it says.

target box not valid make sure path and file name correct.

i take it i don't have the right path. what i did was copy and past the RunUO.exe" -debug at the end of the \.

if you find your RunUO.exe executable, just right click it, select create shortcut, open the properties of the shortcut, and then add -debug AFTER the double quotes in the Target: field.

it needs to look exactly like

"c:\blah\blah\blah\RunUO.exe" -debug

the blah\blah\blah stuff will already have the correct path if you have created the shortcut the way I described. Put a space after the last double quote, and add the -debug

Seams i didn't do the space lol.

ok it crashed well saveing again i looked it said generateing report now where did te report goto ?

when it rebooted it looked the same to me as before but here's what it says.

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 (2711 items, 620 mobiles)
Regions: Loading...done
World: Loading...Error:
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.ReadInt32()
at Server.World.Load()
at Server.ScriptCompiler.Compile(Boolean debug)
at Server.Core.Main(String[] args)
This exception is fatal, press return to exit