Download
(54 Kb)
Download
Updated: 06/05/15 06:49 AM
Pictures
File Info
Compatibility:
Update 3 (1.3.3)
Updated:06/05/15 06:49 AM
Created:02/15/14 12:23 PM
Monthly downloads:58
Total downloads:33,678
Favorites:85
MD5:
Wykkyd War Tools  Popular! (More than 5000 hits)
Version: 1.8.4.2
by: Ravalox Darkshire [More]
Author: Exodus Code Group, aka Ravalox and Balkoth
Guild 1: Brotherhood of Redemption, Daggerfall Covenant
Guild 2: The Prydonian Elders, Daggerfall Covenant
Website: Exodus code Group

Follow us on Twitter for updates, upcoming changes & more


THIS ADDON DISCONTINUED

Due to the critical Chat and Addon Communication features that this addon was originally designed to heavily leverage to assist with raid coordination, this addon is simply not worth the time or effort to maintain, or to use.

The primary usage of this addon is done better by CyrHUD

This addon may be revived over time should certain API features be returned for our use, but will not be receiving any updates or bug fixes for the foreseeable future.
ADDON DISCONTINUED

1.8.4.1
- Updated for patch 1.3.3

1.5.26.1
- Updated to new API version
- Integrated Sintacks' patch as official version (thanks sintacks, you rock)

1.5.2.1
- Addon is now stand-alone and does not require Framework
- Cleaned up the Settings interface quite a bit
- New underlying code structure. Should run smoother now.

1.4.21.1
- Update for new Framework version
- Added new details to the Addons window for version & expected Framework version

Prior
- Fix for keybinds.
Optional Files (1)
File Name
Version
Size
Author
Date
Type
1.5.2.1_sintacks
53kB
05/14/14 08:40 PM
Patch


Archived Files (1)
File Name
Version
Size
Uploader
Date
1.8.4.1
53kB
Wykkyd
08/04/14 03:54 PM


Post A Reply Comment Options
Unread 07/07/14, 11:09 AM  
Wykkyd
Are you Wykkyd Gaming?
 
Wykkyd's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 107
File comments: 390
Uploads: 28
Hey guys.

I would like to apologize to those of you who use my addons. I know it feels like I've abandoned my projects. And the truth is, I've absolutely spent FAR less time on them as I'd planned/intended. You all deserve better. My mental picture of where I want these to be deserves better. All in all, I'm just not happy with the way things have turned out.

No, I'm not walking away. I will be returning to the fray and getting these things up to speed and enhancing them. It just may take a few extra weeks for that to happen. I can't say enough how sorry I am for the delays. Again, they weren't planned.

For those curious or interested, here's the 'why':

I work in healthcare. I am Senior Software Developer at a large data firm that helps health insurance companies submit data to the US government for financial aid/reimbursement. I work on one specific product here and that product has expanded in scope far beyond its original design. And I only have one other C# developer to help me. There were pieces and parts to all of this expansion that were unforeseen and I've been working around the clock for the last several months to catch up and overcome this... "burden".

My addon development life has suffered. My gaming has suffered. My time with family has suffered. My poor little four year old feels like he never sees his daddy, and has told me so. My wife tried building shelves last week without me there to help, because I was working, and ended up slicing her left thumb open on a table saw when a board kicked back on her. ... things have just been a mess.

With all of that I haven't been playing to see my addons work or break. I haven't been logging into PTS before patches to see changes before they hit live and adapt. I, in fact, am not even up to speed on when/where/what the next patch is or what patch we're even currently on at this point.

So, thanks to all who have stuck with me despite all of this. I appreciate each and every one of you. I am sorry I haven't been around to answer your questions more actively and to assist you all the way that I did that first month or so. Those that were around back then know the level of service I INTEND to bring to the table, and you know that something has been keeping me from doing it. Well... now you know what that something has been.

All of that said my project should be rounding out over the next few weeks with less and less work required from myself as we push our final product into production. And that should mean a return to addon development in the near future. Hopefully some of you are still around when that happens.
Report comment to moderator  
Reply With Quote
Unread 05/24/14, 01:39 PM  
joshmiller83
AddOn Super User
 
joshmiller83's Avatar
Premium Member

Forum posts: 70
File comments: 243
Uploads: 0
Question Errors

Code:
2014-05-24T15:27:10.178-05:00 |cff0000Lua Error: user:/AddOns/wykkydsWarTools/addon.lua:292: table index is nil
stack traceback:
	user:/AddOns/wykkydsWarTools/addon.lua:292: in function 'LoadLists'
	user:/AddOns/wykkydsWarTools/addon.lua:330: in function 'LoadSavedVariables'
	user:/AddOns/wykkydsWarTools/addon.lua:381: in function 'onBeforeStartupCallback'
	user:/AddOns/wykkydsMailBox/embed/LibWykkydFactory/LibWykkydFactory.lua:5291: in function '(anonymous)'|r
Report comment to moderator  
Reply With Quote
Unread 05/22/14, 02:15 PM  
SkOODaT
 
SkOODaT's Avatar
AddOn Author - Click to view AddOns

Forum posts: 58
File comments: 169
Uploads: 11
2014-05-22T15:21:19.934-05:00 |cff0000Lua Error: user:/AddOns/wykkydsWarTools/addon.lua:292: table index is nil
stack traceback:
user:/AddOns/wykkydsWarTools/addon.lua:292: in function 'LoadLists'
user:/AddOns/wykkydsWarTools/addon.lua:330: in function 'LoadSavedVariables'
user:/AddOns/wykkydsWarTools/addon.lua:381: in function 'onBeforeStartupCallback'
user:/AddOns/wykkydsMailBox/embed/LibWykkydFactory/LibWykkydFactory.lua:5291: in function '(anonymous)'|r

100004 :S
Report comment to moderator  
Reply With Quote
Unread 05/14/14, 08:48 PM  
sintacks
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 7
Uploads: 1
Patched version uploaded

I've uploaded a version of Wykkyd's addon with my patch applied to the optional files section. Hopefully others will find this useful until Wykkyd has time to update his official version of the addon.

All of his original files are in my zip, including the donations file. I take no credit for the work, and the patch I applied can be freely used.
Report comment to moderator  
Reply With Quote
Unread 05/13/14, 01:04 PM  
Wykkyd
Are you Wykkyd Gaming?
 
Wykkyd's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 107
File comments: 390
Uploads: 28
Originally Posted by kevough
is anyone going to fix this for an updated d/l version? it sucks that the addon seems like it would be amazing but it doesnt work, i have the same problem as the guy below, about the yellow coords kinda thing, it doesnt set out commands or subtitles on where togo. And i dont know how to change the stuff you have posted on the fix"

wykkard? any way you can fix this for everyone?
It can not communicate via chat or set subtitles or any of that. Those features were pre-API nerf and Zenimax broke those features of the addon intentionally with their changes. I wouldn't hold my breath on them returning.

As for the rest of the addon, I am absolutely swamped right now and am playing catch-up on my addons after working extensively on ESOLoot.com (which is still not finished). And I still have a day job. So all I can do at this point is ask for your patience.
Report comment to moderator  
Reply With Quote
Unread 05/13/14, 10:04 AM  
kevough

Forum posts: 0
File comments: 2
Uploads: 0
is anyone going to fix this for an updated d/l version? it sucks that the addon seems like it would be amazing but it doesnt work, i have the same problem as the guy below, about the yellow coords kinda thing, it doesnt set out commands or subtitles on where togo. And i dont know how to change the stuff you have posted on the fix"

wykkard? any way you can fix this for everyone?
Report comment to moderator  
Reply With Quote
Unread 05/10/14, 10:22 AM  
Wykkyd
Are you Wykkyd Gaming?
 
Wykkyd's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 107
File comments: 390
Uploads: 28
....

http://forums.elderscrollsonline.com...urday-may-10th

Come on out to the podcast, hear from Richard Garriott and support Wykkyd and get more details on the website he's been working on!
Report comment to moderator  
Reply With Quote
Unread 05/10/14, 12:26 AM  
sintacks
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 7
Uploads: 1
Originally Posted by Deathlok
how does this addon work? does the window update in real time? because it doesnt seem to update for me when people are attacking a point

also when i click an icon, it shows yellow coordinates in chat but it does not set a waypoint or anything like that

kinda confused what this does or how to use it
I believe it's bugged, and doesn't update past the first time it loads. See my post (two below) with a patch to fix that.
Report comment to moderator  
Reply With Quote
Unread 05/09/14, 02:06 PM  
Deathlok

Forum posts: 0
File comments: 9
Uploads: 0
how does this addon work? does the window update in real time? because it doesnt seem to update for me when people are attacking a point

also when i click an icon, it shows yellow coordinates in chat but it does not set a waypoint or anything like that

kinda confused what this does or how to use it
Last edited by Deathlok : 05/09/14 at 02:13 PM.
Report comment to moderator  
Reply With Quote
Unread 05/06/14, 11:01 PM  
sintacks
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 7
Uploads: 1
Feature Request: Add indication for UnderSiege transition events

I'd like to request a feature to add some type of indication when Keeps and Resources transition to/from the UnderSiege status. I experimented with this locally, and found it is very helpful. Here's an example of what I'm thinking...

Code:
diff -r 6fa4c9cdecdf code/UI.lua
--- a/code/UI.lua       Tue May 06 22:57:07 2014 -0600
+++ b/code/UI.lua       Tue May 06 22:57:24 2014 -0600
@@ -92,6 +92,7 @@
        obj1:SetAnchor( CENTER, obj1.Border, CENTER, 0, 0 )
        obj1.Settings = settings
        obj1.Settings.UnderSiege = false
+       obj1.Settings.UnderSiegeTime = 5000
        obj1.Settings.IsTarget = false
        obj1.MouseIsOver = false
        obj1.positionX = nil
@@ -116,19 +117,34 @@
                if underSiege then
                        if not obj1.Settings.UnderSiege then
                                obj1.Settings.UnderSiege = true
+                               obj1.Settings.UnderSiegeTime = GetFrameTimeMilliseconds() + 5000
                                if obj1.Settings.Images[obj1.Settings.CurrentAlliance+10] ~= nil then
                                        obj2:SetTexture( obj1.Settings.Images[obj1.Settings.CurrentAlliance+10] )
                                else
                                        obj2:SetTexture( obj1.Settings.Images[obj1.Settings.CurrentAlliance] )
                                end
-                               obj1:SetCenterColor( .9, .2, .1, .45 )
+                               -- Set a Yellow color for 5 seconds when transitioning
+                               obj1:SetCenterColor( .9, .9, .1, .45 )
+                       else
+                               if GetFrameTimeMilliseconds() > obj1.Settings.UnderSiegeTime then
+                                  -- Set to Red after transition
+                                  obj1:SetCenterColor( .9, .2, .1, .45 )
+                               end
                        end
                else
                        if obj1.Settings.UnderSiege then
                                local c = obj1.Settings.DefaultCColor
                                obj1.Settings.UnderSiege = false
+                               obj1.Settings.UnderSiegeTime = GetFrameTimeMilliseconds() + 5000
                                obj2:SetTexture( obj1.Settings.Images[obj1.Settings.CurrentAlliance] )
-                               obj1:SetCenterColor( c[1], c[2], c[3], c[4], c[5] )
+                               -- Set a Green color for 5 seconds when transitioning
+                               obj1:SetCenterColor( .1, .9, .1, .45 )
+                       else
+                               if GetFrameTimeMilliseconds() > obj1.Settings.UnderSiegeTime then
+                                  -- Then Set the steady-state color after transition
+                                  local c = obj1.Settings.DefaultCColor
+                                  obj1:SetCenterColor( c[1], c[2], c[3], c[4] )
+                               end
                        end
                end
        end
Report comment to moderator  
Reply With Quote
Unread 05/06/14, 09:53 PM  
sintacks
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 7
Uploads: 1
Update bug

I found another bug, at least that's affecting me. It seems there are a number of functions that register themselves for a callback, but it's done from within these local functions that are declared and defined on the same line - which appears to prevent using the function's own name within the function's definition to register the callback (it's nil until you're outside the function definition scope). This results in the callback being unregistered, since the Callback arg is nil, and updates never happen.

Here's a patch to fix that, by declaring the local variable for the function before defining it. This lets the function reference itself for the callback.

Code:
diff -r 38293fb9e00c code/UI.lua
--- a/code/UI.lua       Tue May 06 21:40:28 2014 -0600
+++ b/code/UI.lua       Tue May 06 21:41:04 2014 -0600
@@ -357,7 +357,8 @@
                :SetVerticalAlignment(WYK_WarTools.GLOBAL.TextAlign["v"]["center"])
                :SetScale( 1 )
        .__END
-       local updateMe = function()
+       local updateMe
+       updateMe = function()
                if not shouldParse() then return end
                if bufferedTicOnce["WWT_UpdateAlliance"..alliance.."Stat_"..stat] == nil then
                        bufferedTicOnce["WWT_UpdateAlliance"..alliance.."Stat_"..stat] = true
@@ -391,7 +392,8 @@
                :SetVerticalAlignment(WYK_WarTools.GLOBAL.TextAlign["v"]["center"])
                :SetScale( .8 )
        .__END
-       local updateMe = function()
+       local updateMe
+       updateMe = function()
                if not shouldParse() then return end
                if bufferedTicOnce["WWT_UpdateAlliance"..alliance.."Stat_"..stat] == nil then
                        bufferedTicOnce["WWT_UpdateAlliance"..alliance.."Stat_"..stat] = true
@@ -462,7 +464,8 @@
        end,
                { TOPLEFT, obj.AllianceIconBG, TOPRIGHT, 40, 47 } )

-       local updateStats = function()
+       local updateStats
+       updateStats = function()
                if not shouldParse() then return end
                leadAlliance = GetCampaignUnderdogLeaderAlliance(GetAssignedCampaignId())
                if bufferedTicOnce["WWT_UpdateAlliance"..alliance.."Statistics"] == nil then
@@ -574,12 +577,13 @@
        else WYK_WarTools_StrategyUI.Backdrop:SetAlpha(WYK_WarTools:GetOrDefault(.5, WYK_WarTools.Settings["UIMouseOutAlpha"]))
        end
        WYK_WarTools_StrategyUI:SetHidden( WYK_WarTools:GetOrDefault( false, WYK_WarTools.Settings["UI"].Hidden ) )
-       local updateOwnersAndSiege = function()
+       local updateOwnersAndSiege
+       updateOwnersAndSiege = function()
                if not shouldParse() then return end
                if bufferedTicOnce["WWT_UpdateOwnersAndSiege"] == nil then
                        bufferedTicOnce["WWT_UpdateOwnersAndSiege"] = true
                        WYK_WarTools:OnUpdateCallback( "WWT_UpdateOwnersAndSiege" )
-                       WYK_WarTools:OnUpdateCallback( "WWT_UpdateOwnersAndSiege", updateStats, (3.675) )
+                       WYK_WarTools:OnUpdateCallback( "WWT_UpdateOwnersAndSiege", updateOwnersAndSiege, (3.675) )
                end
                for keepIndex = 1, GetNumKeeps(), 1 do
                        local keepId, battlegroundContext = GetKeepKeysByIndex(keepIndex)
Here is a debug patch that will illustrate the problem (try this if you'd like to check what I'm fixing above). You'll get a message printed out whenever Callback is nil but the ThrottleInSeconds is not nil (which should never happen, unless something went wrong)

Code:
diff -r 38293fb9e00c embed/LibWykkydFactory/LibWykkydFactory.lua
--- a/embed/LibWykkydFactory/LibWykkydFactory.lua       Tue May 06 21:40:28 2014 -0600
+++ b/embed/LibWykkydFactory/LibWykkydFactory.lua       Tue May 06 21:57:20 2014 -0600
@@ -5233,6 +5233,9 @@
        if TicName == nil then return end
        if Callback == nil then
                _lwf.Events.Registered_onupdatecallback[TicName] = nil
+               if ThrottleInSeconds ~= nil then
+                  d("DEBUG Tic: ThrottleInSeconds="..ThrottleInSeconds.." but Callback is nil for TicName="..TicName)
+                  end
        else
                _lwf.Events.Registered_onupdatecallback[TicName] = {}
                _lwf.Events.Registered_onupdatecallback[TicName].Buffer = ThrottleInSeconds
Last edited by sintacks : 05/06/14 at 10:01 PM.
Report comment to moderator  
Reply With Quote
Unread 05/06/14, 09:01 AM  
kevough

Forum posts: 0
File comments: 2
Uploads: 0
Re: Uninstall Old Version....

Originally Posted by Wykkyd
The old version of the addon is outdated and has been replaced. The new version uses a new folder and saved variable name. The two COULD conceivably run at the same time, and this will most likely cause you problems. Please be sure to uninstall and remove the old version using the directions found on the download page. Thank you!

What may i be doing wrong? I have it installed, i make a raid, i am the leader of the raid. I have bazgrims subtitles on. I have the war tools sheet up on both mine and my sons computer, he also has bazgrims sub titles as well as war tool bar up. I type /warcommand , it says active or whatever. when i click a node, it gives coords in yellow in my chat box, but not through party or group or anything just some weird coords . Nothing on the tools turns blue or red or whatever when i click on a keep or node and no subtitles tell anyone where my target is?


am i missing something>? i have been trying for awhile to get this to work, i cant figure out what im doing wrong
Last edited by kevough : 05/06/14 at 09:02 AM.
Report comment to moderator  
Reply With Quote
Unread 05/02/14, 06:37 PM  
Wykkyd
Are you Wykkyd Gaming?
 
Wykkyd's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 107
File comments: 390
Uploads: 28
Uninstall Old Version....

