Lbloot - LBLoot addon

  •        593

-- AquaDKP.lua -- AquaDKP mod - main module -- Created 22-Jun-07 by aquasheepa --saved vars aquaDKPStandings = nil --local vars local aquaDKPOldChatHook local aquaDKPOldSetItemLinkHook local aquaDKPOldSetItemRefHook local AQUADKP_CHAT_PREFIX = " " local AQUADKP_VERSION = "3.01" local AQUADKP_REQUEST_PREFIX = "!" --init functions local AquaDKP = { standings = nil, bids = nil, attendance = nil, values = nil, } function AquaDKP:new(o) o = o or {} setmetatable(o, self) self.index = self return o end function AquaDKP:registerChatCommand(command) for i, c in ipairs(command) do G["SLASH_AquaDKP"..i] = c end \t SlashCmdList["AquaDKP"] = function(msg) AquaDKP:slashCommandHandler(msg) end end function AquaDKP:slashCommandHandler(msg) if(msg) then msg = strlower(msg) else msg = "" end \t \t \t \t local , , command, args = string.find(msg, "(%w+)%s?(.)")\t if(not command) then\t-- show attendance window self.attendance:toggleRaidWindow(self.standings) elseif(command == "standings" or command == "s") then\t-- show standings self.standings:toggleStandingsWindow() elseif(command == "load" or command == "l") then\t-- show standings self.standings:createLoadWindow() elseif(command == "auction" or command == "a") then\t-- start auction self.bids:parseAuction(self.standings, args) elseif(command == "join" or command == "j") then\t-- add member to attendance self.attendance:addMember(args) elseif(command == "version" or command == "v") then\t-- print version DEFAULT_CHAT_FRAME:AddMessage("LBLoot (AquaDKP Revised) "..AQUADKP_VERSION,1,1,1) DEFAULT_CHAT_FRAME:AddMessage("It's here to pwn, your face that is. ",1,1,1) else\t-- print commands DEFAULT_CHAT_FRAME:AddMessage("AquaDKP attendance and bid management",1,1,1) DEFAULT_CHAT_FRAME:AddMessage("Commands:",1,1,1) DEFAULT_CHAT_FRAME:AddMessage(" /dkp",1,1,1) DEFAULT_CHAT_FRAME:AddMessage(" show the current raid attendance log",1,1,1) DEFAULT_CHAT_FRAME:AddMessage(" ",1,1,1) DEFAULT_CHAT_FRAME:AddMessage(" /dkp standings",1,1,1) DEFAULT_CHAT_FRAME:AddMessage(" /dkp s",1,1,1) DEFAULT_CHAT_FRAME:AddMessage(" display currently stored DKP standings",1,1,1) DEFAULT_CHAT_FRAME:AddMessage(" ",1,1,1) DEFAULT_CHAT_FRAME:AddMessage(" /dkp load",1,1,1) DEFAULT_CHAT_FRAME:AddMessage(" /dkp l",1,1,1) DEFAULT_CHAT_FRAME:AddMessage(" load DKP standings from EQDKP",1,1,1) DEFAULT_CHAT_FRAME:AddMessage(" ",1,1,1) DEFAULT_CHAT_FRAME:AddMessage(" /dkp auction itemlink",1,1,1) DEFAULT_CHAT_FRAME:AddMessage(" /dkp a itemlink",1,1,1) DEFAULT_CHAT_FRAME:AddMessage(" auction the currently linked item to the raid",1,1,1) DEFAULT_CHAT_FRAME:AddMessage(" ",1,1,1) DEFAULT_CHAT_FRAME:AddMessage(" /dkp a all",1,1,1) DEFAULT_CHAT_FRAME:AddMessage(" auction all items in the currently opened loot window",1,1,1) DEFAULT_CHAT_FRAME:AddMessage(" ",1,1,1) DEFAULT_CHAT_FRAME:AddMessage(" /dkp join membername",1,1,1) DEFAULT_CHAT_FRAME:AddMessage(" /dkp j membername",1,1,1) DEFAULT_CHAT_FRAME:AddMessage(" add a guild member to the attendance log",1,1,1) DEFAULT_CHAT_FRAME:AddMessage(" ",1,1,1) DEFAULT_CHAT_FRAME:AddMessage(" /dkp version",1,1,1) DEFAULT_CHAT_FRAME:AddMessage(" /dkp v",1,1,1) DEFAULT_CHAT_FRAME:AddMessage(" display current AquaDKP version",1,1,1) DEFAULT_CHAT_FRAME:AddMessage(" ",1,1,1) end end --initialization functions function AquaDKP:unregisterEvents() this:UnregisterEvent("VARIABLES_LOADED") this:UnregisterEvent("CHAT_MSG_WHISPER") this:UnregisterEvent("CHAT_MSG_WHISPER_INFORM") this:UnregisterEvent("CHAT_MSG_LOOT") \t self:replaceHook() end function AquaDKP:replaceHooks() ChatFrame_OnEvent = aquaDKPOldChatHook SetItemRef = aquaDKPOldSetItemRefHook ChatEdit_InsertLink = aquaDKPOldSetItemLinkHook end function AquaDKP:hookChat() if(ChatFrame_OnEvent ~= aquaDKPOldChatHook) then aquaDKPOldChatHook = ChatFrame_OnEvent ChatFrame_OnEvent = aquaDKPChatFrameHook end end function AquaDKP:hookSetItemLink() if(ChatEdit_InsertLink ~= aquaDKPOldSetItemLinkHook) then aquaDKPOldSetItemLinkHook = ChatEdit_InsertLink ChatEdit_InsertLink = aquaDKPSetItemLinkHook end \t if(SetItemRef ~= aquaDKPOldSetItemRefHook) then aquaDKPOldSetItemRefHook = SetItemRef SetItemRef = aquaDKPSetItemRefHook end end function AquaDKP:hookTooltip() --local tooltip = getglobal("GameTooltip") local tooltipMethods = { "SetHyperlink", "SetBagItem", "SetInventoryItem", "SetAuctionItem", "SetAuctionSellItem", "SetLootItem", "SetLootRollItem", "SetCraftSpell", "SetCraftItem", "SetTradeSkillItem", "SetTrainerService", "SetInboxItem", "SetSendMailItem", "SetQuestItem", "SetQuestLogItem", "SetTradePlayerItem", "SetTradeTargetItem", "SetMerchantItem", "SetBuybackItem", "SetSocketGem", "SetExistingSocketGem", "SetHyperlinkCompareItem", } \t \t -- borrowed from Ace TipHooker-1.0 local tooltip = EnumerateFrames() while tooltip do if tooltip:GetObjectType() == "GameTooltip" then for j, method in ipairs(tooltipMethods) do if type(tooltipmethod) == "function" then hooksecurefunc(tooltip, method, function(tooltip) self.values:updateTooltip(tooltip)



Related Projects


raspBerry+ is a web-based administration platform for Blackberry Enterprise Server for MS Exchange (BES). You can group-based activate/kill/delete/add and get status of users, their handhelds and services. With a little download-area and a comment-system


RASP's A Sneakernet Proxy; download using a thumbdrive.


RasmusDSP is an embeddable Audio/MIDI processor. It contains various filters and generators (including SoundFont 2.0 compatible synthesizer). Has a script interpreter which is used to describe instruments, route Audio/MIDI signal between processor units.


An acronym for cRoss-plAtform accesS control for Enterprise Applications. Rasea aims to become a reference in access control as a service based on the RBAC model.


Rascal, the Advanced Scientific CALculator, is a platform independent modular calculator. Based on modules for integer, doubles, strings, vectors and matrices it can be easily extended with existing C or C++ code.


RARS is the Robot Auto Racing Simulation, in which the drivers are robot programs. It is intended as a competition among programmers. It consists of a simulation of the physics of cars, a graphic display of the race, and a robot driver for each car.


This small program allows you to play a video directly from a RAR file and do so in real-time. Both VLC and MPlayer are supported video players.


RAReXtract is a Front-End for the UnRAR command line utility for Mac OS X 10.5 (Leopard). Its purpose is the rapid and convenient extraction of RAR archives with a double click.

RAR Expander

Rar Expander is a MacOSX program which extracts the files contained in single or multi-volume RAR archives. It uses the official unRAR library internally so it is fully compatible with archives produced by WinRAR.


This program uses a brute force algorithm to guess your encrypted compressed file\'s password. If you forget your encrypted file password, this program is the solution. This program can crack zip,7z and rar file passwords.


RArcInfo is a package for R ( to import data from binary Arc/Info V7.X coverages and E00 files . This will allow R users to used it as a primary GIS tool.

rar brute force shell script - rarbrute

This is rarbrute, a shell script to brute force encrypted rar files under unix and linux. A long wordlist and a paper about security in internet cafes is included.

Raquel Database System

The system will : 1. use RAQUEL (= Relational Algebra Query, Update and Executive Language) for programming, implementing Third Manifesto principles. 2. have a 'Lego-like' architecture of building blocks and plug-ins, for wider applicability.


RAPv4 is an engine for building web application with only a business description (in XML format). NEW 04/2006 : Stable 2006 release. Add new functions like mail, sms, web services, graph, map engine (GIS), Excel output, QBE... and also a beta release of


2d Scroller. Clone of Raptor: Call of the Shadows and Tyrian. Fun game written in c++ using allegro.


Lightweight XML based transformation tool written in C that builds upon expat, tidylib and XSLT to tranform authored web content (incl. Word processor generated HTML) into styled web content suitable for publication.


RapidSMS is an open-source internet and communications platform


RapidSmith is a research-based FPGA CAD tool framework written in Java for modern Xilinx FPGAs. Based on XDL, its objective is to serve as a rapid prototyping platform for research ideas and algorithms relating to low level FPGA CAD tools.

Rapidshare Mass Downloader

What this program does is bringing out human interaction while downloading files from rapidshare(without premium account). It downloads all the rapidshare links sequentially to the specified location.

rapido visual profiler

rapido is a visual profiler for linux-x86. It traces function call using the ptrace interface and displays the information collected in a nice visual flow chart. rapido does not require the re-compilation of the application.