Is the game fully offline ? if not i will not recommend doing this, that just a way to flag yourself as a cheater if the game actually keep player record which is mostly the case if your game is online/semi online
for me the main problem is optimization,
the problem i have noticed
you are using global variable everywhere
Use local variable, they are more fast
can you explain why you double loop here ?
The first loop might be ok but the second one i think there is to much iteration going on here, an address divided by 4 still result a big number i think
after test, this his approximately how much time you loop every time, the list still go down, so it is totally normal that you crash.
code used for test
local ranges = gg.getRangesList("anon:libc_malloc")
for i, v in ipairs(ranges) do
print('( v["end"] - v.start ) / 4 => ', (v["end"] - v.start) / 4)
end
You just override a native libary
Unless you voluntary does it, table is a native library, so when you use it as a variable name you just override everything from it
You are using #identifiant +1 to set your table index
this is a big performance problem, unless you are looping just 10 or 20 time that might be ok, but here you will loop more that 1000 time i guess event more,what the # operator does on a table ? actually it will also loop to count every item on your table so as you guess, when you have a 10k+ item on your table imagine how slow and memory that will take.
in the beginning you say you must load value within offset of 4 but since you are using DWORD, offset 4 mean just the next address, since DWORD value are 8bit encoded
This is totaly normal, the speedhack function is not for online game, if you want to do a speedhack you should look for values and edit them as your wish
there are some tutorial on how to find speedhack on most of game, you should search and try any of them that work for you 😉
This is totaly normal, the speedhack function is not for online game, if you want to do a speedhack you should look for values and edit them as your wish
there are some tutorial on how to find speedhack on most of game, you should search and try any of them that work for you 😉
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.