Quantcast
Download
(13 Kb)
Download
Updated: 05/13/21 08:51 AM
Compatibility:
Flames of Ambition (6.3.5)
Updated:05/13/21 08:51 AM
Created:04/16/21 01:41 AM
Monthly downloads:208
Total downloads:1,142
Favorites:6
MD5:
Daily Helper
Version: 0.2.5
by: MarioKness [More]
Dependencies

LAM: https://www.esoui.com/downloads/info7-LibAddonMenu.html

Features

Auto-confirm LFG (dungeons, battlegrounds)
Auto-confirm AvA
Auto-confirm group replacement during dungeons (disabled by default settings!)
Skip daily quests's completion dialogue (disabled by default settings!)
Get current guest count inside your house

The following commands are supported

?dh, /mkdh_dh Show the command list
?h, /mkdh_h Teleport to your main house [Keybind available!]
?s, /mkdh_s Share all your dailies with your group [Keybind available!]
?sz, /mkdh_sz Share dailies from the current zone with your group [Keybind available!]
?r, /mkdh_r Teleport between Cyrodiil and Imperial City (no need for Recall Stones or Sigils of Retreat!) [Keybind available!]
?q, /mkdh_q Teleport to your tracked quest's zone (doesn't work for dungeon, pvp and trial quests) [Keybind available!]
?dance Group members with this addon will start dancing, as if they used /dance (group chat only, can be disabled from settings!)
?v, /mkdh_v Teleport to Vvardenfell [Keybind available!]
?vc, /mkdh_vc Teleport to Vivec City (costs gold! try ?v first) [Keybind available!]
can tp Group members with this addon can teleport to you by writing ?tp
?tp Teleport to latest group member who wrote can tp

Note

Anyone in your group, even without the addon, can trigger ?s, ?sz, ?dance and can tp for those who have it installed. Unwanted features can be disabled from the addon's settings!
If ?s or ?sz are used in group chat, group members with this addon installed will share their dailies automatically, unless disabled from their settings!

Languages

This addon currently supports English, French, German and Russian.
[0.2.5]
Russian translation improved by Maxim_ZG :)

[0.2.4]
The 'LFG CONFIRMED!' message only shows once now.
When there is nobody to teleport to in a zone, the addon will check if it is a subzone and try to teleport you to the parent zone.

[0.2.3]
Added slash commands for most chat commands! Sayonara, confused people in zone chat!

[0.2.2]
Fixed some mistakes in the german translation. Thank you @GeekyRafiki!

[0.2.1]
Your house's guest count update will not show anymore when you quit while there are no guests

[0.2.0]
Updated strings so that I can translate the addon properly

[0.1.7]
Added a Russian translation, thank you Maxim_ZG!

[0.1.6]
Added a French translation

[0.1.5]
Added a German translation, please let me know of any mistakes

[0.1.4]
Fixed an error in the Teleport function

[0.1.3]
Added keybinds for most chat commands
Added strings.lua, I will probably try to translate the addon in the future
Optional Files (0)


Archived Files (2)
File Name
Version
Size
Uploader
Date
0.2.4
13kB
MarioKness
05/12/21 04:07 PM
0.2.3
12kB
MarioKness
05/08/21 03:21 PM


Post A Reply Comment Options
Unread 04/20/21, 01:31 PM  
Rosalyne1

Forum posts: 0
File comments: 7
Uploads: 0
Originally Posted by MarioKness
Originally Posted by Rosalyne1
This is an awesome addon but after updating to 0.1.1 it no longer works. There are no LUA errors or anything, it's just not auto completing the dailies like it was before.
That feature is back in 0.1.2 !
You will need to enable it from the addon's settings
Thank you for the quick fix! Saving a couple clicks is always great.
Report comment to moderator  
Reply With Quote
Unread 04/19/21, 07:23 PM  
MarioKness
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 6
Uploads: 3
Originally Posted by Rosalyne1
This is an awesome addon but after updating to 0.1.1 it no longer works. There are no LUA errors or anything, it's just not auto completing the dailies like it was before.
That feature is back in 0.1.2 !
You will need to enable it from the addon's settings
Report comment to moderator  
Reply With Quote
Unread 04/19/21, 03:36 PM  
Rosalyne1

