Go to Page... |
Compatibility: | Update 3 (1.3.3) |
Updated: | 06/05/15 06:49 AM |
Created: | 02/15/14 12:23 PM |
Monthly downloads: | 176 |
Total downloads: | 34,812 |
Favorites: | 85 |
MD5: |
File Name |
Version |
Size |
Author |
Date |
Type |
1.5.2.1_sintacks |
53kB |
05/14/14 08:40 PM |
Patch |
File Name |
Version |
Size |
Uploader |
Date |
1.8.4.1 |
53kB |
Wykkyd |
08/04/14 03:54 PM |
Comment Options |
Wykkyd |
View Public Profile |
Send a private message to Wykkyd |
Send email to Wykkyd |
Visit Wykkyd's homepage! |
Find More Posts by Wykkyd |
Add Wykkyd to Your Buddy List |
joshmiller83 |
View Public Profile |
Send a private message to joshmiller83 |
Send email to joshmiller83 |
Visit joshmiller83's homepage! |
Find More Posts by joshmiller83 |
Add joshmiller83 to Your Buddy List |
SkOODaT |
View Public Profile |
Send a private message to SkOODaT |
Send email to SkOODaT |
Visit SkOODaT's homepage! |
Find More Posts by SkOODaT |
Add SkOODaT to Your Buddy List |
sintacks |
View Public Profile |
Send a private message to sintacks |
Send email to sintacks |
Visit sintacks's homepage! |
Find More Posts by sintacks |
Add sintacks to Your Buddy List |
Wykkyd |
View Public Profile |
Send a private message to Wykkyd |
Send email to Wykkyd |
Visit Wykkyd's homepage! |
Find More Posts by Wykkyd |
Add Wykkyd to Your Buddy List |
05/13/14, 10:04 AM | |
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? |
|
kevough |
View Public Profile |
Send a private message to kevough |
Send email to kevough |
Visit kevough's homepage! |
Find More Posts by kevough |
Add kevough to Your Buddy List |
05/10/14, 10:22 AM | |
|
....
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! |
|
Wykkyd |
View Public Profile |
Send a private message to Wykkyd |
Send email to Wykkyd |
Visit Wykkyd's homepage! |
Find More Posts by Wykkyd |
Add Wykkyd to Your Buddy List |
05/10/14, 12:26 AM | ||
|
|
|
|
sintacks |
View Public Profile |
Send a private message to sintacks |
Send email to sintacks |
Visit sintacks's homepage! |
Find More Posts by sintacks |
Add sintacks to Your Buddy List |
05/09/14, 02:06 PM | |
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.
|
|
Deathlok |
View Public Profile |
Send a private message to Deathlok |
Send email to Deathlok |
Visit Deathlok's homepage! |
Find More Posts by Deathlok |
Add Deathlok to Your Buddy List |
05/06/14, 11:01 PM | |
|
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 |
|
sintacks |
View Public Profile |
Send a private message to sintacks |
Send email to sintacks |
Visit sintacks's homepage! |
Find More Posts by sintacks |
Add sintacks to Your Buddy List |
05/06/14, 09:53 PM | |
|
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) 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.
|
|
sintacks |
View Public Profile |
Send a private message to sintacks |
Send email to sintacks |
Visit sintacks's homepage! |
Find More Posts by sintacks |
Add sintacks to Your Buddy List |
05/06/14, 09:01 AM | ||
Forum posts: 0
File comments: 2
Uploads: 0
|
Re: Uninstall Old Version....
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.
|
|
|
kevough |
View Public Profile |
Send a private message to kevough |
Send email to kevough |
Visit kevough's homepage! |
Find More Posts by kevough |
Add kevough to Your Buddy List |
05/02/14, 06:37 PM | |
|
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!
|
|
Wykkyd |
View Public Profile |
Send a private message to Wykkyd |
Send email to Wykkyd |
Visit Wykkyd's homepage! |
Find More Posts by Wykkyd |
Add Wykkyd to Your Buddy List |
04/26/14, 11:26 PM | |
|
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 |
|
sintacks |
View Public Profile |
Send a private message to sintacks |
Send email to sintacks |
Visit sintacks's homepage! |
Find More Posts by sintacks |
Add sintacks to Your Buddy List |
04/26/14, 10:49 PM | |
|
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" )
Last edited by sintacks : 04/26/14 at 10:51 PM.
|
|
sintacks |
View Public Profile |
Send a private message to sintacks |
Send email to sintacks |
Visit sintacks's homepage! |
Find More Posts by sintacks |
Add sintacks to Your Buddy List |
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.