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
-- Realtime mod v0.1 | |
-- Removes pause from most of the game aspects | |
mem.nop(0x00425ff8) -- cast spell | |
mem.nop(0x004194b6) -- cast spell - select target | |
mem.nop(0x0042cd8a) -- cast screen | |
mem.nop(0x0042bef4) -- options screen |
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 fovManager = { | |
FOV = 170, | |
increment = 4, | |
timer = nil | |
} | |
fovManager.update = function(self) | |
local hexFOV = '0x' .. bit.tohex(self.FOV); | |
mem.asmpatch(0x004789f5, 'AND EAX, ' .. hexFOV); | |
mem.call(0x004582cd) |
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 UIManager = { | |
isShown = true, | |
toggleState = true | |
} | |
UIManager.init = function(self) | |
self:initHooks() | |
function Keys.F12(t) | |
self:toggle() | |
end |