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
 

[CHALLENGE] Print function

Previous Thread :: Next Thread 
popinman322 is not online. popinman322
Joined: 04 Mar 2009
Total Posts: 5184
16 Jan 2013 03:28 PM
The challenge is to make a print function in Hack VM on your own.

The only limitation is that you must use the JavaScript version, the following memory data:
72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33

The string length is 13, final output should say "Hello, world!" without quotes.

Please remember that your entry should be a function.
Report Abuse
popinman322 is not online. popinman322
Joined: 04 Mar 2009
Total Posts: 5184
16 Jan 2013 03:28 PM
, and the following*
Report Abuse
Tenal is not online. Tenal
Joined: 15 May 2011
Total Posts: 18684
16 Jan 2013 04:17 PM
print("Hello World!")
Report Abuse
CloneTrooper1019 is not online. CloneTrooper1019
Joined: 19 Jan 2009
Total Posts: 6227
16 Jan 2013 04:18 PM
^
Report Abuse
AbsoluteLOL is not online. AbsoluteLOL
Joined: 01 Dec 2012
Total Posts: 3939
16 Jan 2013 04:25 PM
Guys, I think he wants some sort of Memory Injection...
Or not.

<< AʙsᴏʟᴜᴛᴇLOL ​>>
Report Abuse
DannyCore is not online. DannyCore
Joined: 25 Apr 2012
Total Posts: 990
16 Jan 2013 04:35 PM
ain't nobody got time for that
Report Abuse
Sorcus is not online. Sorcus
Forum Moderator
Joined: 29 Nov 2010
Total Posts: 3775
16 Jan 2013 04:36 PM
@AbsoluteLOL what? he is asking you to modify the VM... He even says it in his message

~Sorcus
Report Abuse
iOpened is not online. iOpened
Joined: 31 Mar 2012
Total Posts: 638
16 Jan 2013 04:39 PM
^
troll
Report Abuse
NXTBoy is not online. NXTBoy
Joined: 25 Aug 2008
Total Posts: 4533
16 Jan 2013 04:44 PM
This is my `print13` function:

    00^<​P1+0^<​P1+0^<​P1+0^<​P1+0^<​P1+0^<​P1+0^<​P1+0^<​P1+0^<​P1+0^<​P1+0^<​P1+0^<​P1+0^<​P
Report Abuse
NXTBoy is not online. NXTBoy
Joined: 25 Aug 2008
Total Posts: 4533
16 Jan 2013 04:50 PM
And, we're done here: `00^<​0^9?P1+08-8-g`
Report Abuse
popinman322 is not online. popinman322
Joined: 04 Mar 2009
Total Posts: 5184
16 Jan 2013 05:28 PM
@NXTBoy

Haha, nice one.

New rule:
The function must be able to print strings of arbitrary length. ;)
Report Abuse
popinman322 is not online. popinman322
Joined: 04 Mar 2009
Total Posts: 5184
16 Jan 2013 06:09 PM
My function:

t.co/BtqOzALq
Report Abuse
Oysi is not online. Oysi
Joined: 06 Jul 2009
Total Posts: 9058
16 Jan 2013 06:35 PM
[ Content Deleted ]
Report Abuse
NVI is not online. NVI
Joined: 11 Jan 2009
Total Posts: 4744
16 Jan 2013 06:37 PM
@Oysi

At least he's capable :P
Report Abuse
LPGhatguy is not online. LPGhatguy
Forum Moderator
Joined: 27 Jun 2008
Total Posts: 4725
16 Jan 2013 06:37 PM
You know what would make this thread remarkably more relevant?

Make a Lua implementation of Hack VM and implement a friendly ROBLOX interface.
Report Abuse
Quenty is not online. Quenty
Joined: 03 Sep 2009
Total Posts: 9316
16 Jan 2013 08:30 PM
"friendly ROBLOX interface"

We have a contradiction here. The contradiction is in the middle of the two other words, preventing that noun from every existing.

On the other hand, this really isn't relevant, although it is cool.
Report Abuse
kingkiller1000 is not online. kingkiller1000
Joined: 12 Dec 2008
Total Posts: 26415
16 Jan 2013 08:52 PM
> "I'm sorry, but since you made it I have to add another rule so I will still be best"

Oxcool1 is the one that was doing that to you, not popinman.
Report Abuse
NXTBoy is not online. NXTBoy
Joined: 25 Aug 2008
Total Posts: 4533
17 Jan 2013 01:13 AM
@popin, my second answer does follow that rule, and is around half the size of yours.
Report Abuse
Oysi is not online. Oysi
Joined: 06 Jul 2009
Total Posts: 9058
17 Jan 2013 05:12 AM
[ Content Deleted ]
Report Abuse
popinman322 is not online. popinman322
Joined: 04 Mar 2009
Total Posts: 5184
17 Jan 2013 05:37 AM
@Oysi

He won, the rule only takes effect on entries after it. :O

@NXTBoy

Analyzing...
Report Abuse
popinman322 is not online. popinman322
Joined: 04 Mar 2009
Total Posts: 5184
17 Jan 2013 05:39 AM
@NXT

Oh, I see.

Yours relies on the string starting at 0 and uses errors to terminate effectively.

I made mine to take a cell address and length as well as clean the stack before exiting.
Report Abuse
SN0X is not online. SN0X
Joined: 24 Oct 2011
Total Posts: 7277
17 Jan 2013 10:35 AM
my reaction to this thread/OP:

wat
Report Abuse
Prehistoricman is not online. Prehistoricman
Joined: 20 Sep 2008
Total Posts: 12490
17 Jan 2013 11:09 AM
My reaction to this thread:

This is just rea-

Wow, it's snowing :D
Report Abuse
BrandonFireflower is not online. BrandonFireflower
Joined: 09 Feb 2010
Total Posts: 731
17 Jan 2013 11:46 AM
My reaction to this thread:

...wutwhy
Report Abuse
AbsoluteLOL is not online. AbsoluteLOL
Joined: 01 Dec 2012
Total Posts: 3939
17 Jan 2013 02:21 PM
Sorcus, I was being sarcastic. I just forgot to add a "/sarc".
Don't get all Sorcy on me.

<< AʙsᴏʟᴜᴛᴇLOL ​>>
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 2Go to page: [1], 2 Next
 
 
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