add outdated warning to pyth*n

This commit is contained in:
Mystikfluu 2023-05-30 16:01:30 +02:00
parent 2474c62b5b
commit 85386d11fb
3 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,5 @@
print("###WARNING### This client is outdated and can only be used with server.py")
timeout = 0.5 timeout = 0.5
local_server = False local_server = False
serverAddressPort = ("213.47.107.152", 1337) serverAddressPort = ("213.47.107.152", 1337)

View File

@ -1,6 +1,6 @@
import secrets import secrets
rndsize = 488*100+5 rndsize = 488*500+5
rndbytes = secrets.token_bytes(rndsize) rndbytes = secrets.token_bytes(rndsize)

View File

@ -1,3 +1,5 @@
print("###WARNING### This server is outdated and can only be used with client.py")
import socket, struct, os, select, math, hashlib, re#, brotli import socket, struct, os, select, math, hashlib, re#, brotli
max_frame_payload=508 #1016 #508 is the minimum size for routers to "understand" udp packets, but we can possibly send more data max_frame_payload=508 #1016 #508 is the minimum size for routers to "understand" udp packets, but we can possibly send more data