Quantcast
Download
(175 Kb)
Download
Updated: 06-11-19 03:01 PM
Pictures
File Info
Compatibility:
WoW Classic (1.13.2)
Updated:06-11-19 03:01 PM
Created:05-28-19 03:41 AM
Downloads:644
Favorites:12
MD5:
Categories:Buff, Debuff, Spell, Classic - General

SmartBuff Classic

Version: 1.4
by: veoj [More]

Initial fixes for compatability with Wow Classic Beta

Likely missing lots of Classic buff spellIDs - if your buffs are missing, let me know the details and I'll add.

Changes:

1.2 - Added missing priest buffs (PWF, Inner Fire, Imp PWF and Imp IF)
1.3 - Fixes for some small issues. Also including food and scrolls reworked thanks to txamethyst
1.4 - Added whole chunk of classic spells supplied by community members especially Ish and txamethyst - thx guys.
Druid
-- Classic "Mark of the Wild" Ranks
-- Classic "Gift of the Wild" Ranks
-- Classic "Thorns" Ranks
-- Classic "Nature's Grasp" Ranks
-- Classic "Improved Thorns" Ranks
Created a new array
-- Classic Druid links

Priest
-- Classic "Prayer of Fortitude" Ranks
-- Classic "Shadow Protection" Ranks
-- Classic "Prayer of Shadow Protection" Ranks
-- Classic "Divine Spirit" Ranks
-- Classic "Prayer of Spirit" Ranks

Mage
-- Classic "Arcane Intellect" Ranks
-- Classic "Arcane Brilliance" Ranks
-- Classic "Frost Armor" Ranks
-- Classic "Ice Armor" Ranks
-- Classic "Mage Armor" Ranks
-- Classic "Fire Ward" Rank
-- Classic "Frost Ward" Ranks
-- Classic "Mana Shield" Ranks
-- Classic "Ice Barrier" Ranks

Shaman
-- Classic "Lightning Shield" Ranks

Warlock
-- Classic "Demon Armor" Ranks

Optional Files (0)


Archived Files (4)
File Name
Version
Size
Author
Date
1.3
172kB
veoj
06-04-19 10:45 PM
1.2
173kB
veoj
06-01-19 08:02 PM
1.1
172kB
veoj
05-28-19 01:22 PM
1.0
172kB
veoj
05-28-19 03:41 AM


Post A Reply Comment Options
Unread 05-28-19, 12:30 PM  
txamethyst
An Aku'mai Servant
 
txamethyst's Avatar

Forum posts: 36
File comments: 84
Uploads: 0
error on login

i get this error on priest, hunter, rogue, druid immediately on login with no other addons loaded, same error with any other addon loaded.


Code:
Message: Interface\AddOns\SmartBuff\SmartBuff.lua:3108: attempt to call global 'GetNumSpecGroups' (a nil value)
Time: Tue May 28 13:27:35 2019
Count: 1
Stack: Interface\AddOns\SmartBuff\SmartBuff.lua:3108: attempt to call global 'GetNumSpecGroups' (a nil value)
Interface\AddOns\SmartBuff\SmartBuff.lua:3108: in function `SMARTBUFF_Options_Init'
Interface\AddOns\SmartBuff\SmartBuff.lua:476: in function `SMARTBUFF_OnEvent'
Interface\AddOns\SmartBuff\SmartBuff.lua:674: in function `SMARTBUFF_OnUpdate'
[string "*:OnUpdate"]:1: in function <[string "*:OnUpdate"]:1>

Locals: self = SmartBuffFrame {
 0 = <userdata>
 Elapsed = 0.200000
}
b = false
(*temporary) = 1
(*temporary) = nil
(*temporary) = "attempt to call global 'GetNumSpecGroups' (a nil value)"
isInit = true
_ = "Priest"
sPlayerClass = "PRIEST"
sRealmName = "Classic Beta PvE"
sPlayerName = "Emmalee"
sID = "Classic Beta PvE:Emmalee"
B = <table> {
 1 = <table> {
 }
}
O = <table> {
 ToggleAutoCombat = false
 AutoSwitchTemplateInst = false
 BuffTarget = false
 CurrentFontSize = 15
 SplashY = 0
 MMCPosX = -21.137451
 IgnoreList = <table> {
 }
 SplashX = 0
 ToggleMsgNormal = true
 AutoTimer = 60
 ToggleGrp = <table> {
 }
 AutoSwitchTemplate = false
 AntiDaze = true
 RebuffTimer = 20
 SplashIconSize = 12
 ToggleAutoSplash = false
 BuffPvP = false
 ActionBtnY = -310.666748
 OldWheelDown = ""
 ColSplashFont = <table> {
 }
 InShapeshift = true
 BlacklistTimer = 5
 ToggleAutoSound = false
 LinkSelfBuffCheck = true
 LastTemplate = "Solo"
 MinCharges = 5
 Toggle = true
 HideMmButton = true
 OldWheelUp = ""
 BuffInCities = true
 MMCPosY = -127.338623
 ToggleMsgWarning = true
 Debug = false
 AddList = <table> {
 }
 SplashDuration = 2
 LinkGrpBuffCheck = true
 CurrentFont = 9
 ToggleAuto = true
 ToggleMsgError = true
 CheckCharges = true
 HideSAButton = true
 ScrollWheelDown = true
 ToggleAutoChat = true
 ActionBtnX = 742.518555
 ScrollWheelUp = true
 InCombat = false
}
currentTemplate = "Solo"
currentSpec = 1
iCurrentFont = 9
imgSB = "Interface\Icons\Spell_Nature_Purge"
isParrot = false
cClasses = <table> {
 1 = "DRUID"
 2 = "HUNTER"
 3 = "MAGE"
 4 = "PALADIN"
 5 = "PRIEST"
 6 = "ROGUE"
 7 = "SHAMAN"
 8 = "WARLOCK"
 9 = "WARRIOR"
 10 = "DEATHKNIGHT"
 11 = "MONK"
 12 = "DEMONHUNTER"
 13 = "HPET"
 14 = "WPET"
 15 = "DKPET"
 16 = "TANK"
 17 = "HEALER"
 18 = "DAMAGER"
}
InitBuffOrder = <function> defined @Interface\AddOns\SmartBuff\SmartBuff.lua:347
OG = nil
IsVisibleToPlayer = <function> defined @Interface\AddOns\SmartBuff\SmartBuff.lua:263
isSyncReq = false
Last edited by txamethyst : 05-28-19 at 12:51 PM.
Report comment to moderator  
Reply With Quote
Unread 05-28-19, 01:22 PM  
veoj
A Defias Bandit
 
veoj's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 60
Uploads: 10
Re: error on login

Ah. Thanks.

It appears you have an existing config somehow... anyway, shouldn't happen

Have fixed and uploaded v1.1 - might take a while for the mods to clear it.

Let me know how it goes


veoj

Originally Posted by txamethyst
i get this error on priest, hunter, rogue, druid immediately on login with no other addons loaded, same error with any other addon loaded.


Code:
Message: Interface\AddOns\SmartBuff\SmartBuff.lua:3108: attempt to call global 'GetNumSpecGroups' (a nil value)
Time: Tue May 28 13:27:35 2019
Count: 1
Stack: Interface\AddOns\SmartBuff\SmartBuff.lua:3108: attempt to call global 'GetNumSpecGroups' (a nil value)
Interface\AddOns\SmartBuff\SmartBuff.lua:3108: in function `SMARTBUFF_Options_Init'
Interface\AddOns\SmartBuff\SmartBuff.lua:476: in function `SMARTBUFF_OnEvent'
Interface\AddOns\SmartBuff\SmartBuff.lua:674: in function `SMARTBUFF_OnUpdate'
[string "*:OnUpdate"]:1: in function <[string "*:OnUpdate"]:1>