Forum posts: 0
File comments: 7
Uploads: 0
This is an awesome addon but after updating to 0.1.1 it no longer works. There are no LUA errors or anything, it's just not auto completing the dailies like it was before.
Report comment to moderator  
Reply With Quote
Unread 04/19/21, 07:30 AM  
MarioKness
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 6
Uploads: 3
Originally Posted by Baertram
Originally Posted by MarioKness
Thanks! I'll fix the addon right away
EDIT: it should be ok now
Thank you.

Your variables porting and pTag in function DailyHelper.Teleport(zone) are still leaking to global namespace.
You should define both at the top of the function as local:
Lua Code:
  1. function DailyHelper.Teleport(zone)
  2.     d("[DH]: Trying to teleport to "..zone..".")
  3.     local porting=false
  4.     local pTag
  5. ...
My bad, I forgot about them. Just updated the file again
Report comment to moderator  
Reply With Quote
Unread 04/19/21, 04:16 AM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3545
File comments: 4340
Uploads: 68
Originally Posted by MarioKness
Thanks! I'll fix the addon right away
EDIT: it should be ok now
Thank you.

Your variables porting and pTag in function DailyHelper.Teleport(zone) are still leaking to global namespace.
You should define both at the top of the function as local:
Lua Code:
  1. function DailyHelper.Teleport(zone)
  2.     d("[DH]: Trying to teleport to "..zone..".")
  3.     local porting=false
  4.     local pTag
  5. ...
Last edited by Baertram : 04/19/21 at 04:16 AM.
Report comment to moderator  
Reply With Quote
Unread 04/18/21, 03:45 PM  
MarioKness
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 6
Uploads: 3
Thanks! I'll fix the addon right away
EDIT: it should be ok now
Last edited by MarioKness : 04/18/21 at 04:01 PM.
Report comment to moderator  
Reply With Quote
Unread 04/18/21, 01:37 PM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3545
File comments: 4340
Uploads: 68
Thanks for the addon but please do NOT create global functions with generic names as "Complete" or "Teleport"
This will most likely break other addons that use a same function name, even if local, in their code!

Please create 1 global variable with your addon name and then add your needed functions to that global table:
Lua Code:
  1. DailyHelper = {}
  2. function DailyHelper.Complete()
  3. ...
  4. end
  5.  
  6. function DailyHelper.AutoCampaign()
  7. end
  8.  
  9. --and so on

Same relates to your other leakign to global variable names as:
canPortTo
CMDcolor

Either add locla up in front to make them locla to your addon! or add them to your addon namespace as well.

And be aware that EVENT_ADD_ON_LOADED will be executed for each of your loaded addons & libraries! That is the reason why you check fot eh addonName == your addons name so that only your addon triggers your code.
So after this is true you should urnegister the event again so that it won't run through the same "is it my addon?" check for every other addon trying to load after yours:

Lua Code:
  1. function DailyHelper.OnAddOnLoaded(event, addonName)
  2.   if addonName == DailyHelper.name then
  3.     --Unregister the event EVENT_ADD_ON_LOADED again so that the functuion DailyHelper.OnAddOnLoaded will not be called for each other addon after mine again
  4.     EVENT_MANAGER:UnregisterForEvent(DailyHelper.name, EVENT_ADD_ON_LOADED)
  5.     DailyHelper:Initialize()
  6.   end
  7. end
  8.  
  9. EVENT_MANAGER:RegisterForEvent(DailyHelper.name, EVENT_ADD_ON_LOADED, DailyHelper.OnAddOnLoaded)


Much easier to find which func belongs to what addon AND you do not risk overwriting or destroying other addons code!

One last hint:
The wide spread addon "pChat" provides short text forms starting by ! since 2014, via the ingame /msg command where you define them! So your addon is trying to use the same ! command prefix now and most probably will interfere if both addons are used the same time.
You should think about changing your ! to e.g. ? or some other prefix to keep it unique.

If you got questions feel free to write me a PM or visit us here: https://gitter.im/esoui/esoui
Thanks for fixing this.
Last edited by Baertram : 04/18/21 at 01:44 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: