Maintenance for the week of January 13:
• PC/Mac: No maintenance – January 13
Update 45 is now available for testing on the PTS! You can read the latest patch notes here: https://forums.elderscrollsonline.com/en/categories/pts

Does LibHistoire need to update every time?

Danikat
Danikat
✭✭✭✭✭
✭✭✭✭✭
I recently installed LibHistoire because it's needed by Arkadius' Trade Tools (and as I understand it most guild related addons). Since then every time I go to log out of a character it warns me that it's still updating my guild history and not to log out until it's done.

Yesterday I stayed logged in and afk for about an hour (doing other stuff on the PC) and it looked like it fully updated (green bars in the status window for all my guilds, and no tabs still saying 'retieving history'). I thought that would be the end of it, it had caught up and from now on it would only need to pick up new events. But today I logged in to pick up the login reward and check endeavours then went to switch characters to do the endeavours and once again I got told it was updating and I shouldn't log out.

My questions are:

1) Is it going to do this every time, or is there a way to get it 'caught up' so it's not rescanning everything every time?

2) Could I ignore it? I know that means some stuff in some addons might not be fully updated, but is that the only problem or will it stop them working?
2b) If it is ok to ignore it is there a way to disable the warning so I don't have to click through an additional window every time?

I often play for less than an hour and switch characters frequently within that time so having to stay on one character for the sake of an addon is really annoying. If that's the only way it can work I'll uninstall it and whatever uses it.
Edited by Danikat on March 23, 2024 10:33AM
PC EU player | She/her/hers | PAWS (Positively Against Wrip-off Stuff) - Say No to Crown Crates!

"Remember in this game we call life that no one said it's fair"
  • Sakiri
    Sakiri
    ✭✭✭✭✭
    ✭✭
    This is why I disabled it.

    I'll reenable it when it's all sorted out. I don't have hours upon hours to sit idle in the hopes that it'll update properly.
  • fred4
    fred4
    ✭✭✭✭✭
    ✭✭✭
    I think ZOS artificially throttle guild history updates to addons for whatever reason. It, therefore, takes time for merchant addons to collate information. If you log out and the addon isn't finished, the process restarts from the beginning, the next time you log back in. Updates only fully complete when you have a long enough playing session, possibly only after hours of play. This has always been the case. What's new is that LibHistoire makes you aware of this, possibly in an attempt to fend off complaints from addon users about them being buggy, e.g. never fully updating. Of course I fully agree that the addon writers are shooting themselves in the foot here, because the warning message is super annoying. Disabling the library / merchant addons is one solution. Another is to remove the following lines from Addons\LibHistoire\Dialogs.lua:

    elseif not self.historyCache:HasLinkedAllCaches() then
    self:ShowQuitWarningDialog(
    "LibHistoire has not linked your history yet! If you close the game now, you will lose any progress and have to start over the next time.",
    primaryButton.text, originalCallback)

    This gets rid of the annoying message.
    Edited by fred4 on March 24, 2024 1:17AM
    PC EU: Magblade (PvP main), DK (PvE Tank), Sorc (PvP and PvE), Magden (PvE Healer), Magplar (PvP and PvE DD), Arcanist (PvE DD)
    PC NA: Magblade (PvP and PvE every role)
  • ImpOfThePerverse415
    Assuming addons are trying to pull history from the time of the last completed request up until the current time, that time window is going to keep getting bigger every time you leave before completing your request(s). Ignoring that warning would then lead to a fail state where it takes progressively more unreasonable amounts of time to get caught up.

    If that's the case, I can think of a couple of potential fixes. If guild history events are guaranteed to be added to the cache in chronological order (i.e. the guild history request is "complete" up until that most recent event), the addon author could resume their guild history request from the time of the most recent guild history event in the cache, so you're not re-requesting stuff that's already loaded. If they're not guaranteed to be in chronological order, you could break long guild history request up into multiple requests over shorter time windows that will complete more quickly, sending them in chronological order until you're caught up.
  • Baertram
    Baertram
    ✭✭✭✭✭
    This gets rid of the annoying message.

    Yeah, mess around in the libaries manully and remove the stuff that assures that your data is updated properly and consistently so next time you need the data it's missing and you blame the library that it's the fault of the lib or the addons...

    Guys, warnings are there to be respected, and not to be changad to hide them.
    No matter if they annoy you, they got a reason!
    If the authors say they are not needed anymore, they will get removed. Until then: Do not ignore them please or try to manipulate them.

    If you dislike those, try to tell Zos to improve stuff and do not try to circumvent that by manipulating files locally for yourselfes, and then in a week running to the authors again that the stuff is not working properly :|
    This is just the wrong way.

    Either press the dialog away (there is a button to say "Log me out now"? So why not using it then) and see if your data will update properly next time, or update the data (stay logged in -> Yes that currently takes forever base don your used addons and bugs in ZOs data. I know, we cannot fix that. All you can do is read forums and try to find wat helps you, e.g. like described here:
    https://www.esoui.com/forums/showthread.php?t=10879 "Guild history issues thread"
    ).

    Either way, the guild history is currently just buggy by the game and addons and libraries cannot fx that, so just be patient and wait for everyhting to settle.
    If you do not understand what the addons rely on and how the libraries work, ask. But do not try to manipulate files and data manually as this will relate in more problems in the end where noone can help you anymore to fix it -> Except reset data and startover from 0... That was always the same, even with the old guild history. If you ignore the warnings or exit the game without finishing the process, you will had to wait even longer next day.

    For now just update the libraries and addons and keep them updated each day, as the guild history related stuff is worked on frequently. Also Zos needs to do that and hopefully next patches and maintenance will fix next things.
    And if addons or libs "warn": Take that serious please and do not think you can skip that every time without any impact!

    You cannot trick the technic, and if you do not understand that or do not want to understand that, all you can do it disable the addons that use the technic and live without them. But please do not spread ways to disable the warnings or errors. That does not help anyone.

    Edited by Baertram on March 24, 2024 7:00PM
  • Danikat
    Danikat
    ✭✭✭✭✭
    ✭✭✭✭✭
    I know the API changed recently and addon authors are still trying to figure out how to work with the new version. Is it likely this library will be able to update more quickly in future? Or is this going to be an inevitable and unavoidable part of using it?

    If it's the second one then I'll have to uninstall it and any addons which use it, because another unavoidable factor is that I cannot play on an addons schedule, especially if that means staying logged into one character for hours at a time. If that's required to get certain addons to work that means they're the wrong ones for me and I made a mistake installing them.

    That's not a criticism of the addons or their authors, it's just a statement of fact. I don't have time to use these addons.

    I wonder if one option could be to split it into seperate libraries for different aspects of guild history or add a settings menu to enable searching and recording different histories. I'm only using it for trade addons, I'm pretty sure they don't need to know my guild's Alliance War activity or even what's been deposited into the guild bank, they only need to know trader activity. ATT used to update relatively quickly compared to this and I assume that's because it was only recording trader activity.
    Edited by Danikat on March 24, 2024 8:38PM
    PC EU player | She/her/hers | PAWS (Positively Against Wrip-off Stuff) - Say No to Crown Crates!

    "Remember in this game we call life that no one said it's fair"
  • freespirit
    freespirit
    ✭✭✭✭✭
    ✭✭✭
    Danikat wrote: »
    I know the API changed recently and addon authors are still trying to figure out how to work with the new version. Is it likely this library will be able to update more quickly in future? Or is this going to be an inevitable and unavoidable part of using it?

    If it's the second one then I'll have to uninstall it and any addons which use it, because another unavoidable factor is that I cannot play on an addons schedule, especially if that means staying logged into one character for hours at a time. If that's required to get certain addons to work that means they're the wrong ones for me and I made a mistake installing them.

    That's not a criticism of the addons or their authors, it's just a statement of fact. I don't have time to use these addons.

    I wonder if one option could be to split it into seperate libraries for different aspects of guild history or add a settings menu to enable searching and recording different histories. I'm only using it for trade addons, I'm pretty sure they don't need to know my guild's Alliance War activity or even what's been deposited into the guild bank, they only need to know trader activity. ATT used to update relatively quickly compared to this and I assume that's because it was only recording trader activity.

    The issue isn't with the addons, the issue is with ZoS breaking the way history works with update 41.

    It's on the known issues list and until ZoS fix it, however hard the addon authors try they will not be able to get their addons working as they should!

    https://forums.elderscrollsonline.com/en/discussion/654125/pc-mac-update-41-known-issues-updated-march-14-2-30pm-edt

    Edit:- To clarify, with no addons active at all, no libs nothing, the game still struggles to collect any histories!
    Edited by freespirit on March 24, 2024 9:23PM
    When people say to me........
    "You're going to regret that in the morning"
    I sleep until midday cos I'm a problem solver!
  • BergisMacBride
    BergisMacBride
    ✭✭✭✭✭
    Danikat wrote: »
    I wonder if one option could be to split it into seperate libraries for different aspects of guild history or add a settings menu to enable searching and recording different histories. I'm only using it for trade addons, I'm pretty sure they don't need to know my guild's Alliance War activity or even what's been deposited into the guild bank, they only need to know trader activity. ATT used to update relatively quickly compared to this and I assume that's because it was only recording trader activity.

    You can do that now with LibHistorie through the Guild History window. Just make sure the LibHistorie pop up is visible when Guild History window is open, select the category you want it to ignore in the ZOS Guild History window and the select “Force Off” on the same tab in the LibHistorie window. I’ve Forced Off everything except the trading tabs for each guild, so that is the only one LibHistorie is listening to for my guilds.

    Unfortunately, until ZOS fixes the broken Guild History updating, you’ll still have to clear the cache for the guilds that are stuck, reload the UI pull all the sales for that guild again. Yeah it sucks but if you do any volume of sales at all it’s currently the only way to know what you’ve sold and for how much. I pretty much have to do it 2-3 times each day if I’m playing a lot but usually only do it right before I refill my trader listings.

    @ZOS_Kevin and @ZOS_GinaBruno: any word on the progress of lack thereof on this issue?

  • Sakiri
    Sakiri
    ✭✭✭✭✭
    ✭✭
    Danikat wrote: »
    I wonder if one option could be to split it into seperate libraries for different aspects of guild history or add a settings menu to enable searching and recording different histories. I'm only using it for trade addons, I'm pretty sure they don't need to know my guild's Alliance War activity or even what's been deposited into the guild bank, they only need to know trader activity. ATT used to update relatively quickly compared to this and I assume that's because it was only recording trader activity.

    You can do that now with LibHistorie through the Guild History window. Just make sure the LibHistorie pop up is visible when Guild History window is open, select the category you want it to ignore in the ZOS Guild History window and the select “Force Off” on the same tab in the LibHistorie window. I’ve Forced Off everything except the trading tabs for each guild, so that is the only one LibHistorie is listening to for my guilds.

    Unfortunately, until ZOS fixes the broken Guild History updating, you’ll still have to clear the cache for the guilds that are stuck, reload the UI pull all the sales for that guild again. Yeah it sucks but if you do any volume of sales at all it’s currently the only way to know what you’ve sold and for how much. I pretty much have to do it 2-3 times each day if I’m playing a lot but usually only do it right before I refill my trader listings.

    @ZOS_Kevin and @ZOS_GinaBruno: any word on the progress of lack thereof on this issue?

    Well, I've done that. Every day. And it *still* gives me the error that it hasn't been able to fully link up for over a week.

    How the heck do I fix THAT one? Literally the error says "has not been able to link for over a week", considering that I had it disabled for a little while it's probably trying to hook up my old stuff too but since I'm on linux I don't know where the game keeps it.
  • Necrotech_Master
    Necrotech_Master
    ✭✭✭✭✭
    ✭✭✭✭✭
    i think a lot of the issues are still related to the actual guild history not loading properly, not necessarily the libhistoire

    i installed it as well for arkadius, but i might need to do some configuration on it so that it does not try to track anything but trading history, as i have no need for any of the other history

    i also have noticed that it consistently gives me the warning when switching characters and it is indeed annoying that it is unable to retrieve the history correctly still in any reasonable amount of time and im not sure if this is still a zos issue with the guild history, or an issue with the library trying to request ALL of the history all of the time
    plays PC/NA
    handle @Necrotech_Master
    active player since april 2014

    i have my main house (grand topal hideaway) listed in the housing tours, it has multiple target dummies, scribing altar, and grandmaster stations (in progress being filled out), as well as almost every antiquity furnishing on display to preview them

    feel free to stop by and use the facilities
  • Baertram
    Baertram
    ✭✭✭✭✭
    Sakiri wrote: »
    Danikat wrote: »
    I wonder if one option could be to split it into seperate libraries for different aspects of guild history or add a settings menu to enable searching and recording different histories. I'm only using it for trade addons, I'm pretty sure they don't need to know my guild's Alliance War activity or even what's been deposited into the guild bank, they only need to know trader activity. ATT used to update relatively quickly compared to this and I assume that's because it was only recording trader activity.

    You can do that now with LibHistorie through the Guild History window. Just make sure the LibHistorie pop up is visible when Guild History window is open, select the category you want it to ignore in the ZOS Guild History window and the select “Force Off” on the same tab in the LibHistorie window. I’ve Forced Off everything except the trading tabs for each guild, so that is the only one LibHistorie is listening to for my guilds.

    Unfortunately, until ZOS fixes the broken Guild History updating, you’ll still have to clear the cache for the guilds that are stuck, reload the UI pull all the sales for that guild again. Yeah it sucks but if you do any volume of sales at all it’s currently the only way to know what you’ve sold and for how much. I pretty much have to do it 2-3 times each day if I’m playing a lot but usually only do it right before I refill my trader listings.

    @ZOS_Kevin and @ZOS_GinaBruno: any word on the progress of lack thereof on this issue?

    Well, I've done that. Every day. And it *still* gives me the error that it hasn't been able to fully link up for over a week.

    How the heck do I fix THAT one? Literally the error says "has not been able to link for over a week", considering that I had it disabled for a little while it's probably trying to hook up my old stuff too but since I'm on linux I don't know where the game keeps it.

    I experience the same issue with one of my guilds and even without addons and/or LibHistoire it got stuck. So all I can do for now is clear the cache via LibHistoire (for that 1 guild), force all other stuff off (only keep sales history at "Force on") and then update it all again until it works (with or without LibHistoire).

    If it works, okay. If not: Nothing we can do! We have to wait for ZOs to fix their issues and after that addons and libs to adopt again (if needed), and finally one day it will work.

    I tried it without addons so far but as I said, no luck with my 1 guild. So all I can do is wait for ZOs changes.
  • Danikat
    Danikat
    ✭✭✭✭✭
    ✭✭✭✭✭
    Some combination of the updates and disabling it for everything except trader history seems to have fixed it. Today I was able to switch between characters as normal without constantly being warned that it was still updating.
    PC EU player | She/her/hers | PAWS (Positively Against Wrip-off Stuff) - Say No to Crown Crates!

    "Remember in this game we call life that no one said it's fair"
  • Baertram
    Baertram
    ✭✭✭✭✭
    Same here, only sometimes the history fetching takes long from the server (even for only data of 1 day).
    LibHistoire debug messages in DebugLogViewer UI show me then that the requst was raised but server did not answer/fullfill for that time.

    e.g.
    Time since last automated request 150 seconds - is overdue
    -> Overdue as addons can request new data from the server every 2 minutes afaik


    So it's clearly something server side, and not AddOns/LibHistoire.

    Hopefully this will be updated soon too and then all will be working stable again in the next days/weeks.
    Thanks to all devs (especially sirinsidiator!) and ZOs for working on the guild history API, server, performance and addons/libraries to keep that working (again).
    Edited by Baertram on March 31, 2024 9:21PM
Sign In or Register to comment.