Locals: self = SmartBuffFrame {
 0 = <userdata>
 Elapsed = 0.200000
}
b = false
(*temporary) = 1
(*temporary) = nil
(*temporary) = "attempt to call global 'GetNumSpecGroups' (a nil value)"
isInit = true
_ = "Priest"
sPlayerClass = "PRIEST"
sRealmName = "Classic Beta PvE"
sPlayerName = "Emmalee"
sID = "Classic Beta PvE:Emmalee"
B = <table> {
 1 = <table> {
 }
}
O = <table> {
 ToggleAutoCombat = false
 AutoSwitchTemplateInst = false
 BuffTarget = false
 CurrentFontSize = 15
 SplashY = 0
 MMCPosX = -21.137451
 IgnoreList = <table> {
 }
 SplashX = 0
 ToggleMsgNormal = true
 AutoTimer = 60
 ToggleGrp = <table> {
 }
 AutoSwitchTemplate = false
 AntiDaze = true
 RebuffTimer = 20
 SplashIconSize = 12
 ToggleAutoSplash = false
 BuffPvP = false
 ActionBtnY = -310.666748
 OldWheelDown = ""
 ColSplashFont = <table> {
 }
 InShapeshift = true
 BlacklistTimer = 5
 ToggleAutoSound = false
 LinkSelfBuffCheck = true
 LastTemplate = "Solo"
 MinCharges = 5
 Toggle = true
 HideMmButton = true
 OldWheelUp = ""
 BuffInCities = true
 MMCPosY = -127.338623
 ToggleMsgWarning = true
 Debug = false
 AddList = <table> {
 }
 SplashDuration = 2
 LinkGrpBuffCheck = true
 CurrentFont = 9
 ToggleAuto = true
 ToggleMsgError = true
 CheckCharges = true
 HideSAButton = true
 ScrollWheelDown = true
 ToggleAutoChat = true
 ActionBtnX = 742.518555
 ScrollWheelUp = true
 InCombat = false
}
currentTemplate = "Solo"
currentSpec = 1
iCurrentFont = 9
imgSB = "Interface\Icons\Spell_Nature_Purge"
isParrot = false
cClasses = <table> {
 1 = "DRUID"
 2 = "HUNTER"
 3 = "MAGE"
 4 = "PALADIN"
 5 = "PRIEST"
 6 = "ROGUE"
 7 = "SHAMAN"
 8 = "WARLOCK"
 9 = "WARRIOR"
 10 = "DEATHKNIGHT"
 11 = "MONK"
 12 = "DEMONHUNTER"
 13 = "HPET"
 14 = "WPET"
 15 = "DKPET"
 16 = "TANK"
 17 = "HEALER"
 18 = "DAMAGER"
}
InitBuffOrder = <function> defined @Interface\AddOns\SmartBuff\SmartBuff.lua:347
OG = nil
IsVisibleToPlayer = <function> defined @Interface\AddOns\SmartBuff\SmartBuff.lua:263
isSyncReq = false
Report comment to moderator  
Reply With Quote
Unread 05-28-19, 01:47 PM  
txamethyst
An Aku'mai Servant
 
