Current state from NL

So. Everyone who use NL on good HvH networks where the user base is not retarded 12 yo who using free cheats who use a 0 HC knows that NL right now is not useable.

Staffs exist who don’t understand what a cheat issue is and what a CFG issue is.
Staffs who are scared to open upload.systems links or best of all don’t let Lua approvals through and don’t explain why.


Here is the current status of NL:
Resolver: useless because override resolver hits more head than resolver.
Override Resolver: can miss for some reason for resolver, although it is override :wink: but CFG issue. At least according to the staff of NL
AA: AA from NL completely useless one luas insta resolve from free cheats.
HWID reset:


My last match which went 3 rounds
[exscord] Missed 1st shot in alexgaming’s stomach due to unknown [angle: 0.08° | hit chance: 100] [dmg: 33 | history: 3 | flags: 111]
[exscord] Missed 2nd shot in AcieR’s chest due to prediction error [angle: 0.14° | hit chance: 80] [dmg: 20 | history: 5 | flags: 101]
[exscord] Missed 3rd shot in AcieR’s stomach due to unknown [angle: 0.06° | hit chance: 89] [dmg: 20 | history: 2 | flags: 010]
[exscord] Missed 4th shot in AcieR’s chest due to prediction error [angle: 0.17° | hit chance: 82] [dmg: 20 | history: 4 | flags: 100]
[exscord] Registered 1st shot at hum1lde -|Dark Dimension|-'s head [angle: 0.02° | hit chance: 100] [dmg: 188 → 194 | history: 0 | flags: 110 | 0 health remaining]
[exscord] Missed 5th shot in alexgaming’s head due to unknown [angle: 0.14° | hit chance: 89] [dmg: 138 | history: 0 | flags: 100]
[exscord] Missed 6th shot in alexgaming’s head due to unknown [angle: 0.05° | hit chance: 55] [dmg: 180 | history: 0 | flags: 011]
[exscord] Missed 7th shot in alexgaming’s head due to unknown [angle: 0.35° | hit chance: 57] [dmg: 150 | history: 0 | flags: 100]
Nice NL thanks for the many hits
Currently there is no reason to buy a NL sub. The performance has dropped drastically for 5 days, that you could even use Weave or Nixware.
And no, this is not an NL rant.
This is just to show what’s going wrong in the staff team.
Of course also to shake up the coders that you can’t rest on subs just because you’re still making money with them.
Because if that’s what the mission is, then you can scam exit too.

When I get a ban for this, kick the Staff who wrote the answer

2 Likes

idk u trippin or nah but im goin positive every game with 2-3kd

1 Like

then ur going agasint dog shit free cheat users

1 Like

username issue, luajit doesn’t have integers

wrong.

do you even understand how this works

interrupt the action of (an automatic device), typically in order to take manual control.

I think u don’t understand the meaning of the word „override“

Good to know that ur stupid

Lua Integer type

Ask Question

Modified 7 years, 6 months ago

i really need to have an integer type in Lua.

What i mean by integer type is a type defining the usual operators (/ * + etc) and behaving like an integer, the internal representation doesn’t matter.

Doing such a thing with tables is very simple, the problem is, i tried that, and the performance is terribly poor (of course). Here is my partial implementation :

What u mean with ur comment?

LuaJIT is forked from Lua 5.1 and integers were not added until 2020’s version 5.3, so the thread you posted is about 9-10 years too early.

https://www.lua.org/pil/2.3.html

Override resolver works based on your crosshair, and it only switches the side you see, not the amount of desync. That’s what it does, idk why you think you’ll hit more with it, it’s mostly for legit aa.

function num_op(a, b, calc_func)
    local atype = pytype(a)
    local btype = pytype(b)
    local a_val, b_val

    a_val = (atype == "Integer" or atype == "Double") and a[1] or a
    b_val = (btype == "Integer" or btype == "Double") and b[1] or b
    val = calc_func(a_val, b_val)

    if atype == "Integer" and btype == "Integer" then
        return Integer:create(val)
    else
        return Double:create(val)
    end
end

numeric_mt = { 
    __add = function(a, b)
        return num_op(a, b, function(a,b) return a + b end)
    end,

    __sub = function(a, b)
        return num_op(a, b, function(a,b) return a - b end)
    end,

    __div = function(a, b)
        return num_op(a, b, function(a,b) return a / b end)
    end,

    __mul = function(a, b)
        return num_op(a, b, function(a,b) return a * b end)
    end,

    __tostring = function(a)
        return tostring(a[1])
    end
}

-----------------------------
-- Integer type definition --
-----------------------------

Integer = {}
Integer_mt = table.copy(numeric_mt)
Integer_mt["__index"] = Integer

function Integer:create(value)
    local new_inst = {math.floor(value)}
    setmetatable(new_inst, Integer_mt)
    return new_inst
end

function Integer:className()
    return "Integer"
end

PLS fix brain

Flooring a number value to round it to a whole number doesn’t make it a integer, a number type is stored as a double in all LuaJIT versions doesn’t matter if it has a decimal or not.

Clearly you can’t read Lua’s own docs that state, “The number type represents real (double-precision floating-point) numbers. Lua has no integer type, as it does not need it.” Programming in Lua : 2.3

Ar u rly that stupid?
Integers get used to Pack, unpack and Bit operations. So pls read the Full Text before u copy something

are you stupid?
read luas own documentation that’s up to date for the version luajit runs

image

2 Likes

FFI Library

local txt = string.rep(“abcd”, 1000)
print("Uncompressed size: ", #txt)
local c = compress(txt)
print("Compressed size: ", #c)
local txt2 = uncompress(c, #txt)
assert(txt2 == txt)
Here’s the step-by-step explanation:

① This defines some of the C functions provided by zlib. For the sake of this example, some type indirections have been reduced and it uses the predefined fixed-size integer types, while still adhering to the zlib API/ABI.

First, you should know that a long is a 64 bit type e.g. on POSIX/x64 systems, but a 32 bit type on Windows/x64 and on 32 bit systems. Thus a long result can be either a plain Lua number or a boxed 64 bit integer cdata object, depending on the target system.

local ffi = require(“ffi”)
ffi.cdef[[
void Sleep(int ms);
int poll(struct pollfd *fds, unsigned long nfds, int timeout);
]]

local sleep
if ffi.os == “Windows” then
function sleep(s)
ffi.C.Sleep(s1000)
end
else
function sleep(s)
ffi.C.poll(nil, 0, s
1000)
end
end

for i=1,160 do
io.write(“.”); io.flush()
sleep(0.01)
end
io.write(“\n”)

A more subtle point is that we defined our sleep() function (for the sake of this example) as taking the number of seconds, but accepting fractional seconds. Multiplying this by 1000 gets us milliseconds, but that still leaves it a Lua number, which is a floating-point value. Alas, the Sleep() function only accepts an integer value. Luckily for us, the FFI library automatically performs the conversion when calling the function (truncating the FP value towards zero, like in C).

Lua/C API

LUA_API int luaJIT_setmode(lua_State *L, int idx, int mode);
The returned status is either success (1) or failure (0). The second argument is either 0 or a stack index (similar to the other Lua/C API functions).

static int wrap_exceptions(lua_State *L, lua_CFunction f)
{
try {
return f(L); // Call wrapped function and return result.
} catch (const char *s) { // Catch and convert exceptions.
lua_pushstring(L, s);
} catch (std::exception& e) {
lua_pushstring(L, e.what());
} catch (…) {
lua_pushliteral(L, “caught (…)”);
}
return lua_error(L); // Rethrow as a Lua error.
}

static int myinit(lua_State *L)
{

// Define wrapper function and enable it.
lua_pushlightuserdata(L, (void *)wrap_exceptions);
luaJIT_setmode(L, -1, LUAJIT_MODE_WRAPCFUNC|LUAJIT_MODE_ON);
lua_pop(L, 1);

}

ffi API Functions:

ffi.cdef[[
typedef struct foo { int a, b; } foo_t; // Declare a struct and typedef.
int dofoo(foo_t f, int n); / Declare an external C function. */
]]

Next time go on the homepage from ur Compiler

Good job posting a library, lua 5.1 and its fork luajit do not have integers and the source code is freely available to look through if you still cannot get that through your head.

omfg ar u rly that stupid?

That’s from the official homepage from luajit maybe fix your brain and small tip int means integer :wink:

here the official definition

What Does Integer (INT) Mean? An integer, in the context of computer programming, is a data type used to represent real numbers that do not have fractional values . Different types of integer data types are stored on machines in different ways.