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
We use cookies to offer you a better experience. By using Roblox.com, you are agreeing to our Privacy and Cookie Policy.
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Is it worth sharing my text to binary converting code?

Previous Thread :: Next Thread 
DurstAuric is not online. DurstAuric
Joined: 12 May 2009
Total Posts: 8066
28 Sep 2016 06:07 PM
I mean, I don't think I've seen one on ROBLOX, but I could be wrong. It's kind of useless, but it's cool to share this kind of stuff, right?


( ͡• ◡ ͡•) -=[ RAP: 414,932 || DurstAuric; the narb of ROBLOX ]=- ( ͡• ◡ ͡•)
Report Abuse
LockFocus is not online. LockFocus
Joined: 31 Aug 2013
Total Posts: 1044
28 Sep 2016 06:10 PM
it is indeed what the cool kids call hip.
Report Abuse
DurstAuric is not online. DurstAuric
Joined: 12 May 2009
Total Posts: 8066
28 Sep 2016 06:10 PM
See what it does here: https://twitter.com/DurstAuric/status/780851303329239040


( ͡• ◡ ͡•) -=[ RAP: 414,857 || DurstAuric; the narb of ROBLOX ]=- ( ͡• ◡ ͡•)
Report Abuse
DurstAuric is not online. DurstAuric
Joined: 12 May 2009
Total Posts: 8066
28 Sep 2016 06:11 PM
@LockFocus
Eh?


( ͡• ◡ ͡•) -=[ RAP: 414,857 || DurstAuric; the narb of ROBLOX ]=- ( ͡• ◡ ͡•)
Report Abuse
LordOffline is not online. LordOffline
Joined: 13 Jun 2013
Total Posts: 20
28 Sep 2016 06:13 PM
I for one would be very interested in seeing the source behind this.
Report Abuse
LockFocus is not online. LockFocus
Joined: 31 Aug 2013
Total Posts: 1044
28 Sep 2016 06:15 PM
@Lord ditto
Report Abuse
SadisticNub is not online. SadisticNub
Joined: 05 Jan 2013
Total Posts: 4948
28 Sep 2016 06:20 PM
lol
Report Abuse
DurstAuric is not online. DurstAuric
Joined: 12 May 2009
Total Posts: 8066
28 Sep 2016 06:21 PM
Lol, to you too.


( ͡• ◡ ͡•) -=[ RAP: 414,851 || DurstAuric; the narb of ROBLOX ]=- ( ͡• ◡ ͡•)
Report Abuse
SadisticNub is not online. SadisticNub
Joined: 05 Jan 2013
Total Posts: 4948
28 Sep 2016 06:22 PM
stupid
Report Abuse
Real_Spooky is not online. Real_Spooky
Joined: 23 Oct 2013
Total Posts: 3149
28 Sep 2016 06:23 PM
calling looping string.byte() a ton of times and converting the base cool.

huh, a lot of stuff passes for cool on these forums, huh?
Report Abuse
DurstAuric is not online. DurstAuric
Joined: 12 May 2009
Total Posts: 8066
28 Sep 2016 06:26 PM
Well, here it is.

function ToBinary(Message) local Converted = "" local function ConvertCharacter(Intager, BaseIntager) local Base, Keys, Out, Decimal = BaseIntager or 10, "01", "" for Loop = 1, 8 do Intager, Decimal = math.floor(Intager / Base), math.fmod(Intager, Base) + 1 Out = string.sub(Keys, Decimal, Decimal) .. Out end return Out end for Convert in Message:gmatch("[%w%s%p%d]") do Converted = Converted .. (ConvertCharacter(string.byte(Convert), 2)) .. " " end Converted = Converted:sub(0, #Converted - 1) return Converted end


( ͡• ◡ ͡•) -=[ RAP: 414,858 || DurstAuric; the narb of ROBLOX ]=- ( ͡• ◡ ͡•)
Report Abuse
Real_Spooky is not online. Real_Spooky
Joined: 23 Oct 2013
Total Posts: 3149
28 Sep 2016 06:28 PM
i n t a g e r
Report Abuse
SadisticNub is not online. SadisticNub
Joined: 05 Jan 2013
Total Posts: 4948
28 Sep 2016 06:29 PM
#####################
Report Abuse
DurstAuric is not online. DurstAuric
Joined: 12 May 2009
Total Posts: 8066
28 Sep 2016 06:29 PM
Didn't notice..


( ͡• ◡ ͡•) -=[ RAP: 414,866 || DurstAuric; the narb of ROBLOX ]=- ( ͡• ◡ ͡•)
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