How do you do timeout protection?
(06-16-2019 - 09:52 AM)carlos_20 Wrote: bool AntiTimeOut;
void antiTimeOut()
{
if (AntiTimeOut)
{
Write_Global(262250, 2147483647);
Write_Global(262251, 2147483647);
Write_Global(266744, 2147483647);
}
else
{
Write_Global(262250, 30000);
Write_Global(262251, 90000);
Write_Global(266744, 5000);
}
}
Thank you!
PHP Code:
#define MAX_TIME 2147483647
#define MIN_TIME 30000
#define AT1 262250
#define AT2 262251
#define AT3 266744
#define PS3::WG(address, amount) Write_Global(address, amount) //since i cba to change it
//enable
PS3::WG(AT1, MAX_TIME);
PS3::WG(AT2, MAX_TIME);
PS3::WG(AT3, MAX_TIME);
//disable
PS3::WG(AT1, MIN_TIME);
PS3::WG(AT2, MIN_TIME * 3);
PS3::WG(AT3, 5000);
Users browsing: 9 Guest(s)