Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error about ProgressBar.js #89

Closed
MisteRibi opened this issue May 17, 2017 · 14 comments
Closed

Error about ProgressBar.js #89

MisteRibi opened this issue May 17, 2017 · 14 comments

Comments

@MisteRibi
Copy link

MisteRibi commented May 17, 2017

Sorry in advance for my not perfect English, I'm french.

Downloaded and installed master from 2hours ago, localy, but after running FiveM client I got a error about ProgressBar.js that repeated himself infinitely and I wasn't able to show the game menu to quit. I was needed to launch task manager and kill FiveM client.

The error is:
Uncaught Reference Error: cfg is not defined Script: nui://vrp/gui/ProgressBar.js Line: 52 Column: 45 StackTrace: Uncaught Reference Error: cfg is not defined

*Edit:
Don't know if commit number can help but in case: 7f63173

@ImagicTheCat
Copy link
Member

ImagicTheCat commented May 17, 2017

Your file cfg/client.lua is full of configuration ? I think it's a problem with the NUI callbacks, I had troubles with it by the past.
Edit: it's possible that the NUI is loaded before the client scripts...

@ImagicTheCat
Copy link
Member

Try to create a fresh install with the last version to see if the problem persists.

@MisteRibi
Copy link
Author

Will see cfg/client.lua
I configured base.lua because there was info about connection to database

It is a fresh install however, may be the db is corrupt but would be weird that progresbar have anything with db, but I could be wrong too

@ImagicTheCat
Copy link
Member

So the last version didn't fix it ?

@MisteRibi
Copy link
Author

Sorry, didn't see "last version" in your second message, I was so busy, sorry.
I don't know what to do with cfg/client.lua but I do know I need to setup DB info in cfg/base.lua

Still have that problem with the latest version commit 92ba190

@ImagicTheCat
Copy link
Member

It's possible that all the NUI don't work for you, if you have no errors on the vRP LaTest server, it's something wrong with your server setup.

@MisteRibi
Copy link
Author

What do you mean by "wrong with your server setup"?
Don't have error in the server's console.

@MisteRibi
Copy link
Author

No solution?

@ImagicTheCat
Copy link
Member

Do you still have the issue on a fresh install ?

@SirSmog1
Copy link

SirSmog1 commented Jun 3, 2017

windows 10 no creater update installed
fresh launcheur cache empty
fresh serveur download 2017/06/01
no script in serveur juste vRP
run game with direct x11

im use a 42Po screen for my pc its possible to resolution in my pc cause this issue

Do you need more information ?

thx for your support

@ImagicTheCat
Copy link
Member

When you can, tell me if f64ddb0 solved it.

@SirSmog1
Copy link

SirSmog1 commented Jun 4, 2017

no not work y broke the menu cellphone new name or other menu ingame

I may have done wrong handling

@ImagicTheCat
Copy link
Member

obsolete

@danielrdrigues
Copy link

danielrdrigues commented Nov 30, 2021

image
I have a similar error, it's seems that the problem is something to do with fiveM, am I right? having a defer attribute would fix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants