Beta Players - Able to keep an eye on the version / any interface changes? menu

User Tag List

Results 1 to 3 of 3
  1. #1
    Veritable's Avatar OwnedCore News Correspondent
    Reputation
    326
    Join Date
    Apr 2007
    Posts
    372
    Thanks G/R
    52/123
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Beta Players - Able to keep an eye on the version / any interface changes?

    To be more detailed...

    I don't know what the actual version is going to look like. Will they stick with 1.12.0 / 1 and just keep riding like a 1.12.0.0001 -> 1.12.0.0099 etc type of nomenclature.

    Also, I am intrigued to find out what API version is there, what addon features have to be re-written. Going from 1.12.0 to 8.1.5 API is going to be a much larger jump than people probably realize unless you have been developing your addon throughout Vanilla to Today's retail client API.

    Beta Players - Able to keep an eye on the version / any interface changes?
  2. #2
    jmulhern345help's Avatar Master Sergeant
    Reputation
    41
    Join Date
    Feb 2012
    Posts
    87
    Thanks G/R
    8/8
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    local print = function(msg) if msg then DEFAULT_CHAT_FRAME:AddMessage(msg) end end
    
    SLASH_TARFOCUS1 = "/tarfocus"
    SLASH_FCAST1 = "/fcast"
    SLASH_FOCUS1 = "/focus"
    SLASH_CLEARFOCUS1 = "/clearfocus"
    
    ClassicFocus_CurrentFocus = nil
    
    function ClassicFocus_SetFocus(name)
    	if name ~= "" then
    		ClassicFocus_CurrentFocus = name
    	elseif GetUnitName("target") ~= nil then
    		ClassicFocus_CurrentFocus = GetUnitName("target")
    	end
    end
    
    function ClassicFocus_Cast(spell)
    	--target of focus target by name using "/target" command
    	SlashCmdList["TARGET"] = (ClassicFocus_CurrentFocus)
    	
    	CastSpellByName(spell)
    	--retarget our target exploiting the slow update to the playertarget var
    	TargetUnit("playertarget")
    end
    
    SlashCmdList["FOCUS"] = function(arg)
    	ClassicFocus_SetFocus(arg)
    end
    
    SlashCmdList["CLEARFOCUS"] = function()
    	ClassicFocus_CurrentFocus = nil
    end
    
    SlashCmdList["FCAST"] = function(spell)
    	if ClassicFocus_CurrentFocus ~= nil then
    		ClassicFocus_Cast(spell)
    	else
    		UIErrorsFrame:AddMessage("|cffFF003F You have no focus.|r")
    	end
    end
    
    SlashCmdList["TARFOCUS"] = function()
    	if ClassicFocus_CurrentFocus ~= nil then
    		SlashCmdList["TARGET"] = (ClassicFocus_CurrentFocus)
    	else
    		UIErrorsFrame:AddMessage("|cffFF003F You have no focus.|r")
    	end
    end
    I was trying to get a 1.12 focus mock work and I was getting permissions errors.

  3. #3
    Veritable's Avatar OwnedCore News Correspondent
    Reputation
    326
    Join Date
    Apr 2007
    Posts
    372
    Thanks G/R
    52/123
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I am pretty sure that all the Lua Target commands are now protected in the new API. That's probably why you are getting that error.

    Edit: Yes they are, looked it up and they are protected. Not sure when it switched but it is like that in the new API and that's all that matters.

    Current list of protected functions: Category:World of Warcraft API/Protected Functions | WoWWiki | FANDOM powered by Wikia
    Last edited by Veritable; 05-18-2019 at 10:41 PM.

Similar Threads

  1. Got banned and what chances are there they keep an eye on me now?
    By Egget in forum World of Warcraft General
    Replies: 3
    Last Post: 11-05-2018, 08:04 PM
  2. How to make an account on your server [For Noobs!]
    By anders1993 in forum WoW EMU Guides & Tutorials
    Replies: 2
    Last Post: 03-15-2009, 09:58 AM
  3. How to change email of an account on the phone?
    By colm in forum WoW Scams Help
    Replies: 6
    Last Post: 12-21-2008, 08:40 AM
  4. Replies: 5
    Last Post: 07-17-2008, 01:28 AM
  5. Easy way to hack an account on a private server
    By killer78 in forum WoW Scam Prevention
    Replies: 12
    Last Post: 03-25-2008, 05:02 PM
All times are GMT -5. The time now is 12:22 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