Skip to content

Instantly share code, notes, and snippets.

@Desour
Last active December 16, 2024 15:02
Show Gist options
  • Save Desour/0fe4f4586b9213c40db6b04b6e0bd899 to your computer and use it in GitHub Desktop.
Save Desour/0fe4f4586b9213c40db6b04b6e0bd899 to your computer and use it in GitHub Desktop.

Problem:

SSCSM is still not implemented, after years.

Suggestion / plan:

First, implement a SSCSM that has just client-provided (checksumed, to avoid cheating) builtin (SSCSMCPB).

=> We can postpone sandboxing, because code is not untrusted.

Benefits:

  • API is very unstable and incomplete at first anyways, so mods shouldn't really use it right away anyways.
  • Having SSCSMCPB means we can implement hardcoded engine features in lua. => This automatically generates API features.
  • It makes implementing new features easier, and more future-proof. I.e. for a new feature, implement SSCSM API, and a packet for the SSCSMCPB so that you can already use it in SSM.
  • We have something working, and can take time for the sandboxing, now with motivation, because there's immediate benefit.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment