[unsupported] KZ Stats

Started by SchlumPF
20/10/2008 11:53
Page 1 of 23
SchlumPF20/10/2008 11:53(edited 20/07/2009 07:02)

This plugin is NOT SAFE for demo recording. Also, the main-author is not supporting this plugin anymore -SchlumPF

KZ Stats (not yet finished)

Description
KZ Stats is a light LjStats without any Top15 or public messages which spam the chat. It has no protection against any CVar so you can even get stats with 'developer 1' or 'cl_sidespeed 300'.

Advantages against other LjStats'
- Public sourcecode
- A lot more optimized than other LjStats
- No spamming of the screen
- No Top15 for those who only jump on ground instead of jumping on blocks

Commands
say /ljstats - enables/disables stats, after connect stats are disabled
kz_stats_coords " " - admins only, sets hudmessage position
kz_stats_color "

    *Weird LongJumps
    *Drop CountJumps
    *Drop BhopLongJumps
    *Ladder LongJumps

- Strafecounter
- Strafestats
- Perfect/More correct failed stats
- Anticheat against certain entitys
- Stats for spectators

Explanation of the Stats
Screenshoot of stats
1. Technique, a 'Failed' is added on failed stats
2. Distance in units
3. Maxspeed in units/second
4. Gain (maxspeed - prestrafe) in units/second
5. Prestrafe in units/second
6. Forget about this one, there is no proof that this is working (overtook it from Lt.RAT)
7. Syncronisation (100% correct in opposite to sync in other ljstats') in %
8. Strafecounter
9. Heightdifference between jumpoff and landing in units/second, will just be shown on bhops

DOWNLOAD

Credits
Fatalis - For the very first LjStats
NumB - For his LjStats-XM modification
Lt.RAT - For the idea for Bhop detection and answering my questions about LjStats
eDark - Answering my questions about the engine and the failed stats code
eMTi - For nothing and because I love him <3

ATTENTION!
Please post bugs you found in this thread! Explain what happend, if possible record a small demo and give me a error log, if available. To get a error log which would help me a lot it is very important to add this plugin in plugins.ini like this:
[blockquote]kz_stats.amxx debug[/blockquote]
_____________________________________________________________________

3rd Party Modifications
xPaw's edition: http://todome.de/schlumpf/plugins/KZ_Stats_Edited_by_xPaw.rar
_____________________________________________________________________

Critism and suggestions are welcome :D

benjabi20/10/2008 12:10(edited 01/11/2008 23:43)

Grrr.. me like!

Looking forward to the final version :D

veer20/10/2008 12:24

dont have bhoplj stats

and the stats appear on the top of my screen and not the bottom

:s

BAEVERN^20/10/2008 12:25

<3

Just one question.
Can u use the plugin when recording ?

SchlumPF20/10/2008 12:29

updated the main post, all questions should be answered now

@veer is it that bad? gonna add some cvar to change the position of stats but i got used to this position since i was running lt.rats ljstats too so i was able to compare stats

Sinnes7k20/10/2008 12:29

What to write in plugins list?

BAEVERN^20/10/2008 12:35

Originally posted by veer
dont have bhoplj stats

and the stats appear on the top of my screen and not the bottom

:s


Bhop stats works fine for me.

But as veer says, pretty anoying imo. that the stats comes up in the top of the screen.
Maby do so u can choose where it should appear ? :)

veer20/10/2008 12:43

and can you try to get strafe info like the old fail lt rat stats?

eMTi20/10/2008 12:49

veer? Have a closer look at BEAVERN^'s avatar please.


Planned Features
- Support for

* Weird LongJumps
* Drop CountJumps
* Drop BhopLongJumps
* Ladder LongJumps


- Strafecounter
- Strafestats
- Perfect/More correct failed stats
- Anticheat against some special entitys




btw <3 u 2 schlumpf :D

kzro`sn00p20/10/2008 12:50

stats color can be changed ? what about top like /ljtop and position of stats can be changed?

owned20/10/2008 13:01

Haven't noticed any visible errors, but in the log it says this

L 10/20/2008 - 06:38:51: Start of error session.
L 10/20/2008 - 06:38:51: Info (map "kz_longjumps2") (file "addons/amxmodx/logs/error_20081020.log")
L 10/20/2008 - 06:38:51: Plugin called message_begin with an invalid message id (0).
L 10/20/2008 - 06:38:51: [AMXX] Displaying debug trace (plugin "kz_stats.amxx")
L 10/20/2008 - 06:38:51: [AMXX] Run time error 10: native error (native "message_begin")
L 10/20/2008 - 06:38:51: [AMXX] [0] kz_stats.sma::cmdljStats (line 115)
L 10/20/2008 - 06:50:11: Start of error session.
L 10/20/2008 - 06:50:11: Info (map "kz_longjumps2") (file "addons/amxmodx/logs/error_20081020.log")
L 10/20/2008 - 06:50:11: Plugin called message_begin with an invalid message id (0).
L 10/20/2008 - 06:50:11: [AMXX] Displaying debug trace (plugin "kz_stats.amxx")
L 10/20/2008 - 06:50:11: [AMXX] Run time error 10: native error (native "message_begin")
L 10/20/2008 - 06:50:11: [AMXX] [0] kz_stats.sma::cmdljStats (line 115)


anyways, i love the multi-functional usage with other weapons, multi-cj function is gonna help me quite a bit, looks great, can't wait to see more :D

.nnnnn120/10/2008 13:04

at last ... schlumpf cares of other peoples ... gj schlumpf.

TT.20/10/2008 13:19

how to install it ?

some1here20/10/2008 13:21

Originally posted by owned
Haven't noticed any visible errors, but in the log it says this

L 10/20/2008 - 06:38:51: Start of error session.
L 10/20/2008 - 06:38:51: Info (map "kz_longjumps2") (file "addons/amxmodx/logs/error_20081020.log")
L 10/20/2008 - 06:38:51: Plugin called message_begin with an invalid message id (0).
L 10/20/2008 - 06:38:51: [AMXX] Displaying debug trace (plugin "kz_stats.amxx")
L 10/20/2008 - 06:38:51: [AMXX] Run time error 10: native error (native "message_begin")
L 10/20/2008 - 06:38:51: [AMXX] [0] kz_stats.sma::cmdljStats (line 115)
L 10/20/2008 - 06:50:11: Start of error session.
L 10/20/2008 - 06:50:11: Info (map "kz_longjumps2") (file "addons/amxmodx/logs/error_20081020.log")
L 10/20/2008 - 06:50:11: Plugin called message_begin with an invalid message id (0).
L 10/20/2008 - 06:50:11: [AMXX] Displaying debug trace (plugin "kz_stats.amxx")
L 10/20/2008 - 06:50:11: [AMXX] Run time error 10: native error (native "message_begin")
L 10/20/2008 - 06:50:11: [AMXX] [0] kz_stats.sma::cmdljStats (line 115)


anyways, i love the multi-functional usage with other weapons, multi-cj function is gonna help me quite a bit, looks great, can't wait to see more :D

maybe you forgot
[blockquote]kz_stats.amxx debug[/blockquote]

Acidas20/10/2008 13:27(edited 20/10/2008 13:32)

SchlumPF FTW MAN! You rock man!

Edit:
Description
KZ Stats is a small LjStats without any Top15 or public messages which spam the chat. It has no protection against any CVar so you can even get stats with 'developer 1' or 'cl_sidespeed 300'. You can use skyjur's sidespeed protection with it :)

Edit2: Will you add top15, public msg etc. later? :)

SchlumPF20/10/2008 13:39(edited 20/10/2008 13:44)

UPDATED
added 2 command to adjust the hudmessage + default psoition on screen is now center below the crosshair.
check the main post for the commands

Originally posted by kzro`sn00p
stats color can be changed ? what about top like /ljtop and position of stats can be changed?

Originally posted by Acidas
Edit2: Will you add top15, public msg etc. later? :)


color has been done as well as position

it is easy to write such protections like sidespeed protection but as i am not planning to add any toplist or other virtual penis comparsion i dont need to. i want to create a ljstats which can be used for nearly everything so i just add protections for things which can fuck up stats.

edit:
UPDATED
fixed a bug (the one owned posted) with /ljstats which made the text appear in con_color (should have been green but i wrote in code a small 't' instead of an capital which caused this bug) :D

eMTi20/10/2008 13:39(edited 20/10/2008 13:41)

Originally posted by tranche-taille
how to install it ?


1. download the .rar file
2. open it :)
3. put the kz_stats.amxx in the plugins folder of your amxx directory (cstrike\addons\amxmodx)
4. open the plugins.ini located in the configs folder of your amxx directory with a text-editor
5. scroll down to the bottom of the file
6. add a new line:
[blockquote]kz_stats.amxx[/blockquote]
7. save the changes

Note: If you already have ljstats plugin running on your server you should comment it out in the plugins.ini by putting a ";" infront of the line.
Just like this:
[blockquote];otherLJjstats.amxx[/blockquote]

The only thing left to do now is starting a new lan server, or if already running, change the map.

That's it. Have fun.
Thats it.

Acidas20/10/2008 13:47(edited 20/10/2008 13:49)

Well, you can add this found it in my plugins :D http://www.sendspace.com/file/xrgqar

Edit: I think that you can add that sync is in % :)

kzro`sn00p20/10/2008 13:48

woot gj SchlumPF :D

SchlumPF20/10/2008 13:57

Originally posted by Acidas
Well, you can add this found it in my plugins :D http://www.sendspace.com/file/xrgqar

Edit: I think that you can add that sync is in % :)

@speedometer: nope, this should rather be a standalone and not be included in any ljstats (same with setting cvars to kz default or /fps in bugstats)

@edit
gonna add a '%' in the hudmessage + updated main post for this

Page 1 of 23

Please log in to post replies.