Raised This Month: $32 Target: $400
 8% 

Obfuscated Coding Contest


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 03-20-2006 , 21:44  
#21

Weeeeeeeeeeeee

Code:
#include <amxmodx> #define GHW_Chronic public #define fails plugin_init #define at ( #define life ) #define and { #define loses } GHW_Chronic fails at life and loses
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 03-20-2006 , 21:50  
#22

See, I'm not too positive that you should actually be able to do that, cause then the code will be uber impossible to read and anyone could make messy ass code that way.

Code:
#define 13628 ( #define 12124 { #define 11823 _ #define 10623 public #define 18325 ) #define 10747 plugin #define 16526 init 10623 10747118231652613628183251212419823
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
Freecode
Never Fall Asleep
Join Date: Jan 2004
Old 03-20-2006 , 22:01  
#23

cmon chronic, you should noe better then start names with #'s.

Heres a perfect example:
Code:
#include <amxmodx> #define yams () #define eax { #define ys } #define butitlookseasy ihaveneverdonethisbefore #define so ( #define o "hi pm, freecode" #define s_ , #define ape "pmsta" #define ihaveneverdonethisbefore ; #define px return #define o034272\x PLUGIN_HANDLED #define riddick new #define hi butitlookseasy #define dont_eat_apes client_print @plugin_init  yams  eax      register_plugin(o s_      o s_ o ) ihaveneverdonethisbefore              register_clcmd(" gaben " s_      ape) butitlookseasy            ys @pmsta so eat ) eax      riddick some = 3 hi                                  dont_eat_apes(    eat s_ some s_    o) butitlookseasy    px o034272\x hi    ys
Freecode is offline
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 03-20-2006 , 22:17  
#24

this is going to be rediculously easy. I happen to have made a php script that with the smallest amount of modification could change any script I write into a series of numbers and defines that would compile just fine.

Code:
#define 9543219873287213891329843621977616554987312987326198641 Chronic Wins. 9543219873287213891329843621977616554987312987326198641
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
Freecode
Never Fall Asleep
Join Date: Jan 2004
Old 03-20-2006 , 22:22  
#25

1 you cant start variable names with numbers
2 you have 2 space between defines and variables
Freecode is offline
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 03-20-2006 , 22:25  
#26

then every define will start with a letter and... other stuff will happen to make this work O_o
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 03-20-2006 , 22:26   Re: Obfuscated Coding Contest
#27

Quote:
Originally Posted by BAILOPAN
[*]Addendum - You can rely on up to five configuration files (binary or text) that you supply in your zip file. None of them can exceed the size of your plugin.
So can we have an 8 KB .sma file and 5 config files that are also 8 KB or does the combined size of all of them have to be 8 KB Total?
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
Locks
Senior Member
Join Date: Sep 2005
Old 03-21-2006 , 00:46  
#28

What u could do is make it so then you have to pay a certain amount of money for a certain amount of step you take.
Locks is offline
BAILOPAN
Join Date: Jan 2004
Old 03-21-2006 , 00:48  
#29

8KB per extra config file. This was added so you couldn't easily just include a 200KB module or something, then have the plugin copy it to modules folder.
__________________
egg
BAILOPAN is offline
capndurk
Senior Member
Join Date: Feb 2006
Old 03-21-2006 , 12:36  
#30

Quote:
Originally Posted by BAILOPAN
it should compile (I'm using it in a sample plugin), if not, oh well ;) you get the idea
Tsk tsk, Bailopan, you should know better.

Code:
#include <amxmodx>

capndurk is offline
Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:41.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode