RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Daat99 OWLTR 2.8 Crashing/Corrupt World Saves

daat99

Moderator
Staff member
Here's v2.8 beta 9.
Removed a bit of the code that registered as null to reduce the debug logs files.
Also renamed the log files and added new log files for the deser (just in case).

P.S.
Almost forgot, rewrote a bit of serialization code based on XxSP1DERxX info.
ThanX for you help XxSP1DERxX :)
 

toddjumper

Wanderer
Beta9 is not working. It has 5 errors and will not compile.

- Error: Scripts\Customs\Daat99\Daat99 Holder.cs: CS0117: (line 444, column 94)
'Server.daat99.Daat99OWLTR' does not contain a definition for 'daat99version'
- Error: Scripts\Customs\Daat99\Daat99 Holder.cs: CS0117: (line 496, column 96)
'Server.daat99.Daat99OWLTR' does not contain a definition for 'daat99version'
- Error: Scripts\Customs\Daat99\Daat99 Holder.cs: CS0117: (line 518, column 96)
'Server.daat99.Daat99OWLTR' does not contain a definition for 'daat99version'
- Error: Scripts\Customs\Daat99\Daat99 Holder.cs: CS0246: (line 522, column 50)
The type or namespace name 'e' could not be found (are you missing a using dire
ctive or an assembly reference?)
- Error: Scripts\Customs\Daat99\Daat99 Holder.cs: CS0246: (line 523, column 174
) The type or namespace name 'e' could not be found (are you missing a using dir
ective or an assembly reference?)
 

MatrixMan

Wanderer
The Matrix

Code:
System.NullReferenceException: Object reference not set to an instance of an obj
ect.
   at Server.daat99.Daat99OWLTR.Serialize(GenericWriter writer)
   at Server.World.SaveItems()
   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)
Crash: Backing up...done
Crash: Generating report...done
Crash: Restarting...done
Warning:
System.Threading.ThreadAbortException: Thread was being aborted.
   at System.Threading.Thread.Sleep(Int32 millisecondsTimeout)
   at Server.TimerThread.TimerMain()


Code:
RunUO - [www.runuo.com] Version 1.0.0, Build 36918
Scripts: Compiling C# scripts...done (0 errors, 0 warnings)
Scripts: Compiling VB.net scripts...no files found.
Scripts: Verifying...done (2847 items, 812 mobiles)
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

these are the same errors im getting time and time after just like all these others shards how do i do a debug ive found a post *doesnt memebr where seen so many* but it would'nt let me save the files with that -debug file name.

Ive crashed so many times i shut down now for 5 mins a day and do a hard copy burn to CD that way i only revert 12-24 hours
 

toddjumper

Wanderer
Attached to this post is the last Log file before installing Beta9
Beta8 Log file showing all the null items (that would have crashed during a world save)
 

Attachments

  • daat99DHdebug 17-12-2005 8-33-49.zip
    16.5 KB · Views: 2

daat99

Moderator
Staff member
MatrixMan said:
Code:
System.NullReferenceException: Object reference not set to an instance of an obj
ect.
   at Server.daat99.Daat99OWLTR.Serialize(GenericWriter writer)
   at Server.World.SaveItems()
   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)
Crash: Backing up...done
Crash: Generating report...done
Crash: Restarting...done
Warning:
System.Threading.ThreadAbortException: Thread was being aborted.
   at System.Threading.Thread.Sleep(Int32 millisecondsTimeout)
   at Server.TimerThread.TimerMain()


Code:
RunUO - [www.runuo.com] Version 1.0.0, Build 36918
Scripts: Compiling C# scripts...done (0 errors, 0 warnings)
Scripts: Compiling VB.net scripts...no files found.
Scripts: Verifying...done (2847 items, 812 mobiles)
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

these are the same errors im getting time and time after just like all these others shards how do i do a debug ive found a post *doesnt memebr where seen so many* but it would'nt let me save the files with that -debug file name.

Ive crashed so many times i shut down now for 5 mins a day and do a hard copy burn to CD that way i only revert 12-24 hours
Install the latest beta (in this thread currently beta 9) and send me the daat99 logs instead of a debug log.

toddjumper said:
Attached to this post is the last Log file before installing Beta9
Beta8 Log file showing all the null items (that would have crashed during a world save)
Actually all I saw in that file is repeatedly serial 005, this is a feedback line that wouldn't crash the shard, it just let me know what checks are realy needed and what doesn't.
I still don't know what crashed the shard tho :(
Please keep sending me those debug logs if you notice any other serial in there (there are about 10 more serial lines in there that I didn't mapped).
 

toddjumper

Wanderer
Beta9 is crashing my shard into the first world save after installing it.
I have to revert my shard an hour, as the world saves are again corrupted.

Here is the Crash Log from Beta9. I will switch back to Beta8 til this is fixed, Beta9 doesn't work at all during a world save, crashes everytime.

Exception:
System.IO.FileNotFoundException: Could not find file "daat99_CC_ser.log".
File name: "daat99_CC_ser.log"
at System.IO.__Error.WinIOError(Int32 errorCode, String str)
at System.IO.FileInfo.get_Length()
at Server.daat99.Daat99OWLTR.Serialize(GenericWriter writer)
at Server.World.SaveItems()
at Server.World.Save(Boolean message)
at Server.World.Save()
at Server.Misc.AutoSave.Save()
at Server.DelayCallTimer.OnTick()
at Server.Timer.Slice()
at Server.Core.Main(String[] args)
 

MatrixMan

Wanderer
Crashes

KK ive loaded ur newest version beta 10 and i reverted back to my last hard save to cd *thank god for rewriteable CD's* and its been crahing like very 3-5 days so well see how it does now

also this might sound stupid but i can seem to get the token stone to take the token curencey at leas taht what it tells me when someone trys to buy
 

toddjumper

Wanderer
By default the stones take Daat99Tokens - so if you have currency set up as Tokens or anything other besides Gold or another stackable item, then it won't work.
 

daat99

Moderator
Staff member
toddjumper said:
By default the stones take Daat99Tokens - so if you have currency set up as Tokens or anything other besides Gold or another stackable item, then it won't work.
Actually they'll work with any kind of item, you just need to have enough of that item inside your backpack.

P.S.
daat99tokens isn't an item and therefor it doesn't check your backpack for tokens.
 

Jebbit

Wanderer
ok here ya go. A debug log.

Code:
Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
   at Server.daat99.Daat99OWLTR.Serialize(GenericWriter writer) in c:\temp\RunUO-1.0.0\RunUO 1.0\Scripts\New\Daat99 OWLT Control Center.cs:line 283
   at Server.World.SaveItems()
   at Server.World.Save(Boolean message)
   at Server.World.Save()
   at Server.Misc.AutoSave.Save() in c:\temp\RunUO-1.0.0\RunUO 1.0\Scripts\Misc\AutoSave.cs:line 81
   at Server.Misc.AutoSave.OnTick() in c:\temp\RunUO-1.0.0\RunUO 1.0\Scripts\Misc\AutoSave.cs:line 54
   at Server.Timer.Slice()
   at Server.Core.Main(String[] args)
 

daat99

Moderator
Staff member
Jebbit said:
ok here ya go. A debug log.

Code:
Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
   at Server.daat99.Daat99OWLTR.Serialize(GenericWriter writer) in c:\temp\RunUO-1.0.0\RunUO 1.0\Scripts\New\Daat99 OWLT Control Center.cs:line 283
   at Server.World.SaveItems()
   at Server.World.Save(Boolean message)
   at Server.World.Save()
   at Server.Misc.AutoSave.Save() in c:\temp\RunUO-1.0.0\RunUO 1.0\Scripts\Misc\AutoSave.cs:line 81
   at Server.Misc.AutoSave.OnTick() in c:\temp\RunUO-1.0.0\RunUO 1.0\Scripts\Misc\AutoSave.cs:line 54
   at Server.Timer.Slice()
   at Server.Core.Main(String[] args)
Which beta this log is from?

I bet that this log is from v2.8, please install the beta version because 90% of the problems in the version that you are using are fixed.
 

Jebbit

Wanderer
Bah, the one I had installed was about 3 or 4 back, I have installed up to the newest beta 10. Guess my shard did not crash fast enough :). Not a bad thing i guess, but no new info this time around. Ill be checking back to help if I can.
 

Turmoil

Wanderer
MatrixMan said:
also this might sound stupid but i can seem to get the token stone to take the token curencey at leas taht what it tells me when someone trys to buy

I had this problem a while back and sorry for never reporting it but what I discouvered is when you have an item in the stone to sell and later on modify the specified item in the script itself like for example changing the hue or making it blessed (in the scripts), it sort of corrupts the stone or the 'list'. You need to delete the vendor stone and recreate the stone and re-add your items. That will solve your no currency issue...

