cool_aid
|
  |
| Joined: 24 Feb 2016 |
| Total Posts: 12 |
|
|
| 07 Sep 2016 09:09 PM |
Hello, I've been working with private modules recently and came across this wiki page
http://wiki.roblox.com/index.php?title=Private_module
I see there it is possible to copy a MainModule's source. They say how to do it but I can't manage to find what they meant by "parenting the ModuleScript to the DataModel, causing the game to save"
The full explanations are: This is usually accomplished by requiring the module, getting a reference to the module's ModuleScript, parenting the ModuleScript to the DataModel, causing the game to save, and then opening the game in ROBLOX Studio to view the ModuleScript's source.
Note, this is to protect my own scripts- not to copy another one. I know they clearly say how to protect scripts but I want to understand what is happening before just copying the code. |
|
|
| Report Abuse |
|
|
|
| 07 Sep 2016 09:11 PM |
If you put "script = nil" on the top of your modulescript and make sure that if you return any instances, they're not a child of the modulescript then you'll be more or less fine. But it's still possible for it to be stolen since an exploiter can call LoadAsset client-sided and insert your modulescript.
Safest way: local children = script:GetChildren() for _, obj in pairs(children) do obj.Parent = nil end script = nil
and upload it on another account that has no active places |
|
|
| Report Abuse |
|
|
cool_aid
|
  |
| Joined: 24 Feb 2016 |
| Total Posts: 12 |
|
|
| 07 Sep 2016 09:13 PM |
| Have you read? I asked how do I steal scripts (even if it is not my intention), not how to protect them. The wiki already says how and I said I knew it did. |
|
|
| Report Abuse |
|
|
|
| 07 Sep 2016 09:15 PM |
"Note, this is to protect my own scripts- not to copy another one." You're stupid. |
|
|
| Report Abuse |
|
|
| |
|
cool_aid
|
  |
| Joined: 24 Feb 2016 |
| Total Posts: 12 |
|
|
| 07 Sep 2016 09:17 PM |
"I want to understand what is happening before just copying the code." You're blind. |
|
|
| Report Abuse |
|
|
|
| 07 Sep 2016 09:18 PM |
"I want to understand what is happening before just copying the code" "I asked how do I steal scripts" Completely different things.
Obviously Roblox is fetching the module which is then compiled and executed, what's so hard to understand |
|
|
| Report Abuse |
|
|
cool_aid
|
  |
| Joined: 24 Feb 2016 |
| Total Posts: 12 |
|
|
| 07 Sep 2016 09:20 PM |
| Please reread the first post before replying, you're probably missing something. |
|
|
| Report Abuse |
|
|
Salinas23
|
  |
| Joined: 28 Dec 2008 |
| Total Posts: 37142 |
|
|
| 07 Sep 2016 09:32 PM |
@flux
how does uploading it to an account with no active places makes it safer |
|
|
| Report Abuse |
|
|
cool_aid
|
  |
| Joined: 24 Feb 2016 |
| Total Posts: 12 |
|
|
| 07 Sep 2016 09:36 PM |
| All I need is someone smarter than me to write a code that can steal unprotected MainModules.. |
|
|
| Report Abuse |
|
|
Wowgnomes
|
  |
| Joined: 27 Sep 2009 |
| Total Posts: 26255 |
|
|
| 07 Sep 2016 09:36 PM |
@salinas then they aren't able to go to ur game an insert it bc u can only insert assets place owner owns
|
|
|
| Report Abuse |
|
|
Wowgnomes
|
  |
| Joined: 27 Sep 2009 |
| Total Posts: 26255 |
|
|
| 07 Sep 2016 09:37 PM |
cool aid how much u paying
|
|
|
| Report Abuse |
|
|
cool_aid
|
  |
| Joined: 24 Feb 2016 |
| Total Posts: 12 |
|
|
| 07 Sep 2016 09:39 PM |
i am paying one million nothings just looking to understand some logic, not even wishing to use it
and you absolutely dont need to own the module to use it "but if the ModuleScript is named "MainModule", then any game can require it." |
|
|
| Report Abuse |
|
|
Baseness
|
  |
| Joined: 07 Oct 2015 |
| Total Posts: 1001 |
|
|
| 07 Sep 2016 09:46 PM |
exploits can steal LocalScripts and ModuleScripts
Elysian, Stack Smash, Intriga, and other exploits have a function which allows them to steal localScript and ModuleScript source
|
|
|
| Report Abuse |
|
|
Wowgnomes
|
  |
| Joined: 27 Sep 2009 |
| Total Posts: 26255 |
|
|
| 07 Sep 2016 09:48 PM |
| cool aid ## ## ###### of course i wasn't talkin about actual modulescripts u need to own the asset to insert in game which is how old school/some current methods of stealing module script source |
|
|
| Report Abuse |
|
|
cool_aid
|
  |
| Joined: 24 Feb 2016 |
| Total Posts: 12 |
|
|
| 07 Sep 2016 09:50 PM |
@Baseness So a third-party software is needed for stealing? Well that's an info I wasn't aware of. |
|
|
| Report Abuse |
|
|
|
| 07 Sep 2016 10:30 PM |
| well obviously you need to use some sort of exploit which usually comes in the form of a program or d.l.l. to exploit unless you are a script kiddie who actually manages to edit the roblox files without any crashing |
|
|
| Report Abuse |
|
|
Wowgnomes
|
  |
| Joined: 27 Sep 2009 |
| Total Posts: 26255 |
|
|
| 07 Sep 2016 10:37 PM |
"I thought stealing was part of the roblox studio and intended"
|
|
|
| Report Abuse |
|
|
|
| 07 Sep 2016 11:56 PM |
"well obviously you need to use some sort of exploit which usually comes in the form of a program or d.l.l. to exploit unless you are a script kiddie who actually manages to edit the roblox files without any crashing" You're so ignorant it hurts. |
|
|
| Report Abuse |
|
|
Casualist
|
  |
| Joined: 26 Jun 2014 |
| Total Posts: 4443 |
|
|
| 08 Sep 2016 01:34 AM |
I personally like: local script = {} for _, child in ipairs(getfenv().script:GetChildren()) do script[child.Name] = child child:Remove() end getfenv().script = nil |
|
|
| Report Abuse |
|
|