Sign ups are back :3 -Sukaira
RBXGS: Difference between revisions
No edit summary |
|||
| (One intermediate revision by the same user not shown) | |||
| Line 121: | Line 121: | ||
=== SOAP Commands === | === SOAP Commands === | ||
| roblox:Execute | Executes a script on an environment, returns result | | {| class="wikitable" | ||
! Command !! Description | |||
|- | |||
| roblox:Execute || Executes a script on an environment, returns result | |||
|- | |||
| roblox:OpenEnvironment || Opens a new environment, returns environment ID | |||
|- | |||
| roblox:GetAllEnvironments || Returns all running environments | |||
|- | |||
| roblox:CloseEnvironment || Closes an environment by ID | |||
|} | |||
=== CODE SAMPLES === | |||
https://gist.github.com/TienMilkman/2492ef5d32eb66e3bf40328edd954fd5 | |||
(Kudos to BrentDamage) | |||
[[Category:ReverseEngineering]] | [[Category:ReverseEngineering]] | ||
Latest revision as of 18:10, 24 October 2026
RBXGS is the predecessor of RCCService, a service which provides thumbnails and gameservers just like RCCService.
When installing RBXGS, an application named RCCService.exe will typically be installed leading us to believe that RCCService has just been the common name throughout Roblox's history.
Although RBXGS was in place from 2007-2008 until being replaced with RCCService in 2009.
Installation
First of all, go to https://archive.org/details/rbxgssetup
You will be granted a download to rbxgssetup.zip, which when unzipped should contain tons of .msi files
| Version | Date |
|---|---|
| 0.3.601.0 | October 2007 |
| 0.3.634.0 | November 15, 2007 |
| 0.3.676.0 | December 29, 2007 |
| 0.3.699.0 | February 8, 2008 |
| 0.3.719.0 | March 5, 2008 |
| 0.3.739.0 | April 1, 2008 |
| 0.3.764.0 | April 24, 2008 |
| 0.3.783.0 | May 14, 2008 |
Once you run the .msi file, you should complete the installation
If you experience an error, it will likely require you to run the installer as administrator or to install an early version of IIS
You should find a WebService.dll file, which if you change to .exe, will work as a CLI tool that you can run via cmd
Educational use
Note: Earlier RCCs typically require some sort of container such as RBXGSconhost
TO START
Once successfully installed, go to C:\Program Files (x86)\ROBLOX Corporation\RCCService (where it should be located)
Open up cmd and run the following commands to get your RCCService/RBXGS instance running
cd C:\Program Files (x86)\ROBLOX Corporation\RCCService
rccservice.exe -console
If you see the following error:
Only one usage of each socket address (protocol/network address/port) is normally permitted.
Sift through your task manager and try to find a running RCCService instance, and close it, then run the command again.
You should now see
Intializing Roblox Web Service
setAssetFolder C:\ProgramData\Roblox\content\
Service Started on port 64989
Press ESC key to exit
TO INTERACT (TEST)
Download SoapUI
Change SOAP Action to HelloWorld
Press Execute
You should now see HelloWorld in your RCCService console
TO RENDER
Change SOAP Action to OpenJob
CHARACTERS
On the right side where it says script, paste in
game.Players:CreateLocalPlayer(0)
game.Players.Player:LoadCharacter()
print(game:GetService('ThumbnailGenerator'):Click("PNG", 500, 500, true))
When completed, you should see a big blob of text in your console, which you must copy entirely and paste somewhere like this to view.
Do not paste in the table: 040DED08 with your base64 blob or it will break.
PLACES
In C:\ProgramData\Roblox\content paste in a .rbxl file you want to render
On the right side where it says script, paste in
game:Load("rbxasset://placename.rbxl") -- change placename to the name of your rbxl file
print(game:GetService('ThumbnailGenerator'):Click("PNG", 500, 500, true))
When completed, you should see a big blob of text in your console, which you must copy entirely and paste somewhere like this to view.
Do not paste in the table: 040DED08 with your base64 blob or it will break.
Production use
TIPS
In order to use RBXGS at a level of production you must take security into account.
When hosting game servers with the service, having an open port may lead to your revival's demise with a simple server side execution to grab and return everyone's IPs
Another thing you should take into account is optimization. Your average machine should be capable of running RBXGS fine without too much load, but any cheap $5 VPS may not be as capable.
Last and not least, you need automation. You shouldn't be interacting with the service on your own in order to do simple operations like renders and game servers; these should be automated through your sites code.
Writing an arbiter to have easy localized management over jobs isn't required but may be convenient for you, it isn't a simple task but will pay off.
USEFUL LINKS
SOAP DOCUMENTATION
https://www.ibm.com/docs/en/integration-bus/10.0?topic=soap-structure-message
https://en.wikipedia.org/wiki/SOAP#SOAP_terminology
https://www.w3schools.com/xml/xml_soap.asp
SOAP Commands
| Command | Description |
|---|---|
| roblox:Execute | Executes a script on an environment, returns result |
| roblox:OpenEnvironment | Opens a new environment, returns environment ID |
| roblox:GetAllEnvironments | Returns all running environments |
| roblox:CloseEnvironment | Closes an environment by ID |
CODE SAMPLES
https://gist.github.com/TienMilkman/2492ef5d32eb66e3bf40328edd954fd5
(Kudos to BrentDamage)