Page 3 of 3

Re: [SOLVED] Fix: missing tactics after login

Posted: Sat Dec 05, 2015 11:19 am
by ropuch
Sorry for overreacting and gz on your F5 CA ;)

Re: [SOLVED] Fix: missing tactics after login

Posted: Sat Dec 05, 2015 11:24 am
by Nishka
So... do we need to use both addons to make it work? Or choose any?

Re: [SOLVED] Fix: missing tactics after login

Posted: Sat Dec 05, 2015 11:50 am
by ropuch
The one taccr provided is enough, just be aware it will set your tactics to default after zoning/reloadui. No problem if you're using one tactis set.

Re: [SOLVED] Fix: missing tactics after login

Posted: Mon Dec 07, 2015 9:08 am
by ropuch
Small change to load default tactic set only after login.
Change tactic.lua to:

Code: Select all

tactic = {}

-- Global
setTactic = 3
justlogged = true

function tactic.update()
	if (justlogged)
	then
		TextLogAddEntry("Chat", 0, L"Settings tactic set to: " .. setTactic)
		TacticsEditor.OnSetMenuSelectionChanged(setTactic)
		justlogged = false	
	end
end

function tactic.init()
	RegisterEventHandler(SystemData.Events.RELOAD_INTERFACE, "tactic.update")
	RegisterEventHandler(SystemData.Events.LOADING_END, "tactic.update")
end

Re: [SOLVED] Fix: missing tactics after login

Posted: Mon Dec 07, 2015 9:24 am
by Nishka
Thanks :) Very needed change for those who have more than 1 set of tactics, like for pvp and pve.