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

NUI pages incorrectly replaced with gameconfig.xml placeholder #1385

Closed
ianfd opened this issue Apr 8, 2022 · 4 comments
Closed

NUI pages incorrectly replaced with gameconfig.xml placeholder #1385

ianfd opened this issue Apr 8, 2022 · 4 comments

Comments

@ianfd
Copy link

ianfd commented Apr 8, 2022

Hey everyone,

since 10:00AM today we're facing a small issue.
This text started to appear. We haven't changed anything in the last 18 hours. Until 3:00AM it worked perfectly fine, now we're facing this issue. It seems to be related to a UI.

Screenshot_2022-04-08_135109

@blattersturm
Copy link
Contributor

blattersturm commented Apr 8, 2022

This isn't 'completely random' (rather some edge case as of 202dfc2), and please provide a repro, as with you providing no info at all this isn't actionable.

@blattersturm blattersturm added status:needs info Requires more info before this issue/PR can move on bug labels Apr 8, 2022
@blattersturm blattersturm changed the title Text appeared completely random at the upper half of the screen UI NUI pages incorrectly replaced with gameconfig.xml placeholder Apr 8, 2022
@NecronomiconCoding
Copy link

This isn't 'completely random' (rather some edge case as of 202dfc2), and please provide a repro, as with you providing no info at all this isn't actionable.

Hi,
I have attached the ressource that is causing the issue. (Me and @ianfd are working together on this)

https://drive.google.com/drive/folders/1_GIjwY8rtsTGFgoR1Q9xYbfm6_6s_93c?usp=sharing

@blattersturm
Copy link
Contributor

blattersturm commented Apr 8, 2022

Right, you need to add your .html/.css/.js files to file, not client_script. This seems like user error, instead, which only worked due to a bug (resources with names containing uppercase being ignored).

For context, a resource named FamilyLife-Tankstelle with the following manifest:

fx_version 'adamant'
game 'gta5'

ui_page "html/index.html"

client_scripts {
	'html/index.css',
	'config.lua',
	'functions/functions_client.lua',
	'source/fuel_client.lua',
	'html/index.html',
	'html/reset.css',
	'html/index.js'
}

author 'FamilyLife'
version '1.0.0'

server_scripts {
	'config.lua',
	'source/fuel_server.lua'
}

exports {
	'GetFuel',
	'SetFuel'
}

client_script '02776.lua'



I'm also a bit worried about this 1 MB .lua file with the weird name. Are you sure you don't have malware?

@blattersturm blattersturm added user-error and removed bug status:needs info Requires more info before this issue/PR can move on labels Apr 8, 2022
@NecronomiconCoding
Copy link

NecronomiconCoding commented Apr 8, 2022

Thanks @blattersturm

Fixed by adding them as file

Also thats no malware, part of the anti cheat we are using

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

No branches or pull requests

4 participants