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
 

Re: Scripting Challenge

Previous Thread :: Next Thread 
oxcool1 is not online. oxcool1
Joined: 05 Nov 2009
Total Posts: 15444
14 Aug 2012 05:06 AM
[ Content Deleted ]
Report Abuse
JulienDethurens is not online. JulienDethurens
Joined: 11 Jun 2009
Total Posts: 11046
14 Aug 2012 05:07 AM
Good luck solving it. ;)
Report Abuse
Prehistoricman is not online. Prehistoricman
Joined: 20 Sep 2008
Total Posts: 12490
14 Aug 2012 05:10 AM
Is this even possible?
Report Abuse
JulienDethurens is not online. JulienDethurens
Joined: 11 Jun 2009
Total Posts: 11046
14 Aug 2012 05:10 AM
I assure you that it is.
Report Abuse
Prehistoricman is not online. Prehistoricman
Joined: 20 Sep 2008
Total Posts: 12490
14 Aug 2012 05:13 AM
Something to do with coroutines or metatables I guess. Nothing I want to do :/
Report Abuse
Prehistoricman is not online. Prehistoricman
Joined: 20 Sep 2008
Total Posts: 12490
14 Aug 2012 05:21 AM
I bet this is a loophole in the rules so don't consider it a solution :)

loadstring(string.reverse([[dne )"ih"(tnirp od eurt elihw]]))
Report Abuse
trappingnoobs is not online. trappingnoobs
Joined: 05 Oct 2008
Total Posts: 19100
14 Aug 2012 05:22 AM
print("a certain string endlessly")

kthx
Report Abuse
JulienDethurens is not online. JulienDethurens
Joined: 11 Jun 2009
Total Posts: 11046
14 Aug 2012 05:23 AM
You're not allowed to create functions, and loadstring creates a function.
Report Abuse
JulienDethurens is not online. JulienDethurens
Joined: 11 Jun 2009
Total Posts: 11046
14 Aug 2012 05:24 AM
@trappingnoobs

If you were supposed to print "a certain string endlessly", then it'd have been put in quotes, duh.
Report Abuse
Prehistoricman is not online. Prehistoricman
Joined: 20 Sep 2008
Total Posts: 12490
14 Aug 2012 05:25 AM
Oh yeah ._.

@trapping

Win.
Report Abuse
trappingnoobs is not online. trappingnoobs
Joined: 05 Oct 2008
Total Posts: 19100
14 Aug 2012 05:29 AM
you just did put it in quotes
Report Abuse
JulienDethurens is not online. JulienDethurens
Joined: 11 Jun 2009
Total Posts: 11046
14 Aug 2012 05:31 AM
I did put it in quotes in my previous post, but my previous post isn't the challenge itself, duh.

The challenge you're trying to solve is in the first post.
Report Abuse
trappingnoobs is not online. trappingnoobs
Joined: 05 Oct 2008
Total Posts: 19100
14 Aug 2012 05:36 AM
can we use metamethods?
Report Abuse
oxcool1 is not online. oxcool1
Joined: 05 Nov 2009
Total Posts: 15444
14 Aug 2012 05:38 AM
[ Content Deleted ]
Report Abuse
trappingnoobs is not online. trappingnoobs
Joined: 05 Oct 2008
Total Posts: 19100
14 Aug 2012 05:40 AM
they are functions
Report Abuse
trappingnoobs is not online. trappingnoobs
Joined: 05 Oct 2008
Total Posts: 19100
14 Aug 2012 05:42 AM
print(setmetatable({}, {__index = function() print("Hello") return "Hello" end}))
Report Abuse
oxcool1 is not online. oxcool1
Joined: 05 Nov 2009
Total Posts: 15444
14 Aug 2012 05:43 AM
[ Content Deleted ]
Report Abuse
JulienDethurens is not online. JulienDethurens
Joined: 11 Jun 2009
Total Posts: 11046
14 Aug 2012 05:43 AM
@trappingnoobs

They're not necessarily functions.

Take the __index metamethod, for example. You can set it to a table.

However, I don't really like the word "metamethod", because that would imply they are methods about methods, which is definitely not true.
Report Abuse
trappingnoobs is not online. trappingnoobs
Joined: 05 Oct 2008
Total Posts: 19100
14 Aug 2012 05:43 AM
oh wait

print(setmetatable({}, {__index = function(t, k) print(k) return t[k] end})["Hello"])
Report Abuse
JulienDethurens is not online. JulienDethurens
Joined: 11 Jun 2009
Total Posts: 11046
14 Aug 2012 05:44 AM
@trappingnoobs

You are not allowed to create functions, remember.
Report Abuse
trappingnoobs is not online. trappingnoobs
Joined: 05 Oct 2008
Total Posts: 19100
14 Aug 2012 05:45 AM
""metamethod", because that would imply they are methods about methods"

it implies they are methods regarding additional information
Report Abuse
trappingnoobs is not online. trappingnoobs
Joined: 05 Oct 2008
Total Posts: 19100
14 Aug 2012 05:51 AM
bleh can't think of a way to make a metamethod recursive in one statement. :(
Report Abuse
oxcool1 is not online. oxcool1
Joined: 05 Nov 2009
Total Posts: 15444
14 Aug 2012 06:01 AM
[ Content Deleted ]
Report Abuse
JulienDethurens is not online. JulienDethurens
Joined: 11 Jun 2009
Total Posts: 11046
14 Aug 2012 06:01 AM
Bump.
Report Abuse
trappingnoobs is not online. trappingnoobs
Joined: 05 Oct 2008
Total Posts: 19100
14 Aug 2012 06:14 AM
why bump twice in a minute on such a slow forum?
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