Mine GO BOOM Hunch Hunch What What

Age:41 Gender: Joined: Aug 01 2002 Posts: 3615 Location: Las Vegas Offline
|
Posted: Tue Jan 21, 2003 4:34 pm Post subject: Formats for posting code |
 |
|
|
|
When posting your code, either new or edited, you should follow these guidelines:
- Get a diff output of your changes. Usually done via logging into the CVS server, and doing a diff -u
- Give original coder credit. If you posted something that was original done by someone else (such as convert a Stats bot for MERV over to a module for ASSS), give the original author credit. You can say something like "Converted Stats bot created by John Doe over to ASSS, heres the files".
- Expect your code to get ripped apart by others! When dealing with open source projects, people like to try to keep most of the project looking alike. So if one person uses {} on new lines, and you compress sections into a small line with little spacing, people will post a reply with a fixed version. Do not take offence at this! They are trying to be helpful in keeping the project clean.
- The server was originally written in C, so if you add new things, try to also keep it in C. If your doing a chat bot or something else that connects to the server via a protocol, you can have free game at whatever language floats your boat, but if you write new modules, try to keep it in C.
- Don't add features named after yourself. Everyone has the idea of having a ?YourNameHere type command that makes them into a god, or causes 500 bot-controlled turret guns to appear to nuke everything. If your command does add something new, like a smart bot, or a nice feature, try and name the command after what it does, not who thought it up. It is just tacky.
|
|