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 » Scripting Helpers
Home Search
 

Re: Loadstring encrypting

Previous Thread :: Next Thread 
halofire902 is not online. halofire902
Joined: 30 May 2010
Total Posts: 1587
14 Dec 2013 09:27 PM
What's the best way to convert ANY script loadstring?
Like encrypting with loadstring
Report Abuse
halofire902 is not online. halofire902
Joined: 30 May 2010
Total Posts: 1587
14 Dec 2013 09:42 PM
B
Report Abuse
dog456pop248 is not online. dog456pop248
Joined: 24 Aug 2008
Total Posts: 3977
14 Dec 2013 09:44 PM
There's probably a website somewhere on the internet. Google 'Lua loadstring encryption' or something
Report Abuse
AgentFirefox is not online. AgentFirefox
Top 100 Poster
Joined: 20 Jun 2008
Total Posts: 22404
14 Dec 2013 09:45 PM
Why do you feel the need to hide your script to begin with?
Report Abuse
dog456pop248 is not online. dog456pop248
Joined: 24 Aug 2008
Total Posts: 3977
14 Dec 2013 09:48 PM
^^^

He probably feels the need because people suck.
Report Abuse
dog456pop248 is not online. dog456pop248
Joined: 24 Aug 2008
Total Posts: 3977
14 Dec 2013 09:55 PM
Ok, so you can convert your script to a string bytecode by using string.dump()

function f()
print "hello, world"
end
s = string.dump(f)
loadstring(s)()
Report Abuse
DaMrNelson is not online. DaMrNelson
Joined: 27 Jul 2009
Total Posts: 4405
14 Dec 2013 09:59 PM
As a warning: I've heard rumors that loadstring will be removed sometime in the future.

Wiki Profile: http://wiki.roblox.com/index.php/User:Nelson
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
14 Dec 2013 10:05 PM
^ But there will be a new replacement (load?)
Report Abuse
DaMrNelson is not online. DaMrNelson
Joined: 27 Jul 2009
Total Posts: 4405
14 Dec 2013 10:07 PM
That's what I was forgetting, they're going to have a replacement for it... never mind!

Wiki Profile: http://wiki.roblox.com/index.php/User:Nelson
Report Abuse
AgentFirefox is not online. AgentFirefox
Top 100 Poster
Joined: 20 Jun 2008
Total Posts: 22404
14 Dec 2013 10:07 PM
I don't believe you can use the output from string.dump to run your code through loadstring anymore.
Report Abuse
AgentFirefox is not online. AgentFirefox
Top 100 Poster
Joined: 20 Jun 2008
Total Posts: 22404
14 Dec 2013 10:10 PM
And removing loadstring would be stupid, especially if they're going to replace it with something. I mean, loadstring is part of the core Lua language, so I don't see why they would replace it with a different identifier.

Do you have a link to this info? I'm curious to know why they're replacing it with something different, since the word "replace" involves something else with identical functionality.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
14 Dec 2013 10:11 PM
It's already removed in the next version of Lua, and I think it will be combined with the load function (not entirely sure)
Report Abuse
AgentFirefox is not online. AgentFirefox
Top 100 Poster
Joined: 20 Jun 2008
Total Posts: 22404
14 Dec 2013 10:13 PM
Ah, I was under the impression that the Roblox devs were removing loadstring from the environment. Didn't think Lua devs were messing with it.
Report Abuse
DaMrNelson is not online. DaMrNelson
Joined: 27 Jul 2009
Total Posts: 4405
14 Dec 2013 10:14 PM
The first word of it I heard was quite a while ago, and on the standard forums. The second time was on the rbxdev forums. I'll try to find the rbxdev one, give me a second.

Wiki Profile: http://wiki.roblox.com/index.php/User:Nelson
Report Abuse
DaMrNelson is not online. DaMrNelson
Joined: 27 Jul 2009
Total Posts: 4405
14 Dec 2013 10:17 PM
Sorry, but I can't find it. If I ever come across it again someday I'll post it here.

Wiki Profile: http://wiki.roblox.com/index.php/User:Nelson
Report Abuse
halofire902 is not online. halofire902
Joined: 30 May 2010
Total Posts: 1587
14 Dec 2013 10:39 PM
Really wow
Thanks guys
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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