Jump to content

Arena Junkies was shut down on July 1st, 2018. You're viewing an archive of this page from 2018-06-25 at 20:58. Thank you all for your support! Please get in touch via the Curse help desk if you need any support using this archive.

Photo

InterruptBar 4.0.X


  • Please log in to reply
35 replies to this topic

#1 Mightlol

Mightlol
  • Blood Elfclass_name
  • EU-Vol'jin
  • Embuscade / Hinterhalt
  • Posts: 2,545
  • Talents:

Posted 27 October 2010 - 11:00 PM

Hey guys,

I used to play with a customised InterruptBar but since 4.0 I can no longer modify it, as soon as I modify 1 letter, /ib test etc just don't work anymore.

I was wondering if it also happened to you, and if someone knows if Kollektiv will update it or not, this addon is so legendary :<

Thanks for your time,

Arj(e)n.
  • 1

TSG shouldn't win against an equally skilled LSD but 99% of all LSDs are super retarded so it's quite easy to zerg the druid from start to finish.


#2 Pharaun

Pharaun
  • LocationSeattle, WA

Posted 28 October 2010 - 12:04 AM

as soon as I modify 1 letter, /ib test etc just don't work anymore.


Can you elaborate a bit on this? It works right now, but if you change one letter, it doesn't? What letter are you changing? What??
  • 0
"Who, after all, is today speaking of the destruction of the Armenians?"

-Adolf Hitler, 1939

#3 Mightlol

Mightlol
  • Blood Elfclass_name
  • EU-Vol'jin
  • Embuscade / Hinterhalt
  • Posts: 2,545
  • Talents:

Posted 28 October 2010 - 01:17 AM

Can you elaborate a bit on this? It works right now, but if you change one letter, it doesn't? What letter are you changing? What??


Basically if I use IB's basic version, it works, but they're loads of spells missing, in my opinion at least. I mean, I'm used to play with it having some spells that I need to know whether or not they're ready (example : psychic scream) that I put on IB by modifying its files.

I do believe I still know how to modify these LUA files but as soon as I change/add a spell to the addon, typing /ib test in games doesnt work anymore :(
  • 0

TSG shouldn't win against an equally skilled LSD but 99% of all LSDs are super retarded so it's quite easy to zerg the druid from start to finish.


#4 Pharaun

Pharaun
  • LocationSeattle, WA

Posted 28 October 2010 - 04:04 AM

Turn on Lua errors, you're most likely screwing up the way you add in spells.

See this for info on how to properly edit it, let me know if it's confusing:

dunno how that guy got approved on wowinterface as the author of an addon for simply adding a few numbers, he even wrote himself as the author in the toc file -_- ...anyway

give a man a fish and he eats for a day, teach a man to fish and he eats for a lifetime... or something like that. here's the beginning of interrupt bar where you edit the numbers to add abilties.

below i've already added shield bash, wind shear (on 6 sec cd, change to 5 with instructions below if you want to account for ele talent), rebuke (new pally interrupt) and finally skull bash (new druid interrupt 1 min cd or 10 sec cd with feral talent). if this is all you want then just copy paste the code below into your lua

how you do this is simple. first you search the spell you want to add on wowhead, for this example we'll use silence wowhead.com/spell=15487, now take the number, put it in brackets followed by a space and then an = followed by another space and the spell cd in seconds, finally add it to the end of local spellids. so it would be [15487] = 45

make sure to put a comma and a space after the previous spell cd, also stay within the }

for added clarification the end of the line should now look like this [80964] = 10, [15487] = 45}

now add the same number to the table, it would look like this:

-- 15487 Silence

and finally at the end of local order, should look like this:

80964, 15487}

all done

----------------------------------------------------
-- Interrupt Bar by Kollektiv
----------------------------------------------------

InterruptBarDB = InterruptBarDB or { scale = 1, hidden = false, lock = false, }
local abilities = {}
local order
local band = bit.band

local spellids = {[6552] = 10, [2139] = 24, [19647] = 24, [16979] = 15, [1766] = 10, [47528] = 10, [72] = 12, [57994] = 6, [85285] = 10, [80964] = 10}
for spellid,time in pairs(spellids) do
	local name,_,spellicon = GetSpellInfo(spellid)	
	abilities[name] = { icon = spellicon, duration = time }
end

-----------------------------------------------------
-- Edit this table to change the order
-----------------------------------------------------
-- 6552  Pummel
-- 2139  Counterspell
-- 19647 Spell Lock
-- 16979 Feral Charge 
-- 1766  Kick
-- 47528 Mind Freeze
-- 72    Shield Bash
-- 57994 Wind Shear
-- 85285 Rebuke
-- 80964 Skull Bash (Bear Form)
-----------------------------------------------------

