Kamras
Member
So.. I decided that it was time to test things out and delete the test save folder and let it regenerate. When I restarted the server I got this error.
I've made no changes to the quest system however have made changes to basearmor/baseweapon/basecreature, I'm just not sure which change caused the fail.
Code:
Loading Ultima Live map changes
...done (0 items, 0 mobiles, 0 customs) (0.05 seconds)
Error:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidCastException: Unable to cast object of type 'Server.Mobiles.Kevin' to type 'Server.Mobiles.PlayerMobile'.
at Server.Items.BaseWeapon.OnEquip(Mobile from)
at Server.Mobiles.BaseCreature.AddItem(Item item)
at Server.Mobiles.BaseVendor..ctor(String title)
at Server.Engines.Quests.HumilityQuestMobile..ctor(String name, String title)
at Server.Mobiles.Kevin..ctor()
at Server.Engines.Quests.HumilityShrinePersistence.SetupMobiles()
at Server.Engines.Quests.HumilityShrinePersistence.Initialize()
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Server.ScriptCompiler.Invoke(String method) in k:\AlfheimRebornServer\Ultima Server2\Server\ScriptCompiler.cs:line 667
at Server.Core.Main(String[] args) in k:\AlfheimRebornServer\Ultima Server2\Server\Main.cs:line 558
This exception is fatal, press return to exit
I've made no changes to the quest system however have made changes to basearmor/baseweapon/basecreature, I'm just not sure which change caused the fail.