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: Data Store Usage

Previous Thread :: Next Thread 
Dued1 is not online. Dued1
Joined: 26 Oct 2007
Total Posts: 803
23 Dec 2013 10:30 PM
How often can GetAsync and UpdateAsync be called? In a building game that save players creations, should UpdateAsync be call every time a building item is placed or should UpdateAsync be call once though PlayerRemoving?

Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
23 Dec 2013 10:31 PM
PlayerRemoving is not very safe, I would probably do every 2 or 3 items
Report Abuse
YEGGOR is not online. YEGGOR
Joined: 02 Apr 2013
Total Posts: 1150
23 Dec 2013 10:31 PM
i would call it every time an object is placed, and have a debounce of about .5 on placing new items.
Report Abuse
Quenty is not online. Quenty
Joined: 03 Sep 2009
Total Posts: 9316
23 Dec 2013 11:19 PM
Apparently 500 times a minute or so, but ROBLOX is going to scale it down to 7-8 requests per a minute per a player.
Report Abuse
YEGGOR is not online. YEGGOR
Joined: 02 Apr 2013
Total Posts: 1150
24 Dec 2013 12:24 AM
@quenty

onoes!
Report Abuse
Dued1 is not online. Dued1
Joined: 26 Oct 2007
Total Posts: 803
24 Dec 2013 12:26 AM
Alight, PlayerRemoving it is. Data Store is reliable with PlayerRemoving right?
Report Abuse
YEGGOR is not online. YEGGOR
Joined: 02 Apr 2013
Total Posts: 1150
24 Dec 2013 12:39 AM
im sure it will work.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
24 Dec 2013 03:44 PM
You should never use PlayerRemoving to save things.
Report Abuse
Merely is not online. Merely
Joined: 07 Dec 2010
Total Posts: 17266
24 Dec 2013 03:46 PM
The problem with PlayerRemoving is that if the server crashes, the data is never saved. I'd suggest doing it at 5 minute intervals or something reasonable, but only do it if something has actually changed.
Report Abuse
Darkmist101 is not online. Darkmist101
Joined: 30 Jul 2010
Total Posts: 6208
24 Dec 2013 10:07 PM
Insert 2 HttpServices, and you can do 1000 requests.

Funny.
Report Abuse
MettaurSp is not online. MettaurSp
Joined: 20 Mar 2010
Total Posts: 3179
24 Dec 2013 11:32 PM
One does not simply insert a service. They are sorta already there when the game starts, GetService and service both just reveal them, not create them.
Report Abuse
Darkmist101 is not online. Darkmist101
Joined: 30 Jul 2010
Total Posts: 6208
25 Dec 2013 08:41 AM
You know you can insert 2+ and save the place;
it works.
Report Abuse
snick3r is not online. snick3r
Joined: 20 Aug 2012
Total Posts: 3582
25 Dec 2013 09:12 AM
@Merley Hey big boi ;)
Report Abuse
TheNickmaster21 is not online. TheNickmaster21
Joined: 04 Oct 2008
Total Posts: 9490
25 Dec 2013 12:04 PM
@Quenty

Nooooo:(


PlayerRemoving isn't reliable? How often does it not work?
Report Abuse
CoolioTree is not online. CoolioTree
Joined: 26 Dec 2012
Total Posts: 2509
25 Dec 2013 12:10 PM
I know this is off-topic but Dued1 you're awesome!

You're probably the only classic Roblox game developer still active.
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