txamethyst's Avatar

Forum posts: 36
File comments: 84
Uploads: 0
the first time i logged in on the hunter or priest i had no errors. it was only after going to lunch and coming back that the error occurred.

i'll try again - and thanks for the quick response.

Report comment to moderator  
Reply With Quote
Unread 05-29-19, 10:56 AM  
Ish
A Kobold Labourer

Forum posts: 0
File comments: 9
Uploads: 0
Missing Buff - Priest Inner Fire

Report comment to moderator  
Reply With Quote
Unread 05-30-19, 12:40 AM  
veoj
A Defias Bandit
 
veoj's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 60
Uploads: 10
Re: Missing Buff - Priest Inner Fire

Thanks Ish. Will add and upload a new version today..
Report comment to moderator  
Reply With Quote
Unread 06-01-19, 12:42 AM  
Ish
A Kobold Labourer

Forum posts: 0
File comments: 9
Uploads: 0
Missing Buff - Priest Power Word: Fortitude

Power Word: Fortitude https://classicdb.ch/?search=Power+W...e#spells:0-2+1
Rank 1 https://classicdb.ch/?spell=1243
Rank 2 https://classicdb.ch/?spell=1244
Rank 3 https://classicdb.ch/?spell=1245
Rank 4 https://classicdb.ch/?spell=2791
Rank 5 https://classicdb.ch/?spell=10937
Rank 6 https://classicdb.ch/?spell=10938

Not sure if you need to add the improved version to the table
Improved Power Word: Fortitude Rank 1 https://classicdb.ch/?spell=14749
Improved Power Word: Fortitude Rank 1 https://classicdb.ch/?spell=14767
Report comment to moderator  
Reply With Quote
Unread 06-01-19, 01:36 AM  
veoj
A Defias Bandit
 
veoj's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 60
Uploads: 10
Re: Missing Buff - Priest Power Word: Fortitude

Originally Posted by Ish
Power Word: Fortitude https://classicdb.ch/?search=Power+W...e#spells:0-2+1
Rank 1 https://classicdb.ch/?spell=1243
Rank 2 https://classicdb.ch/?spell=1244
Rank 3 https://classicdb.ch/?spell=1245
Rank 4 https://classicdb.ch/?spell=2791
Rank 5 https://classicdb.ch/?spell=10937
Rank 6 https://classicdb.ch/?spell=10938

Not sure if you need to add the improved version to the table
Improved Power Word: Fortitude Rank 1 https://classicdb.ch/?spell=14749
Improved Power Word: Fortitude Rank 1 https://classicdb.ch/?spell=14767
Brilliant. thanks Ish. I've been away so not really been able to update but have time today so will update later.
Report comment to moderator  
Reply With Quote
Unread 06-01-19, 08:03 PM  
veoj
A Defias Bandit
 
veoj's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 60
Uploads: 10
Re: Re: Missing Buff - Priest Power Word: Fortitude

Have added 1.3 with PWF, IF and their improved versions. Just waiting on approval now.

Originally Posted by veoj
Originally Posted by Ish
Power Word: Fortitude https://classicdb.ch/?search=Power+W...e#spells:0-2+1
Rank 1 https://classicdb.ch/?spell=1243
Rank 2 https://classicdb.ch/?spell=1244
Rank 3 https://classicdb.ch/?spell=1245
Rank 4 https://classicdb.ch/?spell=2791
Rank 5 https://classicdb.ch/?spell=10937
Rank 6 https://classicdb.ch/?spell=10938

Not sure if you need to add the improved version to the table
Improved Power Word: Fortitude Rank 1 https://classicdb.ch/?spell=14749
Improved Power Word: Fortitude Rank 1 https://classicdb.ch/?spell=14767
Brilliant. thanks Ish. I've been away so not really been able to update but have time today so will update later.
Report comment to moderator  
Reply With Quote
Unread 06-03-19, 08:12 AM  
txamethyst
An Aku'mai Servant
 
txamethyst's Avatar

Forum posts: 36
File comments: 84
Uploads: 0
helped someone do missing diplomat, when i left group i got this error:

Code:
SmartBuff\SmartBuff-8.0f.lua:2877: attempt to call global 'IsActiveBattlefieldArena' (a nil value)
SmartBuff\SmartBuff-8.0f.lua:2877: in function `SMARTBUFF_CheckLocation'
SmartBuff\SmartBuff-8.0f.lua:679: in function `SMARTBUFF_OnUpdate'
[string "*:OnUpdate"]:1: in function <[string "*:OnUpdate"]:1>

