This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resource_manifest_version '77731fab-63ca-442c-a67b-abc70f28dfa5' | |
client_script 'afkchecker_client.lua' | |
server_script 'afkchecker_server.lua' | |
server_exports { | |
'getTracking', | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let Delay = (ms) => new Promise(res => setTimeout(res, ms)); | |
exportsAsync = new Proxy(()=>{}, { | |
get(t, k) { | |
const resource = k; | |
return new Proxy({}, { | |
get(t, k) { | |
return (...args) => { | |
return new Promise((resolve, reject) => { | |
let cb = (err, data) => { if (err) reject(err); else resolve(data); }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local entityEnumerator = { | |
__gc = function(enum) | |
if enum.destructor and enum.handle then | |
enum.destructor(enum.handle) | |
end | |
enum.destructor = nil | |
enum.handle = nil | |
end | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function ProxyObj(obj) | |
return { | |
set = function(k, val) | |
obj[k] = val | |
end, | |
get = function(k) | |
local v = obj[k] | |
if type(v) == 'table' and not rawget(v, '__cfx_functionReference') then | |
return ProxyObj(v) | |
else |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class AnonymousEventHandler | |
{ | |
object Handler; | |
private AnonymousEventHandler(object handler) { | |
Handler = handler; | |
} | |
public static Action<Player> Create(Action<Player> func) { | |
var r = new AnonymousEventHandler(func); | |
return r.Do; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// AutoSplitter for The Binding of Isaac: Repentance | |
// Updated by Krakenos | |
// Original code by Hyphen-ated | |
// Checkpoint code & pointer annotations by blcd/Zamiel | |
state("isaac-ng_ v1.06.J820", "1.06.J820") | |
{ | |
// 0x0078A46C - GlobalsPtr | |
int wins: 0x0078A46C, 0xE40; | |
int character: 0x0078A46C, 0x108C58; |