Insurgency

Insurgency

View Stats:
Falzar Jul 27, 2014 @ 11:14pm
For Admins planning to run SM + HLStatsX/Psychostats/Other Stat Systems
Hi all, I made a SourceMod plugin that fixes most of Insurgency 2014's horrible logging. Previously weapon names were logged as "player<#>", but now they are correctly named in the HL Log Standard. Stuff like headshots, shots-per-hitarea are also correctly logged and outputted. An example can be found here on my server: Brutus.SG Psychostats[brutusstats.no-ip.org]

I posted here because AlliedModders' New Plugins section is constantly flooded, so as to increase visibility, you can find my plugin here: AlliedModders[forums.alliedmods.net]

Good luck with your servers, and please raise any issues to me either here, send me a PM or on the AlliedModders page!

-Falzar
Last edited by Falzar; Jul 27, 2014 @ 11:15pm
< >
Showing 76-90 of 135 comments
Falzar Jan 17, 2015 @ 10:53am 
Check if your perl daemon settings (hlstats.conf), your batch script all point correctly to the sql db. Also try playing a game to generate some data. In MySQL Workbench you can switch over to the Server Status tab to check if there is read/write to the db as well as connections
Slim Abodibbah Jan 18, 2015 @ 3:40am 
http://www.gayunicorns.com/temp/mysql.png
I have no clue why it isn't working. I appreciate all the help!
Slim Abodibbah Jan 18, 2015 @ 3:54am 
Ok Im a ♥♥♥♥♥♥. I now see the error. Cheesus christ forgive me for my stupidity..
Falzar Jan 18, 2015 @ 3:55am 
Have you set up the web portion of HLStatsX? What you need to do is to log into the admin console of HLStatsX, then add your server in. E997 - NOT ALLOWED SERVER is probably because you have not configured HLStatsX to receive logs from that specific server ip.
Slim Abodibbah Jan 18, 2015 @ 3:59am 
It works.. I want to thank you all for the patience and support. I love you all.
And thank you ballou for all the work with the plugin.
Slim Abodibbah Jan 18, 2015 @ 4:12am 
Only thing now is to get the teams right. Now it seems like the bots are everywhere. I only use Co-Op checkpoint as map mode.
SIL_EL_MOT Jan 18, 2015 @ 12:29pm 
hello all. first, thanks to Ballou for all the work,
nearly everything works like a charm on my server, but now i have one... two questions:
on the webpage i can see how many kills were done with which weapon, but in the dayly-awards section is nothing count. i started hlstats-awards.pl already, nothing changed. can smbd help, any suggestions?

second, i would like to host a coop-game. bots have to be count like real players, but nobody needs to see if they get points or anything. can i disable the hlstatsx-message only for bots and mark them on the hlstatsx-website alltogether to be non-shown? per steam id (BOT:) or smth? any sugestions here?

thx.
jballou Jan 19, 2015 @ 10:34am 
There is a new version up with a few more fixes and some debug messages commented out. Control point caps and cache destructions work properly, kills and destructions apply points to assisters properly as well. I am going to be adding a few more log events soon to properly log and credit round advances in survival servers, and I am working on breaking out the logger into an Insurgency support module (to handle weapon lookups, translations, etc) so that I can start fixing more third-party plugins to support Insurgency.

Originally posted by Milamber:
One miscalculation I just noticed is that everything that can hit more than one person counts for accuracy. So a molotov can have 1000% accuracy or more.. ;)
I'm going to leave that for the time being until I can figure out a way to handle it properly. Same with bullets that go through two players, it skews the stats but now that so many people use the mod I need to be careful tweaking stuff or else I can break something else.
Originally posted by SIL - the one and only:
hello all. first, thanks to Ballou for all the work,
nearly everything works like a charm on my server, but now i have one... two questions:
on the webpage i can see how many kills were done with which weapon, but in the dayly-awards section is nothing count. i started hlstats-awards.pl already, nothing changed. can smbd help, any suggestions?
It just works for me. Have you imported my MySQL dump that includes all weapons and awards? Check http://ins.jballou.com/create-hlstatsdump.php to get the latest data, it is generally safe to be run on an existing database without damage, but always do a back up first anyway.
Originally posted by SIL - the one and only:
second, i would like to host a coop-game. bots have to be count like real players, but nobody needs to see if they get points or anything. can i disable the hlstatsx-message only for bots and mark them on the hlstatsx-website alltogether to be non-shown? per steam id (BOT:) or smth? any sugestions here?
thx.
You need to turn off ignore bots on the server, it will only tell players when they are killed by bots (unless you broadcast all events to all players which will be insane). If you're looking to broadcast everything to all players, I'm not sure how to do that really.
SIL_EL_MOT Jan 19, 2015 @ 1:54pm 
do you mean the hlstatsx-server? when i turn off to ignore bots, they are count and shown in the statistics like real human players. if i turn on ignore bots, they are not shown, but kills of bots dont count too. . .

to the other problem: i read , that i have to start awards.pl after midnight to count the day. i will try this
Slim Abodibbah Jan 19, 2015 @ 2:53pm 
On the latest plugins from you github I get this errors;
L 01/19/2015 - 23:42:25: [SM] Failed to load plugin "ins_logger.smx": Unable to load plugin (error 1: Unrecognizable file format).
L 01/19/2015 - 23:42:25: [SM] Failed to load plugin "navmesh-chat.smx": Unable to load plugin (error 1: Unrecognizable file format).
L 01/19/2015 - 23:42:25: [SM] Failed to load plugin "navmesh.smx": Unable to load plugin (error 1: Unrecognizable file format).

Otherwise everything works. But as maybe SIL-the-one talked about, is it possible ot ignore on the webstats like this: Steam: BOT:ae1b21b174f26ad0d30580960b389d17 because I only use it for Co-Op Checkpoint.
Thank you so much for all thr work Ballou
Milamber Jan 19, 2015 @ 3:27pm 
Originally posted by slampemil:
On the latest plugins from you github I get this errors;
L 01/19/2015 - 23:42:25: [SM] Failed to load plugin "ins_logger.smx": Unable to load plugin (error 1: Unrecognizable file format).
L 01/19/2015 - 23:42:25: [SM] Failed to load plugin "navmesh-chat.smx": Unable to load plugin (error 1: Unrecognizable file format).
L 01/19/2015 - 23:42:25: [SM] Failed to load plugin "navmesh.smx": Unable to load plugin (error 1: Unrecognizable file format).

Otherwise everything works. But as maybe SIL-the-one talked about, is it possible ot ignore on the webstats like this: Steam: BOT:ae1b21b174f26ad0d30580960b389d17 because I only use it for Co-Op Checkpoint.
Thank you so much for all thr work Ballou

Make sure you don't upload the .smx as ascii format - you need to upload them as binary format if you're FTP:ing.

SIL - I think you can live with bots being counted though? That's what I do, it's not like they're gonna win any awards.. ;) It can be fixed, just needs to have someone mess with the hlstatsx parser. For me it's a non-issue really.
Slim Abodibbah Jan 19, 2015 @ 3:55pm 
I downloaded them directly to my server trough remote desktop, I have literally 2 m to my server. =)
And I use 'Save link' or something from the github. Was that wrong or do I need to download whole?

Of course I can live with the bots showing up in stats, I just wondered if it was a easy fix. =)
I will look into the download now. Thanks for answer!
jballou Jan 19, 2015 @ 11:32pm 
Yeah, you need to use the 'View Raw' link. Try downloading from the link at http://jballou.com/insurgency/ and see if that helps? I just did a big refactor and organization push tonight, but I tested the plugins and they're all good now.

Originally posted by SIL - the one and only:
do you mean the hlstatsx-server? when i turn off to ignore bots, they are count and shown in the statistics like real human players. if i turn on ignore bots, they are not shown, but kills of bots dont count too. . .
Yeah, that's how it works. There is no "only count kills" option as far as I know.
SIL_EL_MOT Jan 20, 2015 @ 1:17am 
so i tried again today. but awards.pl dont work as considered to do. the script shows the error "hlstats_events_worldactions" doesnt exist at hlstats.plib. and in the database there are no changes in the hlstats_awards-database.. d_winner_id, d_winner_count, g_winner_id and g_winner_count are "NULL" all the time :( any sugestions?`

edit: i came to this: there are no entrys in the hlstats_events_frags , and so they dont get count in the hlstats_awards. how can that be, that kills get not logged in this table?
Last edited by SIL_EL_MOT; Jan 20, 2015 @ 2:57am
jballou Jan 20, 2015 @ 7:23am 
I'm not sure. I might have made a change to the database that I haven't exported... hrm. I'll try to figure it out today, can you get your latest hlstatsx log from the scripts/log/ directory and send it my way?
< >
Showing 76-90 of 135 comments
Per page: 1530 50

Date Posted: Jul 27, 2014 @ 11:14pm
Posts: 135