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 10-23-2006, 12:50 PM   #1 (permalink)
Forum Expert
 
LordHogFred's Avatar
 
Join Date: Jan 2004
Location: UK, Essex
Age: 19
Posts: 1,166
Default World Save crash error

Ok I have a serious problem, my server was working fine until I just went to restart it and it crashed on the world save giving me this error:
Code:
System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
   at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
   at System.Collections.Generic.Dictionary`2.ValueCollection.Enumerator.MoveNext()
   at Server.StandardSaveStrategy.SaveItems(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.ServerConsole.Next(String nput)
   at Server.Misc.ServerConsole.ConsoleListen(Object stateInfo)
   at System.Threading._ThreadPoolWaitCallback.WaitCallback_Context(Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)
Anyone got any idea what could be causing this?
Thanks
__________________
It is not the hand that creates worlds,
It is the mind controlling it !

The New Dawn Network
LordHogFred is offline   Reply With Quote
Old 10-23-2006, 12:53 PM   #2 (permalink)
Master of the Internet
 
Join Date: Oct 2005
Age: 45
Posts: 6,283
Default

I think something modified the list of world items (or mobiles) during the save operation. Other than that I'm not of much help here.
__________________
Why is it that I'm never as smart as I thought I was yesterday?
My vast knowledge is only surpassed by my infinite ignorance.
<TheOutkastDev> i might have to hire an assassin to killl mal so that i can jump in front of the bullet and piss on him
Malaperth is offline   Reply With Quote
Old 10-23-2006, 12:56 PM   #3 (permalink)
Forum Expert
 
LordHogFred's Avatar
 
Join Date: Jan 2004
Location: UK, Essex
Age: 19
Posts: 1,166
Default

Quote:
Originally Posted by Malaperth
I think something modified the list of world items (or mobiles) during the save operation. Other than that I'm not of much help here.
Hmm, thats what I thoguht. It looks like the files being saved are being altered as it's saving but I can't understand how or why it's happening .
It happens whenever I try and save my server now so I'm not sure whats going on.
__________________
It is not the hand that creates worlds,
It is the mind controlling it !

The New Dawn Network
LordHogFred is offline   Reply With Quote
Old 10-23-2006, 01:03 PM   #4 (permalink)
Master of the Internet
 
Join Date: Oct 2005
Age: 45
Posts: 6,283
Default

What did you add recently? That's where to start I would think.
__________________
Why is it that I'm never as smart as I thought I was yesterday?
My vast knowledge is only surpassed by my infinite ignorance.
<TheOutkastDev> i might have to hire an assassin to killl mal so that i can jump in front of the bullet and piss on him
Malaperth is offline   Reply With Quote
Old 10-23-2006, 01:07 PM   #5 (permalink)
Forum Expert
 
LordHogFred's Avatar
 
Join Date: Jan 2004
Location: UK, Essex
Age: 19
Posts: 1,166
Default

Ok this is weird, really weird. I just noticed this when I started my server up:
Code:
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 (3389 items, 644 mobiles)
ACC Registered: Server.ACC.PG.PGSystem
Loading SuperProfile Default Profile
ACC Registered: Server.ACC.CM.CentralMemory
ACC Registered: Server.ACC.CSS.CSS
Regions: Loading...done
World: Loading...Length cannot be less than zero.
Parameter name: length
done (175470 items, 33870 mobiles) (32.69 seconds)
Reports: Stats: Loading...done
Reports: Staff: Loading...done
What on earth does this mean
__________________
It is not the hand that creates worlds,
It is the mind controlling it !

The New Dawn Network
LordHogFred is offline   Reply With Quote
Old 10-23-2006, 01:09 PM   #6 (permalink)
Master of the Internet
 
Join Date: Oct 2005
Age: 45
Posts: 6,283
Default

I would search through the core for that message and see what comes up.

Hmmm... I just looked and I can only guess that that is from a try/catch block that is designed to output the error instead of crash so it seems it thinks it is not a horrible error.
__________________
Why is it that I'm never as smart as I thought I was yesterday?
My vast knowledge is only surpassed by my infinite ignorance.
<TheOutkastDev> i might have to hire an assassin to killl mal so that i can jump in front of the bullet and piss on him
Malaperth is offline   Reply With Quote
Old 10-23-2006, 01:38 PM   #7 (permalink)
Forum Expert
 
LordHogFred's Avatar
 
Join Date: Jan 2004
Location: UK, Essex
Age: 19
Posts: 1,166
Default

Ok well I thik I've traced the weird World load error to being caused by an item. The problem is I don't know which item is causing it
__________________
It is not the hand that creates worlds,
It is the mind controlling it !

The New Dawn Network
LordHogFred 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 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5