Jump to content

Interrupt bar broken, why?


  • Please log in to reply
16 replies to this topic

#1 unrimitedpowa

unrimitedpowa
  • Members
  • Posts: 30

Posted 10 December 2012 - 07:25 PM

I'm just going to post the problem areas where it breaks, I have downloaded a new one that hasn't changed these areas and it works, so here it is. It's registering in addon load list but not in game.

local spellids = {[6552] = 15, [2139] = 20, [19647] = 24, [16979] = 15, [1766] = 15, [47528] = 15, [57994] = 12, [8122] = 22, [408] = 20, [34490] = 20, [19503] = 30, [80965] = 15, [96231] = 15, [46968] = 20, [102060] = 40, [100] = 12, [105593] = 30, [44572] = 30, [113724] = 45, [12043] = 90, [11958] = 180, [5484] = 32, [8177] = 25, [8143] = 60, [98008] = 180, [108280] = 180, [48707] = 45, [14185] = 300, [23989] = 300, [19263] = 60, [23920] = 25, [5246] = 90, [15487] = 45, [108291] = 45, [586] = 30, [112833] = 30, [5384] = 30, [31661] = 17, [11129] = 45, [102280] = 30, [5211] = 50, [132158] = 60, [16188] = 90, [51514] = 45, [49039] = 120, [108194] = 60, [108200] = 60, [120697] = 90, [109259] = 60, [119381] = 45, [115078] = 15, [112783] = 90, [122470] = 90, [116705] = 15, [101643] = 45, [112970] = 25, [115203] = 180, [115176] = 180, [115750] = 120, [31224] = 120, [36554] = 24, [31230] = 90, [74001] = 120, [107574] = 180, [1719] = 300, [871] = 300, [114029] = 30, [108359] = 120, [6789] = 45, [30283] = 30, [108416] = 60, [110913] = 180, [111397] = 10, [108501] = 120, [108503] = 30, [108505] = 120, [642] = 300, [114028] = 60}

and

-- 2139 Counterspell
-- 44572 deep freeze
-- 31661 dragon's breath
-- 11129 combustion
-- 57994 Wind Shear
-- 8177 grounding totem
-- 111397 blood fear
-- 19647 Spell Lock
-- 15487 silence
-- 108194 asphyxiate
-- 51514 hex
-- 6552 Pummel
-- 23920 spell reflection
-- 114028 mass spell reflection
-- 102060 Disrupting shout
-- 80965 Skull Bash (Cat)
-- 1766 Kick
-- 47528 Mind Freeze
-- 96231 Rebuke
-- 116705 spear hand strike
-- 100 charge
-- 16979 Feral Charge
-- 36554 shadowstep
-- 115078 paralysis
-- 46968 Shockwave
-- 408 Kidney Shot
-- 105593 fist of justice
-- 115750 blinding light
-- 5211 mighty bash
-- 108200 remorseless winter
-- 119381 leg sweep
-- 102280 displacer beast
-- 107574 avatar
-- 1719 recklessness
-- 108503 grimoire of sacrifice
-- 31224 cloak of shadows
-- 31230 cheat death
-- 74001 combat readiness
-- 8122 Psychic Scream
-- 108291 psyfiend
-- 586 fade
-- 112833 spectral guise
-- 5484 howl of terror
-- 30283 shadowfury
-- 6789 mortal coil
-- 5256 intimidating shout
-- 48707 anti-magic shell
-- 108416 sacrificial pact
-- 108359 dark regneration
-- 110913 dark bargain
-- 108501 grimoire of service
-- 108505 archimonde's vengeance
-- 49039 lichborne
-- 34490 Silencing Shot
-- 19503 Scatter Shot
-- 5384 feign death
-- 109259 power shot
-- 120697 lynx rush
-- 19263 deterrence
-- 114029 safeguard
-- 871 shield wall
-- 112970 demonic circle: teleport
-- 101643 transcendance
-- 122470 touch of karma
-- 115203 fortifying brew
-- 115176 zen meditation
-- 132150 nature's swiftness
-- 16188 ancestral swiftness
-- 8143 tremor totem
-- 108280 healing tide totem
-- 98008 spirit link totem
-- 112873 diffuse magic
-- 11958 cold snap
-- 14185 preperation
-- 23989 readiness
-- 642 divine shield

#1
18 hours ago

#2 Draakex

Draakex
  • Junkies
  • Undeadclass_name
  • EU-Blackrock
  • Glutsturm / Emberstorm
  • Posts: 265
  • Talents: Holy 1/2/1/0/1/0
  • RBG: 1149
  • LocationGermany

Posted 10 December 2012 - 09:39 PM

then there're some of the IDs incorrect
u need to double check them

Posted Image


#3 Stako

Stako
  • Premium
  • Curse Premium
  • Orcclass_name
  • US-Ravenholdt
  • Whirlwind
  • Posts: 37
  • Talents: Unholy 1/1/0/2/0/1/1
  • 2v2: 1537
  • LocationVancouver

Posted 11 December 2012 - 12:06 AM

Did you add those spell id's to the 'order' table also?

#4 unrimitedpowa

unrimitedpowa
  • Members
  • Posts: 30

Posted 11 December 2012 - 01:18 AM

Okay, I fixed the wrong ids, there were 3, i fixed them on "spellids", "edit this table to change the order" and "local order."  It's still not working in game, I understand the spellids are there to identify the spells and their cds and if the "edit this table to change the order" is for the order of them, then what is "local order" for?

Just trying to figure out the addon so I can figure out where it broke.

Even if a few spell ids were wrong wouldn't it still work and just not show those? Going over them for a fourth time, please help if you know whats wrong or know what "local order" is for, thanks.

#5 unrimitedpowa

unrimitedpowa
  • Members
  • Posts: 30

Posted 11 December 2012 - 01:39 AM

Okay, all the #'s are correct and its still not working

#6 Stako

Stako
  • Premium
  • Curse Premium
  • Orcclass_name
  • US-Ravenholdt
  • Whirlwind
  • Posts: 37
  • Talents: Unholy 1/1/0/2/0/1/1
  • 2v2: 1537
  • LocationVancouver

Posted 11 December 2012 - 04:27 AM

There aren't 3 tables. There are only the 'spellids' and 'order' tables.
Any line of text in a .lua file that is preceded by '--' is just a comment, not code.

Turn on lua errors in warcraft and post any errors that happen to come up from InterruptBar.

#7 unrimitedpowa

unrimitedpowa
  • Members
  • Posts: 30

Posted 11 December 2012 - 06:20 AM

Message: Interface\AddOns\InterruptBar\InterruptBar.lua:152: attempt to index field '?' (a nil value)
Time: 12/10/12 22:19:14
Count: 1
Stack: Interface\AddOns\InterruptBar\InterruptBar.lua:152: in function <Interface\AddOns\InterruptBar\InterruptBar.lua:125>
Interface\AddOns\InterruptBar\InterruptBar.lua:215: in function <Interface\AddOns\InterruptBar\InterruptBar.lua:205>
Interface\AddOns\InterruptBar\InterruptBar.lua:370: in function <Interface\AddOns\InterruptBar\InterruptBar.lua:363>
Interface\AddOns\InterruptBar\InterruptBar.lua:379: in function `?'
Interface\AddOns\InterruptBar\InterruptBar.lua:385: in function <Interface\AddOns\InterruptBar\InterruptBar.lua:384>
Locals: x = 45
y = -30
r = 0
(for generator) = <function> defined =[C]:-1
(for state) = <table> {
1 = "Counterspell"
2 = "Deep Freeze"
3 = "Dragon's Breath"
4 = "Combustion"
5 = "Wind Shear"
6 = "Grounding Totem"
7 = "Blood Fear"
8 = "Spell Lock"
9 = "Silence"
10 = "Asphyxiate"
11 = "Hex"
12 = "Spell Reflection"
13 = "Mass Spell Reflection"
14 = "Disrupting Shout"
15 = "Pummel"
16 = "Skull Bash"
17 = "Kick"
18 = "Mind Freeze"
19 = "Rebuke"
20 = "Spear Hand Strike"
21 = "Charge"
22 = "Wild Charge"
23 = "Shadowstep"
24 = "Paralysis"
25 = "Shockwave"
26 = "Kidney Shot"
27 = "Fist of Justice"
28 = "Blinding Light"
29 = "Mighty Bash"
30 = "Remorseless Winter"
31 = "Leg Sweep"
32 = "Displacer Beast"
33 = "Avatar"
34 = "Recklessness"
35 = "Cloak of Shadows"
36 = "Cheat Death"
37 = "Combat Readiness"
38 = "Psychic Scream"
39 = "Psyfiend"
40 = "Fade"
41 = "Spectral Guise"
42 = "Intimidating Shout"
43 = "Demonic Circle: Teleport"
44 = "Howl of Terror"
45 = "Shadowfury"
46 = "Mortal Coil"
47 = "Sacrificial Pact"
48 = "Dark Regeneration"
49 = "Dark Bargain"
50 = "Archimonde's Vengeance"
51 = "Anti-Magic Shell"
52 = "Lichborne"
53 = "Silencing Shot"
54 = "Scatter Shot"
55 = "Feign Death"
56 = "Powershot"
57 = "Lynx Rush"
58 = "Deterrence"
59 = "Safeguard"
60 = "Shield Wall"
61 = "Transcendence"
62 = "Touch of Karma"
63 = "Fortifying Brew"
64 = "Zen Meditation"
65 = "Nature's Swiftness"
66 = "Ancestral Swiftness"
67 = "Tremor Totem"
68 = "Healing Tide Totem"
69 = "Spirit Link Totem"
70 = "Diffuse Magic"
71 = "Cold Snap"
72 = "Preparation"
73 = "Readiness"
74 = "Divine Shield"
}
(for control) = 9
_ = 9
ability = "Silence"
btn = <unnamed> {
0 = <userdata>
}
cd = <unnamed> {
0 = <userdata>
noCooldownCount = true
noomnicc = true
}
texture = <unnamed> {
0 = <userdata>
}
(*temporary) = <function> defined =[C]:-1
(*temporary) = <unnamed> {
0 = <userdata>
}
(*temporary) = nil
(*temporary) = <userdata>
(*temporary) = nil
(*temporary) = <userdata>
(*temporary) = 2
(*temporary) = 0
(*temporary) = "attempt to index field '?' (a nil value)"
ipairs = <function> defined =[C]:-1
order = <table> {
1 = "Counterspell"
2 = "Deep Freeze"
3 = "Dragon's Breath"
4 = "Combustion"
5 = "Wind Shear"
6 = "Grounding Totem"
7 = "Blood Fear"
8 = "Spell Lock"
9 = "Silence"
10 = "Asphyxiate"
11 = "Hex"
12 = "Spell Reflection"
13 = "Mass Spell Reflection"
14 = "Disrupting Shout"
15 = "Pummel"
16 = "Skull Bash"
17 = "Kick"
18 = "Mind Freeze"
19 = "Rebuke"
20 = "Spear Hand Strike"
21 = "Charge"
22 = "Wild Charge"
23 = "Shadowstep"
24 = "Paralysis"
25 = "Shockwave"
26 = "Kidney Shot"
27 = "Fist of Justice"
28 = "Blinding Light"
29 = "Mighty Bash"
30 = "Remorseless Winter"
31 = "Leg Sweep"
32 = "Displacer Beast"
33 = "Avatar"
34 = "Recklessness"
35 = "Cloak of Shadows"
36 = "Cheat Death"
37 = "Combat Readiness"
38 = "Psychic Scream"
39 = "Psyfiend"
40 = "Fade"
41 = "Spectral Guise"
42 = "Intimidating Shout"
43 = "Demonic Circle: Teleport"
44 = "Howl of Terror"
45 = "Shadowfury"
46 = "Mortal Coil"
47 = "Sacrificial Pact"
48 = "Dark Regeneration"
49 = "Dark Bargain"
50 = "Archimonde's Vengeance"
51 = "Anti-Magic Shell"
52 = "Lichborne"
53 = "Silencing Shot"
54 = "Scatter Shot"
55 =

#8 unrimitedpowa

unrimitedpowa
  • Members
  • Posts: 30

Posted 11 December 2012 - 06:27 AM

On another note, i downloaded http://www.wowinterf...BarUpdated.html this version of IB because it had columns, which the current curse one doesn't, I'm not sure if that lua error is just saying that version isn't updated for MOP or that it's something else, just a thought.

#9 Stako

Stako
  • Premium
  • Curse Premium
  • Orcclass_name
  • US-Ravenholdt
  • Whirlwind
  • Posts: 37
  • Talents: Unholy 1/1/0/2/0/1/1
  • 2v2: 1537
  • LocationVancouver

Posted 11 December 2012 - 08:45 AM

View Postunrimitedpowa, on 11 December 2012 - 06:20 AM, said:

Message: Interface\AddOns\InterruptBar\InterruptBar.lua:152: attempt to index field '?' (a nil value)

What's on line 152?

#10 unrimitedpowa

unrimitedpowa
  • Members
  • Posts: 30

Posted 11 December 2012 - 05:42 PM

how do i tell what line 152 is?

#11 Draakex

Draakex
  • Junkies
  • Undeadclass_name
  • EU-Blackrock
  • Glutsturm / Emberstorm
  • Posts: 265
  • Talents: Holy 1/2/1/0/1/0
  • RBG: 1149
  • LocationGermany

Posted 11 December 2012 - 07:01 PM

Download Notepad++, open the .lua and go to line 152. Copy the code (with a few lines before and after that) in here and we may help.

Posted Image


#12 unrimitedpowa

unrimitedpowa
  • Members
  • Posts: 30

Posted 12 December 2012 - 12:05 AM

i have notepad, i dont know how to find out what line 152 is is what im saying.

#13 unrimitedpowa

unrimitedpowa
  • Members
  • Posts: 30

Posted 12 December 2012 - 12:27 AM

where it is *

#14 Draakex

Draakex
  • Junkies
  • Undeadclass_name
  • EU-Blackrock
  • Glutsturm / Emberstorm
  • Posts: 265
  • Talents: Holy 1/2/1/0/1/0
  • RBG: 1149
  • LocationGermany

Posted 12 December 2012 - 09:48 AM

that's why i recommend downloading Notepad++, as it's for developing purposes etc.
The standard windows wordpad won't show line-numbers afaik

Posted Image


#15 unrimitedpowa

unrimitedpowa
  • Members
  • Posts: 30

Posted 12 December 2012 - 05:51 PM

ah i c, i didn't realize it auto opened with windows, all that's on line 152 is "end" thats it.

#16 unrimitedpowa

unrimitedpowa
  • Members
  • Posts: 30

Posted 12 December 2012 - 06:52 PM

well, actually, you know what, I appreciate all the help you've given me but addons/scripts are just too much work and too frustrating, im deleting all of them and just going normal, thanks for the help though.

#17 Draakex

Draakex
  • Junkies
  • Undeadclass_name
  • EU-Blackrock
  • Glutsturm / Emberstorm
  • Posts: 265
  • Talents: Holy 1/2/1/0/1/0
  • RBG: 1149
  • LocationGermany

Posted 12 December 2012 - 08:57 PM

or you could just use other addons for your purpose like afflicted, icicle or for interrupts the InterruptTracker

Posted Image





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

<