HELP with stats and FFA
Hi, this is my first topic here.
I have a server using csdm with FFA, and i blocked the terrorist team, so al the players playing are CT's. I have a problem with rank, the new players (with stats all in 0) are showed in first place, and the better players are at the bottom. So I think that the problem comes from the native get_user_stats, but by the other hand when csdm ffa is on, the score showed it's ok. And when you see the stats from the rank, the kills aren't in negative numbers.. Somebody can giveme some tips? |
Re: HELP with stats and FFA
This was the most easy solution that i could find, but then i don't know what to do to modify top15
Code:
public cmdRank(id)But now the problem is that when 2 players have the same frags, the better is showed last. John = 1 dead 1 kill 100eff Paul = 1 dead 1 kill 50eff Paul rank showed with my script is 1, and john 2. It is possible that stats arent showed in negative numbers, but are counted like negative?? because what i'm thinking is that i could multiply frags * 2 and make it positive, somebody can tell me how i can multply frags? |
Re: HELP with stats and FFA
1 Attachment(s)
Well I Find how to change the order, and how to change the numers # from position.
PHP Code:
|
Re: HELP with stats and FFA
Well I tested and i find that the problem is that the frags showed are negative numbers, but the eff and acc showed aren't counting that.
So i need to multipy frags * frags but, the question is where does i need to multiply frags? because if i'm not confused the statsx only takes data and print it PLEEASEE HEELP EDIT: I opened csstats.dat with WINCSX and i find something really strange.. from there i could see the rank how it should be, but when i saved.. the ranks is showed like if i didn't edited anything |
Re: HELP with stats and FFA
yeeeeeaahh
Finally I solved the problem. The thing is that the stats is differencing if frags are teamkills or enemy kills. Thats why fraga arent in negative numbers, i could check this from the WINCSX becaise there i saw the field teamkills, and it was equal the same as frags field (because in my server u can be only ct) so the statsx was taking as null the frags from players. One thing that seems to be really bad from the statsx is that u cant se yours teamkills, but they are being counting... My solution was to multiply teamkills*0 from csstats.amxx I think that people with ffa servers have to know this thing, because i could notice that just because i blocked the terrorist team... but if ur server is ffa and people can join both teams, maybe, u couldnt notice that if u kill player from ur team, that frags were not countinting.. Sorry about my english and hope that other people like me, now can fix this problem reading my post |
| All times are GMT -4. The time now is 05:54. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.