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 » Scripters
Home Search
 

Re: Start Server

Previous Thread :: Next Thread 
m26frogy is not online. m26frogy
Joined: 13 Oct 2008
Total Posts: 88
13 Apr 2013 08:17 PM
I have noticed that whenever I run Start Server (very useful) it seems to set up a network game. Yet I can't seem to find out how to access another game on the network from another computer. Is there any way or does ROBLOX just like freeing up ports?

Curiosity.
Report Abuse
booing is not online. booing
Joined: 04 May 2009
Total Posts: 6594
13 Apr 2013 08:18 PM
game:service("NetworkClient"):Connect is what you're looking for.
Report Abuse
dekkonot is not online. dekkonot
Joined: 22 Dec 2010
Total Posts: 6685
13 Apr 2013 08:23 PM
Like this, I'm guessing:

game:GetService("NetworkClient"):PlayerConnect(playerId, "localhost", 53640)
Report Abuse
m26frogy is not online. m26frogy
Joined: 13 Oct 2008
Total Posts: 88
15 Apr 2013 07:47 AM
So, just for clarification, would the second argument be replaced by the IP of the computer you want to access?
Report Abuse
WarrioR2MasteR is not online. WarrioR2MasteR
Joined: 26 Dec 2011
Total Posts: 821
15 Apr 2013 08:19 AM

@M2,

No.

Localhost is a computer term used for representing the host of the server. It is not to be replaced by anything.

Arg1 is your playerID, mine would be 22640087.

Arg2 is "localhost".

Arg3 is place ID.

_________________________________________________________________________
I possess 7 ROBUX and 37 tickets.
Report Abuse
m26frogy is not online. m26frogy
Joined: 13 Oct 2008
Total Posts: 88
15 Apr 2013 09:02 AM
Argument 3, according to the documentation, is not the placeid. It's the port of the server. Also, if ConnectPlayer only works on joining a server on your computer, it's useless to me. I'm interested in joining another computer's server, not my own.
Report Abuse
WarrioR2MasteR is not online. WarrioR2MasteR
Joined: 26 Dec 2011
Total Posts: 821
15 Apr 2013 11:46 AM

@M2,

Yeah, I noticed that I was at fault shortly after my post.

It is the Port of the server.

_________________________________________________________________________
I possess 7 ROBUX and 37 tickets.
Report Abuse
m26frogy is not online. m26frogy
Joined: 13 Oct 2008
Total Posts: 88
15 Apr 2013 05:42 PM
I guess ROBLOX just likes to use my network. Thanks for everyone's help!
Report Abuse
dekkonot is not online. dekkonot
Joined: 22 Dec 2010
Total Posts: 6685
15 Apr 2013 05:46 PM
No problem. =D

~ Dekkonot ~
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