The old version of the addon is outdated and has been replaced. The new version uses a new folder and saved variable name. The two COULD conceivably run at the same time, and this will most likely cause you problems. Please be sure to uninstall and remove the old version using the directions found on the download page. Thank you!
Report comment to moderator  
Reply With Quote
Unread 04/26/14, 11:26 PM  
sintacks
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 7
Uploads: 1
Another possible bug?

I also noticed I had a problem with the command line options for hide/show. Here's a patch that fixes that problem on my client:

Code:
diff -r f6efc9e9a716 Lib/CommandLine.lua
--- a/Lib/CommandLine.lua       Sat Apr 26 23:19:59 2014 -0600
+++ b/Lib/CommandLine.lua       Sat Apr 26 23:20:12 2014 -0600
@@ -10,11 +10,11 @@

        if string.find(text, "show") then
                local t = text:gsub("show ","")
-               WF_WarTools.UserInterface.StrategyFrame.Show()
+               WF_WarTools.UserInterface.StrategyFrame:Show()
        end

        if string.find(text, "hide") then
                local t = text:gsub("hide ","")
-               WF_WarTools.UserInterface.StrategyFrame.Hide(false)
+               WF_WarTools.UserInterface.StrategyFrame:Hide(false)
        end
 end
Report comment to moderator  
Reply With Quote
Unread 04/26/14, 10:49 PM  
sintacks
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 7
Uploads: 1
UnderdogLeader

I'm not much of a lua guy, but here's a quick patch I threw together that works around the issue I described in my previous post:

Code:
diff -r 060413cbad23 Lib/UserInterface/StrategyFrame/StrategyUI.lua
--- a/Lib/UserInterface/StrategyFrame/StrategyUI.lua    Sat Apr 26 22:41:15 2014 -0600
+++ b/Lib/UserInterface/StrategyFrame/StrategyUI.lua    Sat Apr 26 22:44:05 2014 -0600
@@ -4,10 +4,21 @@

 local shouldParse = function()
        if GetAssignedCampaignId() ~= GetCurrentCampaignId() and GetCurrentCampaignId() ~= 0 then return false; end
-       if GetCampaignUnderdogLeaderAlliance(GetAssignedCampaignId()) == 0 then return false; end
        return true
 end

+local mhGetLeaderAlliance = function(campaign)
+      retval = GetCampaignUnderdogLeaderAlliance(campaign)
+      if retval ~= 0 then return retval; end
+      points = {}
+      retval = 1
+      for i=1, 3 do
+          points[i] = GetCampaignAllianceScore(campaign, i)
+          if points[i] > points[retval] then retval = i; end
+      end
+      return retval
+end
+
 local mapFiguredOut = nil

 local makeResourceNode = function( parent, alliance, index, obj1, obj2, name1, name2, list, anchor, primaryResource, isOverview )
@@ -384,7 +395,7 @@

 local buildAllianceHeader = function( parent, alliance )
        local campaign = GetAssignedCampaignId()
-       local leadAlliance = GetCampaignUnderdogLeaderAlliance(campaign)
+       local leadAlliance = mhGetLeaderAlliance(campaign)
        local name = "WT_SFOBJA"..alliance
        local obj = WF_FRAMES.__NewTopLevel(name.."Header")
                :SetParent( parent )
@@ -418,7 +429,7 @@

        statTextScore( obj, alliance, "Score", function() return GetCampaignAllianceScore( GetAssignedCampaignId(), alliance ) end, { TOPLEFT, obj.AllianceIconBG, TOPRIGHT, 2, 2 } )
        statTextScore( obj, alliance, "+Points", function()
-               leadAlliance = GetCampaignUnderdogLeaderAlliance(GetAssignedCampaignId())
+               leadAlliance = mhGetLeaderAlliance(GetAssignedCampaignId())
                if alliance ~= leadAlliance and leadAlliance ~= 0 then
                        return "+"..GetCampaignAlliancePotentialScore( GetAssignedCampaignId(), alliance ).."*"
                else
@@ -439,7 +450,7 @@

        local updateStats = function()
                if not shouldParse() then return end
-               leadAlliance = GetCampaignUnderdogLeaderAlliance(GetAssignedCampaignId())
+               leadAlliance = mhGetLeaderAlliance(GetAssignedCampaignId())
                if bufferedTicOnce["WT_UpdateAlliance"..alliance.."Statistics"] == nil then
                        bufferedTicOnce["WT_UpdateAlliance"..alliance.."Statistics"] = true
                        WF_Tic( "WT_UpdateAlliance"..alliance.."Statistics" )
Feel free to borrow/modify that change and incorporate it into your addon.
Last edited by sintacks : 04/26/14 at 10:51 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.