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
 

Re: How would I find the amount of players in-game

Previous Thread :: Next Thread 
IoIiderp is not online. IoIiderp
Joined: 05 Feb 2012
Total Posts: 8613
27 Mar 2015 08:29 PM
Not to be confused with in-place.
Report Abuse
fishguy100 is not online. fishguy100
Joined: 16 Feb 2013
Total Posts: 3679
27 Mar 2015 08:29 PM
DataStores and possibly HttpService
Report Abuse
nQqzRYVpIKA5jLP is not online. nQqzRYVpIKA5jLP
Joined: 05 Mar 2015
Total Posts: 4135
27 Mar 2015 08:30 PM
Assuming you mean the amount of players in every instance of your game, you may be able to use datastores, or HttpService, but there is no built-in api to do this.
Report Abuse
IoIiderp is not online. IoIiderp
Joined: 05 Feb 2012
Total Posts: 8613
27 Mar 2015 08:31 PM
Any other ways?
Report Abuse
IoIiderp is not online. IoIiderp
Joined: 05 Feb 2012
Total Posts: 8613
27 Mar 2015 08:31 PM
Okay thanks.
Report Abuse
nQqzRYVpIKA5jLP is not online. nQqzRYVpIKA5jLP
Joined: 05 Mar 2015
Total Posts: 4135
27 Mar 2015 08:31 PM
No.
Report Abuse
superconscript is not online. superconscript
Joined: 15 Mar 2012
Total Posts: 413
27 Mar 2015 08:32 PM
so like in each place have a datastore that is added to by 1 everytime a player is added then subtracted by one everytime a player is removed using events such as .PlayerAdded and .PlayerRemoving
Report Abuse
IoIiderp is not online. IoIiderp
Joined: 05 Feb 2012
Total Posts: 8613
27 Mar 2015 08:33 PM
I see, I thought there was maybe a build in API for this.
Report Abuse
025110 is not online. 025110
Joined: 23 Nov 2012
Total Posts: 57661
27 Mar 2015 08:33 PM
HTTP service
Report Abuse
IoIiderp is not online. IoIiderp
Joined: 05 Feb 2012
Total Posts: 8613
27 Mar 2015 08:34 PM
*facepalm*
Report Abuse
Arkose is not online. Arkose
Joined: 26 May 2013
Total Posts: 745
27 Mar 2015 08:34 PM
I would use the datastore service
Report Abuse
Arkose is not online. Arkose
Joined: 26 May 2013
Total Posts: 745
27 Mar 2015 08:35 PM
And there is no built in API for this
Report Abuse
IoIiderp is not online. IoIiderp
Joined: 05 Feb 2012
Total Posts: 8613
27 Mar 2015 08:38 PM
I personally would use HttpService because it doesn't glitch out.
Its less accurate though.
Report Abuse
kert109 is not online. kert109
Joined: 31 Dec 2009
Total Posts: 681
27 Mar 2015 08:50 PM
You just have to find roblox's api thing that deals with the amount of players on a sever, then use roproxy[dot]tk and http service to get that info.
Report Abuse
IoIiderp is not online. IoIiderp
Joined: 05 Feb 2012
Total Posts: 8613
27 Mar 2015 08:51 PM
I know, not the first time making stuff with HttpService.
I made 2 projects already with it.
Report Abuse
kert109 is not online. kert109
Joined: 31 Dec 2009
Total Posts: 681
27 Mar 2015 09:09 PM
I just tried to look for the API for this. I failed. :(


Only way I could think of is to search your game up:

http://www.roblox.com/games/?Keyword=Floaty%20Block

Then reading the first game option you get. You'll also have to check the creator, to be sure it's your game.

Only problem is, if they happen to change the web format and all that junk, then you would have to do some editing to fix it again.
Report Abuse
kert109 is not online. kert109
Joined: 31 Dec 2009
Total Posts: 681
27 Mar 2015 09:11 PM
Here's a more.. direct way:

http://www.roblox.com/games/moreresultscached?SortFilter=0&TimeFilter=0&GenreID=1&GameFilter=1&MinBCLevel=0&StartRows=0&MaxRows=12&IsUserLoggedIn=true&NumberOfRowsToOccupy=1&KeyWord=Floaty%20Block&NumberOfColumns=6&IsInHorizontalScrollMode=true&DeviceTypeId=1&AdSpan=0&AdAlignment=0%20HTTP/1.1
Report Abuse
DerProgrammierer is not online. DerProgrammierer
Joined: 16 Aug 2007
Total Posts: 12992
27 Mar 2015 09:24 PM
How is it less accurate?
Report Abuse
IoIiderp is not online. IoIiderp
Joined: 05 Feb 2012
Total Posts: 8613
27 Mar 2015 09:26 PM
@kert
Thanks!

@above
It does update after an amount of time.
Report Abuse
DerProgrammierer is not online. DerProgrammierer
Joined: 16 Aug 2007
Total Posts: 12992
27 Mar 2015 09:46 PM
The time of update should be near instant regardless though.
Report Abuse
IoIiderp is not online. IoIiderp
Joined: 05 Feb 2012
Total Posts: 8613
27 Mar 2015 09:48 PM
Nope, its really long.
Report Abuse
LegendaryAccount is not online. LegendaryAccount
Joined: 02 Jun 2010
Total Posts: 13193
27 Mar 2015 09:50 PM
I would use datastore with player added and player removing event and game.OnClose callback function to count the players live
Report Abuse
DerProgrammierer is not online. DerProgrammierer
Joined: 16 Aug 2007
Total Posts: 12992
27 Mar 2015 10:05 PM
Then that would be on your end.
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