local order = {6552, 2139, 19647, 16979, 1766, 47528, 72, 57994, 85285, 80964}

  • 0
"Who, after all, is today speaking of the destruction of the Armenians?"

-Adolf Hitler, 1939

#5 Mightlol

Mightlol
  • Blood Elfclass_name
  • EU-Vol'jin
  • Embuscade / Hinterhalt
  • Posts: 2,545
  • Talents:

Posted 28 October 2010 - 12:32 PM

Mine is like that

InterruptBarDB = InterruptBarDB or { scale = 1, hidden = false, lock = false, }
local abilities = {}
local order
local band = bit.band

local spellids = {[6552] = 10, [19503] = 30, [85388] = 45, [46924] = 75, [2139] = 24, [49576] = 25, [19647] = 24, [2094] = 180, [22812] = 60, [1766] = 10, [47528] = 10, [47476] = 120, [8643] = 20, [8122] = 27, [85285] = 10, [80965] = 10, [15487] = 45}
for spellid,time in pairs(spellids) do
local name,_,spellicon = GetSpellInfo(spellid)
abilities[name] = { icon = spellicon, duration = time }
end

-----------------------------------------------------
-- Edit this table to change the order
-----------------------------------------------------
-- 6552 Pummel
-- 19503 Scatter Shot
-- 85388 Throwdown
-- 46924 Bladestorm
-- 2139 Counterspell
-- 49576 Death Grip
-- 19647 Spell Lock
-- 2094 Blind
-- 22812 Barkskin
-- 1766 Kick
-- 47528 Mind Freeze
-- 47476 Strangulate
-- 8643 Kidney Shot
-- 8122 Psychic Scream
-- 85285 Rebuke
-- 15487 Silence
-----------------------------------------------------

local order = {6552, 19503, 85388, 46924, 2139, 49576, 19647, 2094, 22812, 1766, 47528, 47476, 8643, 8122, 85285, 15487}


and it used to work, i've had 0 problem with that during season 6 7 and 8, and now it doesnt work anymore. But afaik, spell ranks have been removed and that might be the problem.
  • 0

TSG shouldn't win against an equally skilled LSD but 99% of all LSDs are super retarded so it's quite easy to zerg the druid from start to finish.


#6 anad1o

anad1o
  • Junkies
  • Night Elfclass_name
  • EU-Zirkel des Cenarius
  • Blutdurst
  • Posts: 114
  • Talents: Balance 0/2/2/0/././.

Posted 28 October 2010 - 12:55 PM

all you've got to do is verify the spellIDs on a site like wowhead and change them if necessary. after changing this you've got to RELOAD your UI to take the changes in effect. the /ib command won't work until you've found ALL invalid spellIDs and CORRECTED them. 5 mins if work, seriously.
  • 0

Creator of

arenamate.cc


#7 Xunae

Xunae
  • Junkies
  • Dwarfclass_name
  • EU-Ravencrest
  • Cyclone / Wirbelsturm
  • Posts: 1,587
  • Talents: Enhancement 2/1/0/2/0/0/1
  • 2v2: 1636
  • 3v3: 3100
  • RBG: 1822

Posted 28 October 2010 - 01:03 PM

I dont understand why people are using InterruptBar when InterruptIcons is 100 times better and easier to modify..

:(
  • 0

          xunamate.com


#8 Mightlol

Mightlol
  • Blood Elfclass_name
  • EU-Vol'jin
  • Embuscade / Hinterhalt
  • Posts: 2,545
  • Talents:

Posted 28 October 2010 - 03:14 PM

all you've got to do is verify the spellIDs on a site like wowhead and change them if necessary. after changing this you've got to RELOAD your UI to take the changes in effect. the /ib command won't work until you've found ALL invalid spellIDs and CORRECTED them. 5 mins if work, seriously.


Yeah but I'm quite sure there might be a problem with spells ranks, for example 3.3.5 Psychic Scream that 80 priests had was # 10890, and now as ranks do not exist anymore, it's 8122 or something like that.

I dont understand why people are using InterruptBar when InterruptIcons is 100 times better and easier to modify..

:(


Will test it out, ty.
  • 0

TSG shouldn't win against an equally skilled LSD but 99% of all LSDs are super retarded so it's quite easy to zerg the druid from start to finish.


#9 Pharaun

Pharaun
  • LocationSeattle, WA

Posted 28 October 2010 - 06:33 PM

Yeah but I'm quite sure there might be a problem with spells ranks, for example 3.3.5 Psychic Scream that 80 priests had was # 10890, and now as ranks do not exist anymore, it's 8122 or something like that.

Yea unfortunately you gotta do it the hard way there :\ Deprecated code is never fun.
  • 0
"Who, after all, is today speaking of the destruction of the Armenians?"

-Adolf Hitler, 1939

#10 Mightlol

Mightlol
  • Blood Elfclass_name
  • EU-Vol'jin
  • Embuscade / Hinterhalt
  • Posts: 2,545
  • Talents:

Posted 29 October 2010 - 12:40 AM

Yea unfortunately you gotta do it the hard way there :\ Deprecated code is never fun.


does that mean i'll have to try with both ids ? if yes, how would I know which spells have changed their ids since 4.0.1 ? :<
  • 0

TSG shouldn't win against an equally skilled LSD but 99% of all LSDs are super retarded so it's quite easy to zerg the druid from start to finish.


#11 Pharaun

Pharaun
  • LocationSeattle, WA

Posted 29 October 2010 - 02:13 AM

Check each spell ID in your InterruptBar, see if it's valid anymore.

You can run this code to check

http://www.wowwiki.c...PI_GetSpellName

/run my_temp_check_order = {6552, 19503, 85388, 46924, 2139, 49576, 19647, 2094, 22812, 1766, 47528, 47476, 8643, 8122, 85285, 15487}

/run for _,v in ipairs(my_temp_check_order) do local l = GetSpellName(v) print(l and "Spell id "..v.." : "..l.."\n" or "Spell id "..v.." no longer valid\n") end

Note that code might not work off the bat, let me know if it throws any Lua errors. I haven't been writing Lua code in a long time.
  • 0
"Who, after all, is today speaking of the destruction of the Armenians?"

-Adolf Hitler, 1939

#12 isabis

isabis
  • Junkies
  • Blood Elfclass_name
  • EU-Al'Akir
  • Blackout
  • Posts: 844
  • Talents: Holy 0/././2/2/./.

Posted 29 October 2010 - 02:38 PM

I dont understand why people are using InterruptBar when InterruptIcons is 100 times better and easier to modify..

:(


Can you tell us where to get up-to-date version of this?
  • 0

#13 Xunae

Xunae
  • Junkies
  • Dwarfclass_name
  • EU-Ravencrest
  • Cyclone / Wirbelsturm
  • Posts: 1,587
  • Talents: Enhancement 2/1/0/2/0/0/1
  • 2v2: 1636
  • 3v3: 3100
  • RBG: 1822

Posted 29 October 2010 - 02:44 PM

Can you tell us where to get up-to-date version of this?


http://www.sendspace.com/file/2f0flx

The spell cooldowns and ID's are still the old ones from patch 3.x so I suggest to update them. And ofc remove the ones you dont want to see from InterruptIconsSpells.lua

This is my version and is working without any problems atm
  • 1

          xunamate.com


#14 Mightlol

Mightlol
  • Blood Elfclass_name
  • EU-Vol'jin
  • Embuscade / Hinterhalt
  • Posts: 2,545
  • Talents:

Posted 31 October 2010 - 06:00 PM

http://www.sendspace.com/file/2f0flx

The spell cooldowns and ID's are still the old ones from patch 3.x so I suggest to update them. And ofc remove the ones you dont want to see from InterruptIconsSpells.lua

This is my version and is working without any problems atm


I tested it yesterday with Throwdown and I couldnt unlock the option " Hide until active", I'll try again when i'll be able to play wow - just upgraded my computer, im copyin wow from my external hard disk.
  • 0

TSG shouldn't win against an equally skilled LSD but 99% of all LSDs are super retarded so it's quite easy to zerg the druid from start to finish.


#15 jizoke

jizoke
  • Premium Junkies
  • Gnomeclass_name
  • US-Sargeras
  • Shadowburn
  • Posts: 3,027
  • Talents: Discipline

Posted 03 November 2010 - 05:44 PM

I dont understand why people are using InterruptBar when InterruptIcons is 100 times better and easier to modify..

:(


Don't fix it if it isn't broken.
  • 0
Posted Image

#16 Mightlol

Mightlol
  • Blood Elfclass_name
  • EU-Vol'jin
  • Embuscade / Hinterhalt
  • Posts: 2,545
  • Talents:

Posted 04 November 2010 - 11:37 AM

I just got it to work, and as i'm sure it'll interest some people, i'll post it here.

----------------------------------------------------
-- Interrupt Bar by Kollektiv
----------------------------------------------------

InterruptBarDB = InterruptBarDB or { scale = 1, hidden = false, lock = false, }
local abilities = {}
local order
local band = bit.band

local spellids = {[6552] = 10, [2139] = 24, [19647] = 24, [1766] = 10, [47528] = 10, [57994] = 6, [47476] = 120, [2094] = 180, [85285] = 10, [8122] = 27, [80964] = 10, [408] = 20}
for spellid,time in pairs(spellids) do
local name,_,spellicon = GetSpellInfo(spellid)
abilities[name] = { icon = spellicon, duration = time }
end

-----------------------------------------------------
-- Edit this table to change the order
-----------------------------------------------------
-- 6552 Pummel
-- 2139 Counterspell
-- 19647 Spell Lock
-- 1766 Kick
-- 47528 Mind Freeze
-- 57994 Wind Shear
-- 85285 Rebuke
-- 47476 Strangulate
-- 2094 Blind
-- 8122 Psychic Scream
-- 80964 Skull Bash
-- 408 Kidney Shot
-----------------------------------------------------

local order = {6552, 2139, 19647, 1766, 47528, 57994, 85285, 47476, 2094, 8122, 80964, 408}

-----------------------------------------------------
-----------------------------------------------------
  • 0

TSG shouldn't win against an equally skilled LSD but 99% of all LSDs are super retarded so it's quite easy to zerg the druid from start to finish.


#17 Kodpingvin

Kodpingvin

Posted 04 November 2010 - 02:29 PM

Cant get Wind Shear to work. I got the correct spell ID.

- And apparently I got another version of InterruptBar, that ends with:

-- replacement since cleu is unreliable
local function InterruptBar_UNIT_SPELLCAST_SUCCEEDED(...)
local useSecondDuration = false
return function(unit, spell, _)
if spell == GetSpellInfo(49376) then spell = GetSpellInfo(16979); useSecondDuration = true end -- Feral Charge - Cat -> Feral Charge - Bear
if (UnitIsEnemy("player", unit) and abilities[spell]) then

if useSecondDuration and spell == GetSpellInfo(16979) then
bar[spell].duration = 30
elseif spell == GetSpellInfo(16979) then
bar[spell].duration = 15
end

-- confusing you
for id1,id2 in pairs(shared) do
local spellID = abilities[spell].id
if (id1 == spellID or id2 == spellID) then
local ability = id1 == spellID and GetSpellInfo(id2) or GetSpellInfo(id1)
if abilities[ability] then InterruptBar_StartTimer(bar[ability], ability, unit) end
end
end

InterruptBar_StartTimer(bar[spell], spell, unit)
end
end
end

InterruptBar_UNIT_SPELLCAST_SUCCEEDED = InterruptBar_UNIT_SPELLCAST_SUCCEEDED()

local function InterruptBar_ResetAllTimers()
for _,ability in ipairs(order) do
InterruptBar_StopAbility(bar[ability])
end
active = 0
end

local function InterruptBar_PLAYER_ENTERING_WORLD(self)
InterruptBar_ResetAllTimers()
end

local function InterruptBar_Reset()
InterruptBarDB = { scale = 1, hidden = false, lock = false }
InterruptBar_UpdateBar()
InterruptBar_LoadPosition()
end

local function InterruptBar_Test()
for _,ability in ipairs(order) do
InterruptBar_StartTimer(bar[ability],ability)
end
end

local cmdfuncs = {
scale = function(v) InterruptBarDB.scale = v; InterruptBar_UpdateBar() end,
hidden = function() InterruptBarDB.hidden = not InterruptBarDB.hidden; InterruptBar_UpdateBar() end,
lock = function() InterruptBarDB.lock = not InterruptBarDB.lock; InterruptBar_UpdateBar() end,
reset = function() InterruptBar_Reset() end,
test = function() InterruptBar_Test() end,
}

local cmdtbl = {}
function InterruptBar_Command(cmd)
for k in ipairs(cmdtbl) do
cmdtbl[k] = nil
  • 0

#18 Mightlol

Mightlol
  • Blood Elfclass_name
  • EU-Vol'jin
  • Embuscade / Hinterhalt
  • Posts: 2,545
  • Talents:

Posted 04 November 2010 - 11:33 PM

Well, one mistake can make this addon bug, i'd recommend you to copy mine or to download a new one and edit it carefully, that took me quite a lot of time to get everything right tbh.
  • 0

TSG shouldn't win against an equally skilled LSD but 99% of all LSDs are super retarded so it's quite easy to zerg the druid from start to finish.


#19 Kodpingvin

Kodpingvin

Posted 06 November 2010 - 12:58 AM

Could anyone check this version for mistakes:

gratisupload.dk/download/51231

- Could post the entire thing, if you are scared to click the link.

The version is supposedly made to go around the bugging combatlog. But it seems as it's Wind Shear that causes it to bug.
  • 0

#20 smoke

smoke
  • Members
  • Undeadclass_name
  • US-Kel'Thuzad
  • Nightfall
  • Posts: 4
  • Talents: Frost

Posted 08 November 2010 - 10:27 AM

i took over interrupticons addon a while back and stopped playing for a few months, probably will make an update soon, sorry to all that sent me pm on wowinterface.com and didn't get a reply.
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users