Skip to content

Instantly share code, notes, and snippets.

@Jed-
Jed- / README.md
Last active September 9, 2022 00:30
Sending maps outside of coop edit

Sending maps outside of coop edit

Sometimes it would be useful if a server were able to send a custom map to its clients, in modes different from coop edit. Sendmap/getmap operations are usually blocked in such modes, both server-side and client-side. However, most other map editing messages are allowed (clients cannot send them, but they can receive and parse them). Here, I will provide a method for sending custom maps using a sequence of allowed messages.

We are going to build a modded client capable of exporting a map into a custom file format, which the server will then read and use to send data to its clients. ogz files cannot be sent directly.

Notes