All pastes #934796 Raw Edit

Mine

public text v1 · immutable
·published 2008-03-09 02:09 UTC
rendered paste body
>	ascent-world.exe!AIInterface::_UpdateTargets()  Line 693 + 0xe	C++
 	ascent-world.exe!AIInterface::Update(unsigned int p_time=109)  Line 545	C++
 	ascent-world.exe!Unit::Update(unsigned int p_time=109)  Line 314	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=0x088e1500)  Line 262 + 0x11	C++
 	kernel32.dll!77e64829() 	

-	i	{...}	std::_Tree<std::_Tset_traits<Unit *,std::less<Unit *>,std::allocator<Unit *>,0> >::iterator
+	std::_Tree<std::_Tset_traits<Unit *,std::less<Unit *>,std::allocator<Unit *>,0> >::const_iterator	{_Ptr=0x2480ea30 {_Left=0x268f9628 {_Left=0x2480ea30 {_Left=0x268f9628 _Parent=0x268f9628 _Right=0x268f9628 ...} _Parent=0x2480ea30 {_Left=0x268f9628 _Parent=0x268f9628 _Right=0x268f9628 ...} _Right=0x2480ea30 {_Left=0x268f9628 _Parent=0x268f9628 _Right=0x268f9628 ...} ...} _Parent=0x268f9628 {_Left=0x2480ea30 {_Left=0x268f9628 _Parent=0x268f9628 _Right=0x268f9628 ...} _Parent=0x2480ea30 {_Left=0x268f9628 _Parent=0x268f9628 _Right=0x268f9628 ...} _Right=0x2480ea30 {_Left=0x268f9628 _Parent=0x268f9628 _Right=0x268f9628 ...} ...} _Right=0x268f9628 {_Left=0x2480ea30 {_Left=0x268f9628 _Parent=0x268f9628 _Right=0x268f9628 ...} _Parent=0x2480ea30 {_Left=0x268f9628 _Parent=0x268f9628 _Right=0x268f9628 ...} _Right=0x2480ea30 {_Left=0x268f9628 _Parent=0x268f9628 _Right=0x268f9628 ...} ...} ...} }	std::_Tree<std::_Tset_traits<Unit *,std::less<Unit *>,std::allocator<Unit *>,0> >::const_iterator
-	i2	{...}	std::_Tree<std::_Tset_traits<Unit *,std::less<Unit *>,std::allocator<Unit *>,0> >::iterator
+	std::_Tree<std::_Tset_traits<Unit *,std::less<Unit *>,std::allocator<Unit *>,0> >::const_iterator	{_Ptr=0x268f9628 {_Left=0x2480ea30 {_Left=0x268f9628 {_Left=0x2480ea30 _Parent=0x2480ea30 _Right=0x2480ea30 ...} _Parent=0x268f9628 {_Left=0x2480ea30 _Parent=0x2480ea30 _Right=0x2480ea30 ...} _Right=0x268f9628 {_Left=0x2480ea30 _Parent=0x2480ea30 _Right=0x2480ea30 ...} ...} _Parent=0x2480ea30 {_Left=0x268f9628 {_Left=0x2480ea30 _Parent=0x2480ea30 _Right=0x2480ea30 ...} _Parent=0x268f9628 {_Left=0x2480ea30 _Parent=0x2480ea30 _Right=0x2480ea30 ...} _Right=0x268f9628 {_Left=0x2480ea30 _Parent=0x2480ea30 _Right=0x2480ea30 ...} ...} _Right=0x2480ea30 {_Left=0x268f9628 {_Left=0x2480ea30 _Parent=0x2480ea30 _Right=0x2480ea30 ...} _Parent=0x268f9628 {_Left=0x2480ea30 _Parent=0x2480ea30 _Right=0x2480ea30 ...} _Right=0x268f9628 {_Left=0x2480ea30 _Parent=0x2480ea30 _Right=0x2480ea30 ...} ...} ...} }	std::_Tree<std::_Tset_traits<Unit *,std::less<Unit *>,std::allocator<Unit *>,0> >::const_iterator
-	m_Unit	0x2c921208 {FlatResistanceMod=0x2c921ef0 BaseResistanceModPct=0x2c921f0c ResistanceModPct=0x2c921f28 ...}	Unit *
+	[Creature]	{FlatResistanceMod=0x2c921ef0 BaseResistanceModPct=0x2c921f0c ResistanceModPct=0x2c921f28 ...}	Creature
+	Object	{m_walkSpeed=2.5000000 m_runSpeed=8.0000000 m_backWalkSpeed=4.5000000 ...}	Object
	m_procCounter	0	unsigned int
	detectRange	4.078e-043#DEN	float
	m_invisible	false	bool
	m_invisFlag	0	unsigned char
+	m_invisDetect	0x2c921314	int [10]
	m_addDmgOnce	0	unsigned int
+	m_TotemSlots	0x2c921340	Creature * [4]
+	m_ObjectSlots	0x2c921350	unsigned int [4]
	m_triggerSpell	0	unsigned int
	m_triggerDamage	0	unsigned int
	m_canMove	0	unsigned int
	m_silenced	0	int
	m_damgeShieldsInUse	false	bool
+	m_damageShields	{size=0}	std::list<DamageProc,std::allocator<DamageProc> >
+	m_reflectSpellSchool	{size=0}	std::list<ReflectSpellSchool *,std::allocator<ReflectSpellSchool *> >
+	m_procSpells	{size=0}	std::list<ProcTriggerSpell,std::allocator<ProcTriggerSpell> >
+	m_chargeSpells	{size=0}	std::map<unsigned int,SpellCharge,std::less<unsigned int>,std::allocator<std::pair<unsigned int const ,SpellCharge> > >
+	m_chargeSpellRemoveQueue	{size=0}	std::deque<unsigned int,std::allocator<unsigned int> >
	m_chargeSpellsInUse	false	bool
	spellcritperc	0.00000000	float
+	loot	{items={first=??? last=???} gold=0 looters={size=0} }	Loot
+	SchoolCastPrevent	0x2c9213e0	unsigned int [7]
+	DamageDoneModPCT	0x2c9213fc	float [7]
+	DamageTakenMod	0x2c921418	int [7]
+	DamageTakenPctMod	0x2c921434	float [7]
	DamageTakenPctModOnHP35	1.0000000	float
+	CritMeleeDamageTakenPctMod	0x2c921454	float [7]
+	CritRangedDamageTakenPctMod	0x2c921470	float [7]
	RangedDamageTaken	0	int
+	BaseDamage	0x2c921490	float [2]
+	BaseOffhandDamage	0x2c921498	float [2]
+	BaseRangedDamage	0x2c9214a0	float [2]
+	VampEmbCaster	{size=0}	std::set<unsigned __int64,std::less<unsigned __int64>,std::allocator<unsigned __int64> >
+	VampTchCaster	{size=0}	std::set<unsigned __int64,std::less<unsigned __int64>,std::allocator<unsigned __int64> >
+	Absorbs	0x2c9214c0 {size=0}	std::list<Absorb *,std::allocator<Absorb *> > [7]
	RAPvModifier	CXX0030: Error: expression cannot be evaluated	int
	APvModifier	CXX0030: Error: expression cannot be evaluated	int
	stalkedby	CXX0030: Error: expression cannot be evaluated	unsigned __int64
+	dispels	0x2c921528	unsigned int [10]
	trackStealth	CXX0030: Error: expression cannot be evaluated	bool
+	MechanicsDispels	0x2c921554	unsigned int [27]
+	MechanicsResistancesPCT	0x2c9215c0	float [27]
+	ModDamageTakenByMechPCT	0x2c92162c	float [27]
+	SM_CriticalChance	CXX0030: Error: expression cannot be evaluated	int *
+	SM_FDur	CXX0030: Error: expression cannot be evaluated	int *
+	SM_PDur	CXX0030: Error: expression cannot be evaluated	int *
+	SM_PRadius	CXX0030: Error: expression cannot be evaluated	int *
+	SM_FRadius	CXX0030: Error: expression cannot be evaluated	int *
+	SM_PRange	CXX0030: Error: expression cannot be evaluated	int *
+	SM_FRange	CXX0030: Error: expression cannot be evaluated	int *
+	SM_PCastTime	CXX0030: Error: expression cannot be evaluated	int *
+	SM_FCastTime	CXX0030: Error: expression cannot be evaluated	int *
+	SM_PCriticalDamage	CXX0030: Error: expression cannot be evaluated	int *
+	SM_PDOT	CXX0030: Error: expression cannot be evaluated	int *
+	SM_FDOT	CXX0030: Error: expression cannot be evaluated	int *
+	SM_FEffectBonus	CXX0030: Error: expression cannot be evaluated	int *
+	SM_PEffectBonus	CXX0030: Error: expression cannot be evaluated	int *
+	SM_FDamageBonus	CXX0030: Error: expression cannot be evaluated	int *
+	SM_PDamageBonus	CXX0030: Error: expression cannot be evaluated	int *
+	SM_PSPELL_VALUE	CXX0030: Error: expression cannot be evaluated	int *
+	SM_FSPELL_VALUE	CXX0030: Error: expression cannot be evaluated	int *
+	SM_FHitchance	CXX0030: Error: expression cannot be evaluated	int *
+	SM_PAPBonus	CXX0030: Error: expression cannot be evaluated	int *
+	SM_PCost	CXX0030: Error: expression cannot be evaluated	int *
+	SM_FCost	CXX0030: Error: expression cannot be evaluated	int *
+	SM_PNonInterrupt	CXX0030: Error: expression cannot be evaluated	int *
+	SM_PJumpReduce	CXX0030: Error: expression cannot be evaluated	int *
+	SM_FSpeedMod	CXX0030: Error: expression cannot be evaluated	int *
+	SM_FAdditionalTargets	CXX0030: Error: expression cannot be evaluated	int *
+	SM_FPenalty	CXX0030: Error: expression cannot be evaluated	int *
+	SM_PPenalty	CXX0030: Error: expression cannot be evaluated	int *
+	SM_PCooldownTime	CXX0030: Error: expression cannot be evaluated	int *
+	SM_FCooldownTime	CXX0030: Error: expression cannot be evaluated	int *
+	SM_FChanceOfSuccess	CXX0030: Error: expression cannot be evaluated	int *
+	SM_FRezist_dispell	CXX0030: Error: expression cannot be evaluated	int *
+	SM_PRezist_dispell	CXX0030: Error: expression cannot be evaluated	int *
+	target_spell_effect_mod_flat	{size=???}	std::map<unsigned int,int,std::less<unsigned int>,std::allocator<std::pair<unsigned int const ,int> > >
+	target_spell_effect_mod_pct	{size=???}	std::map<unsigned int,int,std::less<unsigned int>,std::allocator<std::pair<unsigned int const ,int> > >
	m_CombatUpdateTimer	CXX0030: Error: expression cannot be evaluated	unsigned int
+	tmpAura	{size=???}	std::map<unsigned int,Aura *,std::less<unsigned int>,std::allocator<std::pair<unsigned int const ,Aura *> > >
+	BaseResistance	0x2c921744	unsigned int [7]
+	BaseStats	0x2c921760	unsigned int [5]
+	HealDoneMod	0x2c921774	int [7]
+	HealDonePctMod	0x2c921790	int [7]
+	HealTakenMod	0x2c9217ac	int [7]
+	HealTakenPctMod	0x2c9217c8	float [7]
+	SchoolImmunityList	0x2c9217e4	unsigned int [7]
+	SpellCritChanceSchool	0x2c921800	float [7]
+	PowerCostMod	0x2c92181c	int [7]
+	PowerCostPctMod	0x2c921838	float [7]
+	AttackerCritChanceMod	0x2c921854	int [7]
+	SpellDelayResist	0x2c921870	unsigned int [7]
+	CreatureAttackPowerMod	0x2c92188c	int [12]
+	CreatureRangedAttackPowerMod	0x2c9218bc	int [12]
	PctRegenModifier	CXX0030: Error: expression cannot be evaluated	float
