ALERT!
Click here to register with a few steps and explore all our cool stuff we have to offer!
Home
Upgrade
Credits
Help
Search
Awards
Achievements
 2746

timeout protection?

by ask_blk - 05-28-2019 - 08:24 AM
#1
How do you do timeout protection?
Reply
#2
It can be protected by GlobalAddress.
Reply
#3
Thanks for answering
Reply
#4
Easy to do with globals and tunables
Reply
#5
(06-04-2019 - 03:53 PM)BModzMasterTM Wrote: Easy to do with globals and tunables

Thanks!
Reply
#6
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);
}
}
Reply
#7
(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!
Reply
#8
You're welcome bro
Reply
#9
(06-17-2019 - 10:02 PM)carlos_20 Wrote: You're welcome bro

Blush
Reply
#10
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(AT1MAX_TIME);
PS3::WG(AT2MAX_TIME);
PS3::WG(AT3MAX_TIME);

//disable
PS3::WG(AT1MIN_TIME);
PS3::WG(AT2MIN_TIME 3);
PS3::WG(AT35000); 
Reply

Users browsing: 5 Guest(s)