PolyZone icon indicating copy to clipboard operation
PolyZone copied to clipboard

Couldn't load resource PolyZone: Couldn't parse URI.

Open R4ndGuy opened this issue 2 years ago • 6 comments

Hello,

when I run PolyZone while connected I get kicked from the server with this error "Couldn't load resource PolyZone: Couldn't parse URI.", and I couldn't connect.

I first thought of an error in the file tree but yet all the paths seem correct.

Do you have an idea ?

sorry for the rough translation

screenshot of my files path image image

image

R4ndGuy avatar Jul 07 '22 12:07 R4ndGuy

I certainly have not seen this before. Did you change anything about the resource after downloading it? What fxserver version are you running and what operating system are you using? Also, does your server console have any errors relating to PolyZone when you start the server?

mkafrin avatar Jul 10 '22 05:07 mkafrin

Hello,

The server is running on version v1.0.0.5562 on linux and not any server error, only a client error and the inability to reconnect to the server.

I didn't touch the script, just copy paste and try to start it.

R4ndGuy avatar Jul 10 '22 06:07 R4ndGuy

Hmm yeah this may be a linux vs windows thing. I've never run fxserver or FiveM on linux and am not sure what possible changes there may be.

Can you show me the whole path of the resource, up to the resources folder? Also, can you try removing the lines for the creation scripts in your fxmanifest.lua (line 13 and 17 in the screenshot above).

mkafrin avatar Jul 11 '22 01:07 mkafrin

Hi ! i've already tried to remove these lines but it isn't work. I have checked all path, they are all goods

R4ndGuy avatar Jul 11 '22 14:07 R4ndGuy

I've been using PolyZone on Linux for a year now. If you are receiving an error like that, it's most likely due to the case sensitivity in Linux. Ensure that if you manually recreated ANY files in the resource that any references to those are also matching case. Everywhere from the server.cfg, fxmanifest and anything that requires PolyZone (dependency 'PolyZone')

It could also be an issue with your distro (I use CentOS and have never experienced this issue) that does not like the globbing in fxmanifest (server/*.lua, client/*.lua); try manually adding each file into the fxmanifest and remove the wildcard glob reference.

jnccloud avatar Jul 24 '22 07:07 jnccloud

Oops, I totally lost track of this, apologies. Thank you for lending your experience of PolyZone on Linux @jnccloud, I really appreciate that. Can you take a look at his comment @R4ndGuy and see if either of those suggestions helps?

mkafrin avatar Jul 26 '22 05:07 mkafrin