SA-MP Forums Archive
What do you think is the worst part of scripting? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Discussion (https://sampforum.blast.hk/forumdisplay.php?fid=84)
+---- Thread: What do you think is the worst part of scripting? (/showthread.php?tid=432719)

Pages: 1 2


What do you think is the worst part of scripting? - DobbysGamertag - 23.04.2013

The title says it all

For me, what i know of so far. Is adding coordinates for missions.

Your turn


Re: What do you think is the worst part of scripting? - Scenario - 23.04.2013

Finding ways to make everything dynamic.


Re: What do you think is the worst part of scripting? - DobbysGamertag - 23.04.2013

Explain the benefits of dynamic to me? i've seen Dynamic pickups being mentioned, but what is the benefits of such a thing?

I have a new "worst part". Realising you can:

pawn Code:
#define C CMD //defining c as CMD.
Such a noob mistake


Re: What do you think is the worst part of scripting? - mastermax7777 - 23.04.2013

worse part is debugging your script u can take hours if u dont know whats wrong and nobody can help you


Re: What do you think is the worst part of scripting? - Scenario - 23.04.2013

Quote:
Originally Posted by DobbysGamertag
View Post
Explain the benefits of dynamic to me? i've seen Dynamic pickups being mentioned, but what is the benefits of such a thing?
Basically, dynamic is the opposite of static.

If you take a look at the original GodFather game-mode, it's a GREAT example of how (almost) everything is static. For example, there are static vehicles, static factions, static objects, etc, etc.

A good dynamic system basically means that NOTHING is static and that everything can be added/removed/edited without ever having to open up the script and do it. It's quite handy in modern RP servers where factions, vehicles, and objects should be added on the fly.


Re: What do you think is the worst part of scripting? - steki. - 23.04.2013

Quote:
Originally Posted by RealCop228
View Post
Finding ways to make everything dynamic.
Are you kidding? I L-O-V-E doing that!
The worst part for me certainly is when an important subtask is required to finish the script and this subtask requires another one and you enter in a hopefully finite loop.


Re: What do you think is the worst part of scripting? - CyNiC - 24.04.2013

Actually the worst part for me is type long codes/messages, is boring because I do not have much free time for games.


Re: What do you think is the worst part of scripting? - ReneG - 24.04.2013

Anything related to front-end development.


Re: What do you think is the worst part of scripting? - MP2 - 24.04.2013

Bugs, of course.


Re: What do you think is the worst part of scripting? - DobbysGamertag - 24.04.2013

Quote:
Originally Posted by Y_Less
Посмотреть сообщение
Documentation and writing tests (I suspect that would be many people's worst part if other people actually did it).
I'd love to learn how to write out some of the stuff i've seen in your include files. Some of that just puzzles me. Most makes sense like y_hooks and such. But the rest. Woah.


Re: What do you think is the worst part of scripting? - Y_Less - 24.04.2013

I do try and document all the new things I discover and all the techniques I use. From there its a case of really understanding them and applying them. Some people have had success in using my tutorials to do similar things so it can be done but I admit it isn't easy - I've got a lot of experience and use a lot of techniques that build on each other in combination.

And funny you should single out y_hooks - the new version of that is VERY complex, but also VERY well documented.


Re: What do you think is the worst part of scripting? - Yashas - 24.04.2013

The worst part in scripting is you get some strange error and you don't know what it is since the compiler was written by an English Professional and has very good vocabulary.




Re: What do you think is the worst part of scripting? - Y_Less - 24.04.2013

That's why we have the language documentation...


Re: What do you think is the worst part of scripting? - Emmet_ - 24.04.2013

The worst part of scripting is doing the saving and loading part of a script (if it's a gamemode or a script that saves variables). Gotta choose what file system you're gonna use haha.


Re: What do you think is the worst part of scripting? - Sinner - 24.04.2013

Testing for sure


Re: What do you think is the worst part of scripting? - thefatshizms - 24.04.2013

Writing huge arrays is a bitch.


Re: What do you think is the worst part of scripting? - doreto - 24.04.2013

Testing / debugging to make sure everything is working fine


Re: What do you think is the worst part of scripting? - Dan.. - 24.04.2013

Testing and debugging is by far the most annoying part of development.


Re: What do you think is the worst part of scripting? - Ryan_Obeles - 24.04.2013

1st. Making most of your ideas come true (like furniture for the houses system i was making.... etc etc)
2nd. fixing my script XD
3rd. testing for bugs... sa-mp loads so slow badly like -------------------||||----------------------||||-----
-------- <= Loading
|||||||| <= When loading stops for no reason


Re: What do you think is the worst part of scripting? - zgintasz - 24.04.2013

The worst part of scripting is seeing your code doesn't working properly...