PDA

View Full Version : zcmd, strcmp and dcmd.


Nostrum
11/05/2013, 12:14 PM
Hello, could someone explain me how would these 3 command processors perform on 100 player base.
Lets say, its a normal day, they are roleplaying and such..

feartonyb
11/05/2013, 12:17 PM
I will use ZCMD because its using less resources of all 3 and it got nice functions.

Rayan_black
11/05/2013, 12:25 PM
I started with ZCMD and I'll always use ZCMD.. I don't know about the others tho.

[HiC]TheKiller
11/05/2013, 12:29 PM
DCMD is pretty much just a easy way to use strcmp. strcmp is quite inefficient, especially when you want to check for params as well. ZCMD is by far the most efficient out of those three and the easiest as well. I would suggest ZCMD or something similar.

feartonyb
11/05/2013, 12:36 PM
Just don't use YCMD caz it uses a lot of resources. Since you got 100+ players it will lag as hell

CreativityLacker
11/05/2013, 12:47 PM
Just don't use YCMD caz it uses a lot of resources. Since you got 100+ players it will lag as hell

I dunno if it uses too much resources, but i'll tell you the con's and pro's of each -


STRCMP - pure bullshit, no advantages
ZCMD - fast, easy to use, GREAT if you're a simple scripter
YCMD - preferably, I'd use this with a GM which uses YSI library, as the extra features this provides work only with YSI library. But, it's sort of complicated, and yes, I guess it DOES use extra resources.

LarzI
11/05/2013, 01:07 PM
YCMD is proven to be faster than ZCMD after a certain amount of commands in your script. If you're making a big script, you should definitely use YCMD.

Blackazur
11/05/2013, 01:10 PM
I use just ZCMD, i find it is the best command processor.

RvGamers
11/05/2013, 03:01 PM
If your script contains more than 100 commands, use y_commands. If it has less than 100 commands, use ZCMD. The other two really aren't in the discussion, although using DCMD is still ten times better than strcmp. This is speaking strictly performance wise. I still prefer y_commands anyways for its inline permission/help system. It may take a little longer to understand at first, but you'll thank me in the long run.

http://forum.sa-mp.com/showthread.php?t=169029