Download
(6 Kb)
Download
Updated: 10/29/23 09:43 AM
Pictures
File Info
Compatibility:
Endless Archive (9.2.5)
base-game patch (9.1.5)
Necrom (9.0.0)
Scribes of Fate (8.3.5)
Firesong (8.2.5)
Lost Depths (8.1.5)
High Isle (8.0.0)
Updated:10/29/23 09:43 AM
Created:10/21/22 03:18 AM
Monthly downloads:335
Total downloads:5,740
Favorites:13
MD5:
Categories:Miscellaneous, Graphic UI Mods, Info, Plug-in Bars, UI Media
Witches Festival  Popular! (More than 5000 hits)
Version: 4.4
by: tim99 [More]
.
No additional libs needed


Description:
  • Adds a small toolbar for completing the golden plunder skulls

Notes:
  • the skulls are accountwide, the quest is charwide since you can do it with each char
    (but i think of removing the quest, doesnt make too much sense any more since the reward is a tracked golden skull anyway)
  • it's movable, but tricky. you need to catch it at the exact border frame
    (but hey, if zos adds a card minigame... here you have another minigame. same fun)

Special thx to:
V4.4:
- bugfix for typing error

V4.3:
- added difference between EU and NA reset times (thx Darkstride)

V4.2:
- adjusted reset time to 3 UTC (thx Verling)

V4.1:
- API bump

V4:
- added russian translation (Verling)

V3:
- added french translation (XXXspartiateXXX)

V2:
- added the new (2022) golden skull from quest
- added Beartrams update-improvement
- adjusted API Number
Optional Files (0)


Archived Files (6)
File Name
Version
Size
Uploader
Date
4.2
6kB
tim99
10/27/23 01:43 AM
4.1
6kB
tim99
10/26/23 09:01 AM
4
6kB
tim99
10/23/22 01:32 AM
3
6kB
tim99
10/22/22 03:16 PM
2
6kB
tim99
10/21/22 07:41 AM
1
6kB
tim99
10/21/22 03:18 AM


Post A Reply Comment Options
Unread 10/21/22, 04:21 AM  
ACTIC

Forum posts: 0
File comments: 9
Uploads: 0
Does what it's supposed to, very nice!
Report comment to moderator  
Reply With Quote
Unread 10/21/22, 06:06 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4989
File comments: 6040
Uploads: 78
Thanks!
Hint: Your apiversion is outdated: 101033 101034
>101035 101036

ZO_SavedVars:NewCharacterNameSettings
-> Please do not use that anymore it's oooold! Use the rename save NewCharacterIdSettings please!

You currently update your UI every 60 seconds.
EVENT_MANAGER:RegisterForUpdate("TimWitchesUI_Update", 60000, tny.initUI)
But you also update it after anything was looted, that was related to the event. So unregister the currently run "every 60 seconds" timer at that looting and restart it so it does not need to update twice in a short time.
Lua Code:
  1. function tny.onLootReceived(eventCode,receivedBy,itemName,quantity,soundCategory,lootType,self,isPickpocketLoot,questItemIcon,itemId,isStolen)
  2.     if self~=true then return end --not mine
  3.     itemId=itemId or GetItemLinkItemId(itemName)
  4.     local updateWasDone = false
  5.     if itemId==tny.ITEMID_PLUNDER_DELVE then
  6.         tny.svAcc.tmrDelve=GetTimeStamp()
  7.         GetDelve(TimWitchesUIInfo01)
  8.         updateWasDone = true
  9.     elseif itemId==tny.ITEMID_PLUNDER_ANKER then
  10.         tny.svAcc.tmrAnker=GetTimeStamp()
  11.         GetAnker(TimWitchesUIInfo02)
  12.         updateWasDone = true
  13.     elseif itemId==tny.ITEMID_PLUNDER_WORLD then
  14.         tny.svAcc.tmrWorld=GetTimeStamp()
  15.         GetWorld(TimWitchesUIInfo03)
  16.         updateWasDone = true
  17.     elseif itemId==tny.ITEMID_PLUNDER_PUBLIC then
  18.         tny.svAcc.tmrPublic=GetTimeStamp()
  19.         GetPublic(TimWitchesUIInfo04)
  20.         updateWasDone = true
  21.     elseif itemId==tny.ITEMID_PLUNDER_GROUP then
  22.         tny.svAcc.tmrGroup=GetTimeStamp()
  23.         GetDungeon(TimWitchesUIInfo05)
  24.         updateWasDone = true
  25.     elseif itemId==tny.ITEMID_PLUNDER_ARENA then
  26.         tny.svAcc.tmrArena=GetTimeStamp()
  27.         GetArena(TimWitchesUIInfo06)
  28.         updateWasDone = true
  29.     elseif itemId==tny.ITEMID_PLUNDER_TRIAL then
  30.         tny.svAcc.tmrTrial=GetTimeStamp()
  31.         GetTrial(TimWitchesUIInfo07)
  32.         updateWasDone = true
  33.     end
  34.     if updateWasDone then
  35.         EVENT_MANAGER:UnregisterForUpdate("TimWitchesUI_Update")
  36.         EVENT_MANAGER:RegisterForUpdate("TimWitchesUI_Update", 60000, tny.initUI)
  37.     end
  38. end

