Git Product home page Git Product logo

qb-anticheat's People

Contributors

berkiebb avatar brandonlazarre avatar dogsmoker avatar evanillaa avatar ghzgarage avatar hamz-project avatar hellraisertwo avatar itsanobrainer avatar killanadev avatar mataskc avatar newtonzz avatar s33g avatar sw1ft avatar youremeh avatar z3rio avatar zfbx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

qb-anticheat's Issues

Error in Console

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.
image

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 ?

Looks like esx anticheat

Could you do a direct qbus anticheat as this looks mostly like an outdated esx based anticheat? This does not protect anyone, not anywhere.

nil value WeaponInformation

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'

Qb-anticheat weapon information error

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)

anti

TaskStartScenarioInPlace

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

why

why is this resource not in the tx template now i always have to add it by hand?

Anticheat detects fine but never bans

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"

Vehicle Detection

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.

Convert

It's still ESX and need to be converted to QB

image

How to detect what kind of events or actions are executed by the modders?

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

Getting spammed by anti-cheat

I have god permission, every time i use noclip my discord get spammed with this for a long time until i disable noclip

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.