Arya said:Who added a chessboard to the decoration command anyway? It's not supposed to be there, not to mention that the Chessboard class is NOT an item, therefore it cannot be used for decoration.
Edit: I see where the problem comes from. Possibly the decorate command looks for the Chessboard type without using the full name (Server.Items.Chessboard - the regular chessboard). For now you must uninstall the chess script before doing the decoration. I'll see into changing the class name later on.
sUpplier1 said:I found how to resolve the [decorate command crash.
I just renamed "Chessboard" to "Chessbrd" everywhere in the BattleChess scripts. That's all.
After that you can use [decorate command without any problems.
By the Battle Chess scritps, is awesome. Great work.
Server Crash Report
===================
Operating System: Microsoft Windows NT 5.1.2600.0
.NET Framework: 1.1.4322.573
Time: 11/19/2004 23:33:26
Mobiles: 1997
Items: 55769
Clients:
- Count: 7
Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at Server.SectorEnumerator.MoveNext()
at Server.TypedEnumerator.MoveNext()
at Server.Mobile.ProcessDelta()
at Server.Effects.SendMovingParticles(IEntity from, IEntity to, Int32 itemID, Int32 speed, Int32 duration, Boolean fixedDirection, Boolean explodes, Int32 hue, Int32 renderMode, Int32 effect, Int32 explodeEffect, Int32 explodeSound, EffectLayer layer, Int32 unknown)
at Server.Effects.SendMovingParticles(IEntity from, IEntity to, Int32 itemID, Int32 speed, Int32 duration, Boolean fixedDirection, Boolean explodes, Int32 hue, Int32 renderMode, Int32 effect, Int32 explodeEffect, Int32 explodeSound, Int32 unknown)
at Server.Mobile.MovingParticles(IEntity to, Int32 itemID, Int32 speed, Int32 duration, Boolean fixedDirection, Boolean explodes, Int32 effect, Int32 explodeEffect, Int32 explodeSound)
at Server.Spells.Third.FireballSpell.Target(Mobile m)
at Server.Spells.Third.InternalTarget.OnTarget(Mobile from, Object o)
at Server.Targeting.Target.Invoke(Mobile from, Object targeted)
at Server.Network.PacketHandlers.TargetResponse(NetState state, PacketReader pvSrc)
at Server.Network.MessagePump.HandleReceive(NetState ns)
at Server.Network.MessagePump.Slice()
at Server.Core.Main(String[] args)
ditmar said:Just encountered a new crash :
Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at Arya.Chess.ChessGame.AcceptGame(Mobile guest)
at Arya.Chess.StartGameGump.OnResponse(NetState sender, RelayInfo info)
at Server.Network.PacketHandlers.DisplayGumpResponse(NetState state, PacketReader pvSrc)
at Server.Network.MessagePump.HandleReceive(NetState ns)
at Server.Network.MessagePump.Slice()
at Server.Core.Main(String[] args)
Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at Arya.Chess.BChessboard.PushGame(ChessColor nextMoveColor, Move move)
at Arya.Chess.BChessboard.OnMoveOver(Move move)
at Arya.Chess.BaseChessPiece.OnMoveOver()
at Arya.Chess.ChessMobile.OnLocationChange(Point3D oldLocation)
at Server.Mobile.SetLocation(Point3D newLocation, Boolean isTeleport)
at Server.Mobiles.BaseCreature.SetLocation(Point3D newLocation, Boolean isTeleport)
at Server.Mobile.Move(Direction d)
at Server.Mobiles.BaseAI.DoMoveImpl(Direction d)
at Server.Mobiles.BaseAI.DoMove(Direction d, Boolean badStateOk)
at Server.Mobiles.BaseAI.DoMove(Direction d)
at Server.Mobiles.BaseAI.DoActionWander()
at Server.Mobiles.MeleeAI.DoActionWander()
at Server.Mobiles.BaseAI.Think()
at Server.Mobiles.AITimer.OnTick()
at Server.Timer.Slice()
at Server.Core.Main(String[] args)