Download
(4 Kb)
Download
Updated: 03/19/20 08:59 PM
Pictures
File Info
Compatibility:
Harrowstorm (5.3.5)
Dragonhold (5.2.5)
Scalebreaker (5.1.5)
Elsweyr (5.0.5)
Updated:03/19/20 08:59 PM
Created:09/21/18 02:06 PM
Monthly downloads:51
Total downloads:3,399
Favorites:7
MD5:
Player Status
Version: 1.7.1
by: Jodynn [More]
Player Status

Requires LibAddonMenu-2.0

Show your status with an indicator, you can hide it, change the size in settings, move it, and it will update with your current player status.

Setting for afk seconds away auto sets you to away
Setting for tabbing out auto sets you to away
Setting for trials to set you auto busy

A few slash commands to make life easier.

/hide = Change player status to offline
/away = Change player status to away
/busy = Change player status to busy
/show = Change player status to online

/leave = Leave group

/hidequit = Hide then quit
/hidecamp = Hide then logout
/hideleave = Hide then leave group
/hideleavequit = Hide then leave group then quit
/hideleavecamp = Hide then leave group then logout




Donation Link


https://www.paypal.com/pools/c/8a80aoQpa4
v1.7.1
Fixed LibAddonMenu2.0 dependency

v1.6
Removed libs and organized code

v1.6 missed a bug...
Move initialize to OnPlayerInitialize to prevent crashing in random places.

v1.5.1 missed a bug...

v1.5 Pan indicator ( BG to know you are moving and can move )
Fixed a couple bugs with hiding/quitting/logging out due to using the wrong class... that was a stupid mistake lol... but it's fixed now!

v1.4 New functionality.
Shutup option -> No Log : It won't output messages anymore if this is enabled.

v1.3 New functionality.
You can set it to auto away if your char doesn't move x amount of seconds.
You can set it to auto away if you tab out.
Both options have a "revert" option which puts it back to whatever it was previously.
You can select trials to auto busy whenever you enter the trial.
All these options are defaulted as on.

v1.2 Actually quit when we say, somewhere in the refactor I left it out.

v1.1 Listen for event so if they don't use slashes
Optional Files (0)


Archived Files (13)
File Name
Version
Size
Uploader
Date
1.7
139kB
Jodynn
03/11/20 08:55 AM
1.6
174kB
Jodynn
02/25/19 09:38 AM
1.6
174kB
Jodynn
02/03/19 09:42 AM
1.6
174kB
Jodynn
02/03/19 09:38 AM
1.6
174kB
Jodynn
02/03/19 09:22 AM
1.5.1
174kB
Jodynn
10/28/18 04:39 PM
1.5
168kB
Jodynn
10/28/18 03:42 PM
1.4
157kB
Jodynn
10/25/18 04:56 PM
1.3
146kB
Jodynn
10/23/18 06:36 PM
1.2
133kB
Jodynn
10/22/18 06:25 PM
1.2
133kB
Jodynn
09/22/18 02:46 AM
1.1
127kB
Jodynn
09/21/18 07:22 PM
1
120kB
09/21/18 02:06 PM


Post A Reply Comment Options
Unread 03/21/20, 11:41 AM  
Jodynn
 
Jodynn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 221
Uploads: 10
Originally Posted by Baertram
A hint about the libraries/dependencies:
Your addon is using LAM2 which works without LibStub by using the global variables LibAddonMenu2.
You already use these variabels in your code, correct!
e.g.
Code:
	local LAM = LibAddonMenu2
But you have added the libs as dependencies without assuring the global variables exists!
You've just added:
Code:
## DependsOn: LibAddonMenu-2.0
But the global LibAddonMenu2 was added with LAM version 28, and before it did not exist.
This shouldn't be a big problem as most users have the lib updated to the newest version >= 28, but some might not have.
If the libs still work without throwing errors below version 28 your addon will say: Great the lib was found, but the global variable would be missing and your addon will fail to work.

So better make sure the dependencies load only if the proper version of the lib is present. As example if you would add a lib like LibSlashCommander:
LibSlashCommander changelog says the global was added with r6 -> Old files r6 download version in "## AddOnVersion:" tag says:
Code:
## AddOnVersion: 6
So you would need to add that version 6 to the dependcy name at the end after an >= .

For your code and LAM2 this will be:
Lua Code:
  1. ## DependsOn: LibAddonMenu-2.0>=28
The >=<integer number> tells the game to only accept this version (specified in the lib's txt file with the ## AddOnVersion: <integer> number)
Woah thanks for all the information!
Report comment to moderator  
Reply With Quote
Unread 03/20/20, 01:49 PM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4913
File comments: 5990
Uploads: 78
A hint about the libraries/dependencies:
Your addon is using LAM2 which works without LibStub by using the global variables LibAddonMenu2.
You already use these variabels in your code, correct!
e.g.
Code:
	local LAM = LibAddonMenu2
But you have added the libs as dependencies without assuring the global variables exists!
You've just added:
Code:
## DependsOn: LibAddonMenu-2.0
But the global LibAddonMenu2 was added with LAM version 28, and before it did not exist.
This shouldn't be a big problem as most users have the lib updated to the newest version >= 28, but some might not have.
If the libs still work without throwing errors below version 28 your addon will say: Great the lib was found, but the global variable would be missing and your addon will fail to work.

So better make sure the dependencies load only if the proper version of the lib is present. As example if you would add a lib like LibSlashCommander:
LibSlashCommander changelog says the global was added with r6 -> Old files r6 download version in "## AddOnVersion:" tag says:
Code:
## AddOnVersion: 6
So you would need to add that version 6 to the dependcy name at the end after an >= .

For your code and LAM2 this will be:
Lua Code:
  1. ## DependsOn: LibAddonMenu-2.0>=28
The >=<integer number> tells the game to only accept this version (specified in the lib's txt file with the ## AddOnVersion: <integer> number)
Report comment to moderator  
Reply With Quote
Unread 03/19/20, 08:50 PM  
Jodynn
 
Jodynn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 221
Uploads: 10
Re: Bug Report

Originally Posted by Raujok
Hi Jodynn,

tried your addon today and at first it was not working at all.

after i fixed the line 186 from

Code:
    local LAM = LibAddonMenu
to

Code:
    local LAM = LibAddonMenu2
it's working now.

Greetings,
Raujok
fixed thanks
Report comment to moderator  
Reply With Quote
Unread 03/15/20, 10:41 PM  
Raujok

Forum posts: 1
File comments: 23
Uploads: 0
Bug Report

Hi Jodynn,

tried your addon today and at first it was not working at all.

after i fixed the line 186 from

Code:
    local LAM = LibAddonMenu
to

Code:
    local LAM = LibAddonMenu2
it's working now.

Greetings,
Raujok
Last edited by Raujok : 03/16/20 at 09:00 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.