HuntHello
|
  |
| Joined: 19 Jan 2011 |
| Total Posts: 577 |
|
|
| 25 Jul 2015 03:14 PM |
| Is it just me or does it always return a forbidden 403 error? |
|
|
| Report Abuse |
|
|
|
| 25 Jul 2015 03:16 PM |
| that error has nothing to do with this method |
|
|
| Report Abuse |
|
|
| |
|
HuntHello
|
  |
| Joined: 19 Jan 2011 |
| Total Posts: 577 |
|
|
| 25 Jul 2015 03:16 PM |
i put it in command bar, add the placeid and "false", and when I play solo it says :An error occured |
|
|
| Report Abuse |
|
|
|
| 25 Jul 2015 03:16 PM |
| OH so it's another script that's doing it. Phew. |
|
|
| Report Abuse |
|
|
|
| 25 Jul 2015 03:17 PM |
| What script does it say is throwing the error? |
|
|
| Report Abuse |
|
|
HuntHello
|
  |
| Joined: 19 Jan 2011 |
| Total Posts: 577 |
|
|
| 25 Jul 2015 03:19 PM |
oh ps it says
08:16:07.007 - An error occurred 08:16:07.008 - Script 'loadfile("http://www.roblox.com/game/visit.ashx?IsPlaySolo=', Line 1 |
|
|
| Report Abuse |
|
|
| |
|
HuntHello
|
  |
| Joined: 19 Jan 2011 |
| Total Posts: 577 |
|
| |
|
|
| 25 Jul 2015 03:44 PM |
What does that even do? Change the place ID of the link?
Enjoying your stay at the Scripters Forum? Join this! http://www.roblox.com/My/Groups.aspx?gid=2582784 |
|
|
| Report Abuse |
|
|
|
| 25 Jul 2015 03:46 PM |
You can slightly escalate Script and LocalScript identity using this.
-Ticker of da Tocks | SFBC |
|
|
| Report Abuse |
|
|
rayk999
|
  |
| Joined: 18 Feb 2011 |
| Total Posts: 4705 |
|
|
| 25 Jul 2015 03:46 PM |
| It doesn't save into the actual game. It just sets the game.PlaceId property |
|
|
| Report Abuse |
|
|
HuntHello
|
  |
| Joined: 19 Jan 2011 |
| Total Posts: 577 |
|
|
| 25 Jul 2015 03:55 PM |
What it does is it sets the placeId of the game in Studio, so data in the actual game (such as leaderboard stats, datastore, etc. transfers over) But you have to enable it in "Configure game" . |
|
|
| Report Abuse |
|
|
|
| 25 Jul 2015 04:00 PM |
Wait, so you're saying, if I did :SetPlaceId in the top of my script in 1 game, and then used DataStores.
If I made another different game, and put :SetPlaceId in the top of another script, it will keep the data on the DataStore?
Enjoying your stay at the Scripters Forum? Join this! http://www.roblox.com/My/Groups.aspx?gid=2582784 |
|
|
| Report Abuse |
|
|
|
| 25 Jul 2015 04:03 PM |
You can't use it in-game
I'm pretty sure this is how the DataStore editor plugin works. |
|
|
| Report Abuse |
|
|
HuntHello
|
  |
| Joined: 19 Jan 2011 |
| Total Posts: 577 |
|
|
| 25 Jul 2015 04:18 PM |
| You can only use setplaceid in studio command bar, so it transers over only to the studio |
|
|
| Report Abuse |
|
|
| |
|
|
| 25 Jul 2015 04:19 PM |
So, basically.
Game Place 1: SetPlaceId(144) --Datastore, 11341 gold
Game Place 2: SetPlaceId(144) --Datastore, 11341 gold
Right?
Enjoying your stay at the Scripters Forum? Join this! http://www.roblox.com/My/Groups.aspx?gid=2582784
|
|
|
| Report Abuse |
|
|
HuntHello
|
  |
| Joined: 19 Jan 2011 |
| Total Posts: 577 |
|
|
| 25 Jul 2015 04:20 PM |
| i don't know then. i'll just publish a test game and work there |
|
|
| Report Abuse |
|
|
rayk999
|
  |
| Joined: 18 Feb 2011 |
| Total Posts: 4705 |
|
|
| 25 Jul 2015 04:21 PM |
| I'm pretty sure that it doesn't transfer in-game |
|
|
| Report Abuse |
|
|
HuntHello
|
  |
| Joined: 19 Jan 2011 |
| Total Posts: 577 |
|
|
| 25 Jul 2015 04:21 PM |
in studio, you type in the command bar game:SetPlaceId(yourplaceid, elevatedscriptstrueorfalse) and datastore will transfer over to yur studio
however just enable API access first in your game |
|
|
| Report Abuse |
|
|
HuntHello
|
  |
| Joined: 19 Jan 2011 |
| Total Posts: 577 |
|
|
| 25 Jul 2015 04:24 PM |
if you're looking to transfer data from one server to another, use datastore
http://wiki.roblox.com/index.php?title=Data_store |
|
|
| Report Abuse |
|
|
|
| 25 Jul 2015 04:26 PM |
| If the second argument of game:SetPlaceId is true(robloxPlace), then scripts and localscripts will run with the context of RobloxPlaceSecurity. However, game.PlaceId does not serialize. |
|
|
| Report Abuse |
|
|
rayk999
|
  |
| Joined: 18 Feb 2011 |
| Total Posts: 4705 |
|
|
| 25 Jul 2015 04:26 PM |
| I'm pretty sure that using this won't affect live servers. Meaning that doing game:SetPlaceId(1337) won't do anything in-game. |
|
|
| Report Abuse |
|
|
HuntHello
|
  |
| Joined: 19 Jan 2011 |
| Total Posts: 577 |
|
|
| 25 Jul 2015 04:27 PM |
it doesn't you are right, but you can setplaceid and change datastore right from your studio. |
|
|
| Report Abuse |
|
|