+	PctPowerRegenModifier	0x2c9218f0	float [4]
	m_pacified	CXX0030: Error: expression cannot be evaluated	int
	m_interruptRegen	CXX0030: Error: expression cannot be evaluated	int
	m_resistChance	CXX0030: Error: expression cannot be evaluated	int
	m_powerRegenPCT	CXX0030: Error: expression cannot be evaluated	int
	m_stunned	CXX0030: Error: expression cannot be evaluated	int
	m_extraattacks	CXX0030: Error: expression cannot be evaluated	int
	m_extrastriketargets	CXX0030: Error: expression cannot be evaluated	int
	m_noInterrupt	CXX0030: Error: expression cannot be evaluated	int
	m_rooted	CXX0030: Error: expression cannot be evaluated	int
	disarmed	CXX0030: Error: expression cannot be evaluated	bool
+	m_detectRangeGUID	0x2c921928	unsigned __int64 [5]
+	m_detectRangeMOD	0x2c921950	int [5]
	m_speedModifier	CXX0030: Error: expression cannot be evaluated	int
	m_slowdown	CXX0030: Error: expression cannot be evaluated	int
+	speedReductionMap	{size=???}	std::map<unsigned int,int,std::less<unsigned int>,std::allocator<std::pair<unsigned int const ,int> > >
	m_mountedspeedModifier	CXX0030: Error: expression cannot be evaluated	int
	m_flyspeedModifier	CXX0030: Error: expression cannot be evaluated	int
	m_isPet	CXX0030: Error: expression cannot be evaluated	bool
	m_stealth	CXX0030: Error: expression cannot be evaluated	unsigned int
	m_can_stealth	CXX0030: Error: expression cannot be evaluated	bool
+	m_auras	0x2c92198c	Aura * [248]
	m_modlanguage	CXX0030: Error: expression cannot be evaluated	int
+	critterPet	CXX0030: Error: expression cannot be evaluated	Creature *
+	summonPet	CXX0030: Error: expression cannot be evaluated	Creature *
+	m_SpellList	{size=???}	std::set<unsigned int,std::less<unsigned int>,std::allocator<unsigned int> >
+	m_diminishCount	0x2c921d84 <Bad Ptr>	unsigned short [23]
+	m_diminishAuraCount	0x2c921db2 <Bad Ptr>	unsigned char [23]
+	m_diminishTimer	0x2c921dca <Bad Ptr>	unsigned short [23]
	m_diminishActive	CXX0030: Error: expression cannot be evaluated	bool
+	dynObj	CXX0017: Error: symbol "" not found	DynamicObject *
+	m_auraStackCount	0x2c921e00 <Bad Ptr>	unsigned char [56]
+	pLastSpell	CXX0030: Error: expression cannot be evaluated	SpellEntry *
	bProcInUse	CXX0030: Error: expression cannot be evaluated	bool
	bInvincible	CXX0030: Error: expression cannot be evaluated	bool
+	m_redirectSpellPackets	CXX0017: Error: symbol "" not found	Player *
	polySpell	CXX0030: Error: expression cannot be evaluated	unsigned int
	m_special_state	CXX0030: Error: expression cannot be evaluated	unsigned int