it's movable, but tricky. you need to catch it at the exact border frame
Your TLC is mouse enabeld and movable:
<TopLevelControl name="TimWitchesUI" clampedToScreen="true" mouseEnabled="true" movable="true" >

But your controls on top of that TLC, the labels for the different plunder skulls, as well as your TLC, and your backdrop, do not have any info set about the drawTier, drawLayer and drawLevel. That way the labels might be just "in the way" of the TLC so that you cannot properly drag it.
Try to change the tier/layer/level to make it still show the tooltips but also enable the mouse click & drag on the TLC properly, or add an OnMouseDown handler to your labels so that it will call the paren'ts (TLC) OnMouseDown that way and start the drag.
Last edited by Baertram : 10/21/22 at 06:16 AM.
Report comment to moderator  
Reply With Quote
Unread 10/21/22, 08:04 AM  
tim99
 
tim99's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 161
Uploads: 12
Originally Posted by Baertram
Thanks!
Hint:...

Thx Baertram for having a look. Very appreciated.
Added the API number and the update improvement.

For the character id's.... never :P i hate it. How am i supposed to see which character i'm looking for? Open each section and check the content? If someone really renames his char during this event AND did the quest already that day, then live with it, that it shows the icon as red for that day and char ^^

And for moving the frame, it's tricky bit it works. It's a thing you probably need once a year. Each one of my 10 addon-users. I return to that if complaints incoming


Originally Posted by ACTIC
Does what it's supposed to, very nice!
thx


.
Last edited by tim99 : 10/21/22 at 08:06 AM.
Report comment to moderator  
Reply With Quote
Unread 10/21/22, 04:35 PM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4989
File comments: 6040
Uploads: 78
Originally Posted by tim99
Originally Posted by Baertram
Thanks!
Hint:...
For the character id's.... never :P i hate it. How am i supposed to see which character i'm looking for?
It's written in the SavedVars below the characterId -> $lastCharName or similar
You know there is a ctrl+f in nearly every text editor which helps you find those and if you use Notepad++ you can even jump between the opening and closing {} of the s subtables easily

Maybe for this addon these SV ar enot needed but using names or language dependend stuff is nothing you should implement if not really needed.
Ids/numbers are always more fail-safe and easier to maintain.
How often do you actually need to check the SV files manually with a text editor?

Yes, a rename does not happen that often. But for some addons it's a mess AND blows up the SVs as old names are NEVER removed properly from the SV where the IDs will just be kept, you keep your settings and do not waste file size.
Last edited by Baertram : 10/21/22 at 04:38 PM.
Report comment to moderator  
Reply With Quote
Unread 10/22/22, 04:34 AM  
jinncrazey

Forum posts: 1
File comments: 84
Uploads: 0
thanks for addon massive help!
Report comment to moderator  
Reply With Quote
Unread 10/22/22, 10:58 PM  
Verling
 
Verling's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 57
Uploads: 7
Hello
translation to ru

Code:
--ru
--tooltips
SafeAddString(TIM99_WITCH_DELVE,  "Логово", 1)
SafeAddString(TIM99_WITCH_ANKER,  "Вторжение", 1)
SafeAddString(TIM99_WITCH_WORLD,  "Мир", 1)
SafeAddString(TIM99_WITCH_PUBLIC, "Открытое подземелье", 1)
SafeAddString(TIM99_WITCH_GROUP,  "Подземелье", 1)
SafeAddString(TIM99_WITCH_ARENA,  "Арена", 1)
SafeAddString(TIM99_WITCH_TRIAL,  "Триал", 1)
SafeAddString(TIM99_WITCH_CROW,   "Награда за задание", 1)
SafeAddString(TIM99_WITCH_QUEST,  "Квест", 1)
--daily quest
SafeAddString(TIM99_WITCH_QUESTNAME, "Ощипанная ворона", 1)
Report comment to moderator  
Reply With Quote
Unread 10/23/22, 01:34 AM  
tim99
 
tim99's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 161
Uploads: 12
Originally Posted by Verling
Hello
translation to ru

thx! edited and uploaded in version 4
Report comment to moderator  
Reply With Quote
Unread 10/28/22, 06:23 PM  
claudekennilol

Forum posts: 0
File comments: 22
Uploads: 0
Is it possible to move the bar location?
Report comment to moderator  
Reply With Quote
Unread 10/29/22, 01:53 AM  
shadowcep
 
shadowcep's Avatar

Forum posts: 1
File comments: 116
Uploads: 0
Originally Posted by claudekennilol
Is it possible to move the bar location?
Yes, use mouse to drag, clicking on the separator near the righthand end (that's easier than trying to hit the border).
Report comment to moderator  
Reply With Quote
Unread 10/29/22, 10:19 AM  
claudekennilol

Forum posts: 0
File comments: 22
Uploads: 0
Originally Posted by shadowcep
Originally Posted by claudekennilol
Is it possible to move the bar location?
Yes, use mouse to drag, clicking on the separator near the righthand end (that's easier than trying to hit the border).
Awesome, ty. I tried a few different times but I guess I just didn't click on the correct spot. I'll try that out next, thanks!
Report comment to moderator  
Reply With Quote
Unread 10/26/23, 10:52 PM  
Verling
 
Verling's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 57
Uploads: 7
Hi
The reset time has changed to 3:00 UTC, the string is incorrect.
Code:
		local todayReset=1538200800+(diff*24*60*60) --07:00 (UTC+1)
Report comment to moderator  
Reply With Quote
Unread 10/27/23, 12:33 AM  
Darkstride

Forum posts: 0
File comments: 74
Uploads: 0
Reset before done?

I was in the Maelstrom getting the final one I needed for the day when I noticed they were all red again. After I finished Malestrom only the arena one was lit green. Not sure what happened like if there's a key combo that reset it.

Besides that, the addon has been working great and is helpful for this event. Thank you
Last edited by Darkstride : 10/27/23 at 12:56 AM.
Report comment to moderator  
Reply With Quote
Unread 10/27/23, 01:20 AM  
Morgaloth

Forum posts: 0
File comments: 1
Uploads: 0
How to fix this?

Originally Posted by Verling
Hi
The reset time has changed to 3:00 UTC, the string is incorrect.
Code:
		local todayReset=1538200800+(diff*24*60*60) --07:00 (UTC+1)
This is the code that is in my witchesFestival.lua. Anyone know what this should be changed to to reflect the new daily reset?
Report comment to moderator  
Reply With Quote
Unread 10/27/23, 01:44 AM  
tim99
 
tim99's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 161
Uploads: 12
Originally Posted by Verling
Hi
The reset time has changed to 3:00 UTC, the string is incorrect.
Code:
		local todayReset=1538200800+(diff*24*60*60) --07:00 (UTC+1)

didn't noticed. thanks very much for letting me know!
should be corrected in v4.2
Report comment to moderator  
Reply With Quote
Unread 10/28/23, 09:20 PM  
jinncrazey

Forum posts: 1
File comments: 84
Uploads: 0
the tool bar keeps resetting on me on every character. could it be because I use 2 accounts? I checked savedvars it seems to have separate settings but idk what is happening. could you help me?
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: