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: Most "Hackish" Thing You've Ever Made?

Previous Thread :: Next Thread 
smallshadow68 is not online. smallshadow68
Joined: 03 Feb 2013
Total Posts: 606
02 May 2014 04:18 PM
To scripters near and far: what is the biggest or grandest thing you've ever scripted that you would call "hackish?"
Report Abuse
OneTrueGodTheHolyCow is not online. OneTrueGodTheHolyCow
Joined: 24 Oct 2013
Total Posts: 9350
02 May 2014 04:19 PM
yo moma

sorry couldn't help it
Report Abuse
stravant is not online. stravant
Forum Moderator
Joined: 22 Oct 2007
Total Posts: 2893
02 May 2014 04:24 PM
Such a hack that is in all Roblox places thanks to me:

local Create = LoadLibrary('RbxUtility').Create

local intValue = Create'IntValue'{
Name = 'blah';
Parent = Workspace;
[Create] = function(this)
print(this.Name) --> Value
end;
[Create.E'Changed'] = function(newValue)
print("Value changed -> "..newValue)
end;
Create'IntValue'{
Name = 'Child';
};
}
Report Abuse
smallshadow68 is not online. smallshadow68
Joined: 03 Feb 2013
Total Posts: 606
02 May 2014 04:26 PM
I don't feel safe anymore.
Report Abuse
zars15 is not online. zars15
Joined: 10 Nov 2008
Total Posts: 9999
02 May 2014 04:58 PM
Probably I could say the dirtiest thing I've done, is attempt to keep mouse locked within first person, while having camera attached to helicopeter and still getting mouse movement delta.

It kind of did work, but it was also very derpy and unstable at same time.
Report Abuse
dogwarrior24 is not online. dogwarrior24
Joined: 10 Nov 2010
Total Posts: 1401
02 May 2014 05:02 PM
Not sure if you would call it hackish, but i pretty much made a custom wait() function via coroutines

sleep = function(time)
if not time or time == 0 then
local T = tick()
coroutine.yield(coroutine.resume(coroutine.create(function() end)))
return tick()-T
end
local t = 0
repeat
local T = tick()
coroutine.yield(coroutine.resume(coroutine.create(function() end)))
t = t + (tick()-T)
until t >= time
return t
end
Report Abuse
noobertuber is not online. noobertuber
Joined: 16 Jan 2007
Total Posts: 2321
02 May 2014 05:09 PM
Mine's pretty much exactly what zars' is.

-God Bless-
Report Abuse
200AB is not online. 200AB
Joined: 24 Aug 2010
Total Posts: 1604
02 May 2014 06:00 PM
@SN0X
So you're his grandparent...?
Report Abuse
smallshadow68 is not online. smallshadow68
Joined: 03 Feb 2013
Total Posts: 606
02 May 2014 06:12 PM
@200AB

???????????
Report Abuse
MrChubbs is not online. MrChubbs
Joined: 14 Oct 2010
Total Posts: 4969
02 May 2014 06:21 PM
Web crawler in ruby, 90% regexs, ignores robots.txt, and it core dumps around the 100k indexed point. Fun though.
Report Abuse
Nikola7007 is not online. Nikola7007
Joined: 20 May 2013
Total Posts: 7998
02 May 2014 06:30 PM
A program in VB that moves your mouse around to random positions really quickly.
A program in VB that, when you try to close it, opens 5 more windows.
A program in VB that shows a fake "Network Wipe Wizard"

All this in my school comp sci class XD
Report Abuse
MrChubbs is not online. MrChubbs
Joined: 14 Oct 2010
Total Posts: 4969
02 May 2014 06:31 PM
Son, visual basic doesn't count for anything.
Report Abuse
Nikola7007 is not online. Nikola7007
Joined: 20 May 2013
Total Posts: 7998
02 May 2014 06:32 PM
It's a fun language.
Report Abuse
stravant is not online. stravant
Forum Moderator
Joined: 22 Oct 2007
Total Posts: 2893
02 May 2014 06:32 PM
Oh man, regexes. That reminds me of a particularly nasty bit of regex I wrote recently:

pattern:gsub('([%(%)%^%$%%%.%+%-])', '%%%1'):gsub('%*', '[^\n]-')

What exactly it does is left as an exercise to the reader.
Report Abuse
morash is not online. morash
Joined: 22 May 2010
Total Posts: 5834
02 May 2014 06:38 PM
@Nikola: You should of made a program that moved a window with the mouse. Mouse moves up, window moves up, mouse moves down, window moves down. Or a program that appears messed up by doing a random event that the buttons label doesn't suggest.
Report Abuse
smallshadow68 is not online. smallshadow68
Joined: 03 Feb 2013
Total Posts: 606
02 May 2014 06:40 PM
@stravant

Ok, so after deciphering the third section I was able to locate the rat's skull at the base of the hollow tree. However, the Vignere cipher in the subexpression is really catching me up.

WHAT CAN IT BE?
Report Abuse
stravant is not online. stravant
Forum Moderator
Joined: 22 Oct 2007
Total Posts: 2893
02 May 2014 06:47 PM
It's actually not as ugly as it looks:

:gsub('([%(%)%^%$%%%.%+%-])', '%%%1')

Replaces all pattern matching special characters with the escaped versions of themselves.
EG: `^` -> `%^`

:gsub('%*', '[^\n]-')

Replace all `*`s with matches of the fewest number of arbitrary characters to satisfy the match.

It's for implementing a search function on Lua code in which you can input a "wildcard" in the form of `*`, but all other special characters are treated literally, rather than as regex special characters.
Report Abuse
smallshadow68 is not online. smallshadow68
Joined: 03 Feb 2013
Total Posts: 606
02 May 2014 06:51 PM
@stravant

Don't know if smart and useful or troll-ish.

>____________>
Report Abuse
200AB is not online. 200AB
Joined: 24 Aug 2010
Total Posts: 1604
02 May 2014 06:54 PM
@small
You asked what is the biggest or grandest thing you've ever made, SN0X (OneTrueGodTheHolyCow) replied with "yo moma".
I then went on to ask for confirmation that SN0X was your grandparent.
What's hard to understand?
Report Abuse
Maroy is not online. Maroy
Joined: 15 Mar 2009
Total Posts: 59
02 May 2014 10:54 PM
I'm sure I have some truly despicable Javascript laying around somewhere, but the most recent thing I can think of is the RichTextLabel script I made for Roblox, which involves lots of .TextBounds and .AbsolutePosition properties getting passed around from client to server. So hideous.
Report Abuse
RenderSettings is not online. RenderSettings
Joined: 16 Aug 2010
Total Posts: 2560
02 May 2014 11:22 PM
I'm pretty sure reading heap metadata to find the next valid allocation is significantly hacky, in both senses. Bonus points for using a known allocation to leak the heap XOR security key.
Other then that, I've written some truely hideous regex...
Report Abuse
MettaurSp is not online. MettaurSp
Joined: 20 Mar 2010
Total Posts: 3179
03 May 2014 12:37 AM
In a game I am working on, I am unloading the main script's environment into a lot of ModuleScripts in order to break it up and have to change barely anything. Each ModuleScript that does that has ugly methods of doing so.
Report Abuse
dennis96411 is not online. dennis96411
Joined: 06 Mar 2009
Total Posts: 1079
03 May 2014 12:41 AM
Uh... this? http://www.roblox.com/External-HTTP-Image-Renderer-place?id=112306627
Report Abuse
OneTrueGodTheHolyCow is not online. OneTrueGodTheHolyCow
Joined: 24 Oct 2013
Total Posts: 9350
03 May 2014 02:18 AM
"So you're his grandparent...?"

...Urr, maybe...
Report Abuse
Nikola7007 is not online. Nikola7007
Joined: 20 May 2013
Total Posts: 7998
03 May 2014 08:58 AM
@dennis Isn't that a bit edgy? XD
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