ServerSystem - Devlog #2 - Server creation

Part 2 :tada:
Part 1: ServerSystem - Devlog #1 - Server creation

I created github where you can see my progress: https://github.com/luketeam5/Roblox-Server-System/blob/main/Module.lua
Trello board: Trello

Soo, today i was working on getting server info, after fixing some errors caused by my stupidity i finished with this.

local reply = require(script.Parent.ModuleScript).GetServerData(12)
print(reply)

This will return entire dictionary of server info (12 is the ServerID)
image


It also works for your custom data:

local reply = require(script.Parent.ModuleScript).GetCustomData(12)
print(reply)

image


And i added some errors to tell you what is wrong:
"[ServerSystem]: Error 102, invalid SID, SID can't be NIL and must be a number."
"[ServerSystem]: Error 101, missing arguments when creating server"

Then i started working on connection to server, little did i know this will take forever.
First of i decided to store server people are trying to connect to in Datastore, that will allow me to make history of servers player visited later. (Probbably in part 3 or after release)

After 2 hours of bug fixing it was working and the System was connecting me to server! :happy4:


Now it’s time to make system that connects me to private server and creates new one if it doesn’t exist. After while of debuging it worked!

Server 27:


Server 28:

Here is small DEMO: LobbySystem Demo - Roblox
Only servers 27 and 28 are currently working (others may work too but aren’t tested)
You can’t create new server or browse servers YET

I will add Server List and ServerCreation soon.

I will make #3 tommorrow.

You said that you would “make #3 tomorrow”, but it isn’t out, also any idea when this will be released?

1 Like

Currently doing some testing with the system + i have other projects, for your second question i guess a month?

1 Like