Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions addons/pointwatch/ReadMe.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ Here are the available values:
* xp.tnl = Number of Experience Points in your current level (number from 500 to 56,000)
* xp.rate = Current XP gain rate per hour. This is calculated over a 10 minute window and requires at least two gains within the window.
* xp.total = Total Experience Points gained since the last time the addon was loaded (number)
* xp.job_level = Level of your current job.
* xp.sub_job_level = Level of your current support job.

* lp.current = Current Experience Points (number from 0 to 55,999 XP)
* lp.tnm = Similar to a "To Next Level", but this value is always 10,000 because that's always the number of Limit Points per merit point.
Expand All @@ -45,12 +47,13 @@ Here are the available values:
* ep.current = Current Exemplar Points
* ep.rate = Current Exemplar Points gain rate per hour. This is calculated over a 10 minute window and requires at least two gains within the window.
* ep.tnml = Required Exemplar Points for your next Master Level
* ep.master_level = Master Level of your current job. -- Will be incorrect during Level Sync.

* sparks.current = Current number of RoE Sparks (number between 0 and 50,000)
* sparks.maximum = Maximum number of RoE Sparks (always 50,000)
* sparks.current = Current number of RoE Sparks (number between 0 and 99,999)
* sparks.maximum = Maximum number of RoE Sparks (always 99,999)

* accolades.current = Current number of Unity Accolades (number between 0 and 50,000)
* accolades.maximum = Maximum number of Unity Accolades (always 50,000)
* accolades.current = Current number of Unity Accolades (number between 0 and 99,999)
* accolades.maximum = Maximum number of Unity Accolades (always 99,999)

* dynamis.KIs = Series of Xs and Os indicating whether or not you have the 5 KIs.
* dynamis.entry_time = Your Dynamis entry time, in seconds. -- If the addon is loaded in dynamis, this will be the time of addon load.
Expand Down
5 changes: 4 additions & 1 deletion addons/pointwatch/pointwatch.lua
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ require('chat')

_addon.name = 'PointWatch'
_addon.author = 'Byrth'
_addon.version = 0.211112
_addon.version = 0.220312
_addon.command = 'pw'

settings = config.load('data\\settings.xml',default_settings)
Expand Down Expand Up @@ -114,9 +114,12 @@ packet_handlers = {
local p = packets.parse('incoming',org)
xp.current = p['Current EXP']
xp.tnl = p['Required EXP']
xp.job_level = p['Main Job Level']
xp.sub_job_level = p['Sub Job Level']
accolades.current = p['Unity Points']
ep.current = p['Current Exemplar Points']
ep.tnml = p['Required Exemplar Points']
ep.master_level = p['Master Level']
end,
[0x063] = function(org)
local p = packets.parse('incoming',org)
Expand Down
3 changes: 3 additions & 0 deletions addons/pointwatch/statics.lua
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ function initialize()
rate = 0,
current = 0,
tnl = 0,
job_level = 0,
sub_job_level = 0,
}

lp = {
Expand All @@ -116,6 +118,7 @@ function initialize()
current = 0,
rate = 0,
tnml = 0,
master_level = 0,
}

sparks = {
Expand Down