LuaBridge Compatibility

From ArcEmu-Wiki
Revision as of 03:45, 17 July 2011 by Hypersniper (Talk | contribs)
Jump to: navigation, search

This post will contain a list of all commands that were usable in LuaHypArc, and their status in LuaBridge. NOTE, this is NOT a LuaBridge command list. This is subject to change and updating since LCF and LuaBridge itself will be changing, so keep an eye on this document.

All commands will be listed along with the following legend:

Green: This command has not changed.
Orange: This command exists but may have a different name or way of use.
Red: This command is not in LuaBridge, and may or may not be implemented at a later date.

Contents

Global Functions

CharDBQuery
CharDBQueryTable
CreateLuaEvent
DestroyLuaEvent
GetArcemuRevision
GetDBCSpellVar (from LCF)
GetGameTime
GetGuildByLeaderGuid
GetGuildByName
GetInstanceCreature
GetInstancePlayerCount
GetLUAEngine (from LCF)
GetLuaEngine (from LCF)
GetLuaEngineVersion (from LCF)
GetPlatform
GetPlayer
GetPlayersInInstance
GetPlayersInMap
GetPlayersInWorld
GetPlayersInZone
GetTaxiPath
HasTimedEvent
HasTimedEventInTable
HasTimedEventWithName
HasTimedEvents
logcol (from LCF)
ModifyLuaEventInterval
NumberToGUID
PerformIngameSpawn (from LCF)
RegisterDummySpell
RegisterGOGossipEvent
RegisterGameObjectEvent
RegisterInstanceEvent
RegisterItemGossipEvent
RegisterQuestEvent
RegisterServerHook
RegisterTimedEvent
RegisterUnitEvent
RegisterUnitGossipEvent
Rehash
ReloadLuaEngine (works in LuaBridge!)
ReloadTable
RemoveTimedEvent
RemoveTimedEvents
RemoveTimedEventsInTable
RemoveTimedEventsWithName
SendMail (from LCF)
SendPacketToChannel
SendPacketToInstance
SendPacketToWorld
SendPacketToZone
SendWorldMessage
SetDBCSpellVar (from LCF)
SuspendThread
WorldDBQuery
WorldDBQueryTable
bit_and
bit_not
bit_or
bit_shiftleft
bit_shiftright
bit_xor


Item Functions

AddEnchantment
AddLoot
Create
GetBuyPrice (from LCF)
GetByteValue (from LCF)
GetContainerItemCount (from LCF)
GetDurability
GetEntryId (from LCF)
GetEquippedSlot (from LCF)
GetFloatValue
GetGUID
GetItemLevel (from LCF)
GetItemLink (from LCF)
GetMaxDurability (from LCF)
GetName (from LCF)
GetObjectType (from LCF)
GetOwner
GetRequiredLevel (from LCF)
GetSellPrice (from LCF)
GetSpellId (from LCF)
GetSpellTrigger (from LCF)
GetUInt32Value
GetUInt64Value
GossipComplete (Gossip is done completely differently)
GossipCreateMenu
GossipMenuAddItem
GossipSendMenu
GossipSendPOI
HasEnchantment
HasFlag
IsAccountbound
IsContainer
IsSoulbound
ModFloatValue
ModUInt32Value
ModifyEnchantmentTime
Remove (from LCF)
RemoveEnchantment
RemoveFlag (from LCF)
RepairItem (from LCF)
SetByteValue (from LCF)
SetFlag
SetFloatValue
SetStackCount
SetUInt32Value
SetUInt64Value


GameObject Functions

Activate (from LCF)
AddLoot
AddToPhase (from LCF)
CalcRadAngle (from LCF)
CastSpell
CastSpellOnTarget
ChangeScale (from LCF)
CreateLuaEvent (from LCF)
CustomAnimate (from LCF)
DeletePhase (from LCF)
Despawn
FullCastSpell
FullCastSpellOnTarget
GetAreaId (from LCF)
GetByte
GetByteValue (from LCF)
GetClosestPlayer
GetClosestUnit
GetCreatureNearestCoords (from LCF)
GetDistance
GetDistanceYards (from LCF)
GetDungeonDifficulty
GetEntry
GetFloatValue
GetGUID
GetGameObjectNearestCoords (from LCF)
GetInRangeObjects -> GetInRangeGameObjects (from LCF)
GetInRangePlayers (from LCF)
GetInRangePlayersCount (from LCF)
GetInRangeUnits (from LCF)
GetInstanceID (from LCF)
GetInstanceOwner
GetLandHeight
GetLocation (from LCF)
GetMapId (from LCF)
GetName (from LCF)
GetO
GetObject (from LCF)
GetObjectType (from LCF)
GetPhase
GetScale
GetSpawnId
GetSpawnLocation (from LCF)
GetSpawnO
GetSpawnX
GetSpawnY
GetSpawnZ
GetUInt32Value
GetUInt64Value
GetX (from LCF)
GetY (from LCF)
GetZ (from LCF)
GetZoneId (from LCF)
GossipComplete (Gossip is done completely differently)
GossipCreateMenu
GossipMenuAddItem
GossipObjectComplete
GossipObjectCreateMenu
GossipObjectMenuAddItem
GossipObjectSendMenu
GossipObjectSendPOI
GossipSendMenu
GossipSendPOI
HasFlag
IsActive (from LCF)
IsInBack (from LCF)
IsInFront
IsInPhase (from LCF)
IsInWorld
ModUInt32Value
ModifyAIUpdateEvent (from LCF)
PhaseAdd (from LCF)
PhaseDelete (from LCF)
PhaseSet (from LCF)
PlaySoundToSet (from LCF)
RegisterAIUpdateEvent (from LCF)
RemoveAIUpdateEvent (from LCF)
RemoveEvents
RemoveFlag (from LCF)
RemoveFromWorld
SendPacket -> SendPacketToSet
SetByte
SetByteValue (from LCF)
SetDungeonDifficulty
SetFlag
SetFloatValue
SetOrientation
SetPhase (from LCF)
SetPosition
SetScale
SetUInt32Value
SetUInt64Value
SetZoneWeather (from LCF)
SpawnCreature (from LCF)
SpawnGameObject (from LCF)
Update (from LCF)


Unit Functions

AddAchievement
AddArenaPoints (from LCF)
AddAssistTarget (from LCF)
AddAura -> AddAuraByID (from LCF)
AddAuraObject (from LCF)
AddGroupMember (from LCF)
AddGuildMember (from LCF)
AddItem (from LCF)
AddLifetimeKills (from LCF)
AddLoot
AddSkill (from LCF)
AddToPhase (from LCF)
AdvanceAllSkills
AdvanceQuestObjective (from LCF)
AdvanceSkill
AggroWithInRangeFriends (from LCF)
Attack (from LCF)
AttackReaction (from LCF)
BanFromChannel
CalcAngle (from LCF)
CalcRadAngle (from LCF)
CalcToDistance (from LCF)
CallForHelpHp (from LCF)
CanAttack
CanCallForHelp (from LCF)
CanUseCommand (from LCF)
CancelSpell
CastSpell (from LCF)
CastSpellAoE (from LCF)
CastSpellAoF (from LCF)
CastSpellOnTarget (from LCF)
ChangeGuildMaster (from LCF)
ChangeTarget (from LCF)
ChannelSpell -> QuickChannel (from LCF)
ClearAllCooldowns (from LCF)
ClearCooldownForSpell
ClearThreatList (from LCF)
CreateCustomWaypoint (from LCF)
CreateCustomWaypointMap
CreateGuardian (from LCF)
CreateLuaEvent
CreateWaypoint (from LCF)
CreatureHasQuest (from LCF)
DeMorph (from LCF)
DealDamage
DealGoldCost (from LCF)
DealGoldMerit (from LCF)
DeletePhase (from LCF)
DeleteWaypoint (from LCF)
DeleteWaypoints (from LCF)
DemoteGuildMember (from LCF)
Despawn
DestroyCustomWaypointMap
DisableCombat (from LCF)
DisableMelee (from LCF)
DisableRanged (from LCF)
DisableRespawn (from LCF)
DisableSpells (from LCF)
DisableTargeting (from LCF)
DisbandGuild (from LCF)
DismissPet
Dismount
Emote
EnableFlight
EnableFlyCheat
EnableMoveFly
Energize
EquipWeapons (from LCF)
EventCastSpell -> Creature only (from LCF)
ExpandToRaid (from LCF)
FinishQuest
FlagFFA (from LCF)
FlagPvP (from LCF)
FullCastSpell (from LCF)
FullCastSpellAoE (from LCF)
FullCastSpellAoF (from LCF)
FullCastSpellOnTarget (from LCF)
GetAIState (from LCF)
GetAITargets
GetAITargetsCount (from LCF)
GetAccountName (from LCF)
GetAddTank (from LCF)
GetAreaId
GetArenaPoints (from LCF)
GetAura
GetAuraObject
GetAuraObjectById
GetAuraStackCount
GetByteValue (from LCF)
GetChannelMemberCount
GetChannelPassword
GetClosestEnemy (from LCF)
GetClosestFriend (from LCF)
GetClosestPlayer (from LCF)
GetClosestUnit (from LCF)
GetCoinage (from LCF)
GetCreatureNearestCoords (from LCF)
GetCurrentSkill (from LCF)
GetCurrentSpell
GetCurrentSpellId (from LCF)
GetCurrentWaypoint (from LCF)
GetDisplay (from LCF)
GetDistance
GetDistanceYards (from LCF)
GetDuelState
GetDungeonDifficulty
GetEntry
GetEquippedItemBySlot (from LCF)
GetFaction
GetFactionStanding
GetFloatValue
GetGUID
GetGameObjectNearestCoords (from LCF)
GetGender (from LCF)
GetGmRank (from LCF)
GetGroupLeader (from LCF)
GetGroupPlayers
GetGroupType (from LCF)
GetGuildId (from LCF)
GetGuildLeader (from LCF)
GetGuildMemberCount (from LCF)
GetGuildMembers
GetGuildMotd (from LCF)
GetGuildName (from LCF)
GetGuildRank
GetHealth
GetHealthPct
GetHonorToday
GetHonorYesterday
GetInRangeEnemies (from LCF)
GetInRangeFriends (from LCF)
GetInRangeObjects -> GetInRangeGameObjects (from LCF)
GetInRangeObjectsCount -> GetInRangeGameObjectsCount() (from LCF)
GetInRangePlayers (from LCF)
GetInRangePlayersCount (from LCF)
GetInRangeUnits (from LCF)
GetInstanceID (from LCF)
GetInstanceOwner
GetInventoryItem (from LCF)
GetInventoryItemById (from LCF)
GetItemCount (from LCF)
GetLandHeight
GetLevel
GetLocation (from LCF)
GetMainTank (from LCF)
GetMana (from LCF)
GetManaPct
GetMapId (from LCF)
GetMaxHealth
GetMaxMana (from LCF)
GetMaxPower
GetMaxSkill (from LCF)
GetMoveType (from LCF)
GetName (from LCF)
GetNativeDisplay (from LCF)
GetNativeFaction
GetNextTarget (from LCF)
GetNumWaypoints
GetO
GetObject (from LCF)
GetObjectType
GetPetOwner
GetPhase
GetPlayerClass (from LCF)
GetPlayerLevel (from LCF)
GetPlayerMovementFlags (from LCF)
GetPlayerMovementVector
GetPlayerRace (from LCF)
GetPower (from LCF)
GetPowerPct (from LCF)
GetPowerType
GetPrimaryCombatTarget
GetQuestLogSlot
GetQuestObjectiveCompletion
GetRandomEnemy (works for Creatures only)
GetRandomFriend (works for Creatures only)
GetRandomPlayer (works for Creatures only)
GetSecondHated (from LCF)
GetSelectedGO
GetSelection -> GetUnitSelection
GetSoulLinkedWith (from LCF)
GetSpawnId (from LCF)
GetSpawnLocation (from LCF)
GetSpawnO
GetSpawnX
GetSpawnY
GetSpawnZ
GetStanding
GetStealthLevel
GetTalentPoints
GetTarget
GetTauntedBy (from LCF)
GetTaxi (from LCF)
GetTeam
GetThreat (from LCF)
GetTotalHonor (from LCF)
GetUInt32Value
GetUInt64Value
GetUnitByGUID (from LCF)
GetUnitBySqlId (from LCF)
GetUnitToFollow (from LCF)
GetWayPointsCount
GetX
GetY
GetZ
GetZoneId (from LCF)
GiveHonor (Kind of)
GiveXp
GossipComplete (Gossip is done completely differently)
GossipCreateMenu
GossipMenuAddItem
GossipMiscAction
GossipSendMenu
GossipSendPOI
GuildBankDepositMoney (from LCF)
GuildBankWithdrawMoney (from LCF)
HandleEvent
HasAchievement
HasAura
HasAuraWithMechanic
HasFinishedQuest
HasFlag
HasInRangeObjects
HasItem (from LCF)
HasNegativeAura
HasPositiveAura
HasQuest
HasSkill (from LCF)
HasSpell
HasTitle
Heal
InterruptSpell
IsAlive (from LCF)
IsAttackable
IsCreature
IsCreatureMoving
IsDazed
IsDead
IsFFAFlagged (from LCF)
IsFFAPvPFlagged
IsFeared
IsFlying (from LCF)
IsFriendly
IsGm (from LCF)
IsGroupFull
IsGroupedWith (from LCF)
IsHostile
IsInArc
IsInBack (from LCF)
IsInChannel
IsInCombat (from LCF)
IsInDungeon (from LCF)
IsInFront
IsInGroup
IsInGuild
IsInPhase (from LCF)
IsInRaid (from LCF)
IsInWater
IsInWorld
IsMounted
IsOnTaxi (from LCF)
IsPacified
IsPet
IsPlayer
IsPlayerAttacking (from LCF)
IsPlayerMoving
IsPoisoned
IsPvPFlagged (from LCF)
IsRooted
IsStealthed
IsStunned
JoinChannel
KickFromChannel
KickPlayer (from LCF)
Kill
Land
LearnSpell (from LCF)
LearnSpells
LeaveChannel
LifeTimeKills (from LCF)
MarkQuestObjectiveAsComplete
ModFloatValue
ModThreat (from LCF)
ModUInt32Value (from LCF)
ModifyAIUpdateEvent
ModifyFlySpeed (from LCF)
ModifyRunSpeed (from LCF)
ModifyWalkSpeed (from LCF)
MovePlayerTo (No easy way to do this yet)
MoveRandomArea
MoveTo (from LCF)
MoveToWaypoint (from LCF)
PhaseAdd (from LCF)
PhaseDelete (from LCF)
PhaseSet (from LCF)
PlaySoundToPlayer (from LCF)
PlaySoundToSet (from LCF)
PlaySpellVisual
PlayerSendChatMessage (from LCF)
Possess
PromoteGuildMember (from LCF)
QuestAddFinisher
QuestAddStarter
RegisterAIUpdateEvent (from LCF)
RegisterEvent
RemoveAIUpdateEvent (from LCF)
RemoveAchievement
RemoveAllAuras
RemoveArenaPoints (from LCF)
RemoveAura
RemoveAurasByMechanic
RemoveAurasType
RemoveEvents
RemoveFlag (from LCF)
RemoveFromWorld
RemoveGuildMember
RemoveItem (from LCF)
RemoveNegativeAuras
RemovePvPFlag (from LCF)
RemoveSkill (from LCF)
RemoveStealth
RemoveThreat (from LCF)
RepairAllPlayerItems
Repop
ResetAllTalents (from LCF)
ResetPetTalents
ResetTalents
ResurrectPlayer
ReturnToSpawnPoint (from LCF)
Root
SavePlayer (from LCF)
SaveToInstance
SendAreaTriggerMessage (from LCF)
SendAuctionWindow
SendBankWindow
SendBattlegroundWindow
SendBroadcastMessage (from LCF)
SendChatMessage
SendChatMessageAlternateEntry
SendChatMessageToPlayer
SendGuildChatMessage (from LCF)
SendGuildInvite (from LCF)
SendGuildLog (from LCF)
SendInnkeeperWindow
SendLootWindow
SendPacket -> SendMessageToSet
SendPacketToGroup (from LCF)
SendPacketToGuild (from LCF)
SendPacketToPlayer (from LCF)
SendTrainerWindow
SendVendorWindow
SetAIState (from LCF)
SetAttackTimer (from LCF)
SetBindPoint
SetByteValue
SetChannelName
SetChannelPassword
SetCombatCapable (from LCF)
SetCombatMeleeCapable (from LCF)
SetCombatRangedCapable (from LCF)
SetCombatSpellCapable (from LCF)
SetCombatTargetingCapable (from LCF)
SetCreatureNameById
SetDeathState
SetDungeonDifficulty
SetFacing
SetFaction
SetFlag
SetFloatValue
SetFlying
SetGender (from LCF)
SetGroupLeader (from LCF)
SetGuildInformation (from LCF)
SetGuildMotd (from LCF)
SetGuildRank
SetHealth
SetHealthPct
SetInFront
SetInvincible
SetInvisible
SetKnownTitle -> QuickSetKnownTitle(titleid)
SetLevel (from LCF)
SetMana (from LCF)
SetMaxHealth
SetMaxMana (from LCF)
SetMaxPower
SetModel (from LCF)
SetMount
SetMoveRunFlag (from LCF)
SetMovementFlags (No simple method to do this yet)
SetMovementType (from LCF)
SetNPCFlags (from LCF)
SetNextTarget (from LCF)
SetOfficerNote (from LCF)
SetOrientation
SetOutOfCombatRange (from LCF)
SetPacified
SetPetOwner (from LCF)
SetPhase (from LCF)
SetPlayerAtWar (from LCF)
SetPlayerLevel (from LCF)
SetPlayerLock (from LCF)
SetPlayerSpeed
SetPlayerWeather (from LCF)
SetPosition (No simple method to do this yet)
SetPower (from LCF)
SetPowerPct (from LCF)
SetPowerType
SetPublicNote
SetRotation
SetScale
SetSelectedGO
SetSoulLinkedWith (from LCF)
SetStandState
SetStanding
SetStealthLevel
SetTalentPoints
SetTauntedBy (from LCF)
SetUInt32Value
SetUInt64Value
SetUnitToFollow (from LCF)
SetZoneWeather (from LCF)
SoftDisconnect
SpawnCreature (from LCF)
SpawnGameObject (from LCF)
SpellNonMeleeDamageLog
StartQuest
StartTaxi -> QuickStartTaxi
StopChannel (from LCF)
StopMovement (from LCF)
StopPlayerAttack
Strike
TakeHonor
Teleport
TeleportCreature
UnbanFromChannel
UnlearnSpell (from LCF)
Unpossess
Unroot
UnsetKnownTitle (from LCF)
UseAI
VendorAddItem
VendorRemoveAllItems
VendorRemoveItem
WipeCurrentTarget (from LCF)
WipeTargetList
WipeThreatList (from LCF)


Spell Functions

CanCast
Cancel (from LCF)
Cast (from LCF)
Finish (from LCF)
GetCastedItemId
GetCaster (from LCF)
GetEntry (from LCF)
GetObjectType (from LCF)
GetPossibleEnemy
GetPossibleFriend
GetSpellState (from LCF)
GetSpellType (from LCF)
GetTarget
GetVar (from LCF)
HasPower
IsAspect (from LCF)
IsDuelSpell (from LCF)
IsInvisibilitySpell (from LCF)
IsSeal (from LCF)
IsStealthSpell (from LCF)
ResetAllVars
ResetVar
SetVar (from LCF)


LuaAura Functions

GetAuraSlot
GetCaster
GetDuration
GetObjectType (from LCF)
GetSpellId (from LCF)
GetTarget
GetTimeLeft
GetVar (from LCF)
Remove
SetAuraSlot
SetDuration
SetNegative
SetPositive
SetVar (from LCF)


LuaTaxi Functions

AddPathNode (from LCF)
CreateTaxi -> TaxiPath()
GetId (from LCF)
GetNodeCount
GetObjectType


LuaPacket Functions

CreatePacket -> LuaPacket(opcode, size)
GetObjectType
GetOpcode (from LCF)
GetSize (from LCF)
ReadByte
ReadDouble
ReadFloat
ReadGUID
ReadLong
ReadShort
ReadString
ReadUByte
ReadULong
ReadUShort
ReadWoWGuid
WriteByte
WriteDouble
WriteFloat
WriteGUID -> WriteUnitGuid (from LCF)
WriteLong
WriteShort
WriteString
WriteUByte
WriteULong
WriteUShort
WriteWoWGuid -> WriteUnitWoWGuid


SQL_QResult Functions

GetColumn
GetColumnCount (from LCF)
GetRowCount
NextRow


SQL_Field Functions

GetBool
GetByte
GetFloat
GetGUID
GetLong
GetShort
GetString
GetUByte
GetULong
GetUShort

Personal tools