+	CombatStatus	{m_attackers={size=???} m_healers={size=???} m_healed={size=???} ...}	CombatStatusHandler
	m_temp_summon	CXX0030: Error: expression cannot be evaluated	bool
	m_spellsbusy	CXX0030: Error: expression cannot be evaluated	bool
	m_meleespell	CXX0030: Error: expression cannot be evaluated	unsigned int
	m_H_regenTimer	CXX0030: Error: expression cannot be evaluated	unsigned int
	m_P_regenTimer	CXX0030: Error: expression cannot be evaluated	unsigned int
	m_interruptedRegenTime	CXX0030: Error: expression cannot be evaluated	unsigned int
	m_state	CXX0030: Error: expression cannot be evaluated	unsigned int
	m_attackTimer	CXX0030: Error: expression cannot be evaluated	unsigned int
	m_attackTimer_1	CXX0030: Error: expression cannot be evaluated	unsigned int
	m_duelWield	CXX0030: Error: expression cannot be evaluated	bool
	m_deathState	CXX0030: Error: expression cannot be evaluated	DeathState
	m_stealthLevel	CXX0030: Error: expression cannot be evaluated	unsigned int
	m_stealthDetectBonus	CXX0030: Error: expression cannot be evaluated	unsigned int
+	m_currentSpell	CXX0017: Error: symbol "" not found	Spell *
+	m_aiInterface	CXX0030: Error: expression cannot be evaluated	AIInterface *
	m_useAI	CXX0030: Error: expression cannot be evaluated	bool
	can_parry	CXX0030: Error: expression cannot be evaluated	bool
	m_threatModifyer	CXX0030: Error: expression cannot be evaluated	int
	m_generatedThreatModifyer	CXX0030: Error: expression cannot be evaluated	int
	m_manashieldamt	CXX0030: Error: expression cannot be evaluated	int
	m_manaShieldId	CXX0030: Error: expression cannot be evaluated	unsigned int
	m_emoteState	CXX0030: Error: expression cannot be evaluated	unsigned char
	m_oldEmote	CXX0030: Error: expression cannot be evaluated	unsigned int
	m_charmtemp	CXX0030: Error: expression cannot be evaluated	unsigned int
	m_extraAttackCounter	CXX0030: Error: expression cannot be evaluated	bool
