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: game:SetPlaceId broken

Previous Thread :: Next Thread 
HuntHello is not online. 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
nQqzRYVpIKA5jLP is not online. nQqzRYVpIKA5jLP
Joined: 05 Mar 2015
Total Posts: 4135
25 Jul 2015 03:16 PM
that error has nothing to do with this method
Report Abuse
StartDeveloping is not online. StartDeveloping
Joined: 16 Feb 2015
Total Posts: 740
25 Jul 2015 03:16 PM
Same, idk why.
Report Abuse
HuntHello is not online. 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
StartDeveloping is not online. StartDeveloping
Joined: 16 Feb 2015
Total Posts: 740
25 Jul 2015 03:16 PM
OH so it's another script that's doing it. Phew.
Report Abuse
nQqzRYVpIKA5jLP is not online. nQqzRYVpIKA5jLP
Joined: 05 Mar 2015
Total Posts: 4135
25 Jul 2015 03:17 PM
What script does it say is throwing the error?
Report Abuse
HuntHello is not online. 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
nQqzRYVpIKA5jLP is not online. nQqzRYVpIKA5jLP
Joined: 05 Mar 2015
Total Posts: 4135
25 Jul 2015 03:20 PM
Is there anything else?
Report Abuse
HuntHello is not online. HuntHello
Joined: 19 Jan 2011
Total Posts: 577
25 Jul 2015 03:20 PM
nope
Report Abuse
powerhotmail123 is not online. powerhotmail123
Joined: 11 Apr 2011
Total Posts: 5041
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
TickerOfTime is not online. TickerOfTime
Joined: 02 Sep 2012
Total Posts: 2030
25 Jul 2015 03:46 PM
You can slightly escalate Script and LocalScript identity using this.

-Ticker of da Tocks | SFBC
Report Abuse
rayk999 is not online. 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 is not online. 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
powerhotmail123 is not online. powerhotmail123
Joined: 11 Apr 2011
Total Posts: 5041
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
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
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 is not online. 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
QuintinityZero is not online. QuintinityZero
Joined: 01 Oct 2008
Total Posts: 10618
25 Jul 2015 04:19 PM
Works for me :/
Report Abuse
powerhotmail123 is not online. powerhotmail123
Joined: 11 Apr 2011
Total Posts: 5041
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 is not online. 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 is not online. 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 is not online. 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 is not online. 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
nQqzRYVpIKA5jLP is not online. nQqzRYVpIKA5jLP
Joined: 05 Mar 2015
Total Posts: 4135
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 is not online. 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 is not online. 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
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