mirror of
https://github.com/open-goal/jak-project
synced 2026-08-21 23:00:45 -04:00
scripts: Add a (hopefully) better goal_src updating script (#1769)
* scripts: cleanup scripts directory some more * stash, getting there * stash again * closer! * it works! decently....cleanup time and add some extra features * minor cleanup
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import socket
|
||||
import struct
|
||||
clientSocket = socket.socket(socket.AF_INET, socket.SOCK_STREAM);
|
||||
clientSocket.connect(("127.0.0.1", 8181))
|
||||
print(clientSocket)
|
||||
data = clientSocket.recv(1024)
|
||||
print(data.decode())
|
||||
|
||||
form = "(:status)"
|
||||
|
||||
header = struct.pack('<II', len(form), 10)
|
||||
|
||||
clientSocket.sendall(header + form.encode())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user