IoIiderp
|
  |
| Joined: 05 Feb 2012 |
| Total Posts: 8613 |
|
|
| 27 Mar 2015 08:29 PM |
| Not to be confused with in-place. |
|
|
| Report Abuse |
|
|
|
| 27 Mar 2015 08:29 PM |
| DataStores and possibly HttpService |
|
|
| Report Abuse |
|
|
|
| 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
|
  |
| Joined: 05 Feb 2012 |
| Total Posts: 8613 |
|
| |
|
IoIiderp
|
  |
| Joined: 05 Feb 2012 |
| Total Posts: 8613 |
|
| |
|
| |
|
|
| 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
|
  |
| 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
|
  |
| Joined: 23 Nov 2012 |
| Total Posts: 57661 |
|
| |
|
IoIiderp
|
  |
| Joined: 05 Feb 2012 |
| Total Posts: 8613 |
|
| |
|
Arkose
|
  |
| Joined: 26 May 2013 |
| Total Posts: 745 |
|
|
| 27 Mar 2015 08:34 PM |
| I would use the datastore service |
|
|
| Report Abuse |
|
|
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
|
  |
| 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
|
  |
| 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
|
  |
| 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
|
  |
| 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
|
  |
| 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 |
|
|
| |
|
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 |
|
|
|
| 27 Mar 2015 09:46 PM |
| The time of update should be near instant regardless though. |
|
|
| Report Abuse |
|
|
IoIiderp
|
  |
| Joined: 05 Feb 2012 |
| Total Posts: 8613 |
|
| |
|
|
| 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 |
|
|
|
| 27 Mar 2015 10:05 PM |
| Then that would be on your end. |
|
|
| Report Abuse |
|
|