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:551
Favorites:9
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 06-13-19, 02:23 PM  
Ghosthuntar
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Lazily added Rockbiter to be able to use it on my shaman!
When I have more time I could add every other weapon buffs.


Code:
  -- Classic "Rockbiter" Ranks
  SMARTBUFF_ROCKBITER1 = GetSpellInfo(8017); --"Rockbiter (Rank 1)"
  SMARTBUFF_ROCKBITER2 = GetSpellInfo(8018); --"Rockbiter (Rank 2)"
  SMARTBUFF_ROCKBITER3 = GetSpellInfo(8019); --"Rockbiter (Rank 3)"
  SMARTBUFF_ROCKBITER4 = GetSpellInfo(10399); --"Rockbiter (Rank 4)"
  SMARTBUFF_ROCKBITER5 = GetSpellInfo(16314); --"Rockbiter (Rank 5)"
  SMARTBUFF_ROCKBITER6 = GetSpellInfo(16315); --"Rockbiter (Rank 6)"
  SMARTBUFF_ROCKBITER7 = GetSpellInfo(16316); --"Rockbiter (Rank 7)"

Seems like we dont need to add all 7 ranks for duration? I dont know. It seemed to work with latest rank no matter how many lines of duration I added

Code:
{SMARTBUFF_ROCKBITER1, 5, SMARTBUFF_CONST_WEAPON},
Report comment to moderator  
Reply With Quote
Unread 06-13-19, 05:59 AM  
txamethyst
An Aku'mai Servant
 
txamethyst's Avatar

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

are still not functioning properly. i can eat a buff food on my hunter and immediately upon the buff being applied after 10 seconds of eating said food THEN i get the notification that the buff is missing.
Last edited by txamethyst : 06-13-19 at 06:00 AM.
Report comment to moderator  
Reply With Quote
Unread 06-06-19, 08:13 AM  
Booji
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Re: Re: I'm hitting a slight issue with Arcane Intellect.

Originally Posted by veoj
Originally Posted by Booji
I'm hitting a slight issue with Arcane Intellect.

I have rank 3 Arcane Intellect, and am using SmartBuff with the settings to cast on target.

When I targeted a level 10 player, and hit the SB button, I get a client message that the target is too low level. The funny thing is, if I cast my Rank 3 Arcane Intellect on them manually an action bar, it actually put Rank 2 on them, if I try Rank 3 directly from the spell book I get the same target is too low level client message. This must be new behavior with the modern client as I don't recall it working like that originally.

Regardless, it would be nice if SB was able to put the correct rank on them, or take advantage of whatever the current client is doing to allow it.

Thanks again,
Booji
Adding Ice Armor as per your other post and looking at this. Will upload a version with relevant fixes/updates later (once I figure out the chaining thing)

Ice Armor was in there, but called Frost Armor (using Ice Armor spell id though). The lower level Frost Armor was missing, so I added that, named them properly and put the additional armor in the Mages armor array.

Amplify Magic was disabled and using the wrong spell id for classic.
Dampen Magic was missing.

Thanks for getting this working in classic!

Cheers,
Booji
Report comment to moderator  
Reply With Quote
Unread 06-05-19, 10:20 PM  
veoj
A Defias Bandit
 
veoj's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 60
Uploads: 10
Re: I'm hitting a slight issue with Arcane Intellect.

Originally Posted by Booji
I'm hitting a slight issue with Arcane Intellect.

I have rank 3 Arcane Intellect, and am using SmartBuff with the settings to cast on target.

When I targeted a level 10 player, and hit the SB button, I get a client message that the target is too low level. The funny thing is, if I cast my Rank 3 Arcane Intellect on them manually an action bar, it actually put Rank 2 on them, if I try Rank 3 directly from the spell book I get the same target is too low level client message. This must be new behavior with the modern client as I don't recall it working like that originally.

Regardless, it would be nice if SB was able to put the correct rank on them, or take advantage of whatever the current client is doing to allow it.

Thanks again,
Booji
Adding Ice Armor as per your other post and looking at this. Will upload a version with relevant fixes/updates later (once I figure out the chaining thing)
Report comment to moderator  
Reply With Quote
Unread 06-05-19, 09:53 PM  
Booji
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Originally Posted by veoj
Not possible at the present as Blizz have effectively removed the tracking api - would require a total rework (if it's even possible). For that we should pursue the original authors/maintainers to launch an official version. I'm just doing enough to make it work and don't have then time or knowledge of the addon code to be able to do this effectively.

Originally Posted by Booji
Mage's Ice Armor missing.

https://classic.wowhead.com/spell=7302/ice-armor

Would it be possible to re-enable the tracking section? With classic, and dying, I always forget to put my tracking back on.

Thanks,
Booji
Ah okay no worries. I updated the original post with some other missing mage spells.
Report comment to moderator  
Reply With Quote
Unread 06-05-19, 09:40 PM  
veoj
A Defias Bandit
 
veoj's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 60
Uploads: 10
Not possible at the present as Blizz have effectively removed the tracking api - would require a total rework (if it's even possible). For that we should pursue the original authors/maintainers to launch an official version. I'm just doing enough to make it work and don't have then time or knowledge of the addon code to be able to do this effectively.

Originally Posted by Booji
Mage's Ice Armor missing.

https://classic.wowhead.com/spell=7302/ice-armor

Would it be possible to re-enable the tracking section? With classic, and dying, I always forget to put my tracking back on.

Thanks,
Booji
Report comment to moderator  
Reply With Quote
Unread 06-05-19, 08:41 PM  
Booji
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
I'm hitting a slight issue with Arcane Intellect.

I have rank 3 Arcane Intellect, and am using SmartBuff with the settings to cast on target.

When I targeted a level 10 player, and hit the SB button, I get a client message that the target is too low level. The funny thing is, if I cast my Rank 3 Arcane Intellect on them manually an action bar, it actually put Rank 2 on them, if I try Rank 3 directly from the spell book I get the same target is too low level client message. This must be new behavior with the modern client as I don't recall it working like that originally.

Regardless, it would be nice if SB was able to put the correct rank on them, or take advantage of whatever the current client is doing to allow it.

Thanks again,
Booji
Last edited by Booji : 06-05-19 at 08:44 PM.
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
Unread 06-05-19, 06:26 PM  
txamethyst
An Aku'mai Servant
 
txamethyst's Avatar

Forum posts: 36
File comments: 83
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-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-04-19, 05:50 PM  
txamethyst
An Aku'mai Servant
 
txamethyst's Avatar

Forum posts: 36
File comments: 83
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, 05:22 PM  
txamethyst
An Aku'mai Servant
 
txamethyst's Avatar

Forum posts: 36
File comments: 83
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, 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-03-19, 08:12 AM  
txamethyst
An Aku'mai Servant
 
txamethyst's Avatar

Forum posts: 36
File comments: 83
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-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
Post A Reply



Category Jump: