kylerzong
|
  |
| Joined: 06 Aug 2011 |
| Total Posts: 659 |
|
|
| 16 Feb 2017 08:59 PM |
HTTP 403 (HTTP/1.1 403 Forbidden) game:SavePlace(Enum.SaveFilter.SaveAll)
Any Fix Or Alternative? |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 16 Feb 2017 09:00 PM |
SavePlace was deprecated.
Use SavePlaceAsync()
http://wiki.roblox.com/index.php?title=API:Class/AssetService/SavePlaceAsync http://wiki.roblox.com/index.php?title=Dynamic_place_creation_and_saving
|
|
|
| Report Abuse |
|
|
kylerzong
|
  |
| Joined: 06 Aug 2011 |
| Total Posts: 659 |
|
|
| 16 Feb 2017 09:01 PM |
| "This will only work for places that have been created with CreatePlaceAsync or CreatePlaceInPlayerInventoryAsync. " |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 16 Feb 2017 09:02 PM |
Yes. You will need to use CreatePlace.
|
|
|
| Report Abuse |
|
|
kylerzong
|
  |
| Joined: 06 Aug 2011 |
| Total Posts: 659 |
|
|
| 16 Feb 2017 09:04 PM |
So I have to create a createPlace then just teleport players to it onJoin? I cant have duplicate places for each player it needs to just be one master server |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 16 Feb 2017 09:05 PM |
| Yes. That why you save it in a datastore, then just grab ### ## ### ### created place. This is what I do for ## "build with friends" game. |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 16 Feb 2017 09:06 PM |
Yes. That why you save it in a datastore, then just get the id for the created place.
This is what I do for my "build with friends" game.
|
|
|
| Report Abuse |
|
|
kylerzong
|
  |
| Joined: 06 Aug 2011 |
| Total Posts: 659 |
|
|
| 16 Feb 2017 09:07 PM |
| So.. I just drop ### folder in datastore or.... |
|
|
| Report Abuse |
|
|
kylerzong
|
  |
| Joined: 06 Aug 2011 |
| Total Posts: 659 |
|
|
| 16 Feb 2017 09:08 PM |
| I dont see why it has to be created with CreatePlace() it seems dumb to me |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 16 Feb 2017 09:10 PM |
If you follow the tutorial, then it will make a lot more sense.
|
|
|
| Report Abuse |
|
|
kylerzong
|
  |
| Joined: 06 Aug 2011 |
| Total Posts: 659 |
|
|
| 16 Feb 2017 09:46 PM |
Alright so I have a place created by CreatePlace() but now when it saves and I leave and rejoin or edit the created place by studio it hasn't saved |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 17 Feb 2017 08:37 AM |
game:BindToClose(function() SavePlaceAsync() end)
|
|
|
| Report Abuse |
|
|
kylerzong
|
  |
| Joined: 06 Aug 2011 |
| Total Posts: 659 |
|
|
| 17 Feb 2017 08:02 PM |
| It runs the saveplacesync it just doesn't save |
|
|
| Report Abuse |
|
|
kylerzong
|
  |
| Joined: 06 Aug 2011 |
| Total Posts: 659 |
|
|
| 17 Feb 2017 08:03 PM |
| I gave it 5 minutes after it ran the function and then closed it but still didn't work |
|
|
| Report Abuse |
|
|
kylerzong
|
  |
| Joined: 06 Aug 2011 |
| Total Posts: 659 |
|
|
| 17 Feb 2017 08:08 PM |
Added Script In Workspace With:
game:BindToClose(function() game:getService("AssetService"):SavePlaceAsync() end) |
|
|
| Report Abuse |
|
|
kylerzong
|
  |
| Joined: 06 Aug 2011 |
| Total Posts: 659 |
|
|
| 17 Feb 2017 08:09 PM |
| Still doesn't save the folder with guis in it |
|
|
| Report Abuse |
|
|