cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 18 May 2013 01:57 AM |
I made this script that sets itself's parent to nil (as in. script.Parent = nil) And clicked the debug play button then back. The script came back, good. But after saving and exiting the place it disappears.
Is there a haxy way to get scripts that were parented to nil? |
|
|
| Report Abuse |
|
|
Looah
|
  |
| Joined: 22 Feb 2013 |
| Total Posts: 922 |
|
|
| 18 May 2013 02:10 AM |
I do remember that there was some hax in the old skid-era of ROBLOX that allowed to use stuff in nil
0A+0B=15 |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 18 May 2013 02:18 AM |
| I think there is still a way ;( |
|
|
| Report Abuse |
|
|
DrHaximus
|
  |
| Joined: 22 Nov 2011 |
| Total Posts: 8410 |
|
|
| 18 May 2013 02:24 AM |
| You could use a _G function as an entry to the script, otherwise you could keep a reference to it in _G. |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 18 May 2013 03:01 AM |
If you had no referance? nvm,,, |
|
|
| Report Abuse |
|
|
SN0X
|
  |
| Joined: 24 Oct 2011 |
| Total Posts: 7277 |
|
|
| 18 May 2013 03:03 AM |
. . .
Cntkill me, go away :(
If I help you will you go away?
If you set it to nil before you saved it there may be no way to get it back. But, you can check. Right click on your Roblox place file and open with notepad or a text editor. Ctrl-F something that was in your script. If it was found and it's your script, scroll up a little and change the parent where it says nil to "Workspace" or where you want it.
If it is not in your place file then it wasn't saved.
Next time don't delete it while you are working with it -.-
|
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
| |
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 18 May 2013 03:14 AM |
| 'Twas genius but I still can't find it e_e |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 18 May 2013 04:12 AM |
Oh well, re-wrote that long script. It's faster now anyway ;) |
|
|
| Report Abuse |
|
|
129K
|
  |
| Joined: 23 Aug 2011 |
| Total Posts: 19010 |
|
|
| 18 May 2013 10:45 AM |
Keep a reference to that script that's parented to nil, like DrHaximus said. I doubt there's a way to get scripts that are parented to nil without references. |
|
|
| Report Abuse |
|
|
|
| 18 May 2013 10:54 AM |
| You could have got the source back using Cheat Engine. |
|
|
| Report Abuse |
|
|
|
| 18 May 2013 10:58 AM |
| ^ I believe that once you set a script's parent to nil, its source gets obfuscated. |
|
|
| Report Abuse |
|
|
|
| 18 May 2013 11:25 AM |
That sounds 100% useless... I just can't... I've got to test this. |
|
|
| Report Abuse |
|
|
|
| 18 May 2013 11:29 AM |
| You're wrong. I found the script in 5 different places in the memory after sending it to nil. |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 18 May 2013 11:34 AM |
Prehistoric, what snox said actually worked, I think it's because I accedently saved it (I have a habit of clicking ctrl s every 10 seconds) after testing, forgetting to close.
But yeah. |
|
|
| Report Abuse |
|
|
|
| 18 May 2013 11:36 AM |
'I have a habit of clicking ctrl s every 10 seconds'
Such a good habit. All these crying babies QQing about how unstable Studio is when we have the power of saving. |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 18 May 2013 01:01 PM |
Studio is alright, except I tend to crash when using Find & Replace in scripts. Just a heads up^^ |
|
|
| Report Abuse |
|
|
lombardo2
|
  |
| Joined: 30 Nov 2008 |
| Total Posts: 1604 |
|
|
| 18 May 2013 01:09 PM |
"I believe that once you set a script's parent to nil, its source gets obfuscated"
That would make no sense, probably it just gets garbage collected and the memory it occupied gets write over. |
|
|
| Report Abuse |
|
|
Quenty
|
  |
| Joined: 03 Sep 2009 |
| Total Posts: 9316 |
|
|
| 18 May 2013 01:29 PM |
"I believe that once you set a script's parent to nil, its source gets obfuscated"
It doesn't matter, it's server-side. |
|
|
| Report Abuse |
|
|
Legend26
|
  |
| Joined: 08 Sep 2008 |
| Total Posts: 10586 |
|
|
| 18 May 2013 01:38 PM |
Best fix: Do not use the studio play/reset buttons. k? k. Use Tools > Test > Start Server/Player. |
|
|
| Report Abuse |
|
|
| |
|
ThePC8110
|
  |
| Joined: 04 Jun 2011 |
| Total Posts: 486 |
|
|
| 18 May 2013 02:20 PM |
| There just can't be a way to do this, it won't show up in the place XML when nilled. You can easily hide it though, put it in a glue, which will not only hide the script but will hide the glue as well. |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 18 May 2013 06:23 PM |
| Errm, I re-made the long script, it's fine (it wasn't actually that long) |
|
|
| Report Abuse |
|
|