||4 months ago|
|README.md||4 months ago|
|swagcinema.py||4 months ago|
So far this python version is the most effective one, it can detect if you have an internet connection, it can detect if the UDP connection to the server is made or not, it will kill both gmod and steam if the UDP connection is lost, And it will restart gmod automatically. I recommend testing it for a few hours to see if it behaves as intended. And most importantly as i've seen, it does not run out of memory space after running it for extended periods of time like powershell's badly-written-packet-sniffing-utility pktmon does.
this is a script to use only if you have a solid internet connection, do not use it if your internet connection has alot of frequent downtimes
-get python3 on your windows machine (you can use microsoft store to get it)
-This script uses 4 libraries, and you can get them with pip (it comes with python) from a powershell terminal
WIN+X a (to launch a terminal with admin privileges) PS> pip install --upgrade pip PS> pip install scapy colorama psutil requests
also get npcap if something doesnt work here https://nmap.org/npcap/dist/npcap-1.31.exe and you're good to go!
cd C:\path\to\SwagScript\ python swagcinema.py
you can also right click the .py file, create a shortcut to have an executable file directly (for this to work, do not install more than one version of python on windows)