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: ProvisionedThroughoutExceeded

Previous Thread :: Next Thread 
PatrickTheShark is not online. PatrickTheShark
Joined: 13 Mar 2016
Total Posts: 195
17 Apr 2016 07:09 PM
How does this occur and how do I stop it?


Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
17 Apr 2016 07:10 PM
You are doing something too many times.

what are you even doing

post code


Report Abuse
PatrickTheShark is not online. PatrickTheShark
Joined: 13 Mar 2016
Total Posts: 195
17 Apr 2016 07:44 PM
It's in a datastore save/load script


Report Abuse
PatrickTheShark is not online. PatrickTheShark
Joined: 13 Mar 2016
Total Posts: 195
18 Apr 2016 02:12 AM
bump, its kind of annoying and random. it can work fine for hours then ill join once and it happens, and i rejoin to fix it


Report Abuse
vlekje513 is not online. vlekje513
Joined: 28 Dec 2010
Total Posts: 9057
18 Apr 2016 02:30 AM
post code[2]
Report Abuse
Thy_Yuno is not online. Thy_Yuno
Joined: 15 Jul 2014
Total Posts: 239
18 Apr 2016 02:38 AM
post code[3]
Report Abuse
PatrickTheShark is not online. PatrickTheShark
Joined: 13 Mar 2016
Total Posts: 195
18 Apr 2016 11:34 AM
its really big but alright

-- ----------------------------------------------------------
--Load when they join
-- ----------------------------------------------------------
game.Players.PlayerAdded:connect(function(player)
repeat wait() until player.leaderstats2 and player:WaitForDataReady()
local warriorstats = player.PlayerWarriorData
local skinstats = player.PlayerSkinData
local playerstats = player.leaderstats2
local configuration = player.Configuration
--player's warrior data
local v = warriorstats:GetChildren()
for f = 1,#v do
warriorstats[v[f].Name].Value = game:GetService("DataStoreService"):GetDataStore(v[f].Name):GetAsync(player.userId) or 0 end

--player's skin data
local v = skinstats:GetChildren()
for f = 1,#v do
skinstats[v[f].Name].Value = game:GetService("DataStoreService"):GetDataStore(v[f].Name):GetAsync(player.userId) or 0 end

--player's stats
local v = playerstats:GetChildren()
for f = 1,#v do
playerstats[v[f].Name].Value = game:GetService("DataStoreService"):GetDataStore(v[f].Name):GetAsync(player.userId) or 0 end
--Most start with a preferred 0, though some should start with a value
if player.leaderstats2.Level.Value == 0 then player.leaderstats2.Level.Value = 1 end
if player.leaderstats2.BIcon.Value == 0 then player.leaderstats2.BIcon.Value = 298248573 end

--player's configurations
local v = configuration:GetChildren()
for f = 1,#v do
configuration[v[f].Name].Value = game:GetService("DataStoreService"):GetDataStore(v[f].Name):GetAsync(player.userId) or 0 end
end)leaderstats2.BIcon.Value == 0 then player.leaderstats2.BIcon.Value = 298248573 end

--player's configurations
local v = configuration:GetChildren()
for f = 1,#v do
configuration[v[f].Name].Value = game:GetService("DataStoreService"):GetDataStore(v[f].Name):GetAsync(player.userId) or 0 end
end)


Report Abuse
PatrickTheShark is not online. PatrickTheShark
Joined: 13 Mar 2016
Total Posts: 195
18 Apr 2016 07:23 PM
bump


Report Abuse
PatrickTheShark is not online. PatrickTheShark
Joined: 13 Mar 2016
Total Posts: 195
19 Apr 2016 11:55 AM
anyone


Report Abuse
iondriver is not online. iondriver
Joined: 18 Nov 2012
Total Posts: 757
19 Apr 2016 12:37 PM
At what line does the error occur?
Report Abuse
PatrickTheShark is not online. PatrickTheShark
Joined: 13 Mar 2016
Total Posts: 195
19 Apr 2016 01:54 PM
Occurs here:
playerstats[v[f].Name].Value = game:GetService("DataStoreService"):GetDataStore(v[f].Name):GetAsync(player.userId) or 0 end

playerstats has the most to save/load, like 10, if that's a problem? But I looked on wiki and it said GetAsync requests allowed per minute are 60 + #players * 10 which would be 610 with just me being there so I don't think the amount is the problem but idk. warriorstats and skinstats work fine then it get this weird error at playerstats


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