As of July 26, 2022 Quality of Life Updates in GTAO, business content and sell missions can now be accessed in private sessions.
My first python project with multithreading and subprocess with GUI tkinter. I had enough of grievers in game!
This program writes, edits and deletes its own Windows Firewall rule, which will prompt for admin rights upon running the program. This program does not touch, hack, inject, edit nor modify any GTA 5 files.
- Play Grand Theft Auto Online with friends only, in private or public lobby
- Detects IP addresses in current session, with more details (lastseen, location)
- Whitelist IP addresses and creates a new firewall rule
- Auto saves/load and leave notes for whitelist IP list
- Download and install npcap driver for packet sniffing
- Download the latest .zip file from the release page
- Extract the folder inside the zip file to any directory (such as Desktop or Documents)
- Run GTA Online
- Run
GTAO_Session_Blocker.exe
from the extracted zip file - Load into any session, then suspend GTA5 process to be alone and be the session host
- Invite your friends over to your session (skip to step 6 if you're playing alone)
- Whitelist their IP address (right click the table below to add)
- Turn on the firewall (only whitelist will stay in your session)
- When the firewall is on, you need to turn off the firewall if your friend disconnected and needs to rejoin your session
Issue | Workaround |
---|---|
The game kicked me or everyone left the lobby when I turned this on! |
This program will not work unless you are the host Check the Help > How-To to identify yourself as session host |
The game kicked me into single player after a mission/heist instance |
Can be avoided if the firewall is disabled before the game loads you into a public session |
Keep getting game save errorSaving failed - Unable to connect to the rockstar game services |
Turn off the firewall and find new session Wait for a few minutes and your game will be saved |
My friend can't join my session when my firewall is on | Turn off the firewall Invite your friend over and whitelist his IP Turn on the firewall |
- Version 3.8.6
- MS Visual Studio Code
Driver | Description |
---|---|
npcap | Packet sniffing |
Module | Description |
---|---|
tksheet | Table widget for displaying tabular data |
scapy | Packet manipulation |
ip2geotools | Geolocation information IP address |
psutil | Process and system monitoring in Python |
- @abdulmudhir for sharing firewall.py, which made this project possible