View Single Post
souvikdas95
Senior Member
Join Date: Mar 2012
Old 02-26-2014 , 09:21   Re: Module: CSX Extended (v1.0.1)
Reply With Quote #8

@Arkshine - That's what. I had to keep that in mind. For this, the one who actually developed the module should have kept in mind about future requirements as well. If possible, then csx should be redeveloped if possible in one single release so that der are no complications in it's way of work. for instance, see that bodyhits[0] has no value similarly as stats[7] or you would find that in some, rank is both set at stats[7] as well as returned! Also, they have differentiated b/w rank and position which can cause a lot of trouble.
What I feel is that, when they created the module, they started with a base module for all games and split it among cs, dod, esf, ns, tfc and ts. If that's so, the chances for carelessness is high!

@ConnorMcLeod - but get_score function inside csstats.sma has both put together into single stats[11]... why? What do you mean by cs specific? There are only 2 games : cs and cz that it supports and the events are almost same in each of them.
Quote:
int AmxxCheckGame(const char *game)
{
if (strcasecmp(game, "cstrike") == 0 ||
strcasecmp(game, "czero") == 0)
{
return AMXX_GAME_OK;
}
return AMXX_GAME_BAD;
}

Last edited by souvikdas95; 02-26-2014 at 10:20.
souvikdas95 is offline