Skip to content

Instantly share code, notes, and snippets.

@Core0verload
Core0verload / gist:b7b18d45343557c79e80fe5de8d3ba86
Created April 3, 2016 10:44
Export to BYOND world.Topic() from Python
import socket
import struct
import urllib.parse
def byond_export(host, port, string):
packet_id = b'\x83'
try:
sock = socket.create_connection((host, port))
except socket.error: