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
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Question about when a server starts

Previous Thread :: Next Thread 
xiaoxiao181 is not online. xiaoxiao181
Joined: 14 Aug 2008
Total Posts: 5882
08 Oct 2014 09:19 PM
Let's just say:

A = A brand new server, a game that had 0 players but now has 1 player cuz they just joined.

B = a Server that had 1 or more players and a new player joins.



I'm not really sure how to ask this question but ill try. Is there a difference between A and B? For example, a script that does blahblahblah when a player joins the game. Does that script still function properly and fully when either A or B?
Report Abuse
xiaoxiao181 is not online. xiaoxiao181
Joined: 14 Aug 2008
Total Posts: 5882
08 Oct 2014 09:20 PM
What I mean is, does a new server have to load less/more/equal stuff to the player's client compared to a server that's already running?
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
08 Oct 2014 09:21 PM
Yes
Report Abuse
xiaoxiao181 is not online. xiaoxiao181
Joined: 14 Aug 2008
Total Posts: 5882
08 Oct 2014 09:28 PM
Um... Can you clarify? O.o
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
09 Oct 2014 12:44 AM
I must not understand the question

I see it as a yes or no answer

Will a script that runs when a player joins run when 1 player joins, and also when 1 is already there and another joins
Report Abuse
xiaoxiao181 is not online. xiaoxiao181
Joined: 14 Aug 2008
Total Posts: 5882
09 Oct 2014 03:10 PM
not exactly wut i meant

Alpha = a brand new server created by a single player joining a place.

Bravo = a server with 1 or more players already in it, and a new players joins it

i meant does Alpha have to load, save, and/or edit anything different, or do anything differently than Bravo?
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
09 Oct 2014 03:19 PM
No, A has to finish loading before any players are allowed in, so its the same as B as no players are allowed in the game at the first start up until the server is actually up
Report Abuse
xiaoxiao181 is not online. xiaoxiao181
Joined: 14 Aug 2008
Total Posts: 5882
09 Oct 2014 03:35 PM
I'm actually very relieved to hear that, thank you very much.
Report Abuse
eLunate is not online. eLunate
Joined: 29 Jul 2014
Total Posts: 13268
09 Oct 2014 03:38 PM
A will take longer than B, if you're usig a lot of code in your init scripts (Should you have any, that is) like terrain generation, as an example.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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