View previous topic :: View next topic |
Author |
Message |
Obfuscated Newbie cheater Reputation: 0
Joined: 14 Jan 2016 Posts: 14
|
Posted: Sun Jan 24, 2016 7:22 pm Post subject: Disable/enable Internet |
|
|
Is there a way to enable or disable your internet using hotkeys with a cheat engine lua script
This would be very helpful. Thanks!
|
|
Back to top |
|
|
alanze Advanced Cheater Reputation: 3
Joined: 03 Oct 2012 Posts: 50
|
Posted: Sun Jan 24, 2016 9:49 pm Post subject: |
|
|
With the cheat engine lua script there's no way to manipulate your internet connection.
However I can show you a workaround, or better saying: a desperate method.
This involving the use of 'ipconfig' utility from windows.
Create this functions in the luascript window:
Code: |
function disableInternet()
shellExecute("ipconfig", "/release")
end
function enableInternet()
shellExecute("ipconfig", "/renew")
end
|
Associate this functions to your hotkeys, that's all.
Note: the ipconfig utility will popup while configuring the internet, (this is a black bg. window,
don't ask me how to hide it, it's possible but I won't discuss it).
This command will disable/enable the internet on all adapters, if you want only for one adapter
or if you want to disable/enable the network adapter itself then other commands are required.
It's possible that you have to start CE in elevated (run as administrator) mode for this to work (I didn't tried).
|
|
Back to top |
|
|
DaSpamer Grandmaster Cheater Supreme Reputation: 52
Joined: 13 Sep 2011 Posts: 1578
|
Posted: Wed Feb 03, 2016 6:26 am Post subject: |
|
|
Add extra paramters to the call to hide the window.
Code: | function disableInternet()
shellExecute("ipconfig", "/release",ni,false);
end
function enableInternet()
shellExecute("ipconfig", "/renew",ni,false);
end |
_________________
|
|
Back to top |
|
|
pozzum Newbie cheater Reputation: 0
Joined: 19 Jun 2015 Posts: 22
|
Posted: Wed Feb 03, 2016 3:18 pm Post subject: |
|
|
Would there be a way to firewall an individual program from the internet while the trainer is running? I'm making an hp hack for the game but I'm unsure if it would work online and I'd rather not have that happen...
I know this is somewhat separate from the base question in the thread but it got me thinking.
|
|
Back to top |
|
|
Zanzer I post too much Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
|
Back to top |
|
|
pozzum Newbie cheater Reputation: 0
Joined: 19 Jun 2015 Posts: 22
|
Posted: Wed Feb 03, 2016 6:42 pm Post subject: |
|
|
That's a lot of info, thanks so much.
|
|
Back to top |
|
|
|