The Gold Road Chapter – which includes the Scribing system – and Update 42 is now available to test on the PTS! You can read the latest patch notes here: https://forums.elderscrollsonline.com/en/discussion/656454/

ZOS Game event question: EVENT_INVENTORY_SINGLE_SLOT_UPDATE

Maggi12
Maggi12
✭✭✭
I am trying to make my own addon for logging notable loot.
I have scripted all cases, including loot from fallen enemies, loot from containers.
Only one thing left is logging refinement results.
So while refinement process we have 2 event calls (simple case):
1) bagId1, slotIndex1, stackCountChange1 - remove 10 raw materials
2) bagId2, slotIndex2, stackCountChange2 - add 1 refined material

I wanted to ask if event 2 is called AFTER event 1 in case of refinement?
What happens on lags or bad server connection? high ping? Or they both (event 1 and event 2) are packed in single network packet and i shouldn't worry about that (my current guess).
I've made some tests and they show that event 2 goes after event 1, but i want to be sure my code works always and is not affected by lags.
Edited by Maggi12 on November 18, 2019 12:32PM
  • Maggi12
    Maggi12
    ✭✭✭
    no answers? i have stopped development of my addon...
  • Easily_Lost
    Easily_Lost
    ✭✭✭✭✭
    You may want to go over to www.esoui.com to ask your questions.
    PC - NA - AD
    started April 2015
    PVE & Solo only

    Meet the LOST family: CP 1250+
    Easily Lost Crafter - lvl 50 - Sorcerer Orc ( knows all traits and most styles )
    Easily Lost-W - lvl 50 - Warden Imperial
    Forever Lost - lvl 50 Sorcerer


    CROWN CRATES: It doesn't affect gameplay, it's not mandatory, it's cosmetic only. If it helps to support the game and ZOS, I support it! Say YES to crown crates.
  • Baertram
    Baertram
    ✭✭✭✭✭
    Simple answer:
    Do tests :)
    I assume the same like you did and you could only check the code of the esoui sources here e.g.
    https://github.com/esoui/esoui/tree/master/esoui/ingame

    to see where the events are fired and in what order.
    Most events ar enot fired async so they should be in the correct order.
Sign In or Register to comment.