Cutup
Introduction
Cutup is a collection of small modules that I wanted as a Rogue. Anything you don't use can be disabled. /cutup to configure.
Modules
Bleeder
Bleeder is a bar that displays the current duration of your Rupture. It will also show you how long your Rupture would last based on your current combo points.
Julienne
Like Bleeder, but for Slice and Dice. Shows the current duration of Slice and Dice, and the duration of your next Slice and Dice based on your current combo points. Accounts for Improved Slice and Dice, Glyph of Slice and Dice and Cut to the Chase.
Poisoner
Like Julienne, but for Envenom buff. Shows the current duration of Envenom, and the duration of your next Envenom based on your current combo points.
LightFingers
Automatically loots items after Pick Pocket is cast.
Spam
Blocks repeated error messages that are often the result of spamming attack buttons.
Date: 2008-10-26 11:30:18
ID: 56
Error occured in: Global
Count: 1
Message: ..\AddOns\Cutup\modules\TickToxin.lua line 244:
attempt to index local 'spellName' (a number value)
Debug:
(tail call): ?
(tail call): ?
Cutup\modules\TickToxin.lua:244: ?()
...tup\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:146:
...tup\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:146
[string "safecall Dispatcher[18]"]:4:
[string "safecall Dispatcher[18]"]:4
[C]: ?
[string "safecall Dispatcher[18]"]:13: ?()
...tup\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:91: Fire()
...face\AddOns\Cutup\libs\AceEvent-3.0\AceEvent-3.0.lua:70:
...face\AddOns\Cutup\libs\AceEvent-3.0\AceEvent-3.0.lua:69
[2008/10/25 11:23:49-1372-x2]: Cutup\modules\TickToxin.lua:244: attempt to index local 'spellName' (a nil value)
CallbackHandler-1.0\CallbackHandler-1.0.lua:146: in function <...Bar\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:146>
<string>:"safecall Dispatcher[10]":4: in function <[string "safecall Dispatcher[10]"]:4>
<in C code>: ?
<string>:"safecall Dispatcher[10]":13: in function `?'
CallbackHandler-1.0\CallbackHandler-1.0.lua:91: in function `Fire'
AceEvent-3.0\AceEvent-3.0.lua:70: in function <...s\AckisRecipeList\libs\AceEvent-3.0\AceEvent-3.0.lua:69>
- Fix Hunger For Blood talent scanning on initial login
- Add Cut to the Chase support from Tazaz
- Fix for LightFingers by Xymriel
Please test.
Here is what it should look like:
do
local current = nil
local function restore()
SetCVar("autoLootDefault",current)
current = nil
end
function mod:UNIT_SPELLCAST_SUCCEEDED(event, unit, spell)
if unit == "player" and spell == spellInfo then
if current == nil then
current = GetCVar("autoLootDefault")
end
SetCVar("autoLootDefault",1)
self:ScheduleTimer(restore, 1)
end
end
end
Cheers, Xymriel
For anyone with CttC wanting to use Julienne (with English WoW)...
An easy way to get Julienne to work with CttC:
Open /Interface/AddOns/Cutup/modules/Julienne.lua with a text editor
Replace:
self:RegisterEvent("UNIT_SPELLCAST_SUCCEEDED")
With:
self:RegisterEvent("UNIT_AURA")
Replace:
function mod:UNIT_SPELLCAST_SUCCEEDED(event, unit, spell)
if unit == 'player' and spell == spellInfo then
self.startTime = GetTime()
self.endTime = self.startTime + self:CurrentDuration(combos)
self.running = true
sndParent:Show() -- Might not be shown if potentialShow is disabled
end
return
end
With:
function mod:UNIT_AURA(event, unit)
if unit ~= "player" then
return
end
local name, _, _, _, _, duration, endTime, _ = UnitBuff(unit, "Slice and Dice")
if name then
self.startTime = endTime - duration
self.endTime = endTime
self.running = true
sndParent:Show()
end
end
I try it, no Bars for HfB. Any Ideas how to fix it? Maybe renaming something will work.
Date: 2008-10-17 22:06:20
ID: 53
Error occured in: Global
Count: 2
Message: ..\AddOns\Cutup\modules\LightFingers.lua line 45:
attempt to call global 'GetAutoLootDefault' (a nil value)
Debug:
(tail call): ?
Cutup\modules\LightFingers.lua:45: ?()
...tan\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:146:
...tan\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:146
[string "safecall Dispatcher[5]"]:4:
[string "safecall Dispatcher[5]"]:4
[C]: ?
[string "safecall Dispatcher[5]"]:13: ?()
...tan\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:91: Fire()
...ace\AddOns\Bagnon\libs\AceEvent-3.0\AceEvent-3.0.lua:70:
...ace\AddOns\Bagnon\libs\AceEvent-3.0\AceEvent-3.0.lua:69
AddOns:
Swatter, v5.1.3613 (SnaggleTooth)
Atlas, v1.12.2
AtlasBattlegrounds, v1.12.2
AtlasDungeonLocs, v1.12.2
AtlasFlightPaths, v1.12.2
AtlasOutdoorRaids, v1.12.2
AtlasLoot, v5.00.02
AucAdvanced, v5.1.3613 (SnaggleTooth)
AucStatHistogram, v5.1.3613 (SnaggleTooth)
AucStatStdDev, v5.1.3613 (SnaggleTooth)
AucUtilAppraiser, v5.1.3613.2530
AucUtilScanButton, v5.1.3613.2530
AucUtilScanProgress, v5.1.3613.2530
Babylonian, v5.1.DEV.130
Bagnon, v1.6.5
BagnonForever, v1.1.1
BagnonTooltips, v
ChatMOD, v127
Configator, v5.1.DEV.130
Cutup, v
DebugLib, v5.1.DEV.130
DoTimer, v4.0.1
DoTimerOptions, v
EnhTooltip, v5.1.3613 (SnaggleTooth)
Informant, v5.1.3613 (SnaggleTooth)
Macaroon, v30000.21 (beta)
MacaroonBound, v30000.5
MacaroonCB, v30000.5
MacaroonXP, v30000.5
MacaroonXtras, v30000.5
MapNotes, v5.01.30000
MapNotesIconLib, v1.03.30000
MapNotesIconLibFancy, v
MapNotesIconLibLegacy, v
MapNotesIconLibNeptunia, v
MapNotesIconLibNumbers, v
Mapster, v1.0.4
MikScrollingBattleText, v5.3.24
MinimapButtonFrame, v2.0
SpamMeNot, v3.0
Stubby, v5.1.3613 (SnaggleTooth)
Titan, v4.0.0.30000 (Revision 8)
TitanCoords, v4.0.0.30000
TitanGoldTracker, v4.0.0.30000
TitanPerformance, v4.0.0.30000
TitanXP, v4.0.0.30000
WeaponQuickSwap, v
(ck=51a)
This version (3.0.2.2)I have a slight problem - I cannot get the bleeder/julienne timer bars to stay in the position I want - it resets every time I log out. So I got to manually start it up and change the settings to the position I want if I d/c, relog or whatever.
Is this just my system (running vista 64bit)? Or is there an easy way to change this?