Today I am bringing to you a new service which will allow for massive games to run on any device without a hitch! In addition, StreamX prevents hackers from swiping game maps by not rendering all of the game parts at once.
StreamX is a combination of in-game and offsite programming which allows for efficient part streaming without causing an insane amount of load on the Roblox server causing client disconnects or large lag spikes. StreamX’s streaming services also help protect games by preventing common map cloning techniques.
StreamX is able to effectively and efficiently stream parts to a Roblox server from an outside server by utilizing the HTTP Service and some clever calculation methods. Here is the sequence of events which StreamX executes upon server startup:
- StreamX initializes itself with the host server and obtains a server identifier after authenticating with the specified access token.
- StreamX starts an upload sequence which uploads all data of the parts in an “StreamX” folder in the workspace to the StreamX server, this is done to prevent glitching which causes the player to fall through the ground into the void). The should take at least 3 seconds but no more than 15.
- On the backend, the StreamX host server caches then passes on the data to a high-speed data server for future use.
- After all of the parts have been uploaded, StreamX starts a deletion process, essentially destroying all of the assets in the StreamX folder.
- StreamX sends a request to the host server asking for parts that need to be rendered. In this request is a player’s head coordinates and a throttle percentage.
- Some behind the scenes magic takes place by doing a calculation for each part in the database and the host server determines if it should be sent back to the game server, if so, the part data is packaged up and sent back to the game. If not it does not send it back.
- Once the game server has received all of the parts, the parts are rendered into the workspace and can be viewed by the player or players.
- After a specified number of seconds the code jumps back up to step 5 to load in more parts as the player or players move around the experience.
You can purchase a StreamX plan from the link below:
You can run StreamX on your own servers by downloading the releases here:
StreamX will be available to be self-hosted through the StreamX Lite program, which is still in development.
Let us know what you all think! Questions, comments, concerns, and constructive-criticism are welcomed in the replies section below!