This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

Obfuscated Coding Contest


Post New Thread Closed Thread   
 
Thread Tools Display Modes
mysticssjgoku4
Veteran Member
Join Date: Jan 2005
Location: Chicago Heights, IL
Old 03-21-2006 , 22:25  
#41

Hah, you've yet to see my coding skills.

I created a 15 file RP plugin system, which uses 1 SQL connection, runs very smoothly, and communicates through-out back and forth to each other.

The code is pretty clean, some parts of it could possibly be cleaner, but it's very dynamic, and I've put a lot of work into optimizing and coding new features that no one else has .

Here's a summary of some of the features:

Mods:

DoorMod
- Open/Close Doors, Even able to unlock/lock them.
-- amx_lockdoor 1-lock(access only with keys), 0-unlock(access to anyone with or without keys).
-- amx_changelocks (Allows for you to reset the keys for your property.)

KeyMod
- Let's self carry keys as items. Can be access by typing
-- /keys.

Economy Mod
- MoneyMod, Banking, Jobs, Orgs, Etc.
- /buy

JailMod
- Cops only, Can issue jailtime, and cops are notified once time is up.
-- amx_jailtime <time>

Jail-Teleport-Mod
- Cops only, Can teleport user to jail or gaschamber.
-- amx_jailmenu

CarMod
- Functionality to buy and use cars.
-- Type /buycar to purchase a car.
-- Type /cars to select a primary car.
-- Type /cartoggle to use the car.

PayTimerMod
- Offers two different pay times. You get paid either Daily or Hourly. Daily you wait longer but get an extra amount of money added onto your end check.

SlotMod
- Offers the ability to buy slots and use them to carry many more weapons.

ItemMod
- Allows the ability to purchase and carry items.
-- /items

RobMod
- Grants the Ability to Rob the 7-11, Nightclub, Cafe, Bar, and Bank
-- /buy and press 4.

DMBanMod
- Partially Automatic process. This DM Counter give you 5 chances. After the 5 chances you get banned. You can only be banned 2 times before you get banned your 3rd time, PERMANENTLY. When you kill another user, they are shown a menu that reads.
#############
## Did *UserName*
## Just DM You:
##
## 1) Yes
## 2) No
#############

CuffMod
- Grants police officials the ability to cuff anyone.
-- /cuff

RestrainMod
- Grants police officials the ability to restrain users.
-- /restrain

TalkArea
- Many functions linked to the say command to community to any user on the server.
-- /ooc - Out of Character
-- /all - ALL TALK IN CHARACTER
-- say_team - ALL TALK OUT OF CHARACTER
-- /shout - Yells
-- /whisper - Silently talks
-- /cnn - Important Information
-- /advert - Advertisement - IN CHARACTER

SelfEmployment Mod
- Offers the ability to employ one's self as a random job.
- Go to the Unemployment Center, and Talk to the NPC. Enter a JobID attained by typing
-- amx_joblist 5

FineMod
- Gives anyone the ability to fine another user. Half of the fine goes to the user.
-- /fine <amount>

NoteBoard Mod
- A very prestigious addon. Not fully functionable, but works.
-- amx_postnote (Follow the instructions)
1) Enter a topic after the command
---- amx_postnote "Alert"
2) Enter the messege, limit it to 64 characters.
---- amx_postnote "This is a test messege to verify the functionality of the post board."
3) amx_postnote (Verify you typed it correctly.
4) amx_postnote 1- post , 0- discard.

GunItem Mod
- Ability to purchase guns as items, which are stored inside your inventory.




Addons:

Jail Status
- Shows police officials who's in jail, and for how long.

CuffPicks
- Item which can be purchased at the black market. Grants the ability to remove cuffs.

RestrainCutters
- Item which can be purhcased at the black market. Grants the ability to cut restrain ties off an induvidual.
__________________

mysticssjgoku4 is offline
Send a message via AIM to mysticssjgoku4 Send a message via MSN to mysticssjgoku4
capndurk
Senior Member
Join Date: Feb 2006
Old 03-21-2006 , 22:30  
#42

Quote:
Originally Posted by GHW_Chronic
with all due respect, I'm sure that this contest will be pretty close and not doubting your horrible skills but I don't think you'de win.... i guess its kind of like lusing really...
If your coding is as bad as your spelling, I'd put my money on you.

Quote:
Originally Posted by mysticssjgoku4
Hah, you've yet to see my coding skills. Razz

I created a 15 file RP plugin system, which uses 1 SQL connection, runs very smoothly, and communicates through-out back and forth to each other.

The code is pretty clean, some parts of it could possibly be cleaner, but it's very dynamic, and I've put a lot of work into optimizing and coding new features that no one else has Razz.
This contest's limitations lie not primarily within a person's coding skills but within his creativity level.
capndurk is offline
Jordan
Veteran Member
Join Date: Aug 2005
Old 03-21-2006 , 23:40  
#43

But if it's 15 files doesn't it break this rule?

Quote:
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.
Jordan is offline
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 03-22-2006 , 05:16  
#44

You may submit as many plugins as you like
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
mysticssjgoku4
Veteran Member
Join Date: Jan 2005
Location: Chicago Heights, IL
Old 03-22-2006 , 14:29  
#45

Quote:
Originally Posted by ^_^Satan^_^
But if it's 15 files doesn't it break this rule?

Quote:
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.
Keyword: configuration files.
Examples: .cfg .ini

I use two, one for CVAR values and 1 for SQL related settings.

__________________

mysticssjgoku4 is offline
Send a message via AIM to mysticssjgoku4 Send a message via MSN to mysticssjgoku4
QuakerOates
Senior Member
Join Date: Mar 2004
Old 03-22-2006 , 15:20  
#46

Quote:
Originally Posted by bOoya
and the winner gets a job at VALVe !
LOL
__________________
SteamBans.org
QuakerOates is offline
MistaGee
Senior Member
Join Date: Aug 2004
Location: Germany (Fulda)
Old 03-30-2006 , 07:04   Re: Obfuscated Coding Contest
#47

Quote:
Originally Posted by BAILOPAN
Need an example of "obfuscated code"? Here's a quick, terrible way to register a plugin:
Code:
#define G(%1,%2,%3,%4,%5) %3%1%4%5%2 #define dotcom () @plugin_init dotcom {      G(egis,cmd,r,ter,_cl)("terrible", "1.0", "bail") }
Bail, is that part of obfuscating stuff? you're not registering a plugin but a client command there
Should we add comments that are simple lies to further confuse ppl reading?

Greetz MGee
__________________
Ich hab nie behauptet dass ich kein Genie bin!
Mumble-Django: A web interface for Mumble
MistaGee is offline
Send a message via ICQ to MistaGee
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 03-30-2006 , 20:38   Re: Obfuscated Coding Contest
#48

Quote:
Originally Posted by BAILOPAN
Code:
#define G(%1,%2,%3,%4,%5) %3%1%4%5%2 #define dotcom () @plugin_init dotcom {      G(egis,cmd,r,ter,_cl)("terrible", "1.0", "bail") }
unscrambled.
Code:
register_clcmd("terrible","1.0","bail")

you sure about that?
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
BAILOPAN
Join Date: Jan 2004
Old 03-30-2006 , 23:55  
#49

GASP -- it's a bug.
__________________
egg
BAILOPAN is offline
OneEyed
AMX Mod X Beta Tester
Join Date: Jun 2005
Old 04-10-2006 , 00:21  
#50

so who wins...
__________________
OneEyed 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 00:19.


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