This code is failing:
print("I'm sorry that this doesn't work on Firefox/Plugincontainer but i will try to do it some day")
Sleep(1000)
openProcess("DeadFrontier.exe")
if process == "DeadFrontier.exe" then
print("Hooked into DF!") -- DF OK
elseif process == nil then
print("Failed to hook into DF") -- DF FAIL
else
print("Another process got hooked, what are you trying to do?") -- DF FAIL
end
if process == "DeadFrontier.exe" then
speedhack_setSpeed(0)
print("Dead Frontier is now frozen.")
Sleep(2000)
print("A O B S")
--AOBs goes here
end
Sleep(5000)
speedhack_setSpeed(1)
print("Dead Frontier is now running!")
print(":: BR13Vinicius ::")
Instead I just manually freeze the client and execute scripts.