Recent Topics

Ads

[SOLVED] Fix: missing tactics after login

Here you can post addons, or anything related to addons.
Forum rules
Before posting on this forum, be sure to read the Terms of Use
Sulorie
Posts: 7223

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

Post#11 » Fri Dec 04, 2015 5:53 pm

About what addon you guys are talking?
Dying is no option.

Ads
User avatar
zabis
Posts: 1215

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

Post#12 » Fri Dec 04, 2015 6:43 pm

ropuch created an addon to keep your tactics in slot after relog, but it was only a visual effect, the stats did not persist
Soulcheg wrote:Want mirrored classes - play chess.
Genisaurus wrote:You are not entitled to Best-in-Slot gear just because you log on.
#266

User avatar
taccr
Posts: 114

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

Post#13 » Fri Dec 04, 2015 9:07 pm

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.
Attachments
DefaultTacticSet.zip
Default Tactic Set Addon
(1.25 KiB) Downloaded 851 times
Kimy - KotBS/Chosen of Orz
ImageImage
Blitz -> Elementz -> Orz

Sulorie
Posts: 7223

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

Post#14 » Fri Dec 04, 2015 9:39 pm

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.
Dying is no option.

Tiggo
Former Staff
Posts: 1948

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

Post#15 » Fri Dec 04, 2015 9:53 pm

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...
- Martock - Tiggo - Antigonos - Mago - Hamilkar - Melquart
- Smooshie (Destro)

User avatar
taccr
Posts: 114

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

Post#16 » Fri Dec 04, 2015 9:55 pm

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.
Kimy - KotBS/Chosen of Orz
ImageImage
Blitz -> Elementz -> Orz

Sulorie
Posts: 7223

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

Post#17 » Fri Dec 04, 2015 11:32 pm

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
Dying is no option.

User avatar
ropuch
Posts: 91

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

Post#18 » Sat Dec 05, 2015 9:36 am

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
A Pounce Too Far: http://imgur.com/KeSt8WL

Ads
User avatar
ropuch
Posts: 91

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

Post#19 » Sat Dec 05, 2015 9:38 am

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 ;)
A Pounce Too Far: http://imgur.com/KeSt8WL

User avatar
taccr
Posts: 114

Re: [SOLVED] Fix: missing tactics after login

Post#20 » Sat Dec 05, 2015 10:14 am

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.
Kimy - KotBS/Chosen of Orz
ImageImage
Blitz -> Elementz -> Orz

Who is online

Users browsing this forum: Google Adsense [Bot] and 76 guests