[unsupported] KZ Stats

Started by SchlumPF
20/10/2008 11:53
Page 18 of 23
tolsty28/03/2009 17:11(edited 29/03/2009 01:59)

ok heres teh new version...
UPDATE
i fixed some bugs...
download this one now
download at last post
* fixed teh strafe counter
* fixed tops to show all ten jumpers
* this time fixed cheat detection for sure...
* added cvars:
// change 1 to 0 if you want to disable the technique
kz_stats_other 1
kz_stats_bj 1
kz_stats_dcj 1
kz_stats_wj 1
* added kielors commands
* other players dont hear impresive & perfect sounds
Note: in your plugins ini add kz_stats_tolsty.amxx on top of all other 3rd party plugins

Gnomas28/03/2009 17:15

how to change color and make it auto disabled?

tolsty28/03/2009 17:24(edited 28/03/2009 17:28)

color.. find lines like this
ColorChat(0, RED, "[XJ] %s jumped %.3f units with %s!", name, distance, type);
change RED to
1, // clients scr_concolor cvar color
GREEN, // Green Color
TEAM_COLOR, // Red, grey, blue
GREY, // grey
RED, // Red
BLUE, // Blue

and to make things auto disabled on connect
go to function on line 893.
and change
true to false, dont forget to add ; at lines end
g_lj_stats[plr] = true;
g_lj_colorchat[plr] = true;
g_lj_beam[plr] = false;

spermis28/03/2009 17:43

Originally posted by tolsty
ok heres teh new version... http://www.sendspace.com/file/xvu6t1
* fixed teh strafe counter
* fixed tops to show all ten jumpers
* this time fixed cheat detection for sure...
* added cvars:
// change 1 to 0 if you want to disable the technique
kz_stats_other 1
kz_stats_bj 1
kz_stats_dcj 1
kz_stats_wj 1
* added kielors commands
* other players dont hear impresive & perfect sounds
Note: in your plugins ini add kz_stats_tolsty.amxx on top of all other 3rd party plugins

These are so wrong stats..
http://img207.imageshack.us/img207/2482/45352999.jpg

Gnomas28/03/2009 18:01(edited 28/03/2009 18:02)

BUG: if u jump on ground it shows no duck stats PIC

EDIT: gl in fixing it and it would be nice kz_stats_color command like in original kz_stats

tolsty28/03/2009 18:35

Originally posted by spermis
Originally posted by tolsty
ok heres teh new version... http://www.sendspace.com/file/xvu6t1
* fixed teh strafe counter
* fixed tops to show all ten jumpers
* this time fixed cheat detection for sure...
* added cvars:
// change 1 to 0 if you want to disable the technique
kz_stats_other 1
kz_stats_bj 1
kz_stats_dcj 1
kz_stats_wj 1
* added kielors commands
* other players dont hear impresive & perfect sounds
Note: in your plugins ini add kz_stats_tolsty.amxx on top of all other 3rd party plugins

These are so wrong stats..
http://img207.imageshack.us/img207/2482/45352999.jpg


I didnt change anything in calculations, that goes to shlumpf

tolsty28/03/2009 18:47(edited 29/03/2009 01:59)

here you go, added
kz_stats_coords
kz_stats_color
kz_stats_failcolor
P.S. not tested
download at last post

Gnomas28/03/2009 19:06

color changing is working fine but there is still a bug jumping on ground PIC

tolsty28/03/2009 19:24(edited 28/03/2009 19:46)

i dont understand you, why do you call it a bug ? xD
all the other stat plugins show it too xD

Gnomas28/03/2009 19:51(edited 28/03/2009 19:59)

watch at dist, kzstats shows 233 and ljs xm shows 253
EDIT : that bug only exists in first room of kz_ljs2 if u make tp to lj room everything works fine, so sorry it's not your fault.
Thanks 4 ze best kz_stats <3

tolsty28/03/2009 20:12

if you want u use these stats with ljs_xm type at your`s amxx.cfg bottom
kz_stats_other 0
kz_stats_bj 1
kz_stats_dcj 1
kz_stats_wj 1
// change 1 to 0 if you want to disable the technique

spermis28/03/2009 20:53

tolsty so whats the point of editing these stats that much, if the calculations are incorrect? Also you can jump with any gravity.

tolsty28/03/2009 21:37(edited 28/03/2009 21:38)

1) u can use them with ljs_xm
2) the stats are very correct for me allways
3) dcj top & bj top, u can disable the bjtop with kz_stats_bj 0
the main point is the dcjtop
P.S. im still working on this and ill fix the cheat detection

tolsty28/03/2009 23:11(edited 31/03/2009 16:06)

* fixed incorrect stats problem.... my fault :P
*added connect enable cvars:
kz_stats_ljstats 1
kz_stats_colorchat 1
kz_stats_ljbeam 1
// set to 0 to disable on connect
*made the tops look better
check my last post

Sorry for double post

Oddi^29/03/2009 08:55

So, I only want the dcj top. I write these to amxx.cfg?
kz_stats_other 0
kz_stats_bj 0
kz_stats_dcj 1
kz_stats_wj 0

I already have tops for bj and wj, but not dcj... Could you also make it so, that it only show dcj stats? I mean when I jump with longjump, cj, wj or bhop, it shows the kz_ljs_xm stats and when I jump with dcj your plugin shows the stats. Hope you understood :>

tolsty29/03/2009 13:12(edited 31/03/2009 16:06)

Okey heres the next step
*added cheat detection for 3rd party entitys, and fixed some other things..
*added cvar kz_stats_demo 0 // set to 1 if your recording a demo ( removes bhop prestrafe hud)
download- check my last post

// dont sue [code] tages -schlumpf
//sor :P -Tolsty

Oddi^29/03/2009 14:22

Cool :D Well I tried it and the top seems to bug a little bit, the prestrafe in the top is wrong...

tolsty29/03/2009 15:13(edited 29/03/2009 15:14)

now its fixed, look at prev post..

nucLeaR29/03/2009 15:45(edited 29/03/2009 15:53)

Bugs i've found:

1. You can't enter in any KZ_longjumps2 rooms (BJ,LJ,CJ,HJ,LadderJ) because i get the following error :

L 03/29/2009 - 16:44:25: [AMXX] Displaying debug trace (plugin "kz_stats.amxx")
L 03/29/2009 - 16:44:25: [AMXX] Run time error 4: index out of bounds
L 03/29/2009 - 16:44:25: [AMXX] [0] kz_stats.sma::gocheck (line 175)
L 03/29/2009 - 16:44:26: [AMXX] Displaying debug trace (plugin "kz_stats.amxx")
L 03/29/2009 - 16:44:26: [AMXX] Run time error 4: index out of bounds
L 03/29/2009 - 16:44:26: [AMXX] [0] kz_stats.sma::gocheck (line 175)


2. Also there is still a Strafe-counter bug

EDIT:
3.If you do Multi Count jump (3-4-5 ducks) it still shows up as DCJ and you can even get in DCJ top with Multi CJ ... i did 253 mcj (4 ducks) and i'm in DCJ top ..

tolsty29/03/2009 17:07(edited 31/03/2009 16:06)

okay, try this now.
check my last post
P.S. dont judge me, this is my first public project :D

Page 18 of 23

Please log in to post replies.