DIR Return Create A Forum - Home
---------------------------------------------------------
UAC Cops 'n' Robbers, Gang Wars, Civil
ians
HTML https://uac3.createaforum.com
---------------------------------------------------------
*****************************************************
DIR Return to: Ideas and Suggestions
*****************************************************
#Post#: 63--------------------------------------------------
[READ ME] Community Development Procedures
By: Ir0nHide Date: January 6, 2018, 9:33 am
---------------------------------------------------------
DO NOT WASTE YOUR TIME MAKING NEW FEATURES. THE SERVER IS
ALREADY LAGGY ENOUGH AS IT IS.
Purpose
The purpose of this board is to allow the community to make
development contributions, as some people have tried to send me
scripts and I have allowed previous experiences to cloud my
judgement causing me to get angry and refuse to co-operate with
them, even though these people actually spent considerable time
I didn't appreciate their effort and for that I am sorry and to
make up for it I have developed this new system which will allow
me to add peoples work without getting so stressed and consuming
lots of time.
The Procedure
1. Look at some scripts and complete a basic script on your
local server then ask yourself 2 questions: "Can I handle this?"
and "Can I be bothered seeing this to completion?" If the answer
to both questions is yes then proceed.
2. OPTIONAL: Post a suggestion in 'Ideas and Suggestions' state
that you want to work on the idea and see what interest it gets.
3. Begin work on your script. Learn from this board using the
sticky topics that contain information and CIP specifics and
from other peoples work. Ask questions if you're stuck (it's
much quicker than spending 10x longer trying to figure it out
yourself) also the MTA forum has a board dedicated to scripting
questions and scripting tutorials which should help you.
4. Test the hell out of your script. Don't use it how you
intend, use it like you're intentionally trying to break it.
Think like an exploiter. Good example is when your script
expects a number what if someone submits a negative number or a
number with a decimal? Your script needs to handle all sorts of
stupid stuff.
5. Quality over quantity. If there's anything your script might
need it's much easier to add it at the beginning, especially GUI
changes like adding a search box, once your script has been
added I might not allow changes so you should make sure it's
damn good before submitting it's so good you should have no
doubts, you should be proud of it. It's better to make 1 script
that's awesome and players will respect you for making it, than
3 "meh" scripts that nobody uses. I've been scripting for so
many years I can't even remember, so trust me.
6. Submission time. You will be posting your hard work in a
topic that any JCM+ can view. Letting everyone see your hard
work which could possibly get stolen and used on another server
is a necessary sacrifice because without this step the script
would never get on the server. Other players who understand
scripting should look through your script (hopefully they would
test it too) and they will point out any flaws they spot.
Hopefully you won't have any but if they don't spot any flaws I
will be suspicious that nobody actually checked properly. This
step saves me a most time so it's essential. A community
developer (me if there isn't one yet) will have to approve your
script which means they've checked it to verify that it is to
the best of their knowledge, flawless.
7. The temperature rises. I check the script myself. Probably
the most experienced MTA scripter is now checking your script so
if there's any bugs, debugs, inefficiencies or exploits they'll
be spotted and if I spot any I'll either be pissed that nobody
already spotted it or I will update a topic that lists all the
things to do when scripting as I know many things that nobody
else does especially when it comes to making efficient scripts.
8. It's game time. I add the script and briefly test it myself
on the private development server. I then set it running on the
main server and if it's good then good things are coming your
way. If everything is still going well after a day then it gets
added to the start list (resources that start when the server
starts) and your work is now officially part of the server.
Topic Tags
To help keep the board organized please tag (put [TAG NAME] at
the beginning) of your topic titles:
[SUBMISSION] - When you are submitting a script and the
community needs to check it.
[APPROVED] - Only set it to this once a script has been submit
and approved.
[COMPLETED] - When a script has been officially added to the
server.
[ADVICE] - When you need scripting advice and put a specific
(not just "help please") topic title too.
[REQUEST] - Request an export / event / etc for existing
scripts.
Topic format
You need to use this format when making [SUBMISSION], your
submission won't be reviewed until you add a format to it. It is
needed so developers can get to the right point directly.
[code]
Suggestion:
Screenshots:
Features:
Script:
Note to developers:[/code]
*****************************************************