generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
We use cookies to offer you a better experience. By using Roblox.com, you are agreeing to our Privacy and Cookie Policy.
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Alot of help needed for ReservedServer script.

Previous Thread :: Next Thread 
Gofven is not online. Gofven
Joined: 18 Jun 2015
Total Posts: 767
08 Jan 2017 12:03 PM
A huge game project. I need this script to transmit the Tc1Broad Datastore to the server without sending the data to the players, basically send it directly to the reservedserver instead. It'd reduce the time drastically while making my game way less laggy and more safe.

Is it possible to target the value to the server instead of sending it to the players while they carry the data trough the transfer?


-- Script

while wait(1) do
if _G.Tc1StartedGame == true then
local TS = game:GetService("TeleportService")
local Players = game:GetService("Players")
local spawnName = "StartingInPlace"

local code = TS:ReserveServer(game.PlaceId) -- Returns a code
local players = game.Teams.Tc1Elevator:GetPlayers() -- Get a list of all players

TS:TeleportToPrivateServer(game.PlaceId,code,players,spawnName, {Tc1Broad = true})

-- Tc1Broad is sending the value to the players, not the server.

_G.Tc1StartedGame = false
end
end
Report Abuse
Gofven is not online. Gofven
Joined: 18 Jun 2015
Total Posts: 767
08 Jan 2017 12:09 PM
bump, i need this urgently.
Report Abuse
SirTipsAlot is not online. SirTipsAlot
Joined: 08 Feb 2012
Total Posts: 2431
08 Jan 2017 12:11 PM
so you want to send specific data to that specific server?

otherwise dumb down what you're trying to say


and now i'm sad
Report Abuse
Gofven is not online. Gofven
Joined: 18 Jun 2015
Total Posts: 767
08 Jan 2017 12:25 PM
Normally it would send the data to the players in the current server, then the players getting teleported to the reserved server, which then sends the data inside the player with remoteevent to the reserved server.

basically like a post office. but with the personal as package carriers.
Report Abuse
Gofven is not online. Gofven
Joined: 18 Jun 2015
Total Posts: 767
08 Jan 2017 12:27 PM
I am trying to send it straight to the reserved server so players wont be able to manipulate this script and send it to the server.

Here's the player receiver script by the way:

game:GetService('TeleportService').LocalPlayerArrivedFromTeleport:connect(function(customLoadingScreen, teleportData)
for Key, Value in next, teleportData do
print(Key, Value)
_G[Key] = Value
end
end)
Report Abuse
SirTipsAlot is not online. SirTipsAlot
Joined: 08 Feb 2012
Total Posts: 2431
08 Jan 2017 12:28 PM
so what you're essentially saying is sending teleportData wihout teleporting anyone?

my best guess would be HTTPService and create a web service, but idk


and now i'm sad
Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
08 Jan 2017 01:12 PM
for the last time, stop using _G and use module scripts.


Report Abuse
AbstractCode is not online. AbstractCode
Joined: 26 Aug 2016
Total Posts: 654
08 Jan 2017 01:18 PM
I support TimeTicks with his statement.
Report Abuse
Gofven is not online. Gofven
Joined: 18 Jun 2015
Total Posts: 767
08 Jan 2017 01:30 PM
TeleportData, but i'm trying to send it to the server, not the players.

@TimeTicks, I do use modulescripts, but i can't do it trough a localscript.
Report Abuse
Gofven is not online. Gofven
Joined: 18 Jun 2015
Total Posts: 767
08 Jan 2017 01:41 PM
bump
Report Abuse
HalfPinky456 is not online. HalfPinky456
Joined: 10 Apr 2011
Total Posts: 6236
08 Jan 2017 01:41 PM
you can use module scripts in local scripts
you just can't do require(3134633)
you have to do something like require(workspace.Module)

attempt to call girlfriend (a nil value) | (͠≖ ͜ʖ͠≖)👌 | nothin' like a good argument ¯\_(ツ)_/¯
Report Abuse
Gofven is not online. Gofven
Joined: 18 Jun 2015
Total Posts: 767
08 Jan 2017 01:44 PM
Intresting... But the module script wouldn't do anything at this script I guess... Also it'd be stupid to connect it to the server because I do never trust players.

I just want to send one little packet of information to the server that players are getting transported to. I dont want any players to hold that information tho.
Report Abuse
Gofven is not online. Gofven
Joined: 18 Jun 2015
Total Posts: 767
08 Jan 2017 02:50 PM
bump
Report Abuse
Gofven is not online. Gofven
Joined: 18 Jun 2015
Total Posts: 767
08 Jan 2017 03:21 PM
bumper
Report Abuse
Gofven is not online. Gofven
Joined: 18 Jun 2015
Total Posts: 767
09 Jan 2017 05:46 AM
triplebump
Report Abuse
Gofven is not online. Gofven
Joined: 18 Jun 2015
Total Posts: 767
09 Jan 2017 06:36 AM
Quadrabump
Report Abuse
Gofven is not online. Gofven
Joined: 18 Jun 2015
Total Posts: 767
09 Jan 2017 07:03 AM
Pentabump, please answer ;-;
Report Abuse
Gofven is not online. Gofven
Joined: 18 Jun 2015
Total Posts: 767
09 Jan 2017 07:28 AM
New threadmaking, less confusing.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image