Quantcast
Download
(49 Kb)
Download
Updated: 08/15/18 10:22 AM
Pictures
File Info
Compatibility:
Wolfhunter (4.1)
Updated:08/15/18 10:22 AM
Created:07/18/17 11:03 AM
Monthly downloads:91
Total downloads:2,500
Favorites:2
MD5:
4.1
Alliance Points Counter
Version: 1.2.1
by: Mladen90 [More]
This is a simple addon for AP farming. Addon counter starts on first AP gain (if not started manually or restored) and will start always from 0 (if AP is not restored). Addon will always count AP in background, even if chat log is turned off.


Available slash commands:

/apc_commands -> Will show you the available slash commands
/apc_start-> Addon will start the timer
/apc_reset -> Addon will reset all data (including timer) and start count from 0
/apc_data -> Will show current data, this works even if chat log is disabled
/apc_statistic -> Will Show your AP statistics after 10 min from timer start (only if any AP is gained)
/apc_source_info -> Will show you what the letter for AP gain are meaning


Settings:

AP chat log
Filter for logging AP
Tick screen message
Filter for showing tick message
Remember AP
Skip restoring AP after last gain in mins
Show available commands on Startup
1.2.1
Updating API Version
Fixing tick display and adding offensive and defensive tick
Updating AP source info
Fixing display for double AP tick

1.2
Adding options:
Remember alliance points
Skip restoring after last gain in mins
Show available commands on Startup

Slash commands:
Adding /apc_statistic
Removing /apc_per_hour
Removing /apc_per_minute

1.1.2.2
Adding display source for battleground
Adding slash command for starting timer
Renamed slash command for restart to reset

1.1.2.1
Small timer fix

1.1.2
Added filter for log and tick

1.1.0
Added screen message for Tick
Added settings and savedVariable
Added resurrect info
Renamed repair info
Removed some slash commands

1.0.5:
Added source info for AP
Added new slash commands

1.0.4:
Fixed issue with banking AP
Optional Files (0)


Archived Files (8)
File Name
Version
Size
Author
Date
1.2
49kB
Mladen90
06/05/18 11:05 AM
1.1.2.2
48kB
Mladen90
05/24/18 05:50 PM
1.1.2.1
48kB
Mladen90
11/11/17 03:34 PM
1.1.2
48kB
Mladen90
10/29/17 05:50 AM
1.1.0
48kB
Mladen90
09/02/17 07:50 AM
1.0.5
2kB
Mladen90
08/21/17 04:22 PM
1.0.4
1kB
Mladen90
08/14/17 04:01 PM
1.0.3
1kB
Mladen90
07/18/17 11:03 AM


Post A Reply Comment Options
Unread 08/18/18, 11:27 AM  
Mladen90
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 5
Uploads: 1
Originally Posted by Orlando719
Originally Posted by Mladen90
Try to delete APCounter.lua from Elder Scrolls Online\live\SavedVariables, if that does not help, i will take a deeper look on it. It looks to me like corrupted saved variables.
Did that before reinstalling; will continue testing

Some tests later:
The problem only shows up when i have other addons active; will continue testing

A lot of tests later:
The problem only shows up with LibStub AND Votan's Addon List activated. So Votan's Addon List may cause it.
Votan's addon list is causing it, but i don't see the reason why other addons get loaded right. In my case the load function which loads the saved variables is not called. I can dirty fix this with a Slash command or a check.

Or try to replace in votan's addon list:

local function OnAddonLoaded(event, name)
if name ~= LIB_NAME then return end
em:UnregisterForEvent(addon.name, EVENT_ADD_ON_LOADED)
addon:Initialize()
end

Not sure why he is doing this for "AddonSelector", but removing this works for me.
Report comment to moderator  
Reply With Quote
Unread 08/18/18, 02:04 AM  
Orlando719

Forum posts: 0
File comments: 3
Uploads: 0
Originally Posted by Mladen90
Try to delete APCounter.lua from Elder Scrolls Online\live\SavedVariables, if that does not help, i will take a deeper look on it. It looks to me like corrupted saved variables.
Did that before reinstalling; will continue testing

Some tests later:
The problem only shows up when i have other addons active; will continue testing

A lot of tests later:
The problem only shows up with LibStub AND Votan's Addon List activated. So Votan's Addon List may cause it.
Last edited by Orlando719 : 08/18/18 at 02:55 AM.
Report comment to moderator  
Reply With Quote
Unread 08/17/18, 04:33 PM  
Mladen90
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 5
Uploads: 1
Try to delete APCounter.lua from Elder Scrolls Online\live\SavedVariables, if that does not help, i will take a deeper look on it. It looks to me like corrupted saved variables.
Report comment to moderator  
Reply With Quote
Unread 08/17/18, 11:12 AM  
Orlando719

Forum posts: 0
File comments: 3
Uploads: 0
LUA-Errors

On receiving AP this LUA-Errors come up:
Code:
user:/AddOns/APCounter/APCounter.lua:14: attempt to index a nil value
stack traceback:
user:/AddOns/APCounter/APCounter.lua:14: in function 'TimerStarted'
user:/AddOns/APCounter/APCounter.lua:46: in function 'TryInitTimer'
user:/AddOns/APCounter/APCounter.lua:61: in function '(anonymous)'
|caaaaaa<Locals> eventCode = 131226, alliancePoints = 20347, playSound = true, difference = 71, reason = 40 </Locals>|r
Reinstall via Minion does not help.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: