Code Monkey home page Code Monkey logo

valkyrie's People

Contributors

ekinoxx0 avatar notsomething0 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

valkyrie's Issues

For QB-Core

Hello, can I use for Qbcore if so, how? I have errors in the console and I don't know how to fix it all

Problem in config.blacklistweapon and other..

Hello dear thanks for this anticheat its very good but there is 2 problem one is how can i set a player as admin?when i goto my server i ban from my server yes godmode and some one can be fix with add_ace identifier... but some functions for example blacklist events are do in all players admins and players and all them when they trigger event ban and 2 isuss is configs donesnt work for me when i spawn a blacklisted car or weapon no result i give and in my f8 and server console there is no erorr

Feature: support custom punishment options

Certain punishments may be determined by the user to be more or less harmful than one another, so we should allow users to specify punishments options, something like the following could work in the config file.

set vac:internal:punishment_options {
  "event": "kick",
  "explosion": "412214124",
  "chat": "log"
}

Currently we send a punishment type via a hard coded number as seen in sv_events but this seems like a much better option. This should abstract VPlayer with a new function aptly named "punish" this can then route the punishment to the appropriate function.

attempt to index a nil value (field '?')

Getting this error when starting Valkyrie:

[     script:Valkyrie] SCRIPT ERROR: @Valkyrie/server/sv_main.lua:52: attempt to index a nil value (field '?')
[     script:Valkyrie] > fn (@Valkyrie/server/sv_main.lua:52)

image

I also noticed that when Valkyrie is enabled, sometimes I'm getting a red flashing on the minimap as if I was taking damage but I'm not sure how to exactly reproduce currently. Currently I can only see it happening while in a vehicle since I don't have minimap enabled otherwise.

image

It seems that if I restart Valkyrie while I am in the server, I don't get this issue but if I leave and rejoin it comes back which leads me to believe it may be something with an OnPlayerLoaded event maybe?

Currently using QBCore and version 1.5.0 from the release section but I updated the config and permissions cfgs and their respective exec's to match the master branch.

hey i tried to start Valkyrie in my server but i got this error

[ c-scripting-core] Creating script environments for Valkyrie
[ script:Valkyrie] Error loading script server/sv_filter.lua in resource Valkyrie: citizen:/scripting/lua/scheduler.lua:867: No such export registerMessageHook in resource chat
[ script:Valkyrie] stack traceback:
[ script:Valkyrie] [C]: in function 'error'
[ script:Valkyrie] citizen:/scripting/lua/scheduler.lua:867: in metamethod 'index'
[ script:Valkyrie] @Valkyrie/server/sv_filter.lua:19: in main chunk
[ c-scripting-core] Failed to load script server/sv_filter.lua.
[ citizen-server-impl] Started resource Valkyrie

Util/Logging: Implement file based logging system

Rational: Logging actions to discord isn't a reliable solution and leaves a lot to be desired

Details:
- Four different log levels (trace, debug, error, verbose)
- All information is written to a new log file upon resource start
- If the creation date of the file is greater than three months (default) delete it
- New folder titled "logs" all files will be written here
- New actions that affects players will still be sent to discord

Script problem

[ script:Valkyrie] SCRIPT ERROR: @Valkyrie/server/modules/sv_explosion.lua:174: attempt to index a nil value (global 'ProhibitedWeapons')
[ script:Valkyrie] > handler (@Valkyrie/server/modules/sv_explosion.lua:174)
[ script:Valkyrie] SCRIPT ERROR: @Valkyrie/server/modules/sv_events.lua:259: attempt to call a table value (global 'VPlayer')
[ script:Valkyrie] > handler (@Valkyrie/server/modules/sv_events.lua:259)

[Suggestion] Implement ptFxEvent

Hi,

many exploits use particle to crash players, this could be fixed by blocking or filtering the ptfxEvent
You can learn more here : https://github.com/citizenfx/fivem/blob/b4e22cc386f69f6215a811caf42ec0b6681261f1/code/components/citizen-server-impl/src/state/ServerGameState.cpp#L4924

For my particular use, i don't have any particle on my server so I can blacklist all use of the event.
Some RP servers use networked particle on emotes, we could filter them.

Potential example :

AddEventHandler('ptFxEvent', function(playerId, eventData)
    -- Ban on condition or on any usage
end)

[SUGGESTION] Make UUID's actually unique

As seen on https://gist.github.com/jrus/3197011, using math.randomseed to seed math.random actually unique numbers is a pretty good idea and overall will improve math.random's quality.

Quote from shmoli-itrs:

"Need to seed math.random to avoid generating the same uuid in subsequent runs"

This can be done by adding only 1 line in sv_banmanager.lua's UUID function:

math.randomseed(os.time())

If approved, I'll make and pull request these changes.

Some Issues

Hello my friend, thanks for this beautiful system, but I am getting such errors, what is the reason? I am using qb-core.

@Valkyrie/server/sv.entities.lua:36: unexpected symbal near ')'
@Valkyrie/server/sv.entities.lua:250 attemp to index a nil value (global 'logger')
@Valkyrie/server/sv.filter.lua:57: ')' expected near '0'

Thank you !
Screenshot_2

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.