This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

Lambda Core: Half-Life ingame stats


Post New Thread Reply   
 
Thread Tools Display Modes
KORD_12.7
Senior Member
Join Date: Aug 2009
Location: Russia, Vladivostok
Old 12-13-2010 , 19:46   Re: Lambda Core: Half-Life ingame stats
Reply With Quote #41

Supported mods:
HLDM / HLTDM / AG mini - (valve)

Opposing Force - (gearbox)
Adrenaline Gamer - (ag)
__________________

Vi Veri Veniversum Vivus Vici
Russian Half-Life and Adrenaline Gamer community
KORD_12.7 is offline
Send a message via ICQ to KORD_12.7
KORD_12.7
Senior Member
Join Date: Aug 2009
Location: Russia, Vladivostok
Old 12-30-2010 , 07:42   Re: Lambda Core: Half-Life ingame stats
Reply With Quote #42

Version 0.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 (example).
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.

Added lambda_core.inc with plugin's natives and forwards:
Code:
/*
 * Natives
 */
 
/* Gets stats from given weapon index. If wpnindex is 0
* then the stats are from all weapons. If weapon has not been used function
* returns 0 in other case 1. 
* Fields in stats are:
* 0 - kills
* 1 - deaths
* 2 - headshots
* 3 - teamkilling
* 4 - shots
* 5 - hits
* 6 - damage
* Fields in bodyhits are:
* 0 - generic (none) 
* 1 - head 
* 2 - chest 
* 3 - stomach 
* 4 - leftarm 
* 5 - rightarm 
* 6 - leftleg 
* 7 - rightleg */
native lc_get_user_wstats(index, wpnindex, stats[8], bodyhits[8]);
 
/* Gets respawn stats from given weapon index.*/
native lc_get_user_wrstats(index, wpnindex, stats[8], bodyhits[8]);
 
/* Gets overall stats which are stored in file on server
* and updated on user disconnect.
* Function returns the position in stats by diff. kills to deaths. */
native lc_get_user_stats(index, stats[8], bodyhits[8]);
 
/* Gets respawn stats of player. */
native lc_get_user_rstats(index, stats[8], bodyhits[8]);
 
/* Gets stats with which user have killed/hurt his victim. If victim is 0
* then stats are from all victims. If victim has not been hurt, function
* returns 0 in other case 1. User stats are reset on his respawn. */
native lc_get_user_vstats(index, victim, stats[8], bodyhits[8], wpnname[] = "", len = 0);
 
/* Gets stats with which user have been killed/hurt. If killer is 0
* then stats are from all attacks. If killer has not hurt user, function
* returns 0 in other case 1. User stats are reset on his respawn. */
native lc_get_user_astats(index, killer, stats[8], bodyhits[8], wpnname[] = "", len = 0);
 
/* Resets life, weapon, victims and attackers user stats. */
native lc_reset_user_wstats(index);
 
/* Gets overall stats which stored in lc_stats.dat file in amx folder
* and updated on every mapchange or user disconnect.
* Function returns next index of stats entry or 0 if no more exists. */
native lc_get_stats(index, stats[8], bodyhits[8], name[], len, authid[] = "", authidlen = 0);
 
/* Returns number of all entries in stats. */
native lc_get_statsnum();
 
/*
 * Forwards
 */
 
/* Function is called after player to player attacks ,
* if players were damaged by teammate TA is set to 1 */
forward lc_client_damage(attacker, victim, damage, wpnindex, hitplace, TA);
 
/* Function is called after player death ,
* if player was killed by teammate TK is set to 1 */
forward lc_client_death(killer, victim, wpnindex, hitplace, TK);
PS
__________________

Vi Veri Veniversum Vivus Vici
Russian Half-Life and Adrenaline Gamer community

Last edited by KORD_12.7; 12-30-2010 at 08:16.
KORD_12.7 is offline
Send a message via ICQ to KORD_12.7
Old 01-10-2011, 04:58
GordonFreeman (RU)
This message has been deleted by GordonFreeman (RU). Reason: realised
Old 01-10-2011, 04:59
GordonFreeman (RU)
This message has been deleted by GordonFreeman (RU). Reason: debug
KORD_12.7
Senior Member
Join Date: Aug 2009
Location: Russia, Vladivostok
Old 01-10-2011 , 19:08   Re: Lambda Core: Half-Life ingame stats
Reply With Quote #43

Enable debug, lol
__________________

Vi Veri Veniversum Vivus Vici
Russian Half-Life and Adrenaline Gamer community
KORD_12.7 is offline
Send a message via ICQ to KORD_12.7
Old 01-12-2011, 05:14
GordonFreeman (RU)
This message has been deleted by GordonFreeman (RU). Reason: post to long
KORD_12.7
Senior Member
Join Date: Aug 2009
Location: Russia, Vladivostok
Old 01-12-2011 , 19:36   Re: Lambda Core: Half-Life ingame stats
Reply With Quote #44

[RU] Попробуй перекомпилить сма, у меня все отлично работает без ошибок.
__________________

Vi Veri Veniversum Vivus Vici
Russian Half-Life and Adrenaline Gamer community
KORD_12.7 is offline
Send a message via ICQ to KORD_12.7
GordonFreeman (RU)
Veteran Member
Join Date: Jan 2010
Location: Uzbekistan
Old 01-13-2011 , 05:49   Re: Lambda Core: Half-Life ingame stats
Reply With Quote #45

Quote:
Originally Posted by KORD_12.7 View Post
[RU] Попробуй перекомпилить сма, у меня все отлично работает без ошибок.
Попробывал! Сработало! Не одной ошибки пока небыло. И надеюсь небудет.
Плохой компилятор на сайте
__________________
The functional way is the right way
GordonFreeman (RU) is offline
Conan1018
Member
Join Date: Oct 2010
Old 02-05-2011 , 04:00   Re: Lambda Core: Half-Life ingame stats
Reply With Quote #46

thanks for the plugin. i've been using this plugin since version 0.3.

sorry if this rude, but please talk in english as i also searching for answer for my question but it seems i cant find it so im gonna ask here.

when did it save the stats? on mapchange or on every some minutes?
Conan1018 is offline
KORD_12.7
Senior Member
Join Date: Aug 2009
Location: Russia, Vladivostok
Old 02-05-2011 , 06:18   Re: Lambda Core: Half-Life ingame stats
Reply With Quote #47

On mapchange
__________________

Vi Veri Veniversum Vivus Vici
Russian Half-Life and Adrenaline Gamer community
KORD_12.7 is offline
Send a message via ICQ to KORD_12.7
k0cTeHyPKa
New Member
Join Date: Dec 2010
Old 03-30-2011 , 11:28   Re: Lambda Core: Half-Life ingame stats
Reply With Quote #48

Server Has Disabled That Option ? PLS HELP (/rank /top15 /statsme etc..

Last edited by k0cTeHyPKa; 03-30-2011 at 12:50.
k0cTeHyPKa is offline
Send a message via Skype™ to k0cTeHyPKa
wickedd
Veteran Member
Join Date: Nov 2009
Old 03-30-2011 , 16:42   Re: Lambda Core: Half-Life ingame stats
Reply With Quote #49

Quote:
Originally Posted by k0cTeHyPKa View Post
Server Has Disabled That Option ? PLS HELP (/rank /top15 /statsme etc..
You can turn them on by going to Amx Menu then Stats Settings.
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.

Last edited by wickedd; 03-30-2011 at 17:41.
wickedd is offline
sinth
New Member
Join Date: Feb 2011
Old 04-15-2011 , 11:03   Re: Lambda Core: Half-Life ingame stats
Reply With Quote #50

This plugin is really cool and it works very well too.
But there's a problem with its configuration. Maybe you can help:

Via amxmodmenu, I enabled the say commands that I want to be available to players. That works fine, it also saves the settings and keeps them during mapchanges.
Unfortunately, my server provider restarts the server everyday at 06:24 AM. This leads to a complete loss of both settings and collected stats. I am not sure if I forgot something in the configuration / installation of the plugin or if it's the fault of my provider.

Please help. Thanks alot!
sinth is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:48.


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