• 0

    posted a message on Building package doesn't seem to work

    In case this post is found by someone with the same issue, here is my solution:

     

    From this https://support.curseforge.com/en/support/solutions/articles/9000196615-known-issues link I found the following:

     

    Doing a POST request to that URL (https://www.curseforge.com/api/projects/{projectID}/package?token={token}) will also work for projects using a repository on Curseforge. You should be able to do such a request using e.g. CURL (curl -X POST -d '' 'https://www.curseforge.com/api/projects/{projectID}/package?token={token}'projectID is the numerical ID that is displayed on your project's CurseForge page in the top-right box token is a valid API token you can create under https://www.curseforge.com/account/api-tokens

    Posted in: General Discussion
  • 0

    posted a message on Building package doesn't seem to work

    Thank you saying this. :)

    Posted in: General Discussion
  • 0

    posted a message on Building package doesn't seem to work

    I found a way to trigger a build manually using post. This worked. I am curious as to why the auto-packaging failed, though.

    Posted in: General Discussion
  • 0

    posted a message on Building package doesn't seem to work

    I have updated my addon, LibCompress, to support the latest game version and committed my change and created a tag, yet curseforge/wowace doesn't build a new package and I wonder what I have missed.

     

    This is the package url I commit to:

     

    https://repos.wowace.com/wow/libcompress/

     

    I created a tag, r86-release (never mind the naming) yesterday, but the system wont create a new package. 

     

    I am using the "Package tagged commits (recommended)" yet nothing is happening.

     

    Could someone perhaps shed some light on this?

     

    Thanks.

    Posted in: General Discussion
  • 0

    posted a message on Addon comms changes
    Could it be that the GUILD addon channel is ready before the WHISPER addon channel is? I have an addon that upon login send a message to the GUILD addon channel and other clients report back via the WHISPER addon channel. But for some reason, the whispers do not always seem to make it back. Any insight knowledge here?
    Posted in: Lua Code Discussion
  • 0

    posted a message on Addon comms changes
    Quote from Xinhuan
    Any messages (both normal and addon ones) sent between PLAYER_LEAVING_WORLD and PLAYER_ENTERING_WORLD events will be lost. Make sure your addon doesn't send any messages between those 2 events. (yes, other events can happen between those 2 events).


    Ok, I can check for that, but will any messages sent to me during that time also not reach me?
    Posted in: Lua Code Discussion
  • 0

    posted a message on Tabbing to windows blocks chat/addon messages?
    Quote from Xinhuan
    It is generally safe after the first GUILD_ROSTER_UPDATE event, which happens after a GuildRoster() call.


    Is this the earliest time when it is safe to use the GUILD addon channel? Because that even doesn't happen all that often. :-P
    Posted in: Lua Code Discussion
  • 0

    posted a message on Tabbing to windows blocks chat/addon messages?
    I am currently trying to have my addon log off from the GUILD channel when it has received 2-3 events with at least 1 second intervals without any OnUpdate calls having happened. When the OnUpdate calls start flowing again, the addon will log on again.

    Cumbersome, and annoying, as the time with wow minimized would be a good time to exchange the data.
    Posted in: Lua Code Discussion
  • 0

    posted a message on Tabbing to windows blocks chat/addon messages?
    Just tried with RegisterAllEvents but it failed as in a isolated area, no events are occuring for a long time. Is there any way to cause events to happen in the background without triggering any communication? Sending addon messages to yourself constantly would work, but consumes network bandwidth and loads the server with (I hope) needless work.
    Posted in: Lua Code Discussion
  • 0

    posted a message on Tabbing to windows blocks chat/addon messages?
    After a login, when is it safe to use the guild channel? I think I am sending stuff too early and while I could implement a delay, I would rather use an event...
    Posted in: Lua Code Discussion
  • 0

    posted a message on Tabbing to windows blocks chat/addon messages?
    Quote from funkydude
    OnUpdates not working during alt tab has been happening since sometime during WotlK, it's "intended" though I can't remember the specific details/reasoning behind the issue itself someone else will probably remember. The general advice is play windowed if you want to work on different tabs whilst playing.


    Not really the solution I can recommend to all the users of my addon. :-P

    Also, having wow windows and minimizing it will still stop the OnUpdate events from happening.

    Is there an even that trigger if wow is minimized/restored? I could use that to register/unregister all events and create pseudo OnUpdate calls.
    Posted in: Lua Code Discussion
  • 0

    posted a message on Tabbing to windows blocks chat/addon messages?
    Currently I am thinking about using RegisterAllEvents and in the event handler use GetTime to at least get some processing done, but RegisterAllEvents isn't really a favorite of mine to use...
    Posted in: Lua Code Discussion
  • 0

    posted a message on Tabbing to windows blocks chat/addon messages?
    Hmm the problem is different to what I thought. The messages do arrive (tested with /eventtrace) but I put my messages in a queue and pop them in a fixed rate (to prevent bursts causing screen freeze). This works fine, but it seems my scheduler is stopped when the game is minimized.

    I listen to update events like this:

    frame = CreateFrame("Frame")
        frame:SetScript("OnUpdate", OnUpdate)


    This apparently isn't enough to cause the events to keep running when the game is minimized. The Frame update event doesn't fire in that case.

    How should I create a frame or attach an OnUpdate script so it will continue to run even when wow is minimized?
    Posted in: Lua Code Discussion
  • 0

    posted a message on Tabbing to windows blocks chat/addon messages?
    It seems (for some time already) that if a client tabs out to windows, that wow blocks incoming messages (both chat and addon) and replays them when the player switches back to wow. Does anyone know more about this issue? It wreaks havoc with my addon. :-/
    Posted in: Lua Code Discussion
  • 0

    posted a message on Addon comms changes
    My issue seems to be something else. I'll start a new thread.
    Posted in: Lua Code Discussion
  • To post a comment, please or register a new account.