Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do roblox servers receive packets?

Hello,

I'm wondering how a roblox server would take in packets from an external source, such as a server I manage, or a website address. I'm very new to networking, and I want to be able to send strings/booleans to variables in game.

3 comments

0

you want to receive http data correct?

0

Edit: Not trying to hack/modify servers, instead attempting to send data to a datastore from a secure source.

0

Yes, I want to receive HTTP data.

1 answer

It's a little tricky to receive data - much easier to grab data. However, it is possible. One way is to constantly have the Roblox server send GET requests, but never provide anything until you need to give it some stuff. An easier way would be to just have a loop that would check for new updates in a database. This would require a hefty delay though.

10 comments

0

I'm seeing that now, how would you grab data from a source?

0

HTTP GET requests.

0

HttpService:GetAsync does the trick.

0

Got it, i'm currently reverse engineering a tutorial to pull from Glitch.

0

It's fairly easy if you have knowledge of node.js.

0

I have NO knowledge of node.js.

0

DM me on Discord at Raccoonyz#0001. I can help you out.

0

Got it.

0

Raccoonyz#2490, my mistake.

0

Sent it

This discussion is preserved as it was. New answers, comments, and votes are closed.