Browsing StarfallEx's section
← Back to ACE
💬

Community answer

Collected from the ACE community Discord archive around 2022-12-01. It may be informal or outdated — anyone can edit this page to improve it. This topic changes between game versions — double-check before relying on it. Original discussion

WebSocket example errors: 'WebSocket is not defined'

⭐ StarfallUpdated 2 days ago•0 views
Two requirements: the game must be on the 64-bit/chromium branch, and the WebSocket global only exists on the client that owns the chip - the example needs a pl…

Why does the default Starfall websocket example throw 'WebSocket is not defined'

Two requirements: the game must be on the 64-bit/chromium branch, and the WebSocket global only exists on the client that owns the chip - the example needs a player()==owner() check. Also don't put 'https://' in the URL passed to WebSocket().

Was this article helpful?

See More

Discussion(0)

No comments yet. Be the first to ask a question!

Have a question? Sign in to join the discussion.