Best Method For Cross Server Matchmaking?

My service, https://RBXMod.com is working. While the core functionality is there, some of the nicer features have not been developed yet. For example, once you sign up for an account, I’ll need to manually give you your 64 character hexadecimal authentication token to use in your games. It also may go down for updates early in the morning occasionally.

To summerize the service, it allows you to upload a Lua script to my server on the cloud and run it remotely. My server can either make a copy of the script for each roblox server, or function more like a universal script. When you game starts, you can request a new instance of your remote script which returns a session token. If you share this token between all your places, then each will have access to the same script. This script, since it can communicate with all servers, can easily perform cross server matchmaking. This token can also be used to make a cross-game script.

If you are interested, send me a email at RBXMod@gmail.com . We can go over your requirements in more detail and make sure this service is a good match for you. It’ll be a paid service in the future (based upon resource usage) but right now it is in testing and free).

3 Likes

That sounds cool. Just so that I, and others know, when you say “early in the morning it may go down for updates”, what Timezone is this for?

I hope to eliminate down time entirely by making only new instances of scripts update. For now, the updates would be around 1 am mountain daylight time and last up to 15 minutes. Generally it should take about 2.

Oh, so only around 15 minute updates. That would be fine.

How did you implement the running of the script on the server? Did you use the Lua virtual machine? Or something custom?

It is running a customized version of LuaJIT. I removed some basic functions like load, dofile, collectgarbage, ext. And only load the basic, string, table, and math libraries. LuaJIT is built for Lua version 5.1, but does have some miner differences from the standard Lua 5.1 interpreter.

Sounds good, that could be useful for some future games.

I’ll check out your service some time :grinning:

1 Like

Hey! Okwo supports these features and may be good for you. Hit us up at https://0q0.eu (Discord at the bottom of the website)

Tutorial here: Easy cross-server & Discord synced chat with Okwo

We also have added sectors about 2 months ago which works similiar, but you can specify an identifier (works pretty similiar to Roblox’s MessagingService).

You can also contact support@0q0.eu for exact limits and unique offer.

I’ve re-published the roblox-long-polling module, albeit in an unsupported state.

Alternatively, check out my Engine.​IO client which adopts an actual standard:

3 Likes

I’m assuming you mean a Node.js app by this?

What exactly is a Nose.js app? I ended up just buying a quadrennial service thing off of 000webhost and putting a .php file on there.

1 Like

node.js is a JavaScript runtime environment that allows you to run JavaScript server-side.


It’s pretty cool

1 Like

Oh, you said JavaScript somewhere above so I assumed it was a Node app. Didn’t know you were looking for somewhere to host PHP code

Node.js is a runtime environment that basically runs JavaScript outside of a browser, so you can think of it as something you can use to deploy apps that can run on a webserver. You can use these apps to do basically whatever your heart desires, for example I’ve set up an external database system and used a webserver to make an API that retrieves and updates data, or used it to make a Discord Bot.

Is there an advantage to using Node.js over a simple php file?

Avoid 000webhost like the plague. Very bad security practices, they stored passwords in plaintext a few years ago and got their database leaked.

You’re going to want some sort of VPS or equivalent. like AWS, DigitalOcean, Google Cloud, Azure, something of the like. Heroku is an option.

PHP is up to you to use. I would advise against it.

3 Likes

To be honest I’d be here all day if I started comparing PHP and Node.js but one thing for certain is that there is a huge advantage of using Node.js due to an extremely wide variety of learning resources and package libraries available. It’s very easy to learn and can be used to make scalable apps really quickly, from simple web servers that receive requests to creating REST API’s for Databases.

I sound like a salesman or something but it’s genuinely easier to work with, at least in my opinion.

3 Likes

Have you checked out MessagingService?

Pretty sure it’s still disabled. image

If you don’t need to make cross-server-matchmaking ASAP, I’d wait for MessagingService.

this should be now possible since Messaging Service is live

Indeed it is. Someone has already gone and made a module regarding it, in fact.

1 Like