Full Version : server crashed!
xmlspawner >>XMLPoints Discussion >>server crashed!
<< Prev | Next >>
ambak- 02-02-2006
arte i am using your deathmatch game with the xmlbless modify
today i firsly organised this game with this modify
and when a firs player killed
the server crashed
here is the crash log

CODE
System.InvalidOperationException: Collection was modified; enumeration operation may not execute. at System.Collections.ArrayListEnumeratorSimple.MoveNext() at Server.Engines.XmlSpawner2.XmlAttach.CheckOnKill(Mobile m_killed, Mobile m _killer)
at Server.Items.XmlQuest.RegisterKill(Mobile m_killed, Mobile m_killer)
at Server.Gumps.ReportMurdererGump.EventSink_PlayerDeath(PlayerDeathEventArgs
e)
at Server.PlayerDeathEventHandler.Invoke(PlayerDeathEventArgs e)
at Server.Mobile.OnDeath(Container c)
at Server.Mobiles.PlayerMobile.OnDeath(Container c)
at Server.Mobile.Kill()
at Server.Mobile.Damage(Int32 amount, Mobile from)
at Server.Mobiles.PlayerMobile.Damage(Int32 amount, Mobile from)
at Server.AOS.Damage(Mobile m, Mobile from, Int32 damage, Int32 phys, Int32 f
ire, Int32 cold, Int32 pois, Int32 nrgy, Boolean keepAlive)
at Server.AOS.Damage(Mobile m, Mobile from, Int32 damage, Int32 phys, Int32 f
ire, Int32 cold, Int32 pois, Int32 nrgy)
at Server.Items.BaseWeapon.OnHit(Mobile attacker, Mobile defender)
at Server.Items.BaseKnife.OnHit(Mobile attacker, Mobile defender)
at Server.Items.BaseWeapon.OnSwing(Mobile attacker, Mobile defender)
at Server.CombatTimer.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()

ArteGordon- 02-02-2006
replace your XmlAttach.cs script with the one attached. This should fix it.
ambak- 02-02-2006
this gived lots of errors

CODE
Scripts: Compiling C# scripts...failed (15 errors, 4 warnings) - Warning: Scripts\Custom\motd.cs: CS0183: (line 222, column 49) The given expr ession is always of the provided ('Server.Mobiles.PlayerMobile') type - Error: Scripts\XmlSpawner\XmlAttach\XmlAttach.cs: CS1579: (line 928, column 6
) foreach statement cannot operate on variables of type 'object' because 'object
' does not contain a definition for 'GetEnumerator', or it is inaccessible
- Error: Scripts\XmlSpawner\XmlAttach\XmlAttach.cs: CS1579: (line 947, column 8
) foreach statement cannot operate on variables of type 'object' because 'object
' does not contain a definition for 'GetEnumerator', or it is inaccessible
- Error: Scripts\XmlSpawner\XmlAttach\XmlAttach.cs: CS1579: (line 965, column 6
) foreach statement cannot operate on variables of type 'object' because 'object
' does not contain a definition for 'GetEnumerator', or it is inaccessible
- Error: Scripts\XmlSpawner\XmlAttach\XmlAttach.cs: CS1579: (line 990, column 6
) foreach statement cannot operate on variables of type 'object' because 'object
' does not contain a definition for 'GetEnumerator', or it is inaccessible
- Error: Scripts\XmlSpawner\XmlAttach\XmlAttach.cs: CS1579: (line 1009, column
8) foreach statement cannot operate on variables of type 'object' because 'objec
t' does not contain a definition for 'GetEnumerator', or it is inaccessible
- Error: Scripts\XmlSpawner\XmlAttach\XmlAttach.cs: CS1579: (line 1027, column
6) foreach statement cannot operate on variables of type 'object' because 'objec
t' does not contain a definition for 'GetEnumerator', or it is inaccessible
- Error: Scripts\XmlSpawner\XmlAttach\XmlAttach.cs: CS1579: (line 1058, column
8) foreach statement cannot operate on variables of type 'object' because 'objec
t' does not contain a definition for 'GetEnumerator', or it is inaccessible
- Error: Scripts\XmlSpawner\XmlAttach\XmlAttach.cs: CS1579: (line 1083, column
8) foreach statement cannot operate on variables of type 'object' because 'objec
t' does not contain a definition for 'GetEnumerator', or it is inaccessible
- Error: Scripts\XmlSpawner\XmlAttach\XmlAttach.cs: CS1579: (line 1107, column
5) foreach statement cannot operate on variables of type 'object' because 'objec
t' does not contain a definition for 'GetEnumerator', or it is inaccessible
- Error: Scripts\XmlSpawner\XmlAttach\XmlAttach.cs: CS1579: (line 1127, column
7) foreach statement cannot operate on variables of type 'object' because 'objec
t' does not contain a definition for 'GetEnumerator', or it is inaccessible
- Error: Scripts\XmlSpawner\XmlAttach\XmlAttach.cs: CS1579: (line 1151, column
7) foreach statement cannot operate on variables of type 'object' because 'objec
t' does not contain a definition for 'GetEnumerator', or it is inaccessible
- Error: Scripts\XmlSpawner\XmlAttach\XmlAttach.cs: CS1579: (line 1177, column
9) foreach statement cannot operate on variables of type 'object' because 'objec
t' does not contain a definition for 'GetEnumerator', or it is inaccessible
- Error: Scripts\XmlSpawner\XmlAttach\XmlAttach.cs: CS1579: (line 1199, column
9) foreach statement cannot operate on variables of type 'object' because 'objec
t' does not contain a definition for 'GetEnumerator', or it is inaccessible
- Error: Scripts\XmlSpawner\XmlAttach\XmlAttach.cs: CS1579: (line 2210, column
9) foreach statement cannot operate on variables of type 'object' because 'objec
t' does not contain a definition for 'GetEnumerator', or it is inaccessible
- Error: Scripts\XmlSpawner\XmlAttach\XmlAttach.cs: CS1579: (line 2228, column
9) foreach statement cannot operate on variables of type 'object' because 'objec
t' does not contain a definition for 'GetEnumerator', or it is inaccessible
- Warning: Scripts\XmlSpawner\XmlAttachments\XmlPoints\ChallengeGames\Deathmatc
hGauntlet.cs: CS0162: (line 348, column 13) Unreachable code detected
- Warning: Scripts\XmlSpawner\XmlAttachments\XmlPoints\ChallengeGames\TeamDeath
matchGauntlet.cs: CS0162: (line 372, column 13) Unreachable code detected
- Warning: Scripts\XmlSpawner\XmlAttachments\XmlPoints\XmlAttachments\XmlPoints
.cs: CS0219: (line 2361, column 21) The variable 'x2' is assigned but its value
is never used
Scripts: One or more scripts failed to compile or no script files were found.

ArteGordon- 02-02-2006
sorry, try dling it again.