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 Teleportation

Previous Thread :: Next Thread 
TimeCruiser is not online. TimeCruiser
Joined: 24 Oct 2008
Total Posts: 134
10 Sep 2011 04:33 PM
[I originally posted this in the scripting helpers forum at PostID=54553813, but perhaps it belongs here.]

Data Persistence is great, but as far as I can tell, it is not possible to load data into a place from another place, like loading your creation from "Welcome to ROBLOX Building" into your own level. However, since the TeleportService allows sending to a specified spawn, it occured to me that this might be able to be used to transfer data between games with the player. Thus, data teleportation.

For example, if a person has 2 related levels, both with a leveling system up to 80, then 80 specially named spawns could be added to each level, the TeleportToSpawnByName function bases the spawn name on the player's level, and the spawn assigns the level to the player entering via teleportation. This would not be very complicated for proficient scripters, but I want to go further, and thus need help.

What I would like to do, if it is possible, is transfer more data using the spawn name than would be practical to add spawns for. For simplicity, I will use the example of money, though if it is possible, then much more is also possible using the same method. So, the TeleportToSpawnByName function can be set up to assign the spawn name, but what about on the receiving end? How, if at all, can a script in the level being teleported reference the spawn name value being transferred, without there being a spawn in the level with that name, before the player spawns? Or to ask in another way, what is the referencing needed in the script to copy the SpawnName value into an object value or string, to be saved in the Player (or PlayerGUI)? The object value or string could then be used to give the player the same amount of money (etc.) as in the level being teleported from. Basically, to use anology, the data saving function of teleportation is documented in the wiki, but the data loading function is not, which is the missing piece of the puzzle that I need.

If this works, it would open up new possiblities for games; though it would, of course, still be limited to where both the sending and receiving games are designed for it.
Report Abuse
TheCapacitor is not online. TheCapacitor
Joined: 19 Jan 2011
Total Posts: 7045
10 Sep 2011 04:36 PM
TL;DR

First paragraph made sense. But you'd need A LOT of spawn names. Only usable to say, send a bool value as a string, and parse it as a bool.
Report Abuse
DonnyTheDemented is not online. DonnyTheDemented
Joined: 29 May 2010
Total Posts: 1413
10 Sep 2011 04:37 PM
For this, you are better off with the old fashion way, save/load codes
Report Abuse
TheCapacitor is not online. TheCapacitor
Joined: 19 Jan 2011
Total Posts: 7045
10 Sep 2011 04:38 PM
@Donny: Yeah, but users will have to remember it. And we all know that most people won't even bother remembering 10 character long strings.
Report Abuse
zars15 is not online. zars15
Joined: 10 Nov 2008
Total Posts: 9999
10 Sep 2011 04:52 PM
@The. Thats why there is notepad in windows OS :D
Report Abuse
TheCapacitor is not online. TheCapacitor
Joined: 19 Jan 2011
Total Posts: 7045
10 Sep 2011 04:57 PM
Notepad's nooby, cuz I use System32/edit.com
Report Abuse
Quenty is not online. Quenty
Joined: 03 Sep 2009
Total Posts: 9316
10 Sep 2011 04:59 PM
That's why I use Word Pad.
Report Abuse
zars15 is not online. zars15
Joined: 10 Nov 2008
Total Posts: 9999
10 Sep 2011 05:00 PM
Did i said that i use it? :o
Report Abuse
TheCapacitor is not online. TheCapacitor
Joined: 19 Jan 2011
Total Posts: 7045
10 Sep 2011 05:01 PM
edit.com > notepad.exe

lrn2nerd
Report Abuse
zars15 is not online. zars15
Joined: 10 Nov 2008
Total Posts: 9999
10 Sep 2011 05:02 PM
I BETTA USE MY MEMORY FOOO
Report Abuse
zeke181 is not online. zeke181
Joined: 15 Mar 2011
Total Posts: 34
10 Sep 2011 06:06 PM
o_e
Report Abuse
bunnybunn264 is not online. bunnybunn264
Joined: 04 Oct 2010
Total Posts: 5409
10 Sep 2011 06:12 PM
use gedit

gedit > notepad
Report Abuse
pwnedu46 is not online. pwnedu46
Joined: 23 May 2009
Total Posts: 7534
10 Sep 2011 06:23 PM
Every text editing software you can think of > notepad


~ pwnedu46 ~
Report Abuse
BlueTaslem is not online. BlueTaslem
Joined: 11 May 2008
Total Posts: 11060
10 Sep 2011 06:23 PM
This reminds me of RoNet, trying to figure out how to get data through by using 5 numbers between 1 and like 20. :P
Report Abuse
GoldenUrg is not online. GoldenUrg
Joined: 23 Aug 2009
Total Posts: 6428
11 Sep 2011 12:00 AM
Why don't you download the game script that handles the teleport in (assuming there is one) and see how it gets the spawn name?

Report Abuse
TimeCruiser is not online. TimeCruiser
Joined: 24 Oct 2008
Total Posts: 134
16 Sep 2011 11:29 PM
How would I download the game script being used (a CoreScript, it seems)? Would this simply require file diving, or would it require some form of hacking?
Report Abuse
ArceusInator is not online. ArceusInator
Joined: 10 Oct 2009
Total Posts: 30553
16 Sep 2011 11:29 PM
y u bamp
Report Abuse
GoldenUrg is not online. GoldenUrg
Joined: 23 Aug 2009
Total Posts: 6428
17 Sep 2011 11:49 AM
Just about everything requires some form of hacking. The game just doesn't have that much official functionality.
Report Abuse
kingkiller1000 is not online. kingkiller1000
Joined: 12 Dec 2008
Total Posts: 26415
17 Sep 2011 11:55 AM
They should make it be able to load from another place, but not save.
Report Abuse
Fl0x is not online. Fl0x
Joined: 06 Aug 2010
Total Posts: 5169
17 Sep 2011 12:06 PM
Actually
notepad > every other text editor.

You don't need anything else than write text now, do you?
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