Page 2 of 3

Re: [NOT WORKING] Fix: missing tactics after login

Posted: Fri Dec 04, 2015 5:53 pm
by Sulorie
About what addon you guys are talking?

Re: [NOT WORKING] Fix: missing tactics after login

Posted: Fri Dec 04, 2015 6:43 pm
by zabis
ropuch created an addon to keep your tactics in slot after relog, but it was only a visual effect, the stats did not persist

Re: [NOT WORKING] Fix: missing tactics after login

Posted: Fri Dec 04, 2015 9:07 pm
by taccr
Maybe I'm missing something here but what exactly is so difficult writing an addon to do this?

Only takes a couple lines to do this static tactic set to 1:

Code: Select all

tactic = {}

-- Global
setTactic = 1

function tactic.update()
	TextLogAddEntry("Chat", 0, L"Settings tactic set to: " .. setTactic)
	TacticsEditor.OnSetMenuSelectionChanged(setTactic);
end

function tactic.init()
	RegisterEventHandler(SystemData.Events.RELOAD_INTERFACE, "tactic.update")
	RegisterEventHandler(SystemData.Events.LOADING_END, "tactic.update")
end
Addon is in the attachement.

Re: [NOT WORKING] Fix: missing tactics after login

Posted: Fri Dec 04, 2015 9:39 pm
by Sulorie
Why you guys don't use existing addons and try to create a new one? I don't get it. I have full tactic slots each relog for weeks.

Re: [NOT WORKING] Fix: missing tactics after login

Posted: Fri Dec 04, 2015 9:53 pm
by Tiggo
Sulorie wrote:Why you guys don't use existing addons and try to create a new one? I don't get it. I have full tactic slots each relog for weeks.

you smart, but not smart enough to tell what addon you use to do this...


sad panda...

Re: [NOT WORKING] Fix: missing tactics after login

Posted: Fri Dec 04, 2015 9:55 pm
by taccr
ClosetGoblin might be able to do the same. Gear sets/tactics can be associated with zones and tiers. Haven't ever tried that but it should also work.

Re: [NOT WORKING] Fix: missing tactics after login

Posted: Fri Dec 04, 2015 11:32 pm
by Sulorie
Tiggo wrote:
Sulorie wrote:Why you guys don't use existing addons and try to create a new one? I don't get it. I have full tactic slots each relog for weeks.
you smart, but not smart enough to tell what addon you use to do this...

sad panda...
I smile when I see you sad. :twisted:
taccr wrote:ClosetGoblin might be able to do the same. Gear sets/tactics can be associated with zones and tiers. Haven't ever tried that but it should also work.
It is able to do this and it works like a charm. Tiggo, there you got your answer. :P

Re: [NOT WORKING] Fix: missing tactics after login

Posted: Sat Dec 05, 2015 9:36 am
by ropuch
taccr wrote:Maybe I'm missing something here but what exactly is so difficult writing an addon to do this?
Well, it's easy when you know what you're doing. "What's so difficult in" is lame argument, you can just throw it at anyone who's not sharing your are of expertise. Like: what's so difficult in upgrading Big-IP F5 load balancer SW from 10 to 11? Everyone knows it!

Let me rephrase your question:
Maybe I'm missing something here but what exactly is so difficult in checking BugTracker once in a while and contribute when you can? - https://github.com/WarEmu/WarBugs/issues/81

Thanks for the addon. Please contribute, if you have the knowledge :).

ropuch

Re: [NOT WORKING] Fix: missing tactics after login

Posted: Sat Dec 05, 2015 9:38 am
by ropuch
Sulorie wrote:Why you guys don't use existing addons and try to create a new one? I don't get it. I have full tactic slots each relog for weeks.
I must have skipped my "Warhammer Addons" class ;-P Thanks for reminding me the ClosetGoblin ;)

Re: [SOLVED] Fix: missing tactics after login

Posted: Sat Dec 05, 2015 10:14 am
by taccr
It's obviously a server side problem. There's nothing to contribute in the bug tracker.
I'm also not experienced with the warhammer api and all I did was checking how other addons do it. You don't have to reinvent the wheel you know?
Found the relevant function in closet goblin and just wrote a quick standalone addon.
Since you removed your code I couldn't even take a look at it.

p.s. I'm f5-ca.