qbcore-framework / qb-anticheat Goto Github PK
View Code? Open in Web Editor NEWAnticheat System For QB-Core
License: GNU General Public License v3.0
Anticheat System For QB-Core
License: GNU General Public License v3.0
im not good at explaining... but it appears that when you do this for example...
TaskStartScenarioInPlace(playerPed, 'WORLD_HUMAN_WELDING', 0, true)
it gives the error of "attempt to index a nil value (local WeaponInformation)
i do not know if this is currently known so... <3 :p
The anticheat works fine, it detects hackers/modders but actualy I've to manualy ban them, takes a lot of time and should be automated If possible. I have build my own solution, in the meantime but it should be working instead of "Player banned! of course not this is a test, duhhhh"
Hi, I have an error that keeps cropping up on the client-side of the anticheat as displayed in the screenshot. I read throw the script but do not understand why the error appears,
This is what is in the client file from lines 173 to 183. Is it trying to flag players with weapons? My job is set as police and I have police weapons so should not be flagging me. I do not understand what is going on or how to fix the error.
if WeaponInformation["name"] ~= "weapon_unarmed" then
QBCore.Functions.TriggerCallback('qb-anticheat:server:HasWeaponInInventory', function(HasWeapon)
if not HasWeapon then
RemoveAllPedWeapons(PlayerPed, false)
TriggerServerEvent("qb-log:server:CreateLog", "anticheat", "Weapon removed!", "orange", "** @everyone " ..GetPlayerName(player).. "** had a weapon on them that they did not have in his inventory. QB Anticheat has removed the weapon.")
end
end, WeaponInformation)
end
end
end
end)
This is a great plug-in and I hope it can be maintained again.
hello how do I remove the ban if the anticheat bans me, the owner of the server?
This error came up in the console after I did all the updates from the past days
client/main.lua:193
attempt to index a nil value (local 'WeaponInformation'
The anticheat should not ban people if they are in a vehicle that has a blacklisted plate just because cheaters can give people vehicles with custom plates. (fe. if a modder gives me(random person) a vehicle with a blacklisted plate i would get banned even though im not cheating). I think it should just remove the vehicle and alert staff.
wrong place, sorry
I would like to know a little about what tools or data could be useful against this type of "attacks" in order to avoid it, these users who made use of cheats were not detected by the resource, even had weapons in hand without having them in the inventory and did what you can see in the video, where they also had the ability to kill another user without having to even touch them.
if I understand better how I can collaborate with the project to know how to detect this kind of cheats I will gladly share with you everything I can about it.
Cheaters vs qb-anticheat video:
https://streamable.com/b3pon7
Could you do a direct qbus anticheat as this looks mostly like an outdated esx based anticheat? This does not protect anyone, not anywhere.
So i've just added qb-anticheat to protect the server against people, that want to use any kind of triggers to ruin it.
But when I got it added and started up the server, right after I join I get this error.
When I look at the code in qb-anticheat I see this:
function GetPermissions()
QBCore.Functions.TriggerCallback('qb-anticheat:server:GetPermissions', function(_group)
for k,_ in pairs(_group) do -- This line that has some bad arguments
if Config.IgnoredGroups[k] then
checkUser = false
break
end
checkUser = true
end
end)
end
It has a handler in qb-core which is this:
RegisterNetEvent('QBCore:Client:TriggerCallback', function(name, ...)
if QBCore.ServerCallbacks[name] then
QBCore.ServerCallbacks[name](...) -- This line is the handler
QBCore.ServerCallbacks[name] = nil
end
end)
Both scripts are latest versions.
Any idea or fix for this ?
why is this resource not in the tx template now i always have to add it by hand?
when a modder connects to a my server and injects it, everyone gets banned
AC working?
if WeaponInformation["name"] ~= "weapon_unarmed" then
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.