JaredScar / Badssentials

A Fivem Script
MIT License
13 stars 14 forks source link

What is the issue? #16

Open dylangoetz opened 3 months ago

dylangoetz commented 3 months ago

[ script:Badssentials] There was an error in the checks for the latest version, if the issue persists create an issue on github. https://github.com/JaredScar/Badssentials/issues

NickReagan commented 3 months ago

Can you post a screenshot of your fxmanifest.lua?

dylangoetz commented 3 months ago

author "badger.jar" description "Badssenstials" fx_version "cerulean" game "gta5" version '3.0.0'

client_script "client.lua"

server_scripts { "server.lua", "version-checker.lua" }

shared_scripts { "config.lua", "postals.lua" }

exports { "GetAOP", "GetPeaceTimeStatus", "IsDisplaysHidden" }

NickReagan commented 3 months ago

Try restarting the script, let us know if this issue persists.

dylangoetz commented 3 months ago

My other scripts are even saying such. I wonder if this would have something to do with my file perms. image

dylangoetz commented 3 months ago

and after I restarted it here we go. image

NickReagan commented 3 months ago

I have built the current version of Badssentials on my test server and it can pull the version just fine. I do not see any flaws in the code either.

It is possible for whatever reason your server can't talk to github.

The version checker simply gets the version from the version.txt and compares it to the local version number in the resource. It also seems like your AcePerms, DiscordAPI, and Radar also have the same issue.

I would recommend building a test server just on your personal machine and just running a copy of the badssentials your using on it to confirm the cause of the issue.

Github is known for geo-blocking traffic so it is possible the requests are getting geo-blocked.