[LUA] Function Library menu

User Tag List

Results 1 to 6 of 6
  1. #1
    Ground Zero's Avatar ★ Elder ★
    Reputation
    1132
    Join Date
    Aug 2008
    Posts
    3,504
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [LUA] Function Library

    Reading through GPs' C++ Function Library post, I looked around to see if there was a LUA one, I couldn't find one so Im posting one.

    LUA Hyp Arc Functions Library.



    Code:
    :Global
    PerformIngameSpawn(type,entry,map,x,y,z,o,facOrScale,dur [,eq1,eq2,eq3,instanceId]) *- Fixed to work correctly all round.
    
    GetPlayer(name)                                                   *- Fixed possible world crash.
    GetLuaEngine()                                                    +- Returns what engine the server is using. Should be LuaHypArc.
    GetLuaEngineVersion()                                             +- Returns what version LuaHypArc on the server is.
    GetGameTime()                              +- Returns server time in seconds.
    ReloadTable(tablename)                          +- Reloads table tablename.
    Rehash()                              +- Rehashes server config files.
    ReloadLuaEngine()                           +- Reloads the Lua engine & scripts.
    RegisterServerHook(event, functionName)                  +- Registers a server hook event. Further documentation included.
    logcol(colourVal)                          +- Sets the colour of the next print() message:
      FOREGROUND_BLUE      = 1 // text color contains blue.
      FOREGROUND_GREEN     = 2 // text color contains green.
      FOREGROUND_RED       = 4 // text color contains red.
      FOREGROUND_INTENSITY = 8 // text color is intensified (brightened).
      //these can be added together, for example 1+8 = bright blue.
    GetPlayersInWorld()                                  +- Returns a table containing all the players in the world.
    GetPlayersInMap(mapId)                                  +- Returns a table containing all the players in map mapId.
    GetPlayersInZone(zoneId)                             +- Returns a table containing all the players in zone zoneId.
    RegisterTimedEvent(funcName, delay, repeats)                      +- Registers a world timed event, similar to RegisterEvent.
    GetArcemuRevision()                                  +- Returns the server's ArcEmu revision number.
    SendPvPCaptureMessage(zoneId, message)                          +- Sends a PvP-capture style message to zoneId.
    WorldDBQueryTable(query)                              +- Performs a query. Results are returned as a table in the form t[col][row].
    CharDBQueryTable(query)                                   +- Same as above, but for the Char DB.
    WorldDBQuery(query [,colnum, rownum])                        +- Performs a query. rownum and colnum are optional, should only be used to 
    CharDBQuery(query [,colnum, rownum])                           specify what col/row to get returned values from (SELECT statements)
    
    SendMail(type,senderRawGuid,receivrRawGuid,subject,body,money,codAmt,itemRawGuid,stationeryId)   +- Sends a mail message with specified parameters.
       type can be:
        NORMAL  = 0
        COD     = 1
        AUCTION = 2
       stationery:
        MAIL_STATIONERY_TEST1        = 1,
        MAIL_STATIONERY_TEST2        = 41,
        MAIL_STATIONERY_GM            = 61,
        MAIL_STATIONERY_AUCTION        = 62,
        MAIL_STATIONERY_VALENTINES        = 64,
        MAIL_STATIONERY_XMAS        = 65
    
    
    :Items
    Item:GetEntryId()                          *- Now fixed and working correctly.
    Item:GetName()                             +- Returns Item's name.
    Item:GetSpellId(index)                    +- Returns Item's index'th spell Id. 0 means the first spell on the item.
    Item:GetSpellTrigger(index)                +- Returns Item's index'th spell's trigger type. 0 means the first spell on the item.
       USE = 0
       ON_EQUIP = 1
       CHANCE_ON_HIT = 2
       SOULSTONE = 4
       LEARNING = 6
    Item:GetGUID()                           +- Gets Item's GUID. Dodgy.
    Item:GetRawGUID()                       +- Gets Item's RawGUID. Not dodgy.
    Item:AddLoot(itemid,mincount,maxcount,ffa_loot) +- Adds loot with described parameters to Item. Good to use with SendLootWindow.
    Item:GetItemLink()                +- Returns a string containing Item's item link.
    Item:SetByteValue(index,index1,value)        +- Modifies the specified byte value of Item.
    Item:GetByteValue(index,index1)            +- Gets the specified byte value of Item.
    Item:GetItemLevel()                +- Returns the item level.
    Item:GetRequiredLevel()                +- Returns the required level.
    Item:GetBuyPrice()                +- Returns the buy price.
    Item:GetSellPrice()                +- Returns the sell price.
    Item:RepairItem()                +- Repairs Item.
    Item:GetMaxDurability()                +- Returns Item's max durability.
    Item:GetDurability()                +- Returns Item's current durability.
    Item:HasEnchantment()                +- Returns true if Item has an enchantment.
    Item:ModifyEnchantmentTime(slot,duration)    +- Modifies Item's enchantment in slot to duration.
    Item:SetStackCount(count)            +- Sets the number of stacked Items to count.
    
    :GameObjects
    THE FOLLOWING UNIT FUNCTIONS HAVE BEEN PORTED FOR GAMEOBJECT USE:
    GetLandHeight
    SetZoneWeather
    GetDistanceYards
    PhaseSet
    PhaseAdd
    PhaseDelete
    GetPhase
    CastSpellOnTarget
    InitPacket
    AddDataToPacket
    SendPacketToSet
    SendPacketToZone
    SendPacketToInstance
    SendPacketToWorld
    GetRawGUID
    AddLoot
    GetInstanceOwner
    GetDungeonDifficulty
    SetDungeonDifficulty
    SetByteValue
    GetByteValue
    GetSpawnId
    PLEASE SEE THEIR USAGE IN ":Units" SECTION.
    Gobj:Update()                    +- Despawns and respawns Gobj.
    
    :Units
    PACKETS - PLEASE SEE ABOVE FOR FURTHER INFORMATION.
       Unit:InitPacket(buffer_index,packet_type)            *- Please see above for full changes.
       Unit:AddDataToPacket(buffer_index,data_type,data)    *- Please see above for full changes.
       Unit:AddGuidDataToPacket(buffer_index,data_type)     *- Please see above for full changes.
       Unit:SendPacketToSet(buffer_index)                   *- Please see above for full changes.
       Plyr:SendPacketToGroup(buffer_index)            +- Sends the packet stored in buffer_index to Plyr's group. Please see above for full info.
       Plyr:SendPacketToGuild(buffer_index)            +- Sends the packet stored in buffer_index to Plyr's guild. Please see above for full info.
       Plyr:SendPacketToPlayer(buffer_index)                +- Sends the packet stored in buffer_index to Plyr. Please see above for full info.
       Unit:SendPacketToZone(buffer_index,zone_id)          +- Sends the packet stored in buffer_index to Zone zone_id. Please see above for full info.
       Unit:SendPacketToInstance(buffer_index,instance_id)  +- Sends the packet stored in buffer_index to Instance instance_id. Please see above for full info.
       Unit:SendPacketToWorld(buffer_index)                 +- Sends the packet stored in buffer_index to the world. Please see above for full info.
    PHASES - PLEASE SEE ABOVE FOR FURTHER INFORMATION.
       Unit:PhaseSet(newphase [,save])             +- Sets the phase of Unit to newphase. save is optional, if 1 and Unit is not a player, it will save to DB.
       Unit:PhaseAdd(newphase [,save])             +- Unit becomes a member of newphase. save is as above.
       Unit:PhaseDelete(phase [,save])             +- Removes phase from Unit. save is as above.
       +-Also mapped to SetPhase, AddToPhase and DeletePhase respectively.
       Unit:GetPhase()                             +- Returns Unit's current phase.
    Plyr:PlaySoundToPlayer(sound_id)                +- Plays sound_id to Plyr only.
    Plyr:GetDuelState()                             +- Returns the player's duel state:
       DUEL_STATE_REQUESTED = 0
       DUEL_STATE_STARTED = 1
       DUEL_STATE_FINISHED = 2 (Default)
    Unit:SetPosition(x,y,z [,o])                    +- Instantly relocates the Unit to the specified x,y,z, optional orientation.
    Unit:CastSpellOnTarget(spell_id,target)         *- Now working as intended, at long last. Just like CastSpell, with a target.
    Unit:GetLandHeight(x,y)                         +- Get the Z of the land at (x,y). Requires V-Maps to work correctly. Experimental.
    Unit:QuestAddStarter(quest_id)                  +- Makes Unit a quest starter for quest_id.
    Unit:QuestAddFinisher(quest_id)                 +- Makes Unit a quest finisher for quest_id.
    Plyr:SetPlayerSpeed(speed)                      +- Sets the speed of Plyr (0-255).
    Plyr:GiveHonor(amount)                          +- Adds amount of honour to Plyr.
    Plyr:SetBindPoint(x,y,z,map_id,zone_id)         +- Sets Plyr's Hearthstone to x,y,z in zone_id, map_id.
    Plyr:SoftDisconnect()                           +- Logs out Plyr.
    Unit:SetZoneWeather(zone_id,type,density)       +- Sets the weather of zone_id to type, and density (0.3-2.0).
       WEATHER_TYPE_NORMAL            = 0, // NORMAL (SUNNY)
       WEATHER_TYPE_FOG               = 1, // FOG
       WEATHER_TYPE_RAIN              = 2, // RAIN
       WEATHER_TYPE_HEAVY_RAIN        = 4, // HEAVY_RAIN
       WEATHER_TYPE_SNOW              = 8, // SNOW
       WEATHER_TYPE_SANDSTORM         = 16 // SANDSTORM
    Plyr:SetPlayerWeather(type,density)             +- Sets the weather for Plyr ONLY. See above for other arguments.
    Plyr:PlayerSendChatMessage(type,lang,msg)       +- Forces Plyr to send a chat message. See existing SendChatMessage function for other arguments.
    Unit:GetDistanceYards(target)                   +- Gets the distance between Unit and target in yards.
    Unit:VendorAddItem(item_id,amount,extcost)      +- Adds amount items with entry item_id and extended cost extcost to Unit.
    Unit:VendorRemoveItem(item_guid)                +- Removes the item item_guid from the vendor. Note this is NOT entry id. Recommend function below.
    Unit:VendorRemoveAllItems()                     +- Removes all the items from the vendor Unit.
    Unit:CreatureHasQuest(quest_id)                 +- Returns true if Unit has quest quest_id.
    Plyr:SendBattlegroundWindow(bg_id)              +- Sends a battleground window for bg_id to Plyr.
       BATTLEGROUND_ALTERAC_VALLEY        = 1,
       BATTLEGROUND_WARSONG_GULCH        = 2,
       BATTLEGROUND_ARATHI_BASIN        = 3,
       BATTLEGROUND_ARENA_2V2        = 4,
       BATTLEGROUND_ARENA_3V3        = 5,
       BATTLEGROUND_ARENA_5V5        = 6,
       BATTLEGROUND_EYE_OF_THE_STORM    = 7,
       BATTLEGROUND_STRAND_OF_THE_ANCIENT    = 9,
       BATTLEGROUND_ISLE_OF_CONQUEST    = 30
    Plyr:SendVendorWindow(unit)                     +- Sends Plyr unit's vendor window. Note that this isn't an entry id.
    Plyr:SendTrainerWindow(unit)                    +- Same as above, except with a Trainer window.
    Plyr:SendInnkeeperWindow(unit)                  +- Same as above, except with an innkeeper bind.
    Plyr:SendBankWindow(unit)                       +- Same as above, except with a bank window.
    Plyr:SendAuctionWindow(unit)                    +- Same as above, except with an auction house window.
    Plyr:GetInventoryItem(bag_slot,slot)            +- Returns the item object in Plyr's bag bag_slot and slot number slot.
    Plyr:GetInventoryItemById(item_id)              +- Returns the item object in Plyr's inventory with entry item_id.
    Plyr:GetPrimaryCombatTarget()            +- Returns Plyr's combat target. Should use instead of old GetTarget.
    Unit:MoveRandomArea(x1,y1,z1,x2,y2,z2,o2)    +- Moves Unit to a random point in the area.
    Plyr:SendLootWindow(raw_GUID, loot_type)    +- Sends Plyr the loot window of the object identified by raw_GUID.
       Loot type MUST be
        1-creature, regular
        2-creature, skinning
        3-creature, pickpocketing
        4-go, regular (includes fishing schools)
        5-go, herbalism/mining
        6-item, regular/milling/prospecting
        7-item, disenchanting
    Unit:GetRawGUID()                +- Gets the RawGUID of Unit.
    Unit:AddLoot(itemid,mincount,maxcount,ffa_loot) +- Adds a loot item with the described parameters to Unit. Good to use for SendLootWindow or dynamic loot.
    Unit:SetPacified(true)                +- Set true to 1 to pacify the Unit. 0 to un-pacify. Good for players.
    Unit:GetUnitByRawGUID(raw_GUID)            +- Just like its GUID counterpart but uses raw_GUID.
    Unit:PlaySpellVisualByRawGUID(raw_GUID,spellid) +- Plays the visual of spellid through the unit identified by raw_GUID. Experimental.
    VEHICLE FUNCTIONS - EXPERIMENTAL - WHEN ARCEMU PERFECT VEHICLE SYSTEM THESE FUNCTIONS WILL BE FIXED TOO
        Unit:SpawnVehicle(entry,x,y,z,o,faction,duration [,phase]) +- Spawns a creature as a vehicle with described parameters. Returns the vehicle spawned.
        Plyr:SetVehicle(vehicle, seat)        +- Sets Plyr's vehicle, and their seat position - a number. Set to -1 for auto-choose.
        Plyr:GetVehicle()                +- Returns the Unit for Plyr's current vehicle.
        Plyr:RemoveFromVehicle()            +- Removes Plyr from their vehicle.
        Plyr:GetVehicleSeat()            +- Returns what seat Plyr is sitting in.
        Unit:IsVehicle()                +- Returns true if Unit is a vehicle, false otherwise.
        Unit:GetPassengerCount()            +- Returns the current amount of passengers in the vehicle Unit.
        Unit:MoveVehicle(x,y,z,o)            +- Moves the vehicle Unit (with all passengers) to defined position.
    Plyr:SetPlayerLock(Yes)             +- Locks the player from all control. Yes should be 1 or 0. 0 unlocks the player.
    Plyr:MovePlayerTo(x,y,z,o,type [,speed])     +- Forces a player to move to x,y,z,o. Speed is optional.
       type must be:
        0 - walk
        256 - teleport
        4096 - run
        12288 - fly
    Plyr:IsGm()                    +- Returns true if Plyr is a GM.
    Plyr:GetGroupPlayers()                +- Returns a table similar to GetInRangePlayers() but containing Plyr's group members.
    Unit:GetDungeonDifficulty()            +- Returns the Unit's current dungeon difficulty:
    Unit:SetDungeonDifficulty(difficulty)        +- Sets the Unit's dungeon difficulty:
       MODE_NORMAL = 0,
       MODE_HEROIC = 1,
       MODE_EPIC   = 2,
    Plyr:GetGroupLeader()                +- Returns Plyr's group's leader.
    Plyr:SetGroupLeader(player, silent)        +- Set's Plyr's group's leader to player. Set silent to true if you don't want the usual announcement.
    Plyr:AddGroupMember(player [,subgroup])        +- Adds player to Plyr's group, subgroup is optional.
    Plyr:IsGroupFull()                +- Returns true if Plyr's group is full.
    Plyr:IsGroupedWith(target)            +- Returns true if target is in Plyr's group.
    Plyr:GetTotalHonor()                +- Returns Plyr's total honor.
    Plyr:GetHonorToday()                +- Returns Plyr's honor today.
    Plyr:GetHonorYesterday()            +- Returns Plyr's honor for yesterday.
    Plyr:GetArenaPoints()                +- Returns Plyr's arena points.
    Plyr:AddArenaPoints(amt)            +- Adds amt of arena points to Plyr.
    Plyr:AddLifetimeKills(amt)            +- Adds amt of lifetime kills to Plyr.
    Plyr:GetInRangePlayersWithAura(spellId)        +- Returns a table of in range players with spellId as an aura.
    Unit:GetGender()                +- Returns 0-male or 1-female.
    Unit:SetGender(gender)                +- Sets the gender of unit. Works on players - requires relog to take effect.
    Plyr:GetGroupType()                +- Returns Plyr's group type:
       GROUP_TYPE_PARTY = 0,
       GROUP_TYPE_RAID  = 1,
    Plyr:ExpandToRaid()                +- Expands Plyr's group to a raid.
    Plyr:GetGuildId()                +- Returns Plyr's guild id.
    Plyr:GetGuildRank()                +- Returns Plyr's rank in his guild.
    Plyr:SetGuildRank(rank)                +- Set's Plyr's rank in his guild to rank.
    Plyr:IsInGuild()                +- Returns true if Plyr is in a guild, false otherwise.
    Plyr:SendGuildInvite(recipient)            +- Makes Plyr send recipient an invite to their guild.
    Plyr:DemoteGuildMember(target)            +- Makes Plyr demote target.
    Plyr:PromoteGuildMember(target)            +- Makes Plyr promote target.
    Plyr:SetGuildMotd(newMotd)            +- Makes Plyr set the guild message of the day.
    Plyr:GetGuildMotd()                +- Returns Plyr's guild's message of the day.
    Plyr:SetGuildInformation(newInfo)        +- Makes Plyr set the guild information to newInfo.
    Plyr:AddGuildMember(target)            +- Adds target to Plyr's guild.
    Plyr:RemoveGuildMember(target)            +- Removes target from Plyr's guild.
    Plyr:SetPublicNote(target, note)        +- Makes Plyr set the public note of target to note.
    Plyr:SetOfficerNote(target, note)        +- Makes Plyr set the officer note of target to note.
    Plyr:DisbandGuild()                +- Disbands Plyr's guild.
    Plyr:ChangeGuildMaster(target)            +- Changes Plyr's guild leader to target.
    Plyr:SendGuildChatMessage(message,isOfficerChat)+- Plyr sends a guild chat message. Set isOfficerChat to true to make it an officer chat message.
    Plyr:SendGuildLog(target)            +- Sends Plyr's guild log to target.
    Plyr:GuildBankDepositMoney(amount)        +- Makes Plyr deposit an amount of money into the guild bank.
    Plyr:GuildBankWithdrawMoney(amount)        +- Makes Plyr withdraw an amount of money from the guild bank.
    Plyr:Jump(height)                 +- Makes Plyr jump with specified height. Experimental.
    Unit:GetInstanceOwner()                +- Returns the owner of the instance Unit is currently in.
    Plyr:GetGmRank()                +- Returns Plyr's GM rank as a string, eg. 'z' or 'az'.
    Unit:SetByteValue(index,index1,value)        +- Modifies the specified byte value of Unit.
    Unit:GetByteValue(index,index1)            +- Gets the specified byte value of Unit.
    Plyr:IsPvPFlagged()                +- Returns true if Plyr is PvP flagged.
    Plyr:IsFFAPvPFlagged()                +- Returns true if Plyr is free-for-all PvP flagged.
    Plyr:GetGuildLeader()                +- Returns the name of Plyr's guild's leader.
    Plyr:GetGuildMemberCount()            +- Returns the number of people in Plyr's guild.
    Unit:CanAttack(target)                +- Returns true if Unit can attack target.
    Unit:GetInRangeFriends()            *- Now working as intended.
    Unit:GetInRangeEnemies()            +- Returns Unit's in range enemies.
    Unit:GetInRangeUnits()                +- Returns all units near Unit.
    Unit:IsFriendly(obj)                +- Returns true if Unit is friendly to obj, false otherwise.
    Unit:IsInPhase(phase)                +- Returns true if Unit is in phase.
    Unit:HasFlag(index, flag)            +- Returns true if the Unit has UInt32Value at index and flag.
    Plyr:GetPlayerMovementVector()            +- Returns Plyr's movement vector in table x,y,z,o. Experimental.
    Plyr:UnsetKnownTitle(id)            +- Removes the title with id from Plyr.
    Unit:SetMovementFlags(flag)            +- Sets the way the unit moves.
       flag must be:
        0 - walk
        1 - run
        2 - fly
    Plyr:Repop()                    +- Forces the player to spirit release to the nearest graveyard.
    Plyr:GetEquippedItemBySlot(slot)        +- Gets the item Plyr has equipped in the specified slot.
       slot must be:
        HEAD 0
        NECK 1
        SHOULDERS 2
        BODY 3
        CHEST 4
        WAIST 5
        LEGS 6
        FEET 7
        WRISTS 8
        HANDS 9
        FINGER1 10
        FINGER2 11
        TRINKET1 12
        TRINKET2 13
        BACK 14
        MAINHAND 15
        OFFHAND 16
        RANGED 17
        TABARD 18
    Unit:EventChat(type,language,message,delay)    +- Makes the Unit send a chat message in delay milliseconds.
    Plyr:ResetTalents()                +- Resets Plyr's talent points.
    Plyr:SetTalentPoints(newValue)            +- Sets Plyr's talent points to newValue.
    Plyr:GetTalentPoints()                +- Returns how many talent points Plyr has.
    Unit:GetSpawnId()                +- Returns the Unit's spawn id ("Sql id" from .npc info).
    Plyr:GetGuildMembers()                +- Returns a table containing the players in Plyr's guild.
    Plyr:TakeHonor(amt)                +- Removes amt of honor from Plyr.
    Plyr:RemoveArenaPoints(amt)            +- Removes amt of arena points from Plyr.

    [LUA] Function Library
  2. #2
    Ground Zero's Avatar ★ Elder ★
    Reputation
    1132
    Join Date
    Aug 2008
    Posts
    3,504
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Server Hooks
    Code:
    SERVER HOOK NUMERICAL IDS
    
    SERVER_HOOK_NEW_CHARACTER = 1
    SERVER_HOOK_KILL_PLAYER = 2
    SERVER_HOOK_FIRST_ENTER_WORLD = 3
    SERVER_HOOK_ENTER_WORLD = 4
    SERVER_HOOK_GUILD_JOIN = 5
    SERVER_HOOK_DEATH = 6
    SERVER_HOOK_REPOP = 7
    SERVER_HOOK_EMOTE = 8
    SERVER_HOOK_ENTER_COMBAT = 9
    SERVER_HOOK_CAST_SPELL = 10
    SERVER_HOOK_TICK = 11
    SERVER_HOOK_LOGOUT_REQUEST = 12
    SERVER_HOOK_LOGOUT = 13
    SERVER_HOOK_QUEST_ACCEPT = 14
    SERVER_HOOK_ZONE = 15
    SERVER_HOOK_CHAT = 16
    SERVER_HOOK_LOOT = 17
    SERVER_HOOK_GUILD_CREATE = 18
    SERVER_HOOK_ENTER_WORLD_2 = 19
    SERVER_HOOK_CHARACTER_CREATE = 20
    SERVER_HOOK_QUEST_CANCELLED = 21
    SERVER_HOOK_QUEST_FINISHED = 22
    SERVER_HOOK_HONORABLE_KILL = 23
    SERVER_HOOK_ARENA_FINISH = 24
    SERVER_HOOK_OBJECTLOOT = 25
    SERVER_HOOK_AREATRIGGER = 26
    SERVER_HOOK_POST_LEVELUP = 27
    SERVER_HOOK_PRE_DIE = 28
    SERVER_HOOK_ADVANCE_SKILLLINE = 29
    Hooking the Script
    Code:
    LUA ARGUMENTS AVAILABLE TO SERVER HOOKS
    
    OnNewCharacter(event, pPlayer, name, race, class)
    OnKillPlayer(event, pPlayer, pVictim)
    OnFirstEnterWorld(event, pPlayer)
    OnEnterWorld(event, pPlayer)
    OnGuildJoin(event, pPlayer, guildName)
    OnDeath(event, pPlayer)
    OnRepop(event, pPlayer)
    OnEmote(event, pPlayer, pUnit, emoteId)
    OnEnterCombat(event, pPlayer, pTarget)
    OnCastSpell(event, pPlayer, spellId)
    OnTick(event)
    OnLogoutRequest(event, pPlayer)
    OnLogout(event, pPlayer)
    OnQuestAccept(event, pPlayer, pQuestGiver, questId)
    OnZone(event, pPlayer, zoneId)
    OnChat(event, pPlayer, message, type, language)
    OnLoot(event, pPlayer, money, itemId)
    OnGuildCreate(event, pLeader, guildName)
    OnEnterWorld2(event, pPlayer)
    OnCharacterCreate(event, pPlayer)
    OnQuestCancelled(event, pPlayer, questId)
    OnQuestFinished(event, pPlayer, pQuestGiver, questId)
    OnHonorableKill(event, pPlayer, pKilled)
    OnArenaFinish(event, pPlayer, victory, rated)
    OnObjectLoot(event, pPlayer, pTarget, money, itemId)
    OnAreaTrigger(event, pPlayer, areaTriggerId)
    OnPostLevelUp(event, pPlayer)
    OnPreUnitDie(event, killer, victim)
    OnAdvanceSkillLine(event, pPlayer, skillId, current)

  3. #3
    World of Borat's Avatar Member
    Reputation
    28
    Join Date
    Dec 2008
    Posts
    89
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    wow. This is a great Share. First +rape

  4. #4
    World of Borat's Avatar Member
    Reputation
    28
    Join Date
    Dec 2008
    Posts
    89
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorry for REPOST. I'll give Rep Tomorrow, sorry.

  5. #5
    Kirth's Avatar Active Member
    Reputation
    58
    Join Date
    Nov 2007
    Posts
    274
    Thanks G/R
    2/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Although this is LUA, I recognise a winning thread when I see one. You good sir, deserve a rape point.

  6. #6
    shadowslayer133's Avatar Active Member
    Reputation
    61
    Join Date
    May 2008
    Posts
    313
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nice work, I like how you focus on emu, its been a while since any member really spent time on emu thanks.

    Done by piersd
    Gamer tag - Midnight133

Similar Threads

  1. Big List of Lua Functions
    By Lytle69 in forum WoW EMU Guides & Tutorials
    Replies: 0
    Last Post: 10-15-2008, 03:02 AM
  2. LUA Function Thread
    By steveo123 in forum WoW EMU Questions & Requests
    Replies: 3
    Last Post: 10-13-2008, 08:54 AM
  3. [Guide] How to use local LUA function!
    By Dartignan in forum WoW EMU Guides & Tutorials
    Replies: 0
    Last Post: 08-05-2008, 09:28 PM
  4. Replies: 22
    Last Post: 05-29-2008, 03:52 PM
  5. [Question] Lua functions
    By Lich King in forum World of Warcraft Emulator Servers
    Replies: 5
    Last Post: 04-10-2008, 07:39 PM
All times are GMT -5. The time now is 06:09 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search