ServUO Version
Publish Unknown
Ultima Expansion
None
I'm adding new wall mounts and I don't have a string number for them. so when I try to put text in this is the crash report I'm getting. this error happens on creation of the addon item once the corpse is targeted. here is the portion I added bottom line alligator

text added rather then string number crash:
        private static object[,] m_Table = new object[,]
            {
                { typeof( BrownBear ),        0x1E60,        1041093, 1041107 },
                { typeof( GreatHart ),        0x1E61,        1041095, 1041109 },
                { typeof( BigFish ),        0x1E62,        1041096, 1041110 },
                { typeof( Gorilla ),        0x1E63,        1041091, 1041105 },
                { typeof( Orc ),            0x1E64,        1041090, 1041104 },
                { typeof( PolarBear ),        0x1E65,        1041094, 1041108 },
                { typeof( Troll ),            0x1E66,        1041092, 1041106 },

                { typeof( Alligator ),        0x3C03,        "Alligator", "Alligator"}

            };




crash info
System.InvalidCastException: Specified cast is not valid.
at Server.Items.CorpseTarget.OnTarget(Mobile from, Object targeted)
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)
 
Back