Download
(63Kb)
Download
Updated: 05-09-12 02:47 PM
Pictures
File Info
Updated:05-09-12 02:47 PM
Created:unknown
Downloads:38,207
Favorites:148
MD5:

Spellcraft  Popular! (More than 5000 hits)

Version: 1.402
by: batrick [More]

News

Spellcraft is back!

Please donate for Spellcraft's Continued Development: Click here to lend your support!


This addon, Spellcraft, does a variety of things for the Mage Class.

All of which you can configure yourself using /spellcraft or /sc.


This addon is entirely modularized. This means that you pick the features that you want, the rest do NOT stay in memory (i.e. the addon is only as big as you want it to be). You can pick the modules you want using /spellcraft when you are logged in. Additionally if you would like, you can permanently remove the modules yourself; they are all in this folder following the naming convention: "Spellcraft.[Module].lua".

Below are some of the features you have availible to you:

  • You can buy reagents (up to a certain number you can set with "/changereagent"), sell your gray items, and repair all your items. Will tell you when you need to purchase more reagents upon entering a city.
  • You can use the slash command: "/bandagem" to messages healers in our group/raid that are targetting you that you are bandaging yourself. It also notifies your party. This can also be done automatically.
  • Automatically Releases you from a BG.
  • Makes a Minimap Button only for mages that, when clicked, will open a frame with all the portals your level permits you to cast, along with your hearthstone.
  • The addon will give you a prompt to remove all your armor when you use invisibility while in a group and leaving combat. It will then provide a prompt to put all your gear back on.
  • You can set up this addon to automatically whisper people that are targetting your sheep, message your party, and message your raid. You can also use the slash command: "/polym [f,t]". If you use this, TURN OFF automatic messaging. For example: "/polym f" where f means your sheep is your focus, or use "/polym t" where t means your sheep is your target. It messages people in your group/raid/battlegroup ONCE that they are targeting your "focus" or "target" and that you are polymorphing their target. Additionally, it has a configurable set probable chance to say polymorph phrases when in a party or raid, depending on your settings. These things you can configure with "/polym config".
  • Tells you who broke your sheep and with what attack/spell.
  • This addon automatically collects garbage (recycles unused memory) of all addons when you die or enter a place of rest. This helps minimize computer lag (not netowrk lag!). Other conditionals for this may be added in the future.

SLASH COMMAND LIST

/spellcraft -- Configure this addon.

/bandagem -- Messages healers in your group that are targeting you, that you are bandaging yourself. Also notifies party.

/polym [config,f,t]-- Messages people in your party/raid/battlegroup that you are polymorphing their target. Messages your party as well, if you are just in a party.

/getnaked -- Takes off all your gear with durability.

/gearoff -- Same as /getnaked.

/gearon -- Puts your gear (that you took off with /getnaked) back on.

/changereagent -- Opens a window to change the maximum number of each of your class' reagent to buy.

http://www.unm.edu/~batrick/spellcraft/files/ChangeLog.txt
Post A Reply Comment Options
Unread 10-16-14, 08:39 AM  
Peyana
A Deviate Faerie Dragon
 
Peyana's Avatar

Forum posts: 11
File comments: 122
Uploads: 0
Originally Posted by shurshik
It's not difficult to update it, do people need it? Write on [email protected] If I get a lot of mails I'll see if I can take it and update.
Just sent an email, but in case you don't get it, would love to have this working again. I don't know if it's TOC just needs to be updated, or if there is something else that needs to be fixed, but I can use it with every toon I have except my mages. I cannot move my mage with the mouse--can't use the mouse for anything on those particular toons. Turn off Spellcraft, and voila, I can use the mouse for movement again.
Report comment to moderator  
Reply With Quote
Unread 09-11-14, 08:20 AM  
Peyana
A Deviate Faerie Dragon
 
Peyana's Avatar

Forum posts: 11
File comments: 122
Uploads: 0
Re: To make this work for Monks

Originally Posted by Redfoot9
A quick edit to Spellcraf*****rchant.lua at line 155 where is says:

