AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Lambda Core: Half-Life ingame stats (https://forums.alliedmods.net/showthread.php?t=119618)

KORD_12.7 02-23-2010 09:13

Lambda Core: Half-Life ingame stats
 
6 Attachment(s)
Lambda Core: Half-Life ingame stats
version 0.6
by KORD_12.7

Supported mods:
HLDM / HLTDM / AG mini - (valve)
Opposing Force - (gearbox)
Adrenaline Gamer - (ag)

Needed modules:
Fakemeta
HamSandWich
AmxModX 1.8.1

Servers using this plugin:
http://www.gametracker.com/search/?s...hipp=50#search

Information:
[RU]: Информация на русском здесь
With this plugin you can organise stats logging on your half-life server. All stats is stored in file on server, top and ranks gets from local file. The detailed statistics of players gathers: number of kills and deaths, teamkills, shots, hits, hit places for each weapon, number of headshots. Rank calculation: kills - deaths. Plugin will display game stats as HUD and chat messages.

Example of stats are:
- Killer info to victim console and screen
- Attackers list
- Victims list
- Death beam
- Killer hp&ap in hud and chat
- User's rank
- First 15 players (top15)
- All players stats and rank
- User's rank stats
- User's stats and rank
- Information about user killer
- User's weapon status to team
- Player stats at the end of map
- Top15 at the end of map
- Winner at the end of map

Admin commands:
amx_statscfgmenu - displays stats configuration menu (from statscfg.amxx).
lc_reset - reset stats (admin access "h" is required).

Say commands:
/statsme - display your stats (MOTD) for current session
/stats - display players stats (menu/MOTD)
/rank - display your rank (chat)
/rankstats - display your server stats (MOTD)
/top15 - display top 15 players (MOTD)
/hp - display info about your killer (chat)
/me - displays user's stats (chat)
/report - display weapon status (say_team)
/switch - enable or disable announcements for this player (stored in user info field 'lc')

Attention!
For AG, miniAg and OP4 use hamdata.ini from attach!

Credits:
AMXX Dev Team,
Freejam,
hleV,
Lev,
Nextra,
unKn0wn,
Ven

Settings:
Look in lambda_core.ini (amxmodx/configs) and Stats Configuration Menu (statscfg.amxx required).
Code:

; Enable rank system
; 0 - no
; 1 - yes
lc_rank_system 1
 
; Rank mode
; 1 - by nick
; 2 - by ip
; 3 - by steamid
lc_track_mode 1
 
; Prune time (inactivity days), inactive players will be deleted from stats
; If set to 0, then no prune
lc_prune_days 0
 
; Stats loging (triggered "weaponstats", triggered "weaponstats2", triggered "time", triggered "latency")
; 0 - no
; 1 - loging on player disconnect (for HLStats or Psychostats)
; 2 - loging on player death (for HLStatsX CE)
lc_stats_loging 1
 
; Whether or not to rank bots
; 0 - no
; 1 - yes
lc_rank_bots 1
 
; Show info about plugin after player death
lc_show_info 1
 
; Advertising of available say commands
lc_show_adv 1
 
; Frequency of advertising messages (in seconds)
lc_adv_freq 300

Version history:
Code:

v0.1 - Initial release (on amx-x.ru)
 
v0.2 - Config menu is removed
- Sound announces removed (use UTsounds by Lev aka Flasher)
- Ability to store stats in local file on server (external web stats not required for getting top and ranks)
- Multilanguage support added
- All settings stored in INI files per map ini and per map prefix files supported (place these ini files in config\lambda_core folder)
- If config file is missing plugin wil use default settings
- Statistics calculation is improved
- Teamplay support
- Teamkills count
 
v0.3 - More optimization
- Stats file (lc_stats.dat) now stored in /amxmodx/data/lc/
- Added command for stats resetting (for file mode)
- Using thread querrys for HLstats
- New cvars added:
lc_show_info 1 - enable/disable show information about plugin after player death
lc_show_winner 1 - enable/disable show winner at map end.
- Fixed:
Crashes on linux servers;
Run time error 10: tripmine_fix (line 1954) - thanks to ur5efj
Run time error 10: fw_TakeDamage (line 649) - thanks to ur5efj
Broken top15 at map end - thanks to Freejam
Invalid winner calculation at map end - thanks to Freejam
 
v0.4 - Web stats support remove (use Ingame Psychostats by Nextra)
- Added AG and miniAG support
- Statistics calculation is improved
- Detecting hitboxes for all weapons
- Detecting changename event
- /report and /stats menus improved
- Added /rankstats - display your server stats (MOTD)
- Cvars changed in lambda_core.ini
- Added new cvar:
lc_stats_loging 1 - Stats loging (triggered "weaponstats", triggered "weaponstats2", triggered "time", triggered "latency")
 
v0.5 - Using dynamic arrays
- Ranks limit removed
- Added Opposing Force Support
 
v0.6
- Fixed: Stats tracking by IP and prune function now working;
- New:
Integration to Stats Configuration Menu (statscfg.amxx come with base amxx package);
Most of hud and chat messages are changed (view new screenshots);
Distance and HS in attackers and victims hud lists;
Displaying killer hp&ap in hud;
Say /me - displays user's stats;
Stats logging for HLStatsCE;

Downloads: 1038

ditmesteam 02-23-2010 09:51

Re: [HL] Lambda Core: Half-Life ingame stats
 
Nice! I see only some functions look like AMXX mod (top15,report ...). Can you reduce code if AMXX have the same function (because I see code over 3000 lines, I scare of use it make my server lagger) Thank you!

KORD_12.7 02-23-2010 10:08

Re: [HL] Lambda Core: Half-Life ingame stats
 
For Half-Life AMXX dont provide stats like in cs package, this plugin only for hldm(valve)

Freejam 02-23-2010 10:10

Re: [HL] Lambda Core: Half-Life ingame stats
 
Nice statistic plugin.Thanks

Flipper_SPb 02-23-2010 10:43

Re: [HL] Lambda Core: Half-Life ingame stats
 
Awesome!
Great work!

tuty 02-23-2010 11:11

Re: [HL] Lambda Core: Half-Life ingame stats
 
http://forums.alliedmods.net/showthread.php?p=1044706 ???

KORD_12.7 02-23-2010 11:31

Re: [HL] Lambda Core: Half-Life ingame stats
 
Quote:

Originally Posted by tuty (Post 1097589)

Plugin in this link is old and unapproved, i dont give my agree to user GordonFreeman post it

lazarev 02-23-2010 13:14

Re: [HL] Lambda Core: Half-Life ingame stats
 
Quote:

Originally Posted by tuty (Post 1097589)

Quote:

Originally Posted by GordonFreeman (RU) (Post 1044706)
This plugin has created a Russian man KORD

^^

fezh 02-23-2010 13:43

Re: [HL] Lambda Core: Half-Life ingame stats
 
Quote:

Originally Posted by KORD_12.7 (Post 1097488)
Supported mods: HLDM (valve) only

Is there another game called Half-Life which didn't come from VALVe? O.o news to meh

f0xZ 02-23-2010 14:37

Re: [HL] Lambda Core: Half-Life ingame stats
 
Thanks but I already use ;D
Nice plugin!

hleV 02-23-2010 16:26

Re: [HL] Lambda Core: Half-Life ingame stats
 
I HAVE CREDITZ!

fysiks 02-23-2010 17:01

Re: [HL] Lambda Core: Half-Life ingame stats
 
Quote:

Originally Posted by fezh (Post 1097752)
Is there another game called Half-Life which didn't come from VALVe? O.o news to meh

It's is in the folder called "valve" like Counter-Strike is in the folder called "cstrike".

That is also the shortname used to download and install the HLDS for it.

unKn0wn- 02-23-2010 18:33

Re: [HL] Lambda Core: Half-Life ingame stats
 
Наконец! Давно нужно было это сделать. Теперь ты бог для многих людей :)
PS: Sorry for my bad english :oops:

fezh 02-23-2010 18:38

Re: [HL] Lambda Core: Half-Life ingame stats
 
Why do you apologize about your bad english if you wrote in russian? o.o

unKn0wn- 02-23-2010 19:01

Re: [HL] Lambda Core: Half-Life ingame stats
 
Quote:

Why do you apologize about your bad english if you wrote in russian? o.o
Mb this a joke?

fysiks 02-23-2010 20:04

Re: [HL] Lambda Core: Half-Life ingame stats
 
Mb? What language is that?

Flasher 02-23-2010 23:05

Re: [HL] Lambda Core: Half-Life ingame stats
 
Quote:

Originally Posted by fysiks (Post 1098146)
Mb? What language is that?

English.
"May be" = "Mb".
xD

hleV 02-24-2010 03:45

Re: [HL] Lambda Core: Half-Life ingame stats
 
Mb is megabit, not maybe.

Hawk552 04-02-2010 18:37

Re: [HL] Lambda Core: Half-Life ingame stats
 
There are a few mistakes and optimizations that can be made, however it is acceptable.

If you would like any information regarding possible adjustments you could make or things you could do to make this better, please feel free to post here or PM me.

Approved.

ur5efj 04-07-2010 13:18

Re: [HL] Lambda Core: Half-Life ingame stats
 
[ru] Собрал за месяц такой урожай

[FAKEMETA] Invalid entity
[AMXX] Displaying debug trace (plugin "lambda_core.amxx")
[AMXX] Run time error 10: native error (native "pev")
[AMXX] [0] lambda_core.sma::gauss_primary_counter (line 2020)

[FAKEMETA] Invalid entity
[AMXX] Displaying debug trace (plugin "lambda_core.amxx")
[AMXX] Run time error 10: native error (native "pev")
[AMXX] [0] lambda_core.sma::gauss_secondary_counter (line 2033)

[AMXX] Displaying debug trace (plugin "lambda_core.amxx")
[AMXX] Run time error 4: index out of bounds
[AMXX] [0] lambda_core.sma::getPing (line 2133)

KORD_12.7 04-13-2010 01:23

Re: [HL] Lambda Core: Half-Life ingame stats
 
Quote:

Originally Posted by ur5efj (Post 1142582)
[ru] Собрал за месяц такой урожай

[ru] У меня таких ошибок еще не было, посмотрю в чем дело :wink:

R4to0.exe 05-15-2010 00:09

Re: [HL] Lambda Core: Half-Life ingame stats
 
It's working fine on my server! Thanks.
But some weapons don't have statistics: grenade, tripmine, satchel, explosive crossbow (no sniper), rpg and snarks.
It's possible to add? or its limited by game?
I'm using psychostats, you can check here: http://hldm-br.net/ranking/

Anyway, Thanks!

KORD_12.7 06-06-2010 01:19

Re: [HL] Lambda Core: Half-Life ingame stats
 
Plugin updated:

v0.4 [06.05.2010]
Web stats support remove (use Ingame Psychostats by Nextra)
Added AG and miniAG support
Statistics calculation is improved
Detecting hitboxes for all weapons
Detecting changename event
/report and /stats menus improved
Added /rankstats - display your server stats (MOTD)
Cvars changed in lambda_core.ini
Added new cvar:
lc_stats_loging 1 - Stats loging (triggered "weaponstats", triggered "weaponstats2", triggered "time", triggered "latency")

v0.5 [06.06.2010]
Using dynamic arrays
Ranks limit removed
Added Opposing Force Support

Quote:

It's working fine on my server! Thanks.
But some weapons don't have statistics: grenade, tripmine, satchel, explosive crossbow (no sniper), rpg and snarks.
It's possible to add? or its limited by game?
In new version hitbox detection work for all weapons (except snarks)
Quote:

I'm using psychostats, you can check here: http://hldm-br.net/ranking/
PS support removed, to see rank and top in game you can use Ingame Psychostats by Nextra, for stats logging you can use my plugin

R4to0.exe 06-06-2010 21:52

Re: [HL] Lambda Core: Half-Life ingame stats
 
Ok, let me try and i'll post results later...

Thanks!

ujjl 06-07-2010 06:37

Re: [HL] Lambda Core: Half-Life ingame stats
 
Nice work! Are you planning to put scoring kills of tankmortars tanklasers tankrockets too?
Edit: for hldm (valve)

KORD_12.7 06-07-2010 07:18

Re: [HL] Lambda Core: Half-Life ingame stats
 
Quote:

Originally Posted by ujjl (Post 1202109)
Nice work!

Thanks

Quote:

Are you planning to put scoring kills of tankmortars tanklasers tankrockets too?
Edit: for hldm (valve)
Yes, i make this in future version

ujjl 06-07-2010 07:20

Re: [HL] Lambda Core: Half-Life ingame stats
 
Quote:

Originally Posted by KORD_12.7 (Post 1202117)
Yes, i make this in future version

Great, I am looking forward to it!

R4to0.exe 06-11-2010 00:35

Re: [HL] Lambda Core: Half-Life ingame stats
 
Quote:

Originally Posted by KORD_12.7 (Post 1201013)
In new version hitbox detection work for all weapons (except snarks)

It's working like a charm! Thanks so much!!!

KORD_12.7 06-11-2010 01:53

Re: [HL] Lambda Core: Half-Life ingame stats
 
Quote:

Originally Posted by R4to0.exe (Post 1205597)
It's working like a charm! Thanks so much!!!

You are welcome :wink:

DeLiriuM 08-08-2010 06:17

Re: Lambda Core: Half-Life ingame stats
 
Great plugin. Thanks ;)

Sawter 10-07-2010 14:12

Re: Lambda Core: Half-Life ingame stats
 
I have a problem

PHP Code:

L 10/07/2010 21:08:56: [AMXXPlugin "lambda_core.amxx" failed to loadPlugin uses an unknown function (name "TrieClear") - check your modules.ini

What module do i need?

I have this now

PHP Code:

Currently loaded modules:
      
name                    version  author               status
 
1Engine                  1.76     AMX Mod X Dev Team   running
 
2FakeMeta                1.76d    AMX Mod X Dev Team   running
 
3Ham Sandwich            1.8.1.3  AMX Mod X Dev Team   running
 
4RegEx                   1.8.1.3  AMX Mod X Dev Team   running
 
5Fun                     1.76     AMX Mod X Dev Team   running
 
6GeoIP                   1.76     AMX Mod X Dev Team   running
 
7Sockets                 1.76     HLSW Dev Team        running
7 modules
7 correct 


KORD_12.7 10-07-2010 18:32

Re: Lambda Core: Half-Life ingame stats
 
Update AMXX to version 1.8.1

Sawter 10-08-2010 05:49

Re: Lambda Core: Half-Life ingame stats
 
I have a problem,rank and top 15 are not updated,it appears only players,but score it's 0 everywhere.

KORD_12.7 10-08-2010 06:02

Re: Lambda Core: Half-Life ingame stats
 
Stats tracking by name or steamid?

Sawter 10-08-2010 06:15

Re: Lambda Core: Half-Life ingame stats
 
By nick.

I reseted enerything,lc_reset_stats,now it's as i had when i did that,1 kill,4 deaths,and after 10 minutes same stats.

/statsme is ok

Look

Top 15 : http://img839.**************/img839/2669/top15d.png
and Statsme :http://img824.**************/img824/7771/statsme.png

Player are not in order,third place should be on second place 5/4 is more than 1/24,fourth same,4/4.

My lambada_core.ini

PHP Code:

Enable rank system
no
yes
lc_rank_system 1
 
Rank mode
by nick
by ip
by steamid
lc_track_mode 1
 
Prune time (inactivity days), inactive players will be deleted from stats
; If set to 0then no prune
lc_prune_days 0
 
Stats loging (triggered "weaponstats"triggered "weaponstats2"triggered "time"triggered "latency")
no
yes
lc_stats_loging 1
 
Whether or not to rank bots
no
yes
lc_rank_bots 1
 
Which say commands should be enabledadd the numbers to get your configuration:
;
- /rank
display your rank (chat)

- /top15
display top players (MOTD)

- /stats
display players stats (menu/MOTD)

- /rankstats
player stats on server (MOTD)

16 - /statsme
display player stats (MOTD) for current session

32 - /hp
display info about your killer (chat)

64 - /report
display weapon status (say_team)
;
The default value (127will enable all features (1+2+4+8+16+32+64)
lc_say_commands 127
 
Which functions should be enabledadd the numbers to get your configuration:
;
1:
show attackers list (HUD)
;
2:
show victim list (HUD)
;
4:
show killer info (chat)

8:
show victim ifo (center_say)

16:
show winner at map end

32:
death beam
;
The default value (63will enable all features (1+2+4+8+16+32
lc_functions 63
 
Show at map end
nothing
show /statsme stats (MOTD) for current session
show top 15 players
lc_mapend_stats 0
 
Show info about plugin after player death
lc_show_info 1
 
Advertising of available say commands
lc_show_adv 1
 
Frequency of advertising messages (in seconds)
lc_adv_freq 300 


KORD_12.7 10-08-2010 06:27

Re: Lambda Core: Half-Life ingame stats
 
Stats will calculate and save at server restart. Everything is ok.

Sawter 10-08-2010 06:35

Re: Lambda Core: Half-Life ingame stats
 
Yeah,you're right,one more question.

On what criterion are order in top?Diference between kill and death?

Thanks a lot for this amazing plugin.

KORD_12.7 10-08-2010 06:38

Re: Lambda Core: Half-Life ingame stats
 
Quote:

Originally Posted by Sawter (Post 1318808)
On what criterion are order in top?Diference between kill and death?

Yep, kills - deaths

Quote:

Originally Posted by Sawter (Post 1318808)
Thanks a lot for this amazing plugin.


You are welcome

GordonFreeman (RU) 12-06-2010 06:18

Re: [HL] Lambda Core: Half-Life ingame stats
 
Quote:

Originally Posted by KORD_12.7 (Post 1097608)
Plugin in this link is old and unapproved, i dont give my agree to user GordonFreeman post it

Хеи! Ты дал согласие xD

nisam_ja 12-13-2010 12:43

Re: Lambda Core: Half-Life ingame stats
 
how to install this plugin?

:D
lang in lang cfg in configs .amxx in plugins
but where put this hamdata?? and.. which one should i use? cs 1.6 :)=


All times are GMT -4. The time now is 07:15.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.