This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from scapy.all import * | |
import time | |
from pynput.keyboard import Key, KeyCode, Listener | |
import socket | |
''' | |
A python 3 script that captures the game servers IP address written for Apex Legends | |
you can use this for any game just look at the UDP port via wireshark and change it | |
on the script. | |
Matchmaking issue : I wrote a python script that helped me log the game servers IP addresses i was connecting to, as I had noticed 2 out of 3 matches in ranked mode I was connecting to LAGY servers , turns out Apex Matchmaking connected me to servers on the other side of the planet (400+ ms pings) and not close to the region I had selected in the game's settings. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# A python script to help send keyboard button presses to games | |
# http://www.gamespp.com/directx/directInputKeyboardScanCodes.html | |
import ctypes | |
import time | |
SendInput = ctypes.windll.user32.SendInput | |
W = 0x11 | |
A = 0x1E |