Getting Spell IDs of all (hidden) spells you can cast! menu

User Tag List

Page 3 of 4 FirstFirst 1234 LastLast
Results 31 to 45 of 49
  1. #31
    Zongfoo's Avatar Contributor
    Reputation
    109
    Join Date
    Dec 2007
    Posts
    150
    Thanks G/R
    10/28
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by unknownplace View Post
    I did /script PickupSpell(86467)
    (which is mastery). The spell doesn't cast anything when I do it, but it causes my [Witching Hourglass] to proc. Easy way to activate trinket right before starting a fight.
    This may be something I will look into deeper as well. Might be potential for procs.

    Getting Spell IDs of all (hidden) spells you can cast!
  2. #32
    Burado's Avatar Member
    Reputation
    11
    Join Date
    May 2009
    Posts
    27
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This should work the same way, prints out spells you know that you can use (not passive) so you can later do /run PickupSpell(id) and place it on your actionbar if you like. You can change the spell range at the end, 102129 is the current max spellID, not checked the PTR so it's higher there, mostly with mob abilities tough.

    Code:
    /run local function T(a,b)local l for i=a,b do l=GetSpellLink(i)PickupSpell(i)if CursorHasSpell()and(not IsPassiveSpell(i))and IsSpellKnown(i)then print(i,"=",l)end ClearCursor()end end; T(1, 102129) -- checks spellIDs 1 to 102129
    And yes, game freezes after the ~1000th spell and you have to let the game work it's magic, can take up to 30 seconds or more if you run a slower system.

    *Edit*

    If you like to also see spells you can use but not known, this will print "(known)" to known abilities but still print the unknown once.
    Code:
    /run local function T(a,b)local l for i=a,b do l=GetSpellLink(i)PickupSpell(i)if CursorHasSpell()and(not IsPassiveSpell(i))then print(i,"=",l,IsSpellKnown(i)and"(known)"or"")end ClearCursor()end end; T(1, 102129) -- checks spellIDs 1 to 102129
    Last edited by Burado; 10-14-2011 at 07:05 AM.

  3. #33
    CreativeXtent's Avatar Moderator Authenticator enabled
    Reputation
    580
    Join Date
    Jun 2011
    Posts
    1,594
    Thanks G/R
    242/148
    Trade Feedback
    3 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    seems like blizz put a little patch to some of the grabbable skills hem

  4. #34
    StolenLegacy's Avatar Member
    Reputation
    87
    Join Date
    Jun 2008
    Posts
    221
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Improved version:
    Code:
    local perframe = 50
    local coroutine = coroutine
    local GetSpellInfo, PickupSpell, CursorHasSpell, IsPassiveSpell, PlaceAction, ClearCursor, GetActionInfo, IsUsableAction, IsSpellKnown, GetNumCompanions, GetCompanionInfo, print, GetSpellLink, CastSpellByName, ExpandTradeSkillSubClass = 
    	  GetSpellInfo, PickupSpell, CursorHasSpell, IsPassiveSpell, PlaceAction, ClearCursor, GetActionInfo, IsUsableAction, IsSpellKnown, GetNumCompanions, GetCompanionInfo, print, GetSpellLink, CastSpellByName, ExpandTradeSkillSubClass
    local function allTheSpells(startID, endID)
    	local unprintedSpells = {}
    	for x=1, GetNumCompanions("CRITTER"),1 do
    		local creatureID, creatureName, spellID= GetCompanionInfo("CRITTER", x)
    		unprintedSpells[spellID] = true
    	end
    	for x=1, GetNumCompanions("MOUNT"),1 do
    		local creatureID, creatureName, spellID= GetCompanionInfo("MOUNT", x)
    		unprintedSpells[spellID] = true
    	end
    	for _, prof in pairs({GetProfessions()}) do
    		local name,_,_,_,_,_,internalID = GetProfessionInfo(prof)
    		if not ((internalID == 393) or (internalID == 182) or (internalID == 186) or (internalID == 356))  then
    			CastSpellByName(name)
    			print("Cast:",name)
    			ExpandTradeSkillSubClass(0)
    			for skNum=1, GetNumTradeSkills() do
    				local link = GetTradeSkillRecipeLink(skNum)
    				if link then
    					local linkID = tonumber(link:match("|Henchant:(%d+)|h"))
    					if linkID then
    						unprintedSpells[linkID] = true
    					end
    				end
    			end
    			CloseTradeSkill()
    		end
    	end
    	coroutine.yield()
    	--local lastEnd
    	for i=startID, endID do
    		if i%perframe == 0 then
    			--print("Scanned from",lastEnd and (lastEnd+1) or startID,"to",i)
    			--lastEnd = i
    			coroutine.yield()
    		end
    		local name, rank, icon, powerCost, isFunnel, powerType, castingTime, minRange, maxRange = GetSpellInfo(i)
    		PickupSpell(i);
    		if CursorHasSpell() then
    			if not(IsPassiveSpell(i)) then
    				PlaceAction(1,1);
    				ClearCursor();
    				local sType, sGlobalID, subType  = GetActionInfo(1,1);
    				if (IsUsableAction(1,1) and sGlobalID == i) then
    					if not(IsSpellKnown(i)) then
    						if not unprintedSpells[i] then
    							print("["..i.."] - "..(GetSpellLink(i) or "! [" .. name .."]"));
    						end		
    					end
    				end
    			end
    		end
    	end
    end
    local f = CreateFrame("Frame")
    f:Hide()
    f:SetScript("OnUpdate",function(s)
    	local status, error = coroutine.resume(s.co)
    	if not status then
    		if error ~= "cannot resume dead coroutine" then
    			print("Coroutine failed!",error)
    		else
    			print("Scan completed successfully!")
    		end
    		s:Hide()
    	end
    end)
    SlashCmdList["TESTSPELLS"] = function(input)
    	if f:IsShown() then print("Already scanning!") end
    	local sNum, eNum = input:match("(%d+)%s+(%d+)")
    	sNum, eNum = (tonumber(sNum)), (tonumber(eNum))
    	print("Scanning from",sNum,"to",eNum)
    	local co = coroutine.create(allTheSpells)
    	coroutine.resume(co,sNum,eNum)
    	f.co = co
    	f:Show()
    end
    SLASH_TESTSPELLS1 = "/testspells"
    SlashCmdList["PICKUP"] = function(input)
    	local id = tonumber(input)
    	if id then PickupSpell(id) end
    end
    SLASH_PICKUP1 = "/pickup"
    Use /testspells start end (for example: /testspells 1 10000).
    Won't freeze the client (will still likely lag you quite a bit though).

    You can also use /pickup id (f.ex. /pickup 7267) to pick up a spell.


    EDIT #3: Updated code above and optimized a bit more. Is now more efficient and should lag less. You can try increasing the speed by raising the perframe variable in line 1. Will now also properly ignore trade skill recipes known by the player. New addon download if you don't want to replace the file yourself.
    Last edited by StolenLegacy; 10-14-2011 at 03:17 PM.
    Proud Member of the Federal Bureau of Moo

  5. #35
    bolivianthunder's Avatar Member
    Reputation
    2
    Join Date
    Dec 2009
    Posts
    41
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I was playing around with this with the new PTR build #14849 to see if any of the new 217 spells did anything. Did anyone else get any new spells available, or was that what CreativeXtent was talking about?

  6. #36
    keycrackjack's Avatar Banned
    Reputation
    1
    Join Date
    Sep 2011
    Posts
    2
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    We Break Game.

  7. #37
    Rhanah's Avatar Member
    Reputation
    10
    Join Date
    Jul 2008
    Posts
    25
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm sorry if I'm confused by this but is this useful at all? Do any of these actually do anything?

  8. #38
    Totemwolf's Avatar Member
    Reputation
    6
    Join Date
    Feb 2007
    Posts
    33
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    whats the spell ID for "Granting a Level".

    ---------- Post added at 01:48 AM ---------- Previous post was at 01:12 AM ----------

    can any one do this for the spell nerfbat? Nerfbat - Spell - World of Warcraft
    Last edited by Totemwolf; 11-09-2011 at 01:21 AM.

  9. #39
    Burado's Avatar Member
    Reputation
    11
    Join Date
    May 2009
    Posts
    27
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    /run GrantLevel("target") -- Grant a level to the target
    /run PickupSpell(93082) -- Nerfbat

  10. #40
    jackus's Avatar Active Member
    Reputation
    58
    Join Date
    Aug 2006
    Posts
    802
    Thanks G/R
    1/12
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Burado View Post
    /run GrantLevel("target") -- Grant a level to the target
    /run PickupSpell(93082) -- Nerfbat
    this would be so epic lol

  11. #41
    PringlesHunter's Avatar Private
    Reputation
    7
    Join Date
    Nov 2010
    Posts
    7
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I just tried...

    /script PickupItem(32458 ) -- Ashes of Al'ar
    /script PickupItem(49284) -- Swift Spectral Tiger

    ... And you can put them on your actionbars, but no learn them. Would be awesome if someone could figure out a script to learn stuff.. I've tried /script LearnItem(????) and that doesn't seem to work.

  12. #42
    Creepwalker's Avatar Active Member
    Reputation
    39
    Join Date
    Oct 2008
    Posts
    202
    Thanks G/R
    15/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by PringlesHunter View Post
    I just tried...

    /script PickupItem(32458 ) -- Ashes of Al'ar
    /script PickupItem(49284) -- Swift Spectral Tiger

    ... And you can put them on your actionbars, but no learn them. Would be awesome if someone could figure out a script to learn stuff.. I've tried /script LearnItem(????) and that doesn't seem to work.
    Probably because the server checks to see if you actually have the item you're trying to learn

  13. #43
    dierkop's Avatar Member
    Reputation
    4
    Join Date
    Mar 2010
    Posts
    13
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    anyone have a wotlk version? for private server

  14. #44
    willjux963's Avatar Member
    Reputation
    1
    Join Date
    May 2021
    Posts
    6
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks for sharing this my man!

  15. #45
    BenjaminT's Avatar Banned
    Reputation
    1
    Join Date
    May 2022
    Posts
    3
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Is it available ?
    i'll send a private message

Page 3 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. Get access to Requiem Closed Beta while you can.
    By Zason in forum Gaming Chat
    Replies: 4
    Last Post: 03-04-2008, 07:21 PM
  2. Sick of getting your phishing site taken down before you can see the logs?
    By Gone Phishing BBL in forum WoW Scam Prevention
    Replies: 7
    Last Post: 02-12-2008, 06:20 PM
  3. [HOWTO] Get a pet with all the abilities you want[HUNTER]
    By JoeBiden in forum World of Warcraft Guides
    Replies: 13
    Last Post: 12-31-2007, 08:20 AM
  4. Been banned? All the help you can get HERE!
    By chrisrichardson in forum World of Warcraft Guides
    Replies: 18
    Last Post: 02-08-2007, 03:00 AM
  5. Been banned? All the help you can get HERE! PART 2!!!
    By Jones4ever in forum World of Warcraft Guides
    Replies: 11
    Last Post: 01-12-2007, 02:37 PM
All times are GMT -5. The time now is 10:17 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search