All pastes #934762 Raw Edit

Someone

public text v1 · immutable
·published 2008-03-09 01:26 UTC
rendered paste body
>	ascent-world.exe!Spell::CalculateEffect(unsigned int i=0, Unit * target=0x00000000)  Line 3516 + 0xb	C++
 	ascent-world.exe!Spell::HandleEffects(unsigned __int64 guid=651897849948275205, unsigned int i=0)  Line 2400 + 0x16	C++
 	ascent-world.exe!Spell::cast(bool check=true)  Line 1428	C++
 	ascent-world.exe!Spell::update(unsigned int difftime=109)  Line 1628	C++
 	ascent-world.exe!Unit::_UpdateSpells(unsigned int time=109)  Line 3729	C++
 	ascent-world.exe!Unit::Update(unsigned int p_time=109)  Line 284	C++
 	ascent-world.exe!Creature::Update(unsigned int p_time=109)  Line 131	C++
 	ascent-world.exe!MapMgr::_PerformObjectDuties()  Line 1544	C++
 	ascent-world.exe!MapMgr::Do()  Line 1383	C++
 	ascent-world.exe!MapMgr::run()  Line 1318 + 0xb	C++
 	ascent-world.exe!thread_proc(void * param=0x08ffe530)  Line 262 + 0x11	C++
 	kernel32.dll!77e64829() 	
	basePointsPerLevel	0.69999999	float
	i	0	unsigned int
+	m_spellInfo	0x00000000 {Id=??? School=??? Category=??? ...}	SpellEntry *
+	m_spellInfo->EffectRealPointsPerLevel	0x00000130	float [3]
-	this	0x20f97560 {m_spellInfo=0x00000000 {Id=??? School=??? Category=??? ...} pSpellId=0 ProcedOnSpell=0x00000000 {Id=??? School=??? Category=??? ...} ...}	Spell * const
+	m_spellInfo	0x00000000 {Id=??? School=??? Category=??? ...}	SpellEntry *
	pSpellId	0	unsigned int
+	ProcedOnSpell	0x00000000 {Id=??? School=??? Category=??? ...}	SpellEntry *
+	m_targets	{m_targetMask=2 m_unitTarget=9488 m_itemTarget=0 ...}	SpellCastTargets
+	g_caster	0x00000000 {loot={items={first=??? last=???} gold=??? looters={size=???} } m_quests=??? m_ritualmembers=??? ...}	GameObject *
+	u_caster	0x20c262a8 {FlatResistanceMod=0x20c26f90 BaseResistanceModPct=0x20c26fac ResistanceModPct=0x20c26fc8 ...}	Unit *
+	i_caster	0x00000000 {loot=??? locked=??? m_isDirty=??? ...}	Item *
+	p_caster	0x00000000 {m_lfgMatch=??? m_lfgInviterGuid=??? m_skills={size=???} ...}	Player *
+	m_caster	0x20c262a8 {FlatResistanceMod=0x20c26f90 BaseResistanceModPct=0x20c26fac ResistanceModPct=0x20c26fc8 ...}	Object *
+	UniqueTargets	{first=??? last=???}	std::vector<unsigned __int64,std::allocator<unsigned __int64> >
+	ModeratedTargets	{first=??? last=???}	std::vector<SpellTargetMod,std::allocator<SpellTargetMod> >
	chaindamage	0	unsigned int
	damage	51	int
+	m_triggeredByAura	0x00000000 {periodic_target=??? m_spellProto=??? mod=??? ...}	Aura *
+	forced_basepoints	0x20f97600	int [3]
	m_triggeredSpell	false	bool
	m_AreaAura	false	bool
	m_requiresCP	false	bool
	m_castPositionX	-42.694702	float
	m_castPositionY	-1658.6757	float
	m_castPositionZ	91.667618	float
	damageToHit	0	int
	castedItemId	0	unsigned int
	judgement	false	bool
	extra_cast_number	0	unsigned char
	duelSpell	false	bool
+	m_reflectedParent	0x00000000 {m_spellInfo=??? pSpellId=??? ProcedOnSpell=??? ...}	Spell *
	m_usesMana	true	bool
	m_Spell_Failed	true	bool
	m_IsReflected	false	bool
	m_Delayed	false	bool
	m_CanRelect	true	bool
	m_IsCastedOnSelf	true	bool
	hadEffect	false	bool
	m_spellState	3	unsigned int
	m_castTime	2500	int
	m_timer	0	int
+	unitTarget	0x00000000 {m_procCounter=??? detectRange=??? m_invisible=??? ...}	Unit *
+	itemTarget	0x00000000 {loot=??? locked=??? m_isDirty=??? ...}	Item *
+	gameObjTarget	0x00000000 {loot={items={first=??? last=???} gold=??? looters={size=???} } m_quests=??? m_ritualmembers=??? ...}	GameObject *
+	playerTarget	0x1b6ae008 {m_lfgMatch=??? m_lfgInviterGuid=??? m_skills={size=???} ...}	Player *
+	corpseTarget	0x00000000 {loot={items={first=??? last=???} gold=??? looters={size=???} } m_state=??? m_time=??? ...}	Corpse *
	add_damage	0	unsigned int
	cancastresult	255 'ÿ'	unsigned char
	Dur	1065353216	unsigned int
	bDurSet	false	bool
+	Rad	0x20f97664	float [3]
+	bRadSet	0x20f97670	bool [3]
	m_cancelled	false	bool
+	m_targetUnits	0x20f97674 {first=??? last=???}	std::vector<unsigned __int64,std::allocator<unsigned __int64> > [3]
	value	0	int


spell.cpp
	int32 value = 0;

crash is on this line ->float basePointsPerLevel    = m_spellInfo->EffectRealPointsPerLevel[i];
	float randomPointsPerLevel  = m_spellInfo->EffectDicePerLevel[i];
	int32 basePoints;