-	this	0x2d220ae0 {m_canMove=true m_WayPointsShowing=false m_WayPointsShowBackwards=false ...}	AIInterface * const
+	__vfptr	0x006fa020 const AIInterface::`vftable'	*
	m_canMove	true	bool
	m_WayPointsShowing	false	bool
	m_WayPointsShowBackwards	false	bool
	m_currentWaypoint	0	unsigned int
	m_moveBackward	false	bool
	m_moveType	0	unsigned int
	m_moveRun	true	bool
	m_moveFly	false	bool
	m_moveSprint	false	bool
	m_creatureState	STOPPED	CreatureState
	m_canFlee	false	bool
	m_canCallForHelp	true	bool
	m_canRangedAttack	false	bool
	m_FleeHealth	0.00000000	float
	m_FleeDuration	0	unsigned int
	m_CallForHelpHealth	0.00000000	float
	m_totemspelltimer	0	unsigned int
	m_totemspelltime	0	unsigned int
+	totemspell	0x00000000 {Id=??? School=??? Category=??? ...}	SpellEntry *
	m_sourceX	0.00000000	float
	m_sourceY	0.00000000	float
	m_sourceZ	0.00000000	float
	m_totalMoveTime	411	unsigned int
+	m_formationLinkTarget	0x00000000 {FlatResistanceMod=0x00000ce8 BaseResistanceModPct=0x00000d04 ResistanceModPct=0x00000d20 ...}	Creature *
	m_formationFollowDistance	0.00000000	float
	m_formationFollowAngle	0.00000000	float
	m_formationLinkSqlId	0	unsigned int
+	m_waypoints	0x00000000 {first=??? last=???}	std::vector<WayPoint *,std::allocator<WayPoint *> > *
+	m_spells	{size=0}	std::list<AI_Spell *,std::allocator<AI_Spell *> >
	disable_combat	false	bool
	disable_melee	false	bool
	disable_ranged	false	bool
	disable_spell	false	bool
	disable_targeting	false	bool
	waiting_for_cooldown	false	bool
	next_spell_time	1204501173	unsigned int
	m_isGuard	false	bool
	m_AllowedToEnterCombat	true	bool
	m_updateAssist	0	int
	m_updateTargets	1	int
	m_updateAssistTimer	1004	unsigned int
	m_updateTargetsTimer	1049	unsigned int
	firstLeaveCombat	true	bool
+	m_nextSpell	0x00000000 {entryId=??? agent=??? procChance=??? ...}	AI_Spell *
+	m_nextTarget	0x00000000 {m_procCounter=??? detectRange=??? m_invisible=??? ...}	Unit *
	m_fleeTimer	0	unsigned int
	m_hasFleed	false	bool
	m_hasCalledForHelp	false	bool
	m_outOfCombatRange	2500	unsigned int
+	m_Unit	0x2c921208 {FlatResistanceMod=0x2c921ef0 BaseResistanceModPct=0x2c921f0c ResistanceModPct=0x2c921f28 ...}	Unit *
+	m_PetOwner	0x00000000 {m_procCounter=??? detectRange=??? m_invisible=??? ...}	Unit *
	FollowDistance	0.00000000	float
	FollowDistance_backup	26083328.	float
	m_fallowAngle	1.5707964	float
+	m_aiTargets	{...}	stdext::hash_map<Unit *,int,stdext::hash_compare<Unit *,std::less<Unit *> >,std::allocator<std::pair<Unit * const,int> > >
+	m_assistTargets	{size=1}	std::set<Unit *,std::less<Unit *>,std::allocator<Unit *> >
	m_AIType	AITYPE_AGRO	AIType
	m_AIState	STATE_IDLE	AI_State
	m_aiCurrentAgent	AGENT_NULL	AI_Agent
+	tauntedBy	0x00000000 {m_procCounter=??? detectRange=??? m_invisible=??? ...}	Unit *
	isTaunted	false	bool
+	soullinkedWith	0x00000000 {m_procCounter=??? detectRange=??? m_invisible=??? ...}	Unit *
	isSoulLinked	false	bool
	m_walkSpeed	0.0025000002	float
	m_runSpeed	0.0080000004	float
	m_flySpeed	0.0070000002	float
	m_destinationX	0.00000000	float
	m_destinationY	0.00000000	float
	m_destinationZ	0.00000000	float
	m_nextPosX	0.00000000	float
	m_nextPosY	0.00000000	float
	m_nextPosZ	0.00000000	float
	m_returnX	2534.8899	float
	m_returnY	-903.18903	float
	m_returnZ	56.889000	float
	m_lastFollowX	0.00000000	float
	m_lastFollowY	0.00000000	float
+	UnitToFollow	0x00000000 {m_procCounter=??? detectRange=??? m_invisible=??? ...}	Unit *
+	UnitToFollow_backup	0x00000000 {m_procCounter=??? detectRange=??? m_invisible=??? ...}	Unit *
+	UnitToFear	0x00000000 {m_procCounter=??? detectRange=??? m_invisible=??? ...}	Unit *
	m_timeToMove	0	unsigned int
	m_timeMoved	0	unsigned int
	m_moveTimer	0	unsigned int
	m_FearTimer	0	unsigned int
	m_WanderTimer	0	unsigned int
	m_MovementType	MOVEMENTTYPE_NONE	MovementType
	m_MovementState	MOVEMENTSTATE_STOP	MovementState
	m_guardTimer	409908015	unsigned int
	m_currentHighestThreat	0	int
	m_is_in_instance	false	bool
	skip_reset_hp	false	bool


		for(i = m_assistTargets.begin(); i != m_assistTargets.end();)
		{
			i2 = i++;
			if( (*i2)->event_GetCurrentInstanceId() != m_Unit->event_GetCurrentInstanceId() ||
b00m -->			!(*i2)->isAlive() || m_Unit->GetDistanceSq((*i2)) >= 2500.0f || !(*i2)->CombatStatus.IsInCombat() )
			{
				m_assistTargets.erase( i2 );
			}
		}
	}