P.S. I never ran into these crashs as of yet (knock on wood), so sorry I can't help with any of the feedbacks...:)
 

daat99

Moderator
Staff member
Turmoil said:
I had this problem a while back and sorry for never reporting it but what I discouvered is when you have an item in the stone to sell and later on modify the specified item in the script itself like for example changing the hue or making it blessed (in the scripts), it sort of corrupts the stone or the 'list'. You need to delete the vendor stone and recreate the stone and re-add your items. That will solve your no currency issue...

P.S. I never ran into these crashs as of yet (knock on wood), so sorry I can't help with any of the feedbacks...:)
Please report this to raelis in his vendor stone thread.
I want this thread to be specific to the crashes so let's try to keep other problems in another threads, ok?
 

MatrixMan

Wanderer
Daat crashes

Code:
Server Crash Report
===================

RunUO Version 1.0.0, Build 36918
Operating System: Microsoft Windows NT 5.1.2600.0
.NET Framework: 1.1.4322.2032
Time: 12/26/2005 6:44:24 PM
Mobiles: 6085
Items: 301020
Clients:
- Count: 14
+ 70.189.32.45: (account = Matrix) (mobile = 0x934 'Neo')
+ 70.189.32.45: (account = greenlantern) (mobile = 0xE5CF 'Green Lantern')
+ 70.189.32.45: (account = Matrix1) (mobile = 0x96B3 'Black Knight')
+ 70.189.32.45: (account = Matrix3) (mobile = 0xD527 'Gandolf')
+ 70.189.32.45: (account = matrix4) (mobile = 0x48E 'Bilbo Baggings')
+ 70.189.32.45: (account = cleo) (mobile = 0x930 'Cleopatra')
+ 24.242.42.225: (account = fixie dust) (mobile = 0x46E1 'Pixie Dust')
+ 68.54.223.59: (account = taco) (mobile = 0x523 'max')
+ 70.189.34.34: (account = macros) (mobile = 0x26F 'Milamber')
+ 70.238.97.80: (account = snowman) (mobile = 0x36AA 'Tilly')
+ 67.68.6.81: (account = paco) (mobile = 0x14F 'lOCO TONO')
+ 12.219.233.43: (account = autunm14) (mobile = 0x7FE8 'jersey')
+ 12.214.44.196: (account = santaclaus0014) (mobile = 0x26E 'Prince Maximus')
+ 172.188.52.89: (account = bill) (mobile = 0x81 'tony')

Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
   at Server.Engines.Craft.CraftItem.CompleteCraft(Int32 quality, Boolean makersMark, Mobile from, CraftSystem craftSystem, Type typeRes, BaseTool tool)
   at Server.Engines.Craft.InternalTimer.OnTick()
   at Server.Timer.Slice()
   at Server.Core.Main(String[] args)

Code:
12/26/2005 5:08:09 AM: Starting to load control center version: 2.8b9.
12/26/2005 5:08:09 AM: Finished to load OwltrOps.
12/26/2005 5:08:12 AM: Finished to load NewDaat99Holder.
12/26/2005 6:46:51 PM: Starting to load control center version: 2.8b9.
12/26/2005 6:46:51 PM: Finished to load OwltrOps.
***NULL*** 12/26/2005 6:46:52 PM: ***NULL*** ndh from was null serial 103 ***NULL***, Please send daat99 this file! ***NULL***
12/26/2005 6:46:57 PM: Finished to load NewDaat99Holder.



not sure but looks like some crafting tool casued this im learning but its hard to fully understand yet
 

daat99

Moderator
Staff member
MatrixMan said:
not sure but looks like some crafting tool casued this im learning but its hard to fully understand yet
Can you please send me the full logs (all 4) that my script created?

P.S.
My debug logs only monitor the ser\deser of the daat99holder and daat99 control center item.
The crash you experienced came from the CompleteCraft method which isn't monitored.
It'll be realy usefull if you could duplicate this crash when your server is in debug mode.
I still need my own ser\deser logs tho ;)
 

MatrixMan

Wanderer
Daat99 crashes

Upload Errors
Crash 26-12-2005-18-44-24.log:
Invalid File
i get that everyt ime i try to add a file tot he post for u to see and usieng Code is to lon it says the script is over the amount of characters by 1 mill and other ideals
 
Top