mirror of
https://github.com/zoffline/zwift-offline.git
synced 2026-08-02 17:08:14 -07:00
Fix mistake in TCP packet
This commit is contained in:
+1
-1
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user