Raised This Month: $ Target: $400
 0% 

Lambda Core: Half-Life ingame stats


Post New Thread Reply   
 
Thread Tools Display Modes
GordonFreeman (RU)
Veteran Member
Join Date: Jan 2010
Location: Uzbekistan
Old 08-19-2011 , 01:28   Re: Lambda Core: Half-Life ingame stats
Reply With Quote #61

Quote:
Originally Posted by neoRT View Post
KORD can you please make it track time played so an admin can see how much time players spend on the server?
Use Played_Time.amxx (save to nVault and tracked by steamid)
(or in feature LambdaX xD)
__________________
The functional way is the right way
GordonFreeman (RU) is offline
neoRT
Senior Member
Join Date: May 2011
Old 08-20-2011 , 02:52   Re: Lambda Core: Half-Life ingame stats
Reply With Quote #62

Hi KORD 12.7! I think that this plugin crashes my debian server due tu segmentation faults.
I`ve found this in my logs:
Code:
 
L 08/14/2011 - 11:44:10: Start of error session.
L 08/14/2011 - 11:44:10: Info (map "2play") (file "addons/amxmodx/logs/error_20110814.log")
L 08/14/2011 - 11:44:10: [AMXX] Run time error 4 (plugin "lambda_core.amxx") - debug not enabled!
L 08/14/2011 - 11:44:10: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
 
 
L 08/19/2011 - 04:25:04: Start of error session.
L 08/19/2011 - 04:25:04: Info (map "2play") (file "addons/amxmodx/logs/error_20110819.log")
L 08/19/2011 - 04:25:04: [AMXX] Run time error 4 (plugin "lambda_core.amxx") - debug not enabled!
L 08/19/2011 - 04:25:04: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
I added debug and will come back with more info at next crash. I hope you can fix it because i like it very much
neoRT is offline
KORD_12.7
Senior Member
Join Date: Aug 2009
Location: Russia, Vladivostok
Old 08-20-2011 , 03:06   Re: Lambda Core: Half-Life ingame stats
Reply With Quote #63

Oke
__________________

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
neoRT
Senior Member
Join Date: May 2011
Old 08-23-2011 , 08:26   Re: Lambda Core: Half-Life ingame stats
Reply With Quote #64

Here's the debug:


L 08/22/2011 - 17:45:04: Start of error session.
L 08/22/2011 - 17:45:04: Info (map "crossfire") (file "addons/amxmodx/logs/error_20110822.log")
L 08/22/2011 - 17:45:04: [AMXX] Displaying debug trace (plugin "lambda_core.amxx")
L 08/22/2011 - 17:45:04: [AMXX] Run time error 4: index out of bounds
L 08/22/2011 - 17:45:04: [AMXX] [0] phpSiyE8a.sma::fw_PlayerTakeDamage (line 1185)
L 08/22/2011 - 17:48:47: [AMXX] Displaying debug trace (plugin "lambda_core.amxx")
L 08/22/2011 - 17:48:47: [AMXX] Run time error 4: index out of bounds
L 08/22/2011 - 17:48:47: [AMXX] [0] phpSiyE8a.sma::fw_PlayerTakeDamage (line 1185)
neoRT is offline
vase070
Senior Member
Join Date: Jun 2011
Old 01-04-2012 , 22:41   Re: Lambda Core: Half-Life ingame stats
Reply With Quote #65

when i get the guass gun the whole server shuts down ???? i know the problem is this plugin because i removed it and the server was fine
vase070 is offline
ujjl
Senior Member
Join Date: Jul 2009
Location: Hungary
Old 02-08-2012 , 08:20   Re: Lambda Core: Half-Life ingame stats
Reply With Quote #66

PHP Code:
HLXCE_log(killervictimsuicideheadshotwpnidkiller_origin[3], victim_origin[3])
{
    if(
suicide != NORMAL)
        return

    static 
killer_name[32], killer_authid[32]
    static 
victim_name[32], victim_authid[32]
    
    new 
killer_userid get_user_userid(killer)
    new 
victim_userid get_user_userid(victim)
    
    
get_user_name(killerkiller_namecharsmax(killer_name))
    
get_user_authid(killerkiller_authidcharsmax(killer_authid))
    
    
get_user_name(victimvictim_namecharsmax(victim_name))
    
get_user_authid(victimvictim_authidcharsmax(victim_authid))
    
    new 
weapon[32], headshot_logentry[16
    
    switch(
wpnid)
    {
        case 
OP4_DISPLACERweapon "displacer_ball"
        
case OP4_SPOREweapon "spore"
        
case OP4_SHOCKBEAMweapon "shock_beam"
                
        
default: hl_get_wpnlogname(wpnidweaponcharsmax(weapon))
    }
        
    if(
headshot == HIT_HEAD)
        
headshot_logentry " (headshot)"
    
    
formatex(g_logmessage_ignorecharsmax(g_logmessage_ignore), " killed ^"%s", victim_name)
            
    log_message("
^"%s<%d><%s><%d>^" killed ^"%s<%d><%s><%d>^" with ^"%s^"%(attacker_position ^"%d %d %d^") (victim_position ^"%d %d %d^")",
        killer_name, killer_userid, killer_authid, killer_userid, 
        victim_name, victim_userid, victim_authid, victim_userid, 
        weapon, headshot_logentry,
        killer_origin[0], killer_origin[1], killer_origin[2],
        victim_origin[0], victim_origin[1], victim_origin[2])



PHP Code:
HLXCE_log(killervictimsuicideheadshotwpnidkiller_origin[3], victim_origin[3])
{
    
    ...
    
get_user_authid(victimvictim_authidcharsmax(victim_authid))
    
    new 
szTeamk[16];
    new 
szTeamv[16];
    
get_user_info(killer,"model"szTeamkcharsmax(szTeamk))
    
get_user_info(victim,"model"szTeamvcharsmax(szTeamv))
    
    new 
weapon[32], headshot_logentry[16
    
    ...
    
            
    
log_message("^"%s<%d><%s><%s>^" killed ^"%s<%d><%s><%s>^" with ^"%s^"%s (attacker_position ^"%%%d^") (victim_position ^"%%%d^")",
        
killer_namekiller_useridkiller_authidszTeamk
        
victim_namevictim_useridvictim_authidszTeamv
        
weaponheadshot_logentry,
        
killer_origin[0], killer_origin[1], killer_origin[2],
        
victim_origin[0], victim_origin[1], victim_origin[2])


See: HL Log Standard
__________________
- blupi blupi
ujjl is offline
Sawter
Junior Member
Join Date: Oct 2010
Old 02-19-2012 , 12:12   Re: Lambda Core: Half-Life ingame stats
Reply With Quote #67

Server has disabled that option

I can't activate them from game, menu does not work properly, only buttons from 1 to 5 work, and 8 is for save settings.
How can i manualy activate all options?
Sawter is offline
neoRT
Senior Member
Join Date: May 2011
Old 02-20-2012 , 04:13   Re: Lambda Core: Half-Life ingame stats
Reply With Quote #68

Bind your slots:
HTML Code:
bind 1 slot1
bind 2 slot2
...............
bind 9 slot9
bind 0 slot10
neoRT is offline
Sawter
Junior Member
Join Date: Oct 2010
Old 02-20-2012 , 05:05   Re: Lambda Core: Half-Life ingame stats
Reply With Quote #69

Thanks.
Sawter is offline
red_ferrari007
New Member
Join Date: Mar 2012
Old 03-20-2012 , 09:41   Re: Lambda Core: Half-Life ingame stats
Reply With Quote #70

Where are the Stats stored ???? How To reset all the Stats ????
red_ferrari007 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 08:30.


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