Page 1 of 1

ERROR: Quest Giver

PostPosted: Sat Aug 28, 2010 3:52 am
by Urza
Hi,
I get this error message if I right click on a quest giver:
Code: Select all
05:43:28,859 - [RegionTime1] - ERROR - DOL.WeakMulticastDelegate - InvokeSafe
System.Reflection.TargetInvocationException: Target of an invocation has caused an exception. ---> System.DivideByZeroException: It was tried by 0 (zero) shall be.
bei DOL.GS.Quests.RewardQuest.QuestRewards.ExperiencePercent(GamePlayer player)
bei DOL.GS.PacketHandler.PacketLib194.SendQuestWindow(GameNPC questNPC, GamePlayer player, RewardQuest quest, Boolean offer)
bei DOL.GS.PacketHandler.PacketLib187.SendQuestOfferWindow(GameNPC questNPC, GamePlayer player, RewardQuest quest)
bei DOL.GS.Quests.RewardQuest.OfferQuest(GamePlayer player)
bei DOL.GS.Quests.Albion.NoHopeForTheHopeful.TalkToSirDorian(DOLEvent e, Object sender, EventArgs args)
--- End of inner exception stack trace ---
bei System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
bei System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
bei System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
bei System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
bei DOL.WeakMulticastDelegate.InvokeSafe(Object[] args)
greetings urza
German part of text translated with chat translator.

Re: ERROR: Quest Giver

PostPosted: Sat Aug 28, 2010 10:38 am
by Tolakram
Hi Urza,

I just checked in a new RewardQuest, it was using the wrong level and would crash for any level 1 player.

Re: ERROR: Quest Giver

PostPosted: Sat Aug 28, 2010 11:04 am
by Urza
Hi Tolakram,
thanks for your quick help.

greetings Urza