Maintenance for the week of March 25:
• [IN PROGRESS] ESO Store and Account System for maintenance – March 28, 9:00AM EDT (13:00 UTC) - 12:00PM EDT (16:00 UTC)

The Elder Bat -- Event Tickets

Easily_Lost
Easily_Lost
✭✭✭✭✭
I have also posted on ESOUI on the The Elder Bar page.

If you have 4 tickets and the slider is set to 5 or above it shows red. If you have 0 tickets it will show red.

I have posted this error before, and never had any feedback.

EDIT: I think I figured out what's happing. I am in the process of testing it right now. If it works correctly, I will post what I did.

EDIT2: It works, her are my changes.

Old Code:
if eventtickets >= et_Warning then
       etColor = "|cffdf00"
       etIcon = "warning"
    end
    if eventtickets <= et_Danger then
        etColor = "|ccc0000"
        etIcon = "danger"
    end

New Code:
if eventtickets >= et_Warning then
     if eventtickets >= et_Danger then
	  etColor = "|ccc0000"
          etIcon = "danger"
     else
          etColor = "|cffdf00"
          etIcon = "warning"
     end
end

I hope this helps anyone to fix this problem.
Edited by Easily_Lost on December 22, 2020 10:14AM
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.
  • Easily_Lost
    Easily_Lost
    ✭✭✭✭✭
    I edited this, so I bumped it to the top.
    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.
Sign In or Register to comment.