Welcome to hackvshack.net Forum!
Download Free HvH CS2/CS:GO Cheats, CFG, LUA/JS Scripts, and More!
Register

Safe Puzzle Neverlose free for CSGO

Status
Thread closed. Topic resolved/outdated. For updates, start new thread. Files removed to save server space.
how to use lua?if i use lua cs go just get crash
either u fix the server
or you add a fix in every lua code which wanna use any neverlose library

like this

Code:
Expand Collapse Copy
local origrequire = require

local compiler = loadstring or load



local modules = {

    -- for example neverlose/clipboard, you steal the src from nl website, you paste here the code and bum works

    ["neverlose/clipboard"] = function(require)

        -- code here

    end,

}



local loaded = {}

local loading = {}



local custom_require



local function make_env(modname)

    return setmetatable({

        require = custom_require,

        _MODULE = modname

    }, {

        __index = _G

    })

end



local function load_embedded_module(lib, def)

    if loaded[lib] ~= nil then

        return loaded[lib]

    end



    if loading[lib] then

        error("circular require detected for module: " .. lib, 2)

    end



    loading[lib] = true



    local ret

    local t = type(def)



    if t == "function" then

        local ok, result = pcall(def, custom_require, lib)

        loading[lib] = nil



        if not ok then

            error(("failed to load module '%s': %s"):format(lib, tostring(result)), 2)

        end



        ret = result

    elseif t == "table" then

        loading[lib] = nil

        ret = def

    elseif t == "string" then

        if not compiler then

            loading[lib] = nil

            error(("module '%s' is stored as source string, but load/loadstring is unavailable"):format(lib), 2)

        end



        local chunk, err = compiler(def, "@" .. lib)

        if not chunk then

            loading[lib] = nil

            error(("failed to compile module '%s': %s"):format(lib, tostring(err)), 2)

        end



        if setfenv then

            setfenv(chunk, make_env(lib))

        end



        local ok, result = pcall(chunk, lib)

        loading[lib] = nil



        if not ok then

            error(("failed to load module '%s': %s"):format(lib, tostring(result)), 2)

        end



        ret = result

    else

        loading[lib] = nil

        error(("unsupported embedded module type for '%s': %s"):format(lib, t), 2)

    end



    if ret == nil then

        ret = true

    end



    loaded[lib] = ret

    return ret

end



custom_require = function(lib)

    local def = modules[lib]



    if def ~= nil then

        return load_embedded_module(lib, def)

    end



    return error("require: " .. lib)

    --return origrequire(lib)

end; require = custom_require
 
Last edited by a moderator:
either u fix the server
or you add a fix in every lua code which wanna use any neverlose library

like this

Code:
Expand Collapse Copy
local origrequire = require

local compiler = loadstring or load



local modules = {

    -- for example neverlose/clipboard, you steal the src from nl website, you paste here the code and bum works

    ["neverlose/clipboard"] = function(require)

        -- code here

    end,

}



local loaded = {}

local loading = {}



local custom_require



local function make_env(modname)

    return setmetatable({

        require = custom_require,

        _MODULE = modname

    }, {

        __index = _G

    })

end



local function load_embedded_module(lib, def)

    if loaded[lib] ~= nil then

        return loaded[lib]

    end



    if loading[lib] then

        error("circular require detected for module: " .. lib, 2)

    end



    loading[lib] = true



    local ret

    local t = type(def)



    if t == "function" then

        local ok, result = pcall(def, custom_require, lib)

        loading[lib] = nil



        if not ok then

            error(("failed to load module '%s': %s"):format(lib, tostring(result)), 2)

        end



        ret = result

    elseif t == "table" then

        loading[lib] = nil

        ret = def

    elseif t == "string" then

        if not compiler then

            loading[lib] = nil

            error(("module '%s' is stored as source string, but load/loadstring is unavailable"):format(lib), 2)

        end



        local chunk, err = compiler(def, "@" .. lib)

        if not chunk then

            loading[lib] = nil

            error(("failed to compile module '%s': %s"):format(lib, tostring(err)), 2)

        end



        if setfenv then

            setfenv(chunk, make_env(lib))

        end



        local ok, result = pcall(chunk, lib)

        loading[lib] = nil



        if not ok then

            error(("failed to load module '%s': %s"):format(lib, tostring(result)), 2)

        end



        ret = result

    else

        loading[lib] = nil

        error(("unsupported embedded module type for '%s': %s"):format(lib, t), 2)

    end



    if ret == nil then

        ret = true

    end



    loaded[lib] = ret

    return ret

end



custom_require = function(lib)

    local def = modules[lib]



    if def ~= nil then

        return load_embedded_module(lib, def)

    end



    return error("require: " .. lib)

    --return origrequire(lib)

end; require = custom_require
next time pls put code in code block!
 
For those who want i fixed my favorite lua for it and if u wanna try and use enjoy
(Idk if theres functions or anything that may cause crash if that happens just dont use that feature)

Also ill prob fix other luas like luasense and etc soon so just wait , enjoy
 

Password for .zip file is hvh.net

  • Love
Reactions: abobus401
need python.

open a cmd in the nl free folder and do:
pip install websockets
pip install cryptography

then go to the server folder sum like this nl_crack\server

type python wss_server.py

press enter, dont close that cmd, then open another one

then do: python http_server.py

press enter again and dont close these 2 cmds

then open injector.exe
open game, start match with bots and in match ingame press pagdown key and thats it

open and close menu with insert and delete key


thats fixing server issue
 
need python.

open a cmd in the nl free folder and do:
pip install websockets
pip install cryptography

then go to the server folder sum like this nl_crack\server

type python wss_server.py

press enter, dont close that cmd, then open another one

then do: python http_server.py

press enter again and dont close these 2 cmds

then open injector.exe
open game, start match with bots and in match ingame press pagdown key and thats it

open and close menu with insert and delete key


thats fixing server issue
thats my tutorial bro 💔
 
need python.

open a cmd in the nl free folder and do:
pip install websockets
pip install cryptography

then go to the server folder sum like this nl_crack\server

type python wss_server.py

press enter, dont close that cmd, then open another one

then do: python http_server.py

press enter again and dont close these 2 cmds

then open injector.exe
open game, start match with bots and in match ingame press pagdown key and thats it

open and close menu with insert and delete key


thats fixing server issue
S:\Desktop\nl_crack\server>python S:\Desktop\nl_crack\server\wss_server.py
Missing websockets. Run with:
nix-shell -p "python3.withPackages (ps: [ps.websockets])" openssl --run "python3 server/wss_server.py"
 
Status
Thread closed. Topic resolved/outdated. For updates, start new thread. Files removed to save server space.

Who has read this thread (Total: 0) in last 1 hours View details