hitman internet blocking script

it blocks hitman from accessing the internet so you can exit freelancer/elusive target without failing
and you dont have to re-open the game which is annoying and takes time

GET AUTOHOTKEY FIRST

autohotkey

how do i do the thing

make the firewall rule

  • open the search bar and type "Windows Defender Firewall with Advanced Security"
  • click on outbound rules
  • click "new rule"
  • click "program" and then next
  • go to your hitman 3 installation folder then go into the "retail" subfolder
  • select "HITMAN3.exe"
  • click block the connection
  • then just go next and then set "hitman" as the rule name

make the bat files

  • make a file named "blockhitman.bat"
  • right click the file and select "edit"
  • copy paste this netsh advfirewall firewall set rule name="hitman" new enable=yes
    • dont forget to save it you silly goof
  • make a file named "unblockhitman.bat"
  • edit it
  • copy paste this netsh advfirewall firewall set rule name="hitman" new enable=no
    • and save it duh

make the ahk scripts

  • right click "new" and select autohotkey script
    • title it whatever you want
  • paste !f2:: run "blockhitman.bat"
    • make sure you run the script as administrator
  • make another title it whatever you please
  • paste this !f1:: run "unblockhitman.bat"
    • run it as administrator you silly fellow

SUCCESS

you can now block hitman from the internet by pressing alt + f2 and unblock it by pressing alt + f1

Edit
Pub: 26 Jun 2023 17:59 UTC
Edit: 16 Dec 2023 22:26 UTC
Views: 153