#Ox_lib textui persistence

1 messages · Page 1 of 1 (latest)

shut lava
sly atlas
#

you have something some where calling textui in a thread so its non stop running

shut lava
#

Hmmm i wouldnt even know if thats been done. I know i havent done it personally, but another dev may have.

#

Thats annoying lol

#

Anything i would search. Like keywords, to look for. So that i can narrow that issue down. There has been HUNDREDS of commits in the past week or so. So i dont know if i have the mental to look through all them rn lol.

sly atlas
#

i would shut down resources 1 by 1 to find it, then go from there

quiet field
shut lava
quiet field
#

Like Bruiser said there is some loop somewhere infinitely closing it

shut lava
#

Yea no luck currently

#

i sat there stopping over 100 resources to no avail

quiet field
#

I would start by searching for it only in the folders where it could be

#

like standalone if you've installed anything in there or [scripts]

#

or whatever you've installed recently

sly atlas
#

do you have anox resource?

shut lava
#

I do not

sly atlas
#

ah yea like i said its in a thread that is calling every frame

it will be like this

    while true do
        local job = activeJob
        if timerActive and job and timeLeft > 0 then
            local timeFormatted = string.format('%02d:%02d', math.floor(timeLeft / 60), timeLeft % 60)
            Framework.ShowTextUI(_L('time_left', timeFormatted), {
                style = 'timer',
                icon = 'clock',
                iconAnimation = 'pulse'
            })
        else
            Framework.HideTextUI()
        end
        Wait(0)
    end
end)```

so you can look for ```showtextui``` or ```hidtextui``` and that would narrow it down, or try to remember when it started and what was added then and go through those resources
#

that snippet is from another resource that i found this same issue in, so it wont pertain to you as a whole, but to give you an idea of what it may look like