#Ox_lib Redesign [Showcase] [Release]

1 messages · Page 2 of 1

void quarry
#

I fixed it for myself... but should fix it, So others in the future dont run into it.

dusty lava
void quarry
dusty lava
#

@void quarry make a PR for the fix then

void quarry
vale halo
#

beautiful, ty for this!!

cold flame
#

Is anyone else’s skill check kinda laggy?

void quarry
#

Yea it is a lil bit ngl lol.... more choppy i would say

latent inlet
#

reduce the amount of particles

#

it's already low asf and doesn't lag on mid tier pcs or higher but if ur on a toaster then yeah just reduce the amt of particles

#

ox_lib/web/src/features/skillcheck/index.tsx

void quarry
#

i will try decrease. Its not hella choppy, just enough to feel it. I know i be hitting some skill checks, but it fails.

cold flame
#

I was gonna say I’m using a 2070super and a Ryzen 7, I don’t feel it everytime just every now and then. It was mostly someone in my discord that was saying it’s been laggin for them so thought I’d ask here. Appreciate the response though. I’ll take a look at lowering particles even more

feral dome
#

@latent inlet most notifications and lib loading thingies have been like kinda blurry/pixelated, is there any way to fix

dusty lava
#

the blur on progress is intended, its like a fade in

latent inlet
#

Bruiser is correct. As far as the notifications, I couldn’t tell you

#

It’s not like that for me

#

Or anyone else

tepid oak
#

is anyone else having this issue?

dusty lava
tepid oak
#

oh, i thought it was already build. How do I build it?

dusty lava
#

some above in this thread tell you how

tepid oak
#

got it, thank you!

void quarry
#

make sure you have node.js downloaded before this

#

then type cmd in the path bar up top. And when it opens the command prompt. Use these commands (npm i then after do npm run build)

shy monolith
latent inlet
#

probably not a bad idea

#

just do that tho

#

replace the lines in those 2 files with the new ones in that commit

#

if i have time to do it ill try to

#

or some1 can do it and pr it and ill merge it

#

maybe @dusty lava <3

dusty lava
#

just go to ox lib copy the progress.lua they edited and replace it

#

im in russia ATM

rough ridge
#

build errors?

fresh bough
#

i am so sorry but i am confused to built this

#

can u give me a short instruction ? 🙂

fresh bough
#

and dark mode not possible via /ox_lib?

feral dome
fresh bough
#

okay quick question after i built it do i have to put the whole folder into the server?

feral dome
#

after building it

fresh bough
#

okay its working fine but i have a nother question the font is kinda blurry, any suggestions?

#

the menu looks clean but the text ui is looking blurry

feral dome
#

i also have the same problem so if u know anything pls hepl us 🙏

fresh bough
#

i am trying to figure it out since yesterday but no solution so far

fresh bough
#

how did you mange to disable the blur?

fresh bough
#

@latent inlet Sir, sorry to ping you for this, but we could really need your help. Dont want to bother, just need some help with that. your ressource ist great!

fresh bough
#

well sadly cant use it...the blur is more intense than everything. hopefully it get fixxed :/

latent inlet
#

go mess around with ox_lib\web\src\features\textui\TextUI.tsx

#

it's probably the text shadow or something

vale halo
#

is there a way to set these to be default for all users? some players seem to have the light mode, while i want dark mode to be always applied.

#

nvm, i'm blind
- Use the setr ox:darkMode convar to enable/disable dark mode by default (1 for dark mode, 0 for light)

humble furnace
#

does any1 know how to change like the colours?

humble furnace
dusty lava
#

in ox.cfg

humble furnace
#

Set ox_lib colors

setr ox:primaryColor blue
setr ox:primaryShade 8

#

ive got that but doesnt work

dusty lava
#

yup

humble furnace
#

@dusty lava

#

Do yk how to change the modes

#

it aint working for me

#

i cant get dark mode

dusty lava
#

It will save the first time so if you didn't have it how you wanted it when you started you have to manually change it

#

/ox_lib

humble furnace
#

yeah when i do /ox_lib it doesnt have the option to change colour

#

i want it to be dark mode for every1 no matter what

humble furnace
#

@dusty lava

dusty lava
#

Read the thread, its been asked and answered

dusty lava
humble furnace
#

i built it and dragged and dropped

humble furnace
dusty lava
#

the web folder or the whole thing?

latent inlet
#

It’s a convar you put you a config file

humble furnace
#

i sorted it thanks

#

i didnt drag n drop ur whole thing with the build lol

#

how do i make it like ur font??

humble furnace
dusty lava
humble furnace
#

yeah, with the build

void quarry
#

i assume the reason he aint telling you. Is so you can learn, instead of being told everything. Which honestly, is respectable if so.

#

slots and weight capacity.... it only takes one search

humble furnace
void quarry
inner path
#

Hi! I was testing this design, but I came up with some problem. It seems like the "center-left" and "center-right" positions are not positioning correctly. I have set everything in the config and also tried with a test notification with both positions and none is displaying correctly (they display as "bottom" position).

Testing it with other positions such as top-left, etc. works fine, it's just the center positions.

I'm using a clean qbox base (txAdmin recipe). If you need more information, lmk, but this should be enough so you can repro:

RegisterCommand('testnotification', function()
    lib.notify({
        title = 'Notification title',
        description = 'Notification description',
        type = 'success',
        duration = 6000,
        position = 'center-left'
    })
end)
void quarry
#

For instance, your ambulance script. May use ox_lib exports. But it isnt using the ox_lib its self. So you would need to go in there, and change it accordingly.

#

Same for all other scripts using ox lib notify.

inner path
#

This is just a client file that i made, it's not a "full" script at all. It's using ox lib notify

latent inlet
#

It’s right-center and left-center

#

@inner path

#

Not center-right/center-left

inner path
#

it's with the notifications, not textUI. I believe it's set center-left in the docs, but i'm not in my pc rn, so I can't check it...

#

@latent inlet

inner path
#

Hi! I just tried it with both (left-center and center-left) and it's not working... strangely i tried to use unedited ox_lib and the same command it works. I just built your fork and haven't touched anything @latent inlet (sorry for the trouble, and amazing work btw <3)

latent inlet
#

It’s an issue from an older version that was fixed I believe

#

I’m at work rn but I’m pretty sure that’s the issue

inner path
#

i downloaded the latest version from ur github, but maybe i did something wrong in my end

humble otter
#

Do you have the latest css version? @latent inlet

dusty lava
#

its on the github?!

inner path
#

Hi @latent inlet , did you had time to check it out?

dusty lava
#

what are you trying to do?

latent inlet
fallen canyon
#

when i run pnpm run build

dusty lava
fallen canyon
kindred plover
sacred socket
#

run npm install

void quarry
#

npm i
npm run build

fresh bough
#

Well you do have to do some changes to the code actually. But it works afterwards

cedar cosmos
#

can't you guys send the build file bro

radiant snow
#

Just build it. Not hard.

cedar cosmos
#

always error

#

is there a tutorial?

cedar cosmos
kindred plover
cedar cosmos
#

i try again

cedar cosmos
cedar cosmos
#

done brooo thank you

signal sand
#

does anyone have the built version i keep getting serveral errors in my vps

#

when im running npm i and npm run build

sleek pine
#

e

leaden mango
#

I'm having abit of issue in boiler menu i cant scroll down to check textui and skillcheck section

#

@latent inlet sorry for the mention but i need a bit of help

elfin umbra
#

How do I change the notification position to center-left? I've already changed it in my script and used the /ox_lib command to change the position to center-left, but the notification is still at bottom center.

#

@latent inlet