Error using Priest model

Topics: Retired
Nov 24, 2008 at 8:30 AM
From a fresh 24026 compilation. Select Priest class and program crash. (With a French Windows) :
************** Texte de l'exception **************
System.NullReferenceException: La référence d'objet n'est pas définie à une instance d'un objet.
   à Rawr.StatConversion..ctor(Character _character) dans ...\Visual Studio 2008\Projects\Rawr-24206\Rawr.Base\StatConversion.cs:ligne 121
   à Rawr.Character.get_StatConversion() dans ...\Visual Studio 2008\Projects\Rawr-24206\Rawr.Base\Character.cs:ligne 377
   à Rawr.HolyPriest.CalculationsHolyPriest.GetCharacterStats(Character character, Item additionalItem) dans ...\Visual Studio 2008\Projects\Rawr-24206\Rawr.HolyPriest\CalculationsHolyPriest.cs:ligne 244
   à Rawr.HolyPriest.CalculationsHolyPriest.GetCharacterCalculations(Character character, Item additionalItem) dans...Visual Studio 2008\Projects\Rawr-24206\Rawr.HolyPriest\CalculationsHolyPriest.cs:ligne 128

Having a look at the code, it seems that in StatConversion.cs that RatingConversionBase60 and RatingConversionTable are declare but never allocated.

Nov 24, 2008 at 1:35 PM
Thanks, I will commit a fix that hopefully fixes this right now, let me know if it helps.
Nov 24, 2008 at 2:58 PM
Ok I just regenerate with latest source and it WORKS !
Thanks :)
Nov 24, 2008 at 4:52 PM
Hope the model gives you the information you seek, thanks for the bug report.