Locals:
zone = "Wetlands"
tmp = nil
b = false
(*temporary) = nil
(*temporary) = "attempt to call global 'IsActiveBattlefieldArena' (a nil value)"
O = <table> {
 ToggleAutoCombat = false
 AutoSwitchTemplateInst = true
 BuffTarget = false
 CurrentFontSize = 15
 SplashY = 0
 MMCPosX = 149.000122
 IgnoreList = <table> {
 }
 SplashX = 0
 ToggleMsgNormal = true
 AutoTimer = 60
 ToggleGrp = <table> {
 }
 AutoSwitchTemplate = true
 AntiDaze = true
 RebuffTimer = 10
 SplashIconSize = 12
 ToggleAutoSplash = false
 BuffPvP = false
 VersionNr = 80000
 ActionBtnY = -310.666748
 OldWheelDown = ""
 UpgradeToDualSpec = true
 ColSplashFont = <table> {
 }
 InShapeshift = true
 BlacklistTimer = 5
 ActionBtnX = 742.518555
 LinkSelfBuffCheck = true
 OldWheelUp = ""
 MinCharges = 2
 Toggle = true
 HideMmButton = true
 ToggleAutoSound = false
 BuffInCities = false
 MMCPosY = -63.999939
 ToggleMsgWarning = true
 Debug = false
 LinkGrpBuffCheck = true
 SplashDuration = 2
 ToggleMsgError = true
 CurrentFont = 9
 ToggleAuto = true
 AddList = <table> {
 }
 CheckCharges = true
 HideSAButton = true
 ScrollWheelDown = true
 ToggleAutoChat = true
 LastTemplate = "Solo"
 ScrollWheelUp = true
 InCombat = false
}
tStartZone = 1324587.571000
isSetZone = false
sLastZone = "Wetlands"
currentTemplate = "Solo"
Report comment to moderator  
Reply With Quote
Unread 06-04-19, 01:40 PM  
veoj
A Defias Bandit
 
veoj's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 60
Uploads: 10
I've coded a fix for this but I can't test until the realms come back up Will upload once I've tested.

Originally Posted by txamethyst
helped someone do missing diplomat, when i left group i got this error:

Code:
SmartBuff\SmartBuff-8.0f.lua:2877: attempt to call global 'IsActiveBattlefieldArena' (a nil value)
SmartBuff\SmartBuff-8.0f.lua:2877: in function `SMARTBUFF_CheckLocation'
SmartBuff\SmartBuff-8.0f.lua:679: in function `SMARTBUFF_OnUpdate'
[string "*:OnUpdate"]:1: in function <[string "*:OnUpdate"]:1>

Locals:
zone = "Wetlands"
tmp = nil
b = false
(*temporary) = nil
(*temporary) = "attempt to call global 'IsActiveBattlefieldArena' (a nil value)"
O = <table> {
 ToggleAutoCombat = false
 AutoSwitchTemplateInst = true
 BuffTarget = false
 CurrentFontSize = 15
 SplashY = 0
 MMCPosX = 149.000122
 IgnoreList = <table> {
 }
 SplashX = 0
 ToggleMsgNormal = true
 AutoTimer = 60
 ToggleGrp = <table> {
 }
 AutoSwitchTemplate = true
 AntiDaze = true
 RebuffTimer = 10
 SplashIconSize = 12
 ToggleAutoSplash = false
 BuffPvP = false
 VersionNr = 80000
 ActionBtnY = -310.666748
 OldWheelDown = ""
 UpgradeToDualSpec = true
 ColSplashFont = <table> {
 }
 InShapeshift = true
 BlacklistTimer = 5
 ActionBtnX = 742.518555
 LinkSelfBuffCheck = true
 OldWheelUp = ""
 MinCharges = 2
 Toggle = true
 HideMmButton = true
 ToggleAutoSound = false
 BuffInCities = false
 MMCPosY = -63.999939
 ToggleMsgWarning = true
 Debug = false
 LinkGrpBuffCheck = true
 SplashDuration = 2
 ToggleMsgError = true
 CurrentFont = 9
 ToggleAuto = true
 AddList = <table> {
 }
 CheckCharges = true
 HideSAButton = true
 ScrollWheelDown = true
 ToggleAutoChat = true
 LastTemplate = "Solo"
 ScrollWheelUp = true
 InCombat = false
}
tStartZone = 1324587.571000
isSetZone = false
sLastZone = "Wetlands"
currentTemplate = "Solo"
Report comment to moderator  
Reply With Quote
Unread 06-04-19, 05:22 PM  
txamethyst
An Aku'mai Servant
 
txamethyst's Avatar

Forum posts: 36
File comments: 84
Uploads: 0
scrolls

scrolls work as expected. i don't understand the programming part at all but i can make changes by following the existing format. all scrolls implemented after classic (bc and beyond) have been removed. if you want to include in next update ---

Code:
 -- Scrolls
  SMARTBUFF_SOAGILITY1          = GetItemInfo(3012);  --"Scroll of Agility I"
  SMARTBUFF_SOAGILITY2        	= GetItemInfo(1477);  --"Scroll of Agility II"
  SMARTBUFF_SOAGILITY3        	= GetItemInfo(4425);  --"Scroll of Agility III"
  SMARTBUFF_SOAGILITY4        	= GetItemInfo(10309); --"Scroll of Agility IV"
  
  SMARTBUFF_SOINTELLECT1        = GetItemInfo(955);   --"Scroll of Intellect I"
  SMARTBUFF_SOINTELLECT2        = GetItemInfo(2290);  --"Scroll of Intellect II"
  SMARTBUFF_SOINTELLECT3        = GetItemInfo(4419);  --"Scroll of Intellect III"
  SMARTBUFF_SOINTELLECT4        = GetItemInfo(10308); --"Scroll of Intellect IV"
  
  SMARTBUFF_SOSTAMINA1      	= GetItemInfo(1180);  --"Scroll of Stamina I"
  SMARTBUFF_SOSTAMINA2      	= GetItemInfo(1711);  --"Scroll of Stamina II"
  SMARTBUFF_SOSTAMINA3      	= GetItemInfo(4422);  --"Scroll of Stamina III"
  SMARTBUFF_SOSTAMINA4      	= GetItemInfo(10307); --"Scroll of Stamina IV"
  
  SMARTBUFF_SOSPIRIT1  		= GetItemInfo(1181);  --"Scroll of Spirit I"
  SMARTBUFF_SOSPIRIT2  		= GetItemInfo(1712);  --"Scroll of Spirit II"
  SMARTBUFF_SOSPIRIT3  		= GetItemInfo(4424);  --"Scroll of Spirit III"
  SMARTBUFF_SOSPIRIT4  		= GetItemInfo(10306); --"Scroll of Spirit IV"
  
  SMARTBUFF_SOSTRENGHT1         = GetItemInfo(954);   --"Scroll of Strength I"
  SMARTBUFF_SOSTRENGHT2         = GetItemInfo(2289);  --"Scroll of Strength II"
  SMARTBUFF_SOSTRENGHT3         = GetItemInfo(4426);  --"Scroll of Strength III"
  SMARTBUFF_SOSTRENGHT4         = GetItemInfo(10310); --"Scroll of Strength IV"
  
  SMARTBUFF_SOPROTECTION1       = GetItemInfo(3013); --"Scroll of Protection I"
  SMARTBUFF_SOPROTECTION2       = GetItemInfo(1478); --"Scroll of Protection II"
  SMARTBUFF_SOPROTECTION3       = GetItemInfo(4421); --"Scroll of Protection III"
  SMARTBUFF_SOPROTECTION4       = GetItemInfo(10305); --"Scroll of Protection IV"

Code:
  -- Scrolls
  SMARTBUFF_SCROLL = {
    {SMARTBUFF_SOAGILITY4, 30, SMARTBUFF_CONST_SCROLL, nil, SMARTBUFF_SBAGILITY},
    {SMARTBUFF_SOAGILITY3, 30, SMARTBUFF_CONST_SCROLL, nil, SMARTBUFF_SBAGILITY},
    {SMARTBUFF_SOAGILITY2, 30, SMARTBUFF_CONST_SCROLL, nil, SMARTBUFF_SBAGILITY},
    {SMARTBUFF_SOAGILITY1, 30, SMARTBUFF_CONST_SCROLL, nil, SMARTBUFF_SBAGILITY},
    
    {SMARTBUFF_SOINTELLECT4, 30, SMARTBUFF_CONST_SCROLL, nil, SMARTBUFF_SBINTELLECT},
    {SMARTBUFF_SOINTELLECT3, 30, SMARTBUFF_CONST_SCROLL, nil, SMARTBUFF_SBINTELLECT},
    {SMARTBUFF_SOINTELLECT2, 30, SMARTBUFF_CONST_SCROLL, nil, SMARTBUFF_SBINTELLECT},
    {SMARTBUFF_SOINTELLECT1, 30, SMARTBUFF_CONST_SCROLL, nil, SMARTBUFF_SBINTELLECT},
    
    {SMARTBUFF_SOSTAMINA4, 30, SMARTBUFF_CONST_SCROLL, nil, SMARTBUFF_SBSTAMINA},
    {SMARTBUFF_SOSTAMINA3, 30, SMARTBUFF_CONST_SCROLL, nil, SMARTBUFF_SBSTAMINA},
    {SMARTBUFF_SOSTAMINA2, 30, SMARTBUFF_CONST_SCROLL, nil, SMARTBUFF_SBSTAMINA},
    {SMARTBUFF_SOSTAMINA1, 30, SMARTBUFF_CONST_SCROLL, nil, SMARTBUFF_SBSTAMINA},
    
    {SMARTBUFF_SOSPIRIT4, 30, SMARTBUFF_CONST_SCROLL, nil, SMARTBUFF_SBSPIRIT},
    {SMARTBUFF_SOSPIRIT3, 30, SMARTBUFF_CONST_SCROLL, nil, SMARTBUFF_SBSPIRIT},
    {SMARTBUFF_SOSPIRIT2, 30, SMARTBUFF_CONST_SCROLL, nil, SMARTBUFF_SBSPIRIT},
    {SMARTBUFF_SOSPIRIT1, 30, SMARTBUFF_CONST_SCROLL, nil, SMARTBUFF_SBSPIRIT},
    
    {SMARTBUFF_SOSTRENGHT4, 30, SMARTBUFF_CONST_SCROLL, nil, SMARTBUFF_SBSTRENGHT},
    {SMARTBUFF_SOSTRENGHT3, 30, SMARTBUFF_CONST_SCROLL, nil, SMARTBUFF_SBSTRENGHT},
    {SMARTBUFF_SOSTRENGHT2, 30, SMARTBUFF_CONST_SCROLL, nil, SMARTBUFF_SBSTRENGHT},
    {SMARTBUFF_SOSTRENGHT1, 30, SMARTBUFF_CONST_SCROLL, nil, SMARTBUFF_SBSTRENGHT},
	
    {SMARTBUFF_SOPROTECTION4, 30, SMARTBUFF_CONST_SCROLL, nil, SMARTBUFF_SBPROTECTION},
    {SMARTBUFF_SOPROTECTION3, 30, SMARTBUFF_CONST_SCROLL, nil, SMARTBUFF_SBPROTECTION},
    {SMARTBUFF_SOPROTECTION2, 30, SMARTBUFF_CONST_SCROLL, nil, SMARTBUFF_SBPROTECTION},
    {SMARTBUFF_SOPROTECTION1, 30, SMARTBUFF_CONST_SCROLL, nil, SMARTBUFF_SBPROTECTION},
  };
Report comment to moderator  
Reply With Quote
Unread 06-04-19, 05:50 PM  
txamethyst
An Aku'mai Servant
 
txamethyst's Avatar

Forum posts: 36
File comments: 84
Uploads: 0
buff foods

i updated smartbuff.buffs.lua with all of the buff foods from classic following the same format as the retail version while updating the duration as necessary. they show up in the buff list but do not give a reminder when not having the buff initially or when the buff runs out. where did i do it wrong?

Code:
-- Food
 SMARTBUFF_KALDOREISPIDERKABOB = GetItemInfo(5472); --"Kaldorei Spider Kabob"
  SMARTBUFF_CRISPYBATWING = GetItemInfo(12224); --"Crispy Bat Wing"
  SMARTBUFF_HERBBAKEDEGG = GetItemInfo(6888); --"Herb Baked Egg"
  SMARTBUFF_GINGERBREADCOOKIE = GetItemInfo(17197); --"Gingerbread Cookie"
  SMARTBUFF_BEERBASTEDBOARRIBS  = GetItemInfo(2888); --"Beer Basted Boar Ribs"
  SMARTBUFF_ROASTEDKODOMEAT = GetItemInfo(5474); --"Roasted Kodo Meat"
  SMARTBUFF_EGGNOG = GetItemInfo(17198); --"Egg Nog"
  SMARTBUFF_BLOODSAUSAGE = GetItemInfo(3220); 	--"Blood Sausage"
  SMARTBUFF_STRIDERSTEW = GetItemInfo(5477); --"Strider Stew"
  SMARTBUFF_CROCOLISKSTEAK  = GetItemInfo(3662); --"Crocolisk Steak"
  SMARTBUFF_SMOKEDSAGEFISH = GetItemInfo(21072); --"Smoked Sagefish"
  SMARTBUFF_FILLETOFFRENZY = GetItemInfo(5476); --"Fillet of Frenzy"
  SMARTBUFF_GORETUSKLIVERPIE = GetItemInfo(724); --"Goretusk Liver Pie"
  SMARTBUFF_REDRIDGEGOULASH  = GetItemInfo(1082); --"Redridge Goulash"
  SMARTBUFF_CRISPYLIZARDTAIL = GetItemInfo(5479); --"Crispy Lizard Tail"
  SMARTBUFF_BIGBEARSTEAK = GetItemInfo(3726); --"Big Bear Steak"
  SMARTBUFF_LEANWOLFSTEAK = GetItemInfo(12209); --"Lean Wolf Steak"
  SMARTBUFF_GOOEYSPIDERCAKE = GetItemInfo(3666); --"Gooey Spider Cake"
  SMARTBUFF_MURLOCFINSOUP = GetItemInfo(3663); --"Murloc Fin Soup"
  SMARTBUFF_GOBLINDEVILEDCLAMS = GetItemInfo(5527); --"Goblin Deviled Clams"
  SMARTBUFF_CURIOUSLYTASTYOMELET = GetItemInfo(3665); --"Curiously Tasty Omelet"
  SMARTBUFF_LEANVENISON = GetItemInfo(5480); --"Lean Venison"
  SMARTBUFF_HOTLIONCHOPS = GetItemInfo(3727); --"Hot Lion Chops"
  SMARTBUFF_SEASONEDWOLFKABOB = GetItemInfo(1017); --"Seasoned Wolf Kabob"
  SMARTBUFF_CROCOLISKGUMBO = GetItemInfo(3664); --"Crocolisk Gumbo"
  SMARTBUFF_SOOTHINGTURTLEBISQUE  = GetItemInfo(3729); --"Soothing Turtle Bisque"
  SMARTBUFF_HEAVYCROCOLISKSTEW = GetItemInfo(20074); --"Heavy Crocolisk Stew"
  SMARTBUFF_TASTYLIONSTEAK	= GetItemInfo(3728); --"Tasty Lion Steak"
  SMARTBUFF_SAGEFISHDELIGHT = GetItemInfo(21217); --"Sagefish Delight"
  SMARTBUFF_HOTWOLFRIBS = GetItemInfo(13851); --"Hot Wolf Ribs"
  SMARTBUFF_JUNGLESTEW = GetItemInfo(12212); --"Jungle Stew"
  SMARTBUFF_CARRIONSURPRISE  = GetItemInfo(12213); --"Carrion Surprise"
  SMARTBUFF_ROASTRAPTOR = GetItemInfo(12210); --"Roast Raptor"
  SMARTBUFF_GIANTCLAMSCORCHO = GetItemInfo(6038); --"Giant Clam Scorcho"
  SMARTBUFF_MYSTERYSTEW  = GetItemInfo(12214); --"Mystery Stew"
  SMARTBUFF_BARBECUEDBUZZARDWING = GetItemInfo(4457); --"Barbecued Buzzard Wing"
  SMARTBUFF_HEAVYKODOSTEW = GetItemInfo(12215); --"Heavy Kodo Stew"
  SMARTBUFF_TENDERWOLFSTEAK = GetItemInfo(18045); --"Tender Wolf Steak"
  SMARTBUFF_MONSTEROMELET = GetItemInfo(12218); --"Monster Omelet"
  SMARTBUFF_SPICEDCHILICRAB = GetItemInfo(12216); --"Spiced Chili Crab"
  SMARTBUFF_COOKEDGLOSSYMIGHTFISH = GetItemInfo(13927); --"Cooked Glossy Mightfish"
  SMARTBUFF_GRILLEDSQUID = GetItemInfo(13928); --"Grilled Squid"
  SMARTBUFF_HOTSMOKEDBASS = GetItemInfo(13929); --"Hot Smoked Bass"
  SMARTBUFF_NIGHTFINSOUP = GetItemInfo(13931); --"Nightfin Soup"
  SMARTBUFF_POACHEDSUNSCALESALMON = GetItemInfo(13932); --"Poached Sunscale Salmon"
  SMARTBUFF_RUNNTUMTUBERSURPRISE = GetItemInfo(18254); --"Runn Tum Tuber Surprise"
  SMARTBUFF_MIGHTFISHSTEAK = GetItemInfo(13934); --"Mightfish Steak"
  SMARTBUFF_DIRGESKICKINCHIMAEROKCHOPS = GetItemInfo(21023); --"Dirge's Kickin' Chimaerok Chops"
Code:
-- FOOD
   SMARTBUFF_FOOD = {
    {SMARTBUFF_KALDOREISPIDERKABOB, 15, SMARTBUFF_CONST_FOOD},
    {SMARTBUFF_CRISPYBATWING, 15, SMARTBUFF_CONST_FOOD},
    {SMARTBUFF_HERBBAKEDEGG, 15, SMARTBUFF_CONST_FOOD},
    {SMARTBUFF_GINGERBREADCOOKIE, 15, SMARTBUFF_CONST_FOOD},
    {SMARTBUFF_BEERBASTEDBOARRIBS, 15, SMARTBUFF_CONST_FOOD},
    {SMARTBUFF_ROASTEDKODOMEAT, 15, SMARTBUFF_CONST_FOOD},
    {SMARTBUFF_EGGNOG, 15, SMARTBUFF_CONST_FOOD},
    {SMARTBUFF_BLOODSAUSAGE, 15, SMARTBUFF_CONST_FOOD},
    {SMARTBUFF_STRIDERSTEW, 15, SMARTBUFF_CONST_FOOD},
    {SMARTBUFF_CROCOLISKSTEAK, 15, SMARTBUFF_CONST_FOOD},
    {SMARTBUFF_SMOKEDSAGEFISH, 15, SMARTBUFF_CONST_FOOD},
    {SMARTBUFF_FILLETOFFRENZY, 15, SMARTBUFF_CONST_FOOD},
    {SMARTBUFF_GORETUSKLIVERPIE, 15, SMARTBUFF_CONST_FOOD},
    {SMARTBUFF_REDRIDGEGOULASH, 15, SMARTBUFF_CONST_FOOD},
    {SMARTBUFF_CRISPYLIZARDTAIL, 15, SMARTBUFF_CONST_FOOD},    
    {SMARTBUFF_BIGBEARSTEAK, 15, SMARTBUFF_CONST_FOOD},
    {SMARTBUFF_LEANWOLFSTEAK, 15, SMARTBUFF_CONST_FOOD},
    {SMARTBUFF_GOOEYSPIDERCAKE, 15, SMARTBUFF_CONST_FOOD},
    {SMARTBUFF_MURLOCFINSOUP, 15, SMARTBUFF_CONST_FOOD},
    {SMARTBUFF_CURIOUSLYTASTYOMELET, 15, SMARTBUFF_CONST_FOOD},
    {SMARTBUFF_LEANVENISON, 15, SMARTBUFF_CONST_FOOD},
    {SMARTBUFF_HOTLIONCHOPS, 15, SMARTBUFF_CONST_FOOD},
    {SMARTBUFF_SEASONEDWOLFKABOB, 15, SMARTBUFF_CONST_FOOD},    
    {SMARTBUFF_CROCOLISKGUMBO, 15, SMARTBUFF_CONST_FOOD},
    {SMARTBUFF_SOOTHINGTURTLEBISQUE, 15, SMARTBUFF_CONST_FOOD},
    {SMARTBUFF_HEAVYCROCOLISKSTEW, 15, SMARTBUFF_CONST_FOOD},
    {SMARTBUFF_JUNGLESTEW, 15, SMARTBUFF_CONST_FOOD},
    {SMARTBUFF_GOBLINDEVILEDCLAMS, 15, SMARTBUFF_CONST_FOOD},
    {SMARTBUFF_TASTYLIONSTEAK, 15, SMARTBUFF_CONST_FOOD},
    {SMARTBUFF_SAGEFISHDELIGHT, 15, SMARTBUFF_CONST_FOOD},
    {SMARTBUFF_HOTWOLFRIBS, 15, SMARTBUFF_CONST_FOOD},
    {SMARTBUFF_CARRIONSURPRISE, 15, SMARTBUFF_CONST_FOOD},
    {SMARTBUFF_ROASTRAPTOR, 15, SMARTBUFF_CONST_FOOD},
    {SMARTBUFF_GIANTCLAMSCORCHO, 15, SMARTBUFF_CONST_FOOD},
    {SMARTBUFF_MYSTERYSTEW, 15, SMARTBUFF_CONST_FOOD},
    {SMARTBUFF_BARBECUEDBUZZARDWING, 15, SMARTBUFF_CONST_FOOD},    
    {SMARTBUFF_HEAVYKODOSTEW, 15, SMARTBUFF_CONST_FOOD},
    {SMARTBUFF_TENDERWOLFSTEAK, 15, SMARTBUFF_CONST_FOOD},
    {SMARTBUFF_MONSTEROMELET, 15, SMARTBUFF_CONST_FOOD},
    {SMARTBUFF_SPICEDCHILICRAB, 15, SMARTBUFF_CONST_FOOD},
    {SMARTBUFF_COOKEDGLOSSYMIGHTFISH, 10, SMARTBUFF_CONST_FOOD},
    {SMARTBUFF_GRILLEDSQUID, 10, SMARTBUFF_CONST_FOOD},
    {SMARTBUFF_HOTSMOKEDBASS, 10, SMARTBUFF_CONST_FOOD},
    {SMARTBUFF_NIGHTFINSOUP, 10, SMARTBUFF_CONST_FOOD},
    {SMARTBUFF_POACHEDSUNSCALESALMON, 10, SMARTBUFF_CONST_FOOD},
    {SMARTBUFF_RUNNTUMTUBERSURPRISE, 10, SMARTBUFF_CONST_FOOD},
    {SMARTBUFF_MIGHTFISHSTEAK, 10, SMARTBUFF_CONST_FOOD},
    {SMARTBUFF_DIRGESKICKINCHIMAEROKCHOPS, 1, SMARTBUFF_CONST_FOOD},
  };
Report comment to moderator  
Reply With Quote
Unread 06-04-19, 10:50 PM  
veoj
A Defias Bandit
 
veoj's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 60
Uploads: 10
Re: buff foods

Awesome stuff. I'll look into why the food buff is not issuing a warning.

Have uploaded a version with the fix for your error and the food and scrolls stuff you've done (awesome! thanks!)

Originally Posted by txamethyst
i updated smartbuff.buffs.lua with all of the buff foods from classic following the same format as the retail version while updating the duration as necessary. they show up in the buff list but do not give a reminder when not having the buff initially or when the buff runs out. where did i do it wrong?

[code]-- Food
SMARTBUFF_KALDOREISPIDERKABOB = GetItemInfo(5472); --"Kaldorei Spider Kabob"
...
Report comment to moderator  
Reply With Quote
Unread 06-05-19, 06:26 PM  
txamethyst
An Aku'mai Servant
 
txamethyst's Avatar

Forum posts: 36
File comments: 84
Uploads: 0
food weirdness

i get the rebuff warning AFTER i eat a buff food.

to be more clear - i ate goblin deviled clams and as i finished the "needs xxx" error popped in chat.
Last edited by txamethyst : 06-06-19 at 09:04 AM.
Report comment to moderator  
Reply With Quote
Unread 06-05-19, 08:23 PM  
Booji
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Would it be possible to re-enable the tracking section? With classic, and dying, I always forget to put my tracking back on.

Here are some diffs of changes to add a few mage spells that are missing. Sorry didn't have a way to make a patch file.

343c343,344
< SMARTBUFF_FROSTARMOR = GetSpellInfo(7302); --"Frost Armor"
---
> SMARTBUFF_ICEARMOR = GetSpellInfo(7302); --"Ice Armor"
> SMARTBUFF_FROSTARMOR = GetSpellInfo(168); --"Frost Armor"
357c358,359
< --SMARTBUFF_AMPMAGIC = GetSpellInfo(159916);--"Amplify Magic"
---
> SMARTBUFF_AMPMAGIC = GetSpellInfo(1008);--"Amplify Magic"
> SMARTBUFF_DAMPENMAGIC = GetSpellInfo(604);--"Dampen Magic"
363c365
< S.ChainMageArmor = { SMARTBUFF_FROSTARMOR, SMARTBUFF_MAGEARMOR, SMARTBUFF_MOLTENARMOR };
---
> S.ChainMageArmor = { SMARTBUFF_ICEARMOR, SMARTBUFF_FROSTARMOR, SMARTBUFF_MAGEARMOR, SMARTBUFF_MOLTENARMOR };
732a735
> {SMARTBUFF_DAMPENMAGIC, 0.1, SMARTBUFF_CONST_SELF},
733a737
> {SMARTBUFF_ICEARMOR, -1, SMARTBUFF_CONST_SELF, nil, nil, nil, S.ChainMageArmor},


Thanks,
Booji
Last edited by Booji : 06-05-19 at 09:51 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: