From b41431bcd90ba2dbc6140919f46e3cd4700089ff Mon Sep 17 00:00:00 2001 From: oldnapalm <38410858+oldnapalm@users.noreply.github.com> Date: Thu, 14 May 2020 14:49:58 -0300 Subject: [PATCH] Fix mistake in TCP packet --- standalone.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/standalone.py b/standalone.py index 9c202f3..1304c92 100755 --- a/standalone.py +++ b/standalone.py @@ -88,7 +88,7 @@ class TCPHandler(socketserver.BaseRequestHandler): self.data = self.request.recv(1024) # send packet containing UDP server (127.0.0.1) # it contains player_id (1000) but apparently client doesn't bother, works for other profiles - self.request.sendall(bytearray.fromhex('007010e8071800c2012e0a12080110061a093132372e302e302e3120ce170a12080010001a093132372e302e302e3120ce17100a181e2003ca01370a18080110061a17080110061a093132372e302e302e3120ce170a18080010001a16080010001a093132372e302e302e3120ce1710ce17')) + self.request.sendall(bytearray.fromhex('007010e8071800c2012e0a12080110061a093132372e302e302e3120ce170a12080010001a093132372e302e302e3120ce17100a181e2003ca01370a18080110061a12080110061a093132372e302e302e3120ce170a18080010001a12080010001a093132372e302e302e3120ce1710ce17')) while True: tcpthreadevent.wait(timeout=25) try: