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!


All times are GMT -4. The time now is 14:44.

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