PALADIN = {

Just add a line before that and enter the following:

MONK = {},
Thank you! I used nOtepad ++, and the line # wasn't the same, but I found where you were talking about and it worked like a charm! Thanks again!
Report comment to moderator  
Reply With Quote
Unread 08-03-14, 02:45 AM  
shurshik
An Aku'mai Servant
AddOn Author - Click to view AddOns

Forum posts: 31
File comments: 168
Uploads: 11
It's not difficult to update it, do people need it? Write on [email protected] If I get a lot of mails I'll see if I can take it and update.
Report comment to moderator  
Reply With Quote
Unread 02-12-14, 11:04 AM  
Redfoot9
A Defias Bandit
 
Redfoot9's Avatar

Forum posts: 2
File comments: 4
Uploads: 0
To make this work for Monks

A quick edit to Spellcraf*****rchant.lua at line 155 where is says:

PALADIN = {

Just add a line before that and enter the following:

MONK = {},
Report comment to moderator  
Reply With Quote
Unread 03-18-13, 03:19 PM  
Peyana
A Deviate Faerie Dragon
 
Peyana's Avatar

Forum posts: 11
File comments: 122
Uploads: 0
Monk Class

Just an FYI - if you have rolled a monk, Spellcraft does not work with it. This is one of my most used add-ons, so I'm hoping that Batrick does an update or allows someone to update it for him. Love, love, love this add-on and miss it's working properly! I've done the updates submitted by Pennet---thank you, thank you, thank you! But I haven't seen any code change to fix the monk issue. Have a great day everyone!
Report comment to moderator  
Reply With Quote
Unread 10-13-12, 08:11 PM  
Peyana
A Deviate Faerie Dragon
 
Peyana's Avatar

Forum posts: 11
File comments: 122
Uploads: 0
Error in Spellcraft

I received this error today:

Date: 2012-10-13 21:13:18
ID: 3
Error occured in: Global
Count: 1
Message: ..\AddOns\Spellcraft\Spellcraft.Collect.lua line 50:
script ran too long
Debug:
[C]: collectgarbage()
Spellcraft\Spellcraft.Collect.lua:50:
Spellcraft\Spellcraft.Collect.lua:45
Spellcraft\Spellcraft.Collect.lua:75: ?()
Spellcraft\Spellcraft.lua:318:
Spellcraft\Spellcraft.lua:313
Locals:

AddOns:
Swatter, v4.0.5 (<%codename%>)
WowheadLooter, v50006
NPCScan, v5.0.0.5
NPCScanOverlay, v5.0.0.2
Ace3, v
AckisRecipeList, v2.4.1-56-g2f8eec2
Altoholic, v5.0.002
Atlas, v1.22.1
AtlasBattlegrounds, v1.22.1
AtlasBurningCrusade, v1.22.0
AtlasCataclysm, v1.22.0
AtlasClassicWoW, v1.22.1
AtlasDungeonLocs, v1.22.0
AtlasOutdoorRaids, v1.22.1
AtlasScenarios, v1.22.1
AtlasTransportation, v1.22.1
AtlasWorldEvents, v2.8
AtlasWrathoftheLichKing, v1.22.0
AtlasLoot, vv7.03.01
AtlasLootCataclysm, vv7.03.01
AtlasLootClassicWoW, vv7.03.01
AtlasLootLoader, vv7.03.01
AtlasLootMistsofPandaria, vv7.03.01
AtlasMajorCitiesEnhanced, vv1.00
AtlasQuest, v4.8.0 BETA
AucAdvanced, v5.14.5335 (KowariOnCrutches)
aucadvancedsearcherpawn, v1.4.5
AucFilterBasic, v5.14.5335 (KowariOnCrutches)
AucFilterOutlier, v5.14.5335.5335(5.14/embedded)
AucMatchUndercut, v5.14.5335.5225(5.14/embedded)
AucScanData, v5.14.5335 (KowariOnCrutches)
AucStatHistogram, v5.14.5335 (KowariOnCrutches)
AucStatiLevel, v5.14.5335 (KowariOnCrutches)
AucStatPurchased, v5.14.5335 (KowariOnCrutches)
AucStatSales, v5.14.5335.5335(5.14/embedded)
AucStatSimple, v5.14.5335 (KowariOnCrutches)
AucStatStdDev, v5.14.5335 (KowariOnCrutches)
AucStatWOWEcon, v5.14.5335.5335(5.14/embedded)
AucUtilAHWindowControl, v5.14.5335.5133(5.14/embedded)
AucUtilAppraiser, v5.14.5335.5335(5.14/embedded)
AucUtilAskPrice, v5.14.5335.5160(5.14/embedded)
AucUtilAutoMagic, v5.14.5335.5335(5.14/embedded)
AucUtilCompactUI, v5.14.5335.5335(5.14/embedded)
AucUtilEasyBuyout, v5.14.5335.5238(5.14/embedded)
AucUtilFixAH, v5.14.5335 (KowariOnCrutches)
AucUtilItemSuggest, v5.14.5335.5335(5.14/embedded)
AucUtilPriceLevel, v5.14.5335.5237(5.14/embedded)
AucUtilScanButton, v5.14.5335.5335(5.14/embedded)
AucUtilScanFinish, v5.14.5335.5153(5.14/embedded)
AucUtilScanProgress, v5.14.5335.4979(5.14/embedded)
AucUtilScanStart, v5.14.5335.5153(5.14/embedded)
AucUtilSearchUI, v5.14.5335.5335(5.14/embedded)
AucUtilSimpleAuction, v5.14.5335.5208(5.14/embedded)
AucUtilVendMarkup, v5.14.5335.4828(5.14/embedded)
Babylonian, v5.1.DEV.332(/embedded)
BagBrother, v
Bagnon, v5.0.4
BankStack, vv27
BattlePetCount, v1.5.2
BeanCounter, v5.14.5335 (KowariOnCrutches)
CollectMe, v2.1.2
Configator, v5.1.DEV.344(/embedded)
Cromulent, vv1.6.1
CurseProfiler, v
DataStore, v5.0.001
DataStoreAchievements, v5.0.001
DataStoreAgenda, v5.0.001
DataStoreAuctions, v5.0.001
DataStoreCharacters, v5.0.001
DataStoreContainers, v5.0.001
DataStoreCrafts, v5.0.001
DataStoreCurrencies, v5.0.001
DataStoreInventory, v5.0.001
DataStoreMails, v5.0.001
DataStorePets, v5.0.001
DataStoreQuests, v5.0.001
DataStoreReputations, v5.0.001
DataStoreSpells, v5.0.001
DataStoreStats, v5.0.001
DataStoreTalents, v5.0.001
DBMCore, v
DBMLDB, v
DebugLib, v5.1.DEV.312(/embedded)
Decursive, v2.7.2.2
Dominos, v5.0.28
DominosBufftimes, v
DominosCast, v
DominosPetBattles, v2
DominosXP, v
EasyMail, v
Enchantrix, v5.14.5335 (KowariOnCrutches)
EnchantrixBarker, v5.14.5335 (KowariOnCrutches)
FishingBuddy, v1.1d
Gatherer, v4.0.5
GearScore, v5.00.00.00
HealBot, v5.0.5.4
InFlightLoad, v5.0.001
Informant, v5.14.5335 (KowariOnCrutches)
LibExtraTip, v5.12.DEV.324(/embedded)
LightHeaded, v352
Livestock, v1.6.9
Molinari, v50001.22-Beta
Outfitter, v5.6.1
Pawn, v1.6.8
PetBattleTeams, v2.4.10
QuestCompletist, v99.9
QuestGuru, v2.2.13-50001
QuestGuruTracker, v1.5.14-50001
Rarity, v1.0
RarityOptions, v
Recount, v
SimpleCoords, v1.94
Skillet, v
SlideBar, v4.0.5 (<%codename%>)
Spellcraft, v
Stubby, v5.14.5335 (KowariOnCrutches)
TabardMaster, v097c
TipHelper, v5.12.DEV.315(/embedded)
Titan, v5.1.7.50001
TitanGold, v5.1.5.50001
TitanHealBot, v5.0.5.0
TitanXP, v5.1.7.50001
TomTom, vv50001-1.2.1
WIM, v3.6.2
XBar, v4.13
XBuffBar, v4.05
XHealBar, v4.05
XPetStuffBar, v4.06
XRogueBar, v4.03
XTotemBar, v4.05
XTradeBar, v4.05
XTrapBar, v4.03
XWarlockBar, v4.04
BlizRuntimeLib_enUS v5.0.5.50001 <us>
(ck=1022)
Report comment to moderator  
Reply With Quote
Unread 10-03-12, 08:13 PM  
Pennet
An Aku'mai Servant

Forum posts: 32
File comments: 31
Uploads: 0
Updating

Updating "out of date" message, and adding Vale of Eternal Blossoms Portal/Teleport Spells.

LINE NUMBERS FOR ALL EDITS HERE ARE PREDICATED ON HAVING A FILE MODIFIED FOR TOL BARAD SPELLS FOR BOTH FACTIONS, AS DESCRIBED IN MY COMMENT OF 12-05-11 BELOW.

--

To update so it doesn't indicate out of date, open Spellcraft.toc, and where it says "Interface: 40300", change it to read "Interface: 50001", save and reload.

I have modified my copy of Spellcraft to include Vale of Eternal Blossoms portal/teleports, and here's how I did it. It requires editing the .lua file, so if you're not comfortable with that, I'm sorry.

DISCLAIMER: Make a copy of your Spellcraft.Minimap.lua file prior to making these changes. I do not know the .lua programming language; I made these changes by copying what was there and trial and error. I do not have a horde mage, and cannot test the functionality there, but the syntax is the same, so it should work. If it doesn't work for you, you can ask, but I cannot guarantee I can help. All I can say is it works for me, Alliance-side, and these edits are copied directly out of my file.

Also note that since this was last released, the levels at which portals and teleports are learned has been reshuffled, and if you're leveling a mage, some spells may show up well before you can learn them, and some may not show up 'til much later. Fixing this is not super-complicated, but would require a full rework of the Minimap.lua, and is of much greater scope than can be conveyed in an edit. If I get some free time, I'll work on a fan update, but no promises.

--

Vale of Eternal Blossoms Edits

Updating for Vale of Eternal Blossoms requires editing one line, and copying and inserting one or two blocks of text. I HIGHLY recommend downloading and using Notepad++ for editing your .lua files, as it has line numbers and markings that make reading .lua files MUCH easier. Regular Windows Notepad is useless, and Wordpad isn't much better. Get Notepad++, and make your life easy.

Open Spellcraft.Minimap.lua in Notepad++.

FIRST, for either/both factions of Vale of Eternal Blossoms icons, go to line 495, and change the line from

drop:SetHeight(500);

to

drop:SetHeight(550);

For Horde Vale of Eternal Blossoms, go to line 119, hit <Enter> one time, and on (the now blank) line 119, paste the following code:
Code:
    if level > 84 then
	fs = drop:CreateFontString("SC_Minimap_Drop_Vale_of_Eternal_Blossoms", "ARTWORK",
      "GameFontNormalSmall");
    fs:SetPoint("CENTER", drop, "TOP", 0, -490);
    fs:SetText("|cFFFFFF00Vale of Eternal Blossoms|r");
	CreatePortalButton("SC_Minimap_Drop_Portal_Eight",
      drop, 30, 30,
      132620,
      "Interface\\Icons\\spell_arcane_portalshattrath", "TOPRIGHT", -45, -515);
	CreatePortalButton("SC_Minimap_Drop_TeleportSeven",
      drop, 30, 30,
      132621,
      "Interface\\Icons\\spell_arcane_teleportshattrath", "TOPLEFT", 45, -515);
  else
    drop:SetHeight(450);
  end

Allliance code is a little trickier, depending on whether you inserted the horde code or not. If you DID NOT insert the horde code, the Alliance code will be inserted on line 267. If you DID insert the horde code, the Alliance code will be inserted on line 283.

In either case, go to the appropriate line, hit <Enter> one time, and on (the now blank) line, insert the following code:
Code:
    if level > 84 then
	fs = drop:CreateFontString("SC_Minimap_Drop_Vale_of_Eternal_Blossoms", "ARTWORK",
      "GameFontNormalSmall");
    fs:SetPoint("CENTER", drop, "TOP", 0, -490);
    fs:SetText("|cFFFFFF00Vale of Eternal Blossoms|r");
	CreatePortalButton("SC_Minimap_Drop_Portal_Eight",
      drop, 30, 30,
      132626,
      "Interface\\Icons\\spell_arcane_portalshattrath", "TOPRIGHT", -45, -515);
	CreatePortalButton("SC_Minimap_Drop_TeleportSeven",
      drop, 30, 30,
      132627,
      "Interface\\Icons\\spell_arcane_teleportshattrath", "TOPLEFT", 45, -515);
  else
    drop:SetHeight(450);
  end
Save, and reload WoW, and happy portaling!
Report comment to moderator  
Reply With Quote
Unread 07-24-12, 12:27 PM  
Watercooler423
A Kobold Labourer

Forum posts: 0
File comments: 43
Uploads: 0
Oh wow, this addon is back o.O, It was the first mage addon i downloaded lol. I missed it
Report comment to moderator  
Reply With Quote
Unread 04-06-12, 01:16 PM  
mikenowo
An Aku'mai Servant

Forum posts: 36
File comments: 6
Uploads: 0
Minimap button appears on one realm mage but not on another

I have a strange issue: The Minimap button appears on one realm mage but not on another realm mage char I have. Both have it enabled. Why would it appear on one and not the other?
Report comment to moderator  
Reply With Quote
Unread 12-19-11, 07:04 AM  
batrick
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 12
Uploads: 2
Re: Re: Updated...

Originally Posted by Peyana
Originally Posted by batrick
I did everything manually and haven't been able to test it. There may be a stray bug. Let me know...
The minimap button does not appear. Otherwise, it is awesome! Thank you so much for this invaluable add-on! I would be lost without it!
I think I fixed it...

Thanks for the kind words Peyana .
Report comment to moderator  
Reply With Quote
Unread 12-16-11, 05:10 PM  
Peyana
A Deviate Faerie Dragon
 
Peyana's Avatar

Forum posts: 11
File comments: 122
Uploads: 0
Re: Updated...

Originally Posted by batrick
I did everything manually and haven't been able to test it. There may be a stray bug. Let me know...
The minimap button does not appear. Otherwise, it is awesome! Thank you so much for this invaluable add-on! I would be lost without it!

Here is the error I got:
Date: 2011-12-16 17:08:45
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\Spellcraft\Spellcraft.Minimap.lua line 254:
attempt to index global 'SC_Minimap_Drop_Note' (a nil value)
Debug:
(tail call): ?
[C]: ?
Spellcraft\Spellcraft.Minimap.lua:254:
Spellcraft\Spellcraft.Minimap.lua:209
Spellcraft\Spellcraft.Minimap.lua:432:
Spellcraft\Spellcraft.Minimap.lua:405
Spellcraft\Spellcraft.Minimap.lua:496:
Spellcraft\Spellcraft.Minimap.lua:442
Spellcraft\Spellcraft.Minimap.lua:587: ?()
Spellcraft\Spellcraft.lua:318:
Spellcraft\Spellcraft.lua:313
AddOns:
Swatter, v5.13.5241 (BoldBandicoot)
WowheadLooter, v40020
NPCScan, v4.3.0.1
NPCScanOverlay, v4.3.0.1
AckisRecipeList, v2.2.11
Altoholic, v4.3.001
Atlas, v1.21.1
AtlasBattlegrounds, v1.21.1
AtlasDungeonLocs, v1.21.0
AtlasOutdoorRaids, v1.21.0
AtlasLoot, vv6.05.02
AtlasLootCataclysm, vv6.05.02
AtlasLootLoader, vv6.05.02
AtlasQuest, v4.6.7
AucAdvanced, v5.13.5241 (BoldBandicoot)
aucadvancedsearcherpawn, v1.3.8
AucFilterBasic, v5.13.5241 (BoldBandicoot)
AucFilterOutlier, v5.13.5241.5187(5.13/embedded)
AucMatchUndercut, v5.13.5241.5232(5.13/embedded)
AucStatHistogram, v5.13.5241 (BoldBandicoot)
AucStatiLevel, v5.13.5241 (BoldBandicoot)
AucStatPurchased, v5.13.5241 (BoldBandicoot)
AucStatSales, v5.13.5241.4838(5.13/embedded)
AucStatSimple, v5.13.5241 (BoldBandicoot)
AucStatStdDev, v5.13.5241 (BoldBandicoot)
AucStatWOWEcon, v5.13.5241.4828(5.13/embedded)
AucUtilAHWindowControl, v5.13.5241.5133(5.13/embedded)
AucUtilAppraiser, v5.13.5241.5241(5.13/embedded)
AucUtilAskPrice, v5.13.5241.5160(5.13/embedded)
AucUtilAutoMagic, v5.13.5241.5224(5.13/embedded)
AucUtilCompactUI, v5.13.5241.5241(5.13/embedded)
AucUtilEasyBuyout, v5.13.5241.5241(5.13/embedded)
AucUtilFixAH, v5.13.5241 (BoldBandicoot)
AucUtilItemSuggest, v5.13.5241.5224(5.13/embedded)
AucUtilPriceLevel, v5.13.5241.5241(5.13/embedded)
AucUtilScanButton, v5.13.5241.5153(5.13/embedded)
AucUtilScanFinish, v5.13.5241.5153(5.13/embedded)
AucUtilScanProgress, v5.13.5241.4979(5.13/embedded)
AucUtilScanStart, v5.13.5241.5153(5.13/embedded)
AucUtilSearchUI, v5.13.5241.5241(5.13/embedded)
AucUtilSimpleAuction, v5.13.5241.5210(5.13/embedded)
AucUtilVendMarkup, v5.13.5241.4828(5.13/embedded)
Babylonian, v5.1.DEV.312(/embedded)
BagBrother, v
Bagnon, v4.3.3
BankStack, vv25
BeanCounter, v5.13.5241 (BoldBandicoot)
Collectinator, v1.0.16a
Configator, v5.1.DEV.312(/embedded)
DataStore, v4.3.001
DataStoreAchievements, v4.3.001
DataStoreAgenda, v4.3.001
DataStoreAuctions, v4.3.001
DataStoreCharacters, v4.3.001
DataStoreContainers, v4.3.001
DataStoreCrafts, v4.3.001
DataStoreCurrencies, v4.3.001
DataStoreInventory, v4.3.001
DataStoreMails, v4.3.001
DataStorePets, v4.3.001
DataStoreQuests, v4.3.001
DataStoreReputations, v4.3.001
DataStoreSpells, v4.3.001
DataStoreStats, v4.3.001
DataStoreTalents, v4.3.001
DBMCore, v
DebugLib, v5.1.DEV.312(/embedded)
Decursive, v2.7.0.4-4-g3e02bfe
Dominos, v4.3.4
DominosBufftimes, v
DominosCast, v
DominosTotems, v
DominosXP, v
EasyMail, v
Enchantrix, v5.13.5241 (BoldBandicoot)
EnchantrixBarker, v5.13.5241 (BoldBandicoot)
FBBroker, v1.15a
FBMergeDatabase, v1.0.7
FBOutfitDisplayFrame, v1.0.7
FBTitan, v1.0.7
FBTrackingFrame, v1.0.7
FishingBuddy, v1.0.7b
GearScore, v4.11.00.00
HealBot, v4.3.0.0
Informant, v5.13.5241 (BoldBandicoot)
LibExtraTip, v5.12.DEV.319(/embedded)
Livestock, v1.5.3
Outfitter, v5.4.1
Pawn, v1.5.18
QuestCompletist, v99.5
QuestGuru, v2.2.5-40300
QuestGuruTracker, v1.5.8-40300
Rarity, v1.0
RarityOptions, v
Recount, v
rThreat, v4.002
SimpleCoords, v1.94
Skillet, v
SlideBar, v5.13.5241 (BoldBandicoot)
Spellcraft, v
Stubby, v5.13.5241 (BoldBandicoot)
TipHelper, v5.12.DEV.315(/embedded)
Titan, v5.0.10.40300 - Revision 519
TitanGold, v5.0.10.40300
TitanHealBot, v4.3.0.0
TitanXP, v5.0.10.40300
TomTom, vv40300-1.4.4-541092e
WIM, v3.5.8
XBar, v4.13
XBuffBar, v4.05
XCustomBar, v4.04
XPetStuffBar, v4.06
XRogueBar, v4.03
XSealBar, v4.03
XTradeBar, v4.05
XTrapBar, v4.03
XWarlockBar, v4.04
BlizRuntimeLib_enUS v4.3.0.40300 <us>
(ck=e64)
Last edited by Peyana : 12-16-11 at 05:16 PM.
Report comment to moderator  
Reply With Quote
Unread 12-16-11, 04:32 PM  
batrick
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 12
Uploads: 2
Updated...

I did everything manually and haven't been able to test it. There may be a stray bug. Let me know...
Report comment to moderator  
Reply With Quote
Unread 12-08-11, 10:12 AM  
Redfoot9
A Defias Bandit
 
Redfoot9's Avatar

Forum posts: 2
File comments: 4
Uploads: 0
Pennet,

Thanks for the mods. I already had Notepad++ and agree it is a much better editing tool. I have applied your changes and look forward to trying them out.
Report comment to moderator  
Reply With Quote
Unread 12-05-11, 12:07 PM  
Pennet
An Aku'mai Servant

Forum posts: 32
File comments: 31
Uploads: 0
To update so it doesn't indicate out of date, open Spellcraft.toc, and where it says "Interface: 40000", change it to read "Interface: 40300", save and reload.

I have modified my copy of Spellcraft to include Tol Barad portal/teleports, and here's how I did it. It requires editing the .lua file, so if you're not comfortable with that, I'm sorry.

DISCLAIMER: Make a copy of your Spellcraft.Minimap.lua file prior to making these changes. I do not know the .lua programming language; I made these changes by copying what was there and trial and error. I do not have a horde mage, and cannot test the functionality there, but the syntax is the same, so it should work. If it doesn't work for you, you can ask, but I cannot guarantee I can help. All I can say is it works for me, Alliance-side, and these edits are copied directly out of my file.

Also note that since this was last released, the levels at which portals and teleports are learned has been reshuffled, and if you're leveling a mage, some spells may show up well before you can learn them, and some may not show up 'til much later. Fixing this is not super-complicated, but would require a full rework of the Minimap.lua, and is of much greater scope than can be conveyed in an edit. If I get some free time, I'll work on a fan update, but no promises.

--

Tol Barad Edits

Updating for Tol Barad requires editing one line, and copying and inserting one or two blocks of text. I HIGHLY recommend downloading and using Notepad++ for editing your .lua files, as it has line numbers and markings that make reading .lua files MUCH easier. Regular Windows Notepad is useless, and Wordpad isn't much better. Get Notepad++, and make your life easy.


Open Spellcraft.Minimap.lua in Notepad++.

FIRST, for either/both factions of Tol Barad icons, go to line 495, and change the line from

drop:SetHeight(450);

to

drop:SetHeight(500);

For Horde Tol Barad, go to line 119, hit <Enter> one time, and on (the now blank) line 119, paste the following code:
Code:
    if level > 84 then
	fs = drop:CreateFontString("SC_Minimap_Drop_Tol_Barad", "ARTWORK",
      "GameFontNormalSmall");
    fs:SetPoint("CENTER", drop, "TOP", 0, -440);
    fs:SetText("|cFFFFFF00Tol Barad|r");
	CreatePortalButton("SC_Minimap_Drop_Portal_Seven",
      drop, 30, 30,
      88346,
      "Interface\\Icons\\spell_arcane_portaltolbarad", "TOPRIGHT", -45, -465);
	CreatePortalButton("SC_Minimap_Drop_TeleportSeven",
      drop, 30, 30,
      88344,
      "Interface\\Icons\\spell_arcane_teleporttolbarad", "TOPLEFT", 45, -465);
  else
    drop:SetHeight(450);
  end

Allliance code is a little trickier, depending on whether you inserted the horde code or not. If you DID NOT insert the horde code, the Alliance code will be inserted on line 251. If you DID insert the horde code, the Alliance code will be inserted on line 267.

In either case, go to the appropriate line, hit <Enter> one time, and on (the now blank) line, insert the following code:
Code:
    if level > 84 then
	fs = drop:CreateFontString("SC_Minimap_Drop_Tol_Barad", "ARTWORK",
      "GameFontNormalSmall");
    fs:SetPoint("CENTER", drop, "TOP", 0, -440);
    fs:SetText("|cFFFFFF00Tol Barad|r");
	CreatePortalButton("SC_Minimap_Drop_Portal_Seven",
      drop, 30, 30,
      88345,
      "Interface\\Icons\\spell_arcane_portaltolbarad", "TOPRIGHT", -45, -465);
	CreatePortalButton("SC_Minimap_Drop_TeleportSeven",
      drop, 30, 30,
      88342,
      "Interface\\Icons\\spell_arcane_teleporttolbarad", "TOPLEFT", 45, -465);
  else
    drop:SetHeight(450);
  end
Save, and reload WoW, and happy portaling!
Report comment to moderator  
Reply With Quote
Unread 09-22-11, 09:44 AM  
Redfoot9
A Defias Bandit
 
Redfoot9's Avatar

Forum posts: 2
File comments: 4
Uploads: 0
The WoW add-on interface designates this add-on as out-of-date. Would you put an updated version in or show me how to make a change to the code so that it is current?

Thanks
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.