PDA

View Full Version : {Scriptdev2} Function Library 1500+ functions



Xees
07-04-10, 09:20 PM
This is All Functions for Scriptdev2 3.3.3 Revesion.

How to use it,

Open up your Scriot and do one of the following :

m_creature->Function(info);
pCreature->Function(info);
pGo->Function(info);
pItem->Function(info);
pPlayer->Function(info);

maybe incorrect , depends on your Bool
example
if you have


bool GossipHello_npc_name(Player* pPlayer, Creature* pCreature)then use

pPlayer for Player
pCreature for Creature

if you have


bool GossipHello_npc_name(Player *player, Creature *_Creature)then use

player for Player
_Creature for Creature

see any resemblance ?

i created this to help me script as fast as possible

also , Look at the Bottom left of your Screen you should be able to see a small window like this :

http://i44.tinypic.com/4q341s.jpg

Click on it then Click on your Script Function ,
You now should be able to see how the function works , and what to insert.



This is a Word File that Has all The Functions :

Filebeam - Beam up that File Scottie! (http://filebeam.com/1f4af57605809d4fa6e0aefba2be0d74)

Much better look to it






acceptTrade
ActivateTaxiPathTo
addActionButton
AddArmorProficiency
AddAura
AddBattleGroundQueueId
AddComboPointHolder
AddComboPoints
AddDynObject
AddEnchantmentDuration
AddEnchantmentDurations
addFollower
AddGameObject
AddGuardian
addHatedBy
AddItemDurations
AddItemToBuyBackSlot
AddMail
AddMItem
AddNewMailDeliverTime
AddObjectToRemoveList
AddPetAura
AddQuest
AddRunePower
addSpell
AddSpellAndCategoryCooldowns
AddSpellCooldown
AddSpellMod
AddThreat
AddTimedQuest
AddToClientUpdateList
AddToWorld
addUnitState
AddWeaponProficiency
ApplyAttackTimePercentMod
ApplyAuraProcTriggerDamage
ApplyCastTimePercentMod
ApplyDiminishingAura
ApplyDiminishingToDuration
ApplyEnchantment
ApplyEquipCooldown
ApplyEquipSpell
ApplyFeralAPBonus
ApplyGlyph
ApplyGlyphs
ApplyItemEquipSpell
ApplyManaRegenBonus
ApplyMaxPowerMod
ApplyPowerMod
ApplyRatingMod
ApplyResistanceBuffModsMod
ApplyResistanceBuffModsPercentMod
ApplySpellDispelImmunity
ApplySpellImmune
ApplySpellMod
ApplySpellPowerBonus
ApplyStatBuffMod
ApplyStatPercentBuffMod
ApplyTotalThreatModifier
AreaExploredOrEventHappens
Attack
AttackerStateUpdate
AttackStop
AutoStoreLoot
AutoUnequipOffhandIfNeed
BankItem
BindToInstance
BuyItemFromVendor
CalcAbsorbResist
CalcArmorReducedDamage
CalcNotIgnoreAbsorbDamage
CalcNotIgnoreDamageRedunction
CalcRage
CalculateDamage
CalculateLevelPenalty
CalculateMeleeDamage
CalculateMinMaxDamage
CalculateReputationGain
CalculateSpellDamage
CalculateSpellDuration
CalculateTalentsPoints
CanAddQuest
CanBankItem
CanBlock
CanCaptureTowerPoint
CanCompleteQuest
CanCompleteRepeatableQuest
canDetectInvisibilityOf
CanDualWield
CanEquipItem
CanEquipNewItem
CanEquipUniqueItem
CanFly
CanFreeMove
CanHaveThreatList
CanJoinToBattleground
CanModifyStats
CanNoReagentCast
CanParry
canReachWithAttack
CanRewardQuest
canSeeSpellClickOn
CanSeeStartQuest
CanShareQuest
CanSpeak
CanStoreItem
CanStoreItems
CanStoreNewItem
CanTakeMoreSimilarItems
CanTakeQuest
CanTameExoticPets
CanTitanGrip
CanUnequipItem
CanUnequipItems
CanUninviteFromGroup
CanUseAmmo
CanUseBattleGroundObject
CanUseItem
CastCustomSpell
CastedCreatureOrGO
CastItemCombatSpell
CastItemUseSpell
CastSpell
CastStop
ChangeSpeakTime
CharmSpellInitialize
CheckAllControlledUnits
CheckAmmoCompatibility
CheckAndIncreaseCastCounter
CheckDuelDistance
CheckExploreSystem
CleanupChannels
CleanupDeletedAuras
CleanupsBeforeDelete
ClearAfkReports
ClearAllReactives
ClearComboPointHolders
ClearComboPointHolders
ClearComboPoints
ClearDiminishings
ClearInCombat
clearResurrectRequestData
ClearTrade
clearUnitState
ClearUpdateMask
CombatStop
CombatStopWithPets
CompleteQuest
ContinueTaxiFlight
Create
CreateCorpse
CreateTamedPetFrom
Customize
DealDamage
DealDamageMods
DealHeal
DealMeleeDamage
DealSpellDamage
DecreaseCastCounter
DelayAura
DeleteEquipmentSet
DeleteFromDB
DeleteThreatList
DeMorph
DestroyConjuredItems
DestroyForPlayer
DestroyItem
DestroyItemCount
DestroyZoneLimitedItem
dndMsg
duel
DuelComplete
DurabilityLoss
DurabilityLossAll
DurabilityPointLossForEquipSlot
DurabilityPointsLoss
DurabilityRepair
DurabilityRepairAll
EnchantmentFitsRequirements
EnergizeBySpell
EnterVehicle
EnvironmentalDamage
EquipItem
EquipNewItem
ExitVehicle
FailQuest
FindCurrentSpellBySpellId
FindEquipSlot
FindGuardianWithEntry
FindQuestSlot
FinishSpell
GetAchievementMgr
GetActionButton
GetActiveSpec
GetAmmoDPS
GetAngle
GetAPMultiplier
GetAreaId
GetArenaPersonalRating
GetArenaPoints
GetArenaTeamId
GetArenaTeamIdFromDB
GetArenaTeamIdInvited
GetArmor
GetArmorPenetrationPct
GetArmorProficiency
GetAttackBySlot
getAttackerForHelper
getAttackers
GetAttackTime
getAttackTimer
GetAura
GetAuras
GetAurasByType
GetAuraUpdateMask
GetBankBagSlotCount
GetBarberShopCost
GetBaseDefenseSkillValue
GetBaseMap
GetBaseModValue
GetBaseRune
GetBaseSkillValue
GetBaseSpellPowerBonus
GetBaseWeaponSkillValue
GetBattleGround
GetBattleGroundEntryPoint
GetBattleGroundId
GetBattleGroundQueueIndex
GetBattleGroundQueueTypeId
GetBattleGroundTypeId
GetBGAccessByLevel
GetBGTeam
GetBoundInstance
GetBoundInstances
GetByteValue
GetCastingTimeForBonus
GetChannelObjectGUID
GetCharm
GetCharmer
GetCharmerGUID
GetCharmerOrOwner
GetCharmerOrOwnerOrOwnGUID
GetCharmerOrOwnerOrSelf
GetCharmerOrOwnerPlayerOrPlayerItself
GetCharmGUID
GetCharmInfo
getCinematic
getClass
getClassMask
GetClosePoint
GetCombatDistance
GetCombatRatingDamageReduction
GetCombatRatingReduction
GetCombatTimer
GetComboPoints
GetComboTarget
GetContactPoint
GetCorpse
GetCorpseReclaimDelay
GetCreateHealth
GetCreateMana
GetCreatePowers
GetCreateStat
GetCreatorGUID
GetCreatureType
GetCreatureTypeMask
GetCurrentRune
GetCurrentSpell
getDeathState
GetDeathTimer
GetDeclinedNames
GetDefaultGossipMenuForSource
GetDefenseSkillValue
GetDifficulty
GetDiminishing
GetDisplayId
GetDistance
GetDistance2d
GetDistanceOrder
GetDistanceZ
GetDivider
GetDodgeFromAgility
GetDrunkenstateByValue
GetDrunkValue
GetDummyAura
GetDungeonDifficulty
GetDynObject
GetEntry
GetExpertiseDodgeOrParryReduction
getFaction
getFactionForRace
getFactionTemplateEntry
GetFarSight
GetFloatValue
GetFloatValueFromArray
GetFloatValueFromDB
GetFreePrimaryProfessionPoints
GetFreeTalentPoints
GetGameObject
GetGameObjectIfCanInteractWith
getGender
GetGlyph
GetGlyphSlot
GetGossipTextId
GetGridRef
GetGroup
GetGroupInvite
GetGroupRef
GetGroupUpdateFlag
GetGUID
GetGUIDLow
GetGuildId
GetGuildIdFromDB
GetGuildIdInvited
GetHealth
GetHealthBonusFromStamina
GetHealthPercent
GetHonorPoints
getHostileRefManager
GetInGameTime
GetInstanceData
GetInstanceId
GetInt32Value
GetItemByEntry
GetItemByGuid
GetItemByLimitedCategory
GetItemByPos
GetItemCount
GetItemCountWithLimitCategory
GetItemFromBuyBackSlot
GetItemPosByTradeSlot
getLevel
getLevelForTarget
GetLevelFromDB
GetLevelPlayedTime
GetLootGUID
GetMail
GetMailBegin
GetMailEnd
GetMailSize
GetManaBonusFromIntellect
GetMap
GetMapId
GetMapRef
GetMapRef
GetMaxHealth
GetMaxKeyringSize
GetMaxNegativeAuraModifier
GetMaxNegativeAuraModifierByMiscMask
GetMaxNegativeAuraModifierByMiscValue
GetMaxPersonalArenaRatingRequirement
GetMaxPositiveAuraModifier
GetMaxPositiveAuraModifierByMiscMask
GetMaxPositiveAuraModifierByMiscValue
GetMaxPower
GetMaxSkillValue
GetMaxSkillValueForLevel
getMaxTimer
GetMeleeCritChanceReduction
GetMeleeCritDamageReduction
GetMeleeCritFromAgility
GetMeleeDamageReduction
GetMeleeDamageSchoolMask
GetMiniPet
GetMItem
GetModifierValue
GetMoney
GetMotionMaster
GetMountID
GetName
GetNameForLocaleIdx
GetNativeDisplayId
GetNearPoint
GetNearPoint2D
GetNegStat
GetNextQuest
GetNextRandomRaidMember
GetNPCIfCanInteractWith
GetObjectByTypeMask
GetObjectGuid
GetObjectSize
GetOrientation
GetOriginalGroup
GetOriginalGroupRef
GetOriginalSubGroup
GetOwner
GetOwnerGUID
GetPackGUID
GetPet
GetPetGUID
GetPhaseMask
GetPhaseMaskForSpawn
GetPosition
GetPositionX
GetPositionY
GetPositionZ
GetPosStat
GetPower
getPowerType
GetPowerTypeByAuraGroup
GetPPMProcChance
GetPureMaxSkillValue
GetPureSkillValue
GetQuestLevelForPlayer
GetQuestRewardStatus
GetQuestSlotCounter
GetQuestSlotQuestId
GetQuestSlotState
GetQuestSlotQuestId
GetQuestSlotState
GetQuestSlotTime
GetQuestStatus
getQuestStatusMap
getRace
getRaceMask
GetRaidDifficulty
GetRandomPoint
GetRangedCritChanceReduction
GetRangedCritDamageReduction
GetRangedDamageReduction
GetRank
GetRankFromDB
GetRatingBonusValue
GetRatingCoefficient
GetRatingCoefficient
GetRegenTimer
GetReputationMgr
GetReputationPriceDiscount
GetReputationRank
GetReqKillOrCastCurrentCount
GetResistance
GetResistanceBuffMods
GetRestBonus
GetRestTime
GetRestType
GetResurrectionSpellId
GetRuneCooldown
GetRunesState
GetSaveTimer
GetSelection
GetSession
GetSheath
GetShield
GetShieldBlockValue
GetSingleCastAuras
GetSkillPermBonusValue
GetSkillTempBonusValue
GetSkillValue
GetSocial
GetSpecsCount
GetSpeed
GetSpeedRate
GetSpellByProto
GetSpellCooldownDelay
GetSpellCooldownMap
GetSpellCritChanceReduction
GetSpellCritDamageReduction
GetSpellCritFromIntellect
GetSpellDamageReduction
GetSpellMap
GetSpellModOwner
GetSpellSchoolByAuraGroup
getStandState
GetStat
GetStatByAuraGroup
GetSubGroup
GetTargetGUID
GetTeam
GetTeleportDest
GetTemporaryUnsummonedPetNumber
getThreatManager
GetTimeInnEnter
GetTotalAttackPowerValue
GetTotalAuraModifier
GetTotalAuraModifierByMiscMask
GetTotalAuraModifierByMiscValue
GetTotalAuraModValue
GetTotalAuraMultiplier
GetTotalAuraMultiplierByMiscMask
GetTotalAuraMultiplierByMiscValue
GetTotalAuraMultiplierByMiscValueForMask
GetTotalBaseModValue
GetTotalPercentageModValue
GetTotalPlayedTime
GetTotalStatValue
GetTotem
GetTotemGUID
GetTrader
GetTrainerSpellState
getTransForm
GetTransOffsetO
GetTransOffsetX
GetTransOffsetY
GetTransOffsetZ
GetTransport
GetTransport
GetTransSeat
GetTransTime
GetTypeId
GetUInt16Value
GetUInt32Value
GetUInt32ValueFromArray
GetUInt32ValueFromDB
GetUInt64Value
GetUnit
GetUnitBlockChance
GetUnitCriticalChance
GetUnitDodgeChance
GetUnitMeleeSkill
GetUnitParryChance
GetValuesCount
getVictim
GetViewPoint
GetVisibility
GetVisibleAura
GetVisibleAuras
GetVisibleAurasCount
GetWeaponDamageRange
GetWeaponForAttack
GetWeaponProcChance
GetWeaponProficiency
GetWeaponSkillValue
GetXPRestBonus
GetZoneAndAreaId
GetZoneId
GetZoneIdFromDB
GiveLevel
GiveQuestSourceItem
GiveXP
GroupEventHappens
HandleBaseModValue
HandleDrowning
HandleDummyAuraProc
HandleDummyAuraProc
HandleEmoteCommand
HandleFall
HandleHasteAuraProc
HandleMendingAuraProc
HandleOverrideClassScriptAuraProc
HandleProcTriggerSpell
HandleSobering
HandleSpellCritChanceAuraProc
HandleStatModifier
HandleStealthedUnitsDetection
HasActiveSpell
HasAtLoginFlag
HasAura
HasAuraState
HasAuraStateForCaster
HasAuraType
HasByteFlag
HasFlag
HasFlag64
HasFreeBattleGroundQueueId
HasInArc
HasInvisibilityAura
hasInvolvedQuest
HasItemCount
HasItemFitToSpellReqirements
HasItemOrGemWithIdEquipped
HasItemOrGemWithLimitCategoryEquipped
HasItemTotemCategory
HasMovementFlag
hasNegativeAuraWithInterruptFlag
hasQuest
HasQuestForGO
HasQuestForItem
HasSkill
HasSpell
HasSpellCooldown
HasStealthAura
HasTitle
hasUnitState
HaveAtClient
haveOffhandWeapon
i_motionMaster
InArena
InBattleGround
InBattleGroundQueue
InBattleGroundQueueForBattleGroundQueueType
IncompleteQuest
IncrDiminishing
infinityCooldownDelay
infinityCooldownDelayCheck
InitDataForForm
InitCharmInfo
InitDisplayIds
InitGlyphsForLevel
InitPrimaryProfessions
InitRunes
InitStatBuffMods
InitStatsForLevel
InitTalentForLevel
InitTaxiNodesForLevel
InitValues
InitVisibleBits
inn_trigger_id
InSamePhase
InterruptNonMeleeSpells
InterruptSpell
isAcceptTickets
isAcceptWhispers
IsActionButtonDataValid
IsActionButtonDataValid
isActiveObject
IsActiveQuest
IsAffectedBySpellmod
isAFK
isAlive
isAllowedToLoot
IsAllTotemSlotsUsed
isArmorer
IsAtGroupRewardDistance
isAttackingPlayer
isAttackReady
isAttackReady
isAuctioner
IsBagPos
isBanker
IsBankPos
IsBaseRuneSlotsOnCooldown
isBattleMaster
IsBeingTeleported
IsBeingTeleportedFar
IsBeingTeleportedNear
IsCanDelayTeleport
isCharmed
isCharmedOwnedByPlayerOrPlayer
IsCharmerOrOwnerPlayerOrPlayerItself
IsContestedGuard
IsContestedGuard
IsControlledByPlayer
IsDamageToThreatSpell
isDead
isDND
IsEquipmentPos
isFeared
IsFFAPvP
IsFlying
IsFriendlyTo
isFrozen
isGameMaster
isGMChat
isGMVisible
isGossip
IsGroupVisibleFor
isGuard
isGuildMaster
IsHasDelayedTeleport
isHonorOrXPTarget
IsHostileTo
IsHostileToPlayers
isHover
IsImmunedToDamage
IsImmunedToSpell
IsImmunedToSpellEffect
isInAccessablePlaceFor
isInBack
isInBackInMap
isInCombat
IsInFeralForm
isInFlight
isInFront
isInFrontInMap
IsInMap
isInnkeeper
IsInRange
IsInRange2d
IsInRange3d
isInRoots
IsInSameGroupWith
IsInSameRaidWith
IsInventoryPos
isInvisibleForAlive
IsInvitedForBattleGroundInstance
IsInvitedForBattleGroundQueueType
IsInWater
IsInWorld
IsKnowHowFlyIn
IsMounted
isMoving
isMovingOrTurning
IsNeedCastPassiveSpellAtLearn
IsNeutralToAll
IsNonMeleeSpellCasted
isPassiveToHostile
IsPetNeedBeTemporaryUnsummoned
IsPolymorphed
IsPositionValid
IsPvP
isQuestGiver
isRessurectRequested
isRessurectRequestedBy
isRested
isServiceProvider
IsSitState
isSpellBlocked
isSpellCrit
IsSpellFitByClassAndRace
isSpiritGuide
isSpiritHealer
isSpiritService
IsStandState
IsStopped
isTabardDesigner
isTargetableForAttack
isTaxi
isTaxiCheater
isTotalImmune
isTrainer
IsTriggeredAtSpellProcEvent
IsTwoHandUsed
isType
IsUnderLastManaUseEffect
IsUnderWater
IsUseEquipedWeapon
IsValidPos
isVendor
isVisibleFor
isVisibleForInState
isVisibleForOrDetect
IsVisibleGloballyFor
IsVisibleInGridForPlayer
IsWithinDist
IsWithinDist2d
IsWithinDist3d
IsWithinDistInMap
IsWithinLOS
IsWithinLOSInMap
ItemAddedQuestCheck
ItemRemovedQuestCheck
JoinedChannel
KilledMonster
KilledMonsterCredit
KillPlayer
KnockBackFrom
learnDefaultSpells
LearnPetTalent
learnQuestRewardedSpells
learnSkillRewardedSpells
learnSpell
learnSpellHighRank
LearnTalent
LeaveAllArenaTeams
LeaveBattleground
LeaveLFGChannel
LeftChannel
LoadCorpse
LoadFromDB
LoadPet
LoadPositionFromDB
LoadValues
LoadValuesArrayFromDB
m_achievementMgr
m_actionButtons
m_activeSpec
m_addDmgOnce
m_ammoDPS
m_areaUpdateId
m_ArenaTeamIdInvited
m_armorPenetrationPct
m_ArmorProficiency
m_atLoginFlags
m_attackers
m_attacking
m_attackTimer
m_auraBaseMod
m_AuraFlags
m_auraModifiersGroup
m_Auras
m_AurasUpdateIterator
m_auraUpdateMask
m_baseFeralAP
m_baseManaRegen
m_baseManaRegen
m_baseRatingValue
m_baseSpellCritChance
m_baseSpellPower
m_bCanDelayTeleport
m_bgBattleGroundQueueID
m_bgData
m_bHasDelayedTeleport
m_boundInstances
m_canBlock
m_canDualWield
m_canModifyStats
m_canParry
m_canTitanGrip
m_castCounter
m_channels
m_charmInfo
m_cinematic
m_clientGUIDs
m_CombatTimer
m_ComboPointHolders
m_comboTarget
m_contestedPvPTimer
m_createStats
m_currentBuybackSlot
m_currentSpells
m_currMap
m_curSelection
m_DailyQuestChanged
m_deathExpireTime
m_deathState
m_deathTimer
m_declinedname
m_DelayedOperations
m_deletedAuras
m_detectInvisibilityMask
m_DetectInvTimer
m_Diminishing
m_divider
m_drunk
m_drunkTimer
m_dungeonDifficulty
m_dynObjGUIDs
m_enchantDuration
m_EquipmentSets
m_Events
m_extraAttacks
m_ExtraFlags
m_floatValues
m_FollowingRefManager
m_forced_speed_changes
m_form
m_gameObj
m_glyphs
m_gridRef
m_group
m_groupInvite
m_groupUpdateMask
m_guardianPets
m_GuildIdInvited
m_homebindAreaId
m_homebindMapId
m_HomebindTimer
m_homebindX
m_homebindY
m_homebindZ
m_HostileRefManager
m_ingametime
m_InstanceId
m_InstanceValid
m_int32Values
m_invisibilityMask
m_inWorld
m_isInWater
m_isSorted
m_itemDuration
m_items
m_itemUpdateQueue
m_itemUpdateQueueBlocked
m_Last_tick
m_lastDailyQuestTime
m_lastFallTime
m_lastFallZ
m_lastHonorUpdateTime
m_lastManaUseTimer
m_lastPotionId
m_lastPotionId
m_logintime
m_lookingForGroup
m_lootGuid
m_mail
m_mailsUpdated
m_mapId
m_mapRef
m_miniPet
m_MirrorTimer
m_MirrorTimerFlags
m_MirrorTimerFlagsLast
m_modAttackSpeedPct
m_modAuras
m_modMeleeHitChance
m_modRangedHitChance
m_modSpellHitChance
m_movementInfo
m_mover
m_name
m_nextMailDelivereTime
m_nextSave
m_ObjectSlot
m_objectType
m_objectTypeId
m_objectUpdated
m_oldpetspell
m_orientation
m_originalGroup
m_PackGUID
m_petAuras
m_phaseMask
m_Played_time
m_positionX
m_positionY
m_positionZ
m_questRewardTalentCount
m_raidDifficulty
m_reactiveTimer
m_recallMap
m_recallO
m_recallX
m_recallY
m_recallZ
m_regenTimer
m_reputationMgr
m_resetTalentsCost
m_resetTalentsTime
m_rest_bonus
m_restTime
m_resurrectGUID
m_resurrectHealth
m_resurrectMana
m_resurrectMap
m_resurrectX
m_resurrectY
m_resurrectZ
m_runes
m_scAuras
m_session
m_ShapeShiftFormSpellId
m_social
m_speakCount
m_speakTime
m_specsCount
m_speed_rate
m_spellCooldowns
m_spellImmune
m_SpellModRemoveCount
m_spellMods
m_spells
m_stableSlots
m_state
m_summon_expire
m_summon_mapid
m_summon_x
m_summon_y
m_summon_z
m_swingErrorMsg
m_talents
m_taxi
m_team
m_teleport_dest
m_teleport_options
m_temporaryUnsummonedPetNumber
m_ThreatManager
m_timedquests
m_TotemSlot
m_transform
m_transport
m_uint32Values
m_uint32Values_mirror
m_updateFlag
m_usedTalentCount
m_valuesCount
m_Visibility
m_visibleAuras
m_weaponChangeTimer
m_weaponDamage
m_WeaponProficiency
m_zoneUpdateId
m_zoneUpdateTimer
MagicSpellHitResult
MeleeDamageBonus
MeleeMissChanceCalc
MeleeSpellHitResult
MeleeSpellMissChance
mMitems
ModifyArenaPoints
ModifyAuraState
ModifyHealth
ModifyHonorPoints
ModifyMoney
ModifyPower
ModifySkillBonus
MoneyChanged
MonsterMove
MonsterMoveWithSpeed
MonsterSay
MonsterTextEmote
MonsterWhisper
MonsterYell
MonsterYellToZone
Mount
MoveItemFromInventory
MoveItemToInventory
MoveOutOfRange
mQuestStatus
mSemaphoreTeleport_Far
mSemaphoreTeleport_Near
mSkillStatus
NearTeleportTo
OCTRegenHPPerSpirit
OCTRegenMPPerSpirit
OnGossipSelect
operator =
outDebugValues
PetSpellInitialize
PlayDirectSound
PlayDistanceSound
PlayerTalkClass
PossessSpellInitialize
PrepareGossipMenu
PrepareQuestMenu
PrintIndexError
ProcDamageAndSpell
ProcDamageAndSpellFor
ProcessDelayedOperations
ProhibitSpellSchool
propagateSpeedChange
pTrader
pvpInfo
QuickEquipItem
Regenerate
RegenerateAll
RegenerateHealth
Relocate
RelocateToHomebind
removeActionButton
RemoveAllAttackers
RemoveAllAuras
RemoveAllAurasOnDeath
RemoveAllDynObjects
RemoveAllEnchantments
RemoveAllGameObjects
RemoveAllSpellCooldown
RemoveAmmo
RemoveArenaAuras
RemoveArenaSpellCooldowns
RemoveAtLoginFlag
RemoveAura
RemoveAurasAtMechanicImmunity
RemoveAurasByCasterSpell
RemoveAurasDueToItemSpell
RemoveAurasDueToSpell
RemoveAurasDueToSpellByCancel
RemoveAurasDueToSpellBySteal
RemoveAurasWithDispelType
RemoveAurasWithInterruptFlags
RemoveBattleGroundQueueId
RemoveByteFlag
RemoveComboPointHolder
RemovedInsignia
RemoveDynObject
RemoveDynObjectWithGUID
RemoveEnchantmentDurations
RemoveFlag
RemoveFlag64
removeFollower
RemoveFromBattleGroundRaid
RemoveFromClientUpdateList
RemoveFromGroup
RemoveFromWorld
RemoveGameObject
RemoveGuardian
RemoveGuardians
removeHatedBy
RemoveItem
RemoveItemDependentAurasAndCasts
RemoveItemDurations
RemoveItemFromBuyBackSlot
RemoveMail
RemoveMiniPet
RemoveMItem
RemoveNoStackAurasDueToAura
RemoveNotOwnSingleTargetAuras
RemovePet
RemovePetActionBar
RemovePetAura
RemovePetitionsAndSigns
RemoveQuestSlotState
RemoveRankAurasDueToSpell
RemoveSingleAuraByCasterSpell
RemoveSingleAuraDueToSpellByDispel
RemoveSingleAuraFromStack
RemoveSingleSpellAurasByCasterSpell
RemoveSingleSpellAurasFromStack
removeSpell
RemoveSpellbyDamageTaken
RemoveSpellCategoryCooldown
RemoveSpellCooldown
RemoveSpellMods
RemoveSpellsCausingAura
RemoveStandFlags
RemoveTimedQuest
RepopAtGraveyard
ReportedAfkBy
ReputationChanged
resetAttackTimer
ResetContestedPvP
ResetDailyQuestStatus
ResetInstances
ResetMap
resetSpells
resetTalents
resetTalentsCost
rest_type
ResummonPetTemporaryUnSummonedIfAny
ResurectUsingRequestData
ResurrectPlayer
ResyncRunes
RewardHonor
RewardPlayerAndGroupAtEvent
RewardPlayerAndGroupAtKill
RewardQuest
RewardRage
RewardReputation
RollMeleeOutcomeAgainst
SatisfyQuestDay
SatisfyQuestExclusiveGroup
SatisfyQuestLevel
SatisfyQuestLog
SatisfyQuestNextChain
SatisfyQuestPrevChain
SatisfyQuestPreviousQuest
SatisfyQuestRace
SatisfyQuestReputation
SatisfyQuestSkillOrClass
SatisfyQuestStatus
SatisfyQuestTimed
SaveGoldToDB
SaveInventoryAndGoldToDB
SavePositionInDB
SaveRecallPosition
SaveRespawnTime
SaveToDB
Say
ScheduleDelayedOperation
SelectHostileTarget
SelectMagnetTarget
SelectRandomFriendlyTarget
SelectRandomUnfriendlyTarget
SendAttackStateUpdate
SendAttackSwingBadFacingAttack
SendAttackSwingCancelAttack
SendAttackSwingCantAttack
SendAttackSwingDeadTarget
SendAttackSwingNotInRange
SendAurasForTarget
SendAutoRepeatCancel
SendBuyError
SendCanTakeQuestResponse
SendCinematicStart
SendClearCooldown
SendComboPoints
SendCooldownEvent
SendCorpseReclaimDelay
SendCreateUpdateToPlayer
SendDirectMessage
SendDuelCountdown
SendDungeonDifficulty
SendEnchantmentDurations
SendEnergizeSpellLog
SendEquipError
SendEquipmentSetList
SendExplorationExperience
SendGameObjectCustomAnim
SendHealSpellLog
SendHighestThreatUpdate
SendInitialActionButtons
SendInitialPacketsAfterAddToMap
SendInitialPacketsBeforeAddToMap
SendInitWorldStates
SendInstanceResetWarning
SendItemDurations
SendLogXPGain
SendLoot
SendLootRelease
SendMailResult
SendMeleeAttackStart
SendMeleeAttackStop
SendMessageToSet
SendMessageToSetInRange
SendMirrorTimer
SendMonsterMove
SendMonsterMoveByPath
SendMonsterMoveWithSpeed
SendMovieStart
SendNewItem
SendNewMail
SendNotifyLootItemRemoved
SendNotifyLootMoneyRemoved
SendObjectDeSpawnAnim
SendPeriodicAuraLog
SendPetActionFeedback
SendPetAIReaction
SendPetCastFail
SendPetGUIDs
SendPetSkillWipeConfirm
SendPetTalk
SendPetTameFailure
SendPreparedGossip
SendPreparedQuest
SendProficiency
SendPushToPartyResponse
SendQuestComplete
SendQuestConfirmAccept
SendQuestFailed
SendQuestReward
SendQuestTimerFailed
SendQuestUpdateAddCreatureOrGo
SendQuestUpdateAddItem
SendRaidDifficulty
SendRaidInfo
SendResetFailedNotify
SendResetInstanceFailed
SendResetInstanceSuccess
SendSavedInstances
SendSellError
SendSpellMiss
SendSpellNonMeleeDamageLog
SendTalentsInfoData
SendTalentWipeConfirm
SendThreatClear
SendThreatRemove
SendThreatUpdate
SendTransferAborted
SendUpdateToOutOfRangeGroupMembers
SetAcceptTicket
SetAcceptWhispers
SetActiveSpec
SetAmmo
SetArenaTeamIdInvited
SetArenaTeamInfoField
SetArmor
SetAtLoginFlag
SetAttackTime
setAttackTimer
SetAuraUpdateMask
SetBankBagSlotCount
SetBaseModValue
SetBaseRune
SetBaseWeaponDamage
SetBattleGroundEntryPoint
SetBattleGroundId
SetBattleGroundRaid
SetBGTeam
SetBindPoint
SetByteFlag
SetByteValue
SetCanBlock
SetCanDelayTeleport
SetCanDualWield
SetCanModifyStats
SetCanParry
SetCanTitanGrip
SetChannelObjectGUID
SetCharm
SetCharmerGUID
SetCharmGUID
setCinematic
SetClientControl
SetConfused
SetContestedPvP
SetContestedPvPTimer
SetCreateHealth
SetCreateMana
SetCreateStat
SetCreatorGUID
SetCreatorGUID
SetCurrentCastedSpell
SetCurrentRune
SetDailyQuestStatus
setDeathState
SetDelayedTeleportFlag
SetDisplayId
SetDivider
SetDrunkValue
SetDungeonDifficulty
SetEntry
SetEquipmentSet
SetFacingTo
SetFacingToObject
setFaction
setFactionForRace
SetFallInformation
SetFarSightGUID
SetFeared
SetFeignDeath
SetFFAPvP
SetFlag
SetFlag64
SetFloatValue
SetFloatValueInArray
SetFreePrimaryProfessions
SetFreeTalentPoints
SetGameMaster
SetGlyph
SetGlyphSlot
SetGMChat
SetGMVisible
SetGroup
SetGroupInvite
SetGroupUpdateFlag
SetGuildIdInvited
SetHealth
SetHealthPercent
SetHomebindToLocation
SetHover
SetInArenaTeam
SetInCombatState
SetInCombatWith
SetInFront
SetInGameTime
SetInGuild
SetInt16Value
SetInt32Value
SetInviteForBattleGroundQueueType
SetInWater
SetLastManaUse
SetLastPotionId
SetLevel
SetLocationInstanceId
SetLocationMapId
SetLootGUID
SetMap
SetMaxHealth
SetMaxPower
SetMiniPet
SetModifierValue
SetMoney
SetMovement
SetMover
SetNativeDisplayId
SetName
SetOrientation
SetOriginalGroup
SetPet
SetPetGUID
SetPhaseMask
SetPosition
SetPower
setPowerType
SetPvP
SetPvPDeath
SetQuestSlot
SetQuestSlotCounter
SetQuestSlotState
SetQuestSlotTimer
SetQuestStatus
SetRaidDifficulty
SetRank
setRegenTimer
SetRegularAttackTime
SetResistance
SetResistanceBuffMods
SetRestBonus
SetRestTime
SetRestType
setResurrectRequestData
SetRuneCooldown
SetSaveTimer
SetSelection
SetSemaphoreTeleportFar
SetSemaphoreTeleportNear
SetSession
SetSheath
SetSkill
SetSpecsCount
SetSpeedRate
SetStandFlags
SetStandState
SetStat
SetStatFloatValue
SetStatInt32Value
SetSummonPoint
SetTargetGUID
SetTaxiCheater
SetTemporaryUnsummonedPetNumber
SetTitle
setTransForm
SetTransport
SetUInt16Value
SetUInt32Value
SetUInt32ValueInArray
SetUInt64Value
SetVirtualItemSlot
SetVisibility
SetVisibleAura
SetVisibleItemSlot
setWeaponChangeTimer
SpawnCorpseBones
SpellBaseDamageBonus
SpellBaseDamageBonusForVictim
SpellBaseHealingBonus
SpellBaseHealingBonusForVictim
SpellCriticalDamageBonus
SpellCriticalHealingBonus
SpellDamageBonus
spelldamage
SpellHealingBonus
SpellHitResult
SpellNonMeleeDamageLog
SplitItem
StartReactiveTimer
StopAttackFaction
StopMirrorTimer
StopMirrorTimers
StopMoving
StoreItem
StoreNewItem
StoreNewItemInBestSlots
StoreNewItemInInventorySlot
SummonCreature
SummonIfPossible
SwapItem
SwapQuestSlot
TakeQuestSourceItem
TalkedToCreature
TauntApply
TauntFadeOut
TeamForRace
TeleportTo
TeleportToBGEntryPoint
TeleportToHomebind
TextEmote
time_inn_enter
ToggleAFK
ToggleDND
ToggleFlag
ToggleFlag64
ToggleMetaGemsActive
TradeCancel
tradeGold
tradeItems
UnbindInstance
Uncharm
UninviteFromGroup
Unmount
unReadMails
UnsummonAllTotems
UnsummonPetTemporaryIfAny
Update
UpdateAchievementCriteria
UpdateAfkReport
UpdateAllCritPercentages
UpdateAllRatings
UpdateAllSpellCritChances
UpdateAllStats
UpdateArea
UpdateAreaDependentAuras
UpdateArenaFields
UpdateArmor
UpdateArmorPenetration
UpdateAttackPowerAndDamage
UpdateAuraForGroup
UpdateBlockPercentage
UpdateCombatSkills
UpdateContestedPvP
UpdateCorpseReclaimDelay
UpdateCraftSkill
UpdateCritPercentage
UpdateDamagePhysical
UpdateDefense
UpdateDefenseBonusesMod
UpdateDodgePercentage
UpdateDuelFlag
UpdateEnchantTime
UpdateEquipSpellsAtFormChange
UpdateExpertise
UpdateFallInformationIfNeed
UpdateFishingSkill
UpdateForQuestWorldObjects
UpdateFreeTalentPoints
UpdateGatherSkill
UpdateGroundPositionZ
UpdateHomebindTime
UpdateHonorFields
UpdateInnerTime
UpdateItemDuration
UpdateKnownCurrencies
UpdateLocalChannels
UpdateManaRegen
UpdateMaxHealth
UpdateMaxPower
UpdateMeleeHitChances
UpdateMirrorTimers
UpdateNextMailTimeAndUnreads
UpdateObjectVisibility
UpdateParryPercentage
UpdatePotionCooldown
UpdatePvP
UpdatePvPFlag
UpdateRangedHitChances
UpdateRating
UpdateReactives
UpdateResistances
UpdateShieldBlockValue
UpdateSkill
UpdateSkillPro
UpdateSkillsForLevel
UpdateSkillsToMaxSkillsForLevel
UpdateSpeakTime
UpdateSpecCount
UpdateSpeed
UpdateSpellCritChance
UpdateSpellDamageAndHealingBonus
UpdateSpellHitChances
UpdateStats
UpdateUnderwaterState
UpdateVisibilityForPlayer
UpdateVisibilityOf
updateVisualBits
UpdateWalkMode
UpdateWeaponSkill
UpdateZone
UpdateZoneDependentAuras
VisualizeItem
Whisper
Yell
_addAttacker
_AddTotem
_ApplyAllAuraMods
_ApplyAllItemMods
_ApplyAllLevelScaleItemMods
_ApplyAllStatBonuses
_ApplyAmmoBonuses
_ApplyItemBonuses
_ApplyItemMods
_ApplyWeaponDependentAuraCritMod
_ApplyWeaponDependentAuraDamageMod
_ApplyWeaponDependentAuraMods
_CanStoreItem
_CanStoreItem_InBag
_CanStoreItem_InInventorySlots
_CanStoreItem_InSpecificSlot
_CanStoreItem_InSpecificSlot
_CanTakeMoreSimilarItems
_Create
_GetTotem
_InitValues
_IsWithinDist
_LoadActions
_LoadArenaTeamInfo
_LoadAuras
_LoadBGData
_LoadBoundInstances
_LoadDailyQuestStatus
_LoadDeclinedNames
_LoadEquipmentSets
_LoadFriendList
_LoadGlyphs
_LoadGroup
_LoadHomeBind
_LoadIntoDataField
_LoadInventory
_LoadMailedItems
_LoadMails
_LoadQuestStatus
_LoadSkills
_LoadSpellCooldowns
_LoadSpells
_LoadTalents
_RemoveAllAuraMods
_RemoveAllItemMods
_RemoveAllStatBonuses
_removeAttacker
_RemoveTotem
_SaveActions
_SaveAuras
_SaveBGData
_SaveDailyQuestStatus
_SaveEquipmentSets
_SaveGlyphs
_SaveInventory
_SaveMail
_SaveQuestStatus
_SaveSkills
_SaveSpellCooldowns
_SaveSpells
_SaveTalents
_SetCreateBits
_SetUpdateBits
_StoreItem
_UpdateAutoRepeatSpell
_UpdateSpells
~Player







Tips :
1-
i found it very helpful to change the project output to my mangosd.exe
directory , because everytime you compile a new script you will need to recopy from bin/win32_release to mangosd.exe directory .
Remember to make sure that mangosd.exe is closed when you recompile.


This Thread is going to be my main Scriptdev2 Explanation page , i will add everything related to scriptdev2 in posts.

Guides on how to script using scriptdev2 will be add in MaNGOS guides section as soon as i am finished writing them .

Xees
07-04-10, 09:20 PM
Reserved Post

Xees
07-04-10, 09:21 PM
Extra Reserved Post

StickyIcky
07-04-10, 09:27 PM
Very nice

+rep

Xees
07-04-10, 09:30 PM
thanks :)

might be a good idea to sticky this :) since people will be using it often

StickyIcky
07-04-10, 09:57 PM
Put all the functions in code tags plz...

Maybe you could sort them?

Like Players/Creatures/Gameobjects...
Or sort them somehow??

Just so this page isn't like ridiculously long...

I will sticky if you do that :)

Xees
07-04-10, 10:00 PM
my friend , almost all functions work for all types of player , creature , gameobject , item

it cannot be sorted because if its not correct to a type nothing will happen when the function is called .

about the code tags :) insteed of 1500 code tags i put it in 1 code tag

StickyIcky
07-04-10, 10:12 PM
Almost all ;)

Lol and that's what I wanted, is just you to add a code tag around the whole function list.

Stickied. and moved to C++

EDIT: Weird, I can't sticky it nor move it...

EDIT2: fixed :)

Apple
07-04-10, 10:28 PM
nice one :) +rEpz

Xees
08-04-10, 12:05 AM
Thanks :D

.SalMAX™
08-04-10, 12:18 AM
Nice Release, I might use this +rep

Xees
08-04-10, 01:14 PM
took me a long time to write it :D

Xees
08-04-10, 01:23 PM
very nice +rep

Lbniese
11-06-10, 05:31 AM
Nice +rep

*Alexz*
12-06-10, 06:37 PM
Nice really helpful +rep

Playboy
11-09-10, 08:46 AM
thanks mate... rly WISE