Insurgency

Insurgency

Lihat Statistik:
Falzar 27 Jul 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
Terakhir diedit oleh Falzar; 27 Jul 2014 @ 11:15pm
< >
Menampilkan 46-60 dari 135 komentar
MrEvilRobot 10 Jan 2015 @ 5:05pm 
This error shows only on coop servers on pvp haven't seen it:
L 01/11/2015 - 01:05:21: SourceMod error session started L 01/11/2015 - 01:05:21: Info (map "workshop\358014119\winter_rescue_v1") (file "errors_20150111.log") L 01/11/2015 - 01:05:21: [SM] Native "GetClientAuthString" reported: Client index 0 is invalid L 01/11/2015 - 01:05:21: [SM] Displaying call stack trace for plugin "ins_logger.smx": L 01/11/2015 - 01:05:21: [SM] [0] Line 313, ins_logger.sp::Event_ObjectDestroyed() L 01/11/2015 - 01:10:55: [SM] Native "GetClientAuthString" reported: Client index 0 is invalid L 01/11/2015 - 01:10:55: [SM] Displaying call stack trace for plugin "ins_logger.smx": L 01/11/2015 - 01:10:55: [SM] [0] Line 313, ins_logger.sp::Event_ObjectDestroyed() L 01/11/2015 - 01:23:27: Error log file session closed.
jballou 11 Jan 2015 @ 4:46am 
I think the error likely didn't cause a failure, but it may have been crediting an incorrect player when a point was destroyed or captured. The game gave me a list of user IDs, I go through to assign credit, I neglected to convert them to the corresponding in-plugin client ID before rewarding, and the numbers can be different. I went over all events and verified this was fixed in every function, that was the latest version I sent out. You may need to reload your server to fully refresh the plugins, I think I am missing something in the unloading function that's causing it to not really unload and reload. Thanks for the feedback, let me know how it works out.
MrEvilRobot 11 Jan 2015 @ 5:34am 
I've updated yesterday to the latest version, servers have been restarted.
This error shows only on coop servers, my pvp server gives no error.
Mabe it's connected to bots team or in coop client id's start with 1 (just guesing, I have no idea how this works ;) )
L 01/11/2015 - 14:28:27: Info (map "district_coop") (file "errors_20150111.log") L 01/11/2015 - 14:28:27: [SM] Native "GetClientAuthString" reported: Client index 0 is invalid L 01/11/2015 - 14:28:27: [SM] Displaying call stack trace for plugin "ins_logger.smx": L 01/11/2015 - 14:28:27: [SM] [0] Line 313, ins_logger.sp::Event_ObjectDestroyed()
Terakhir diedit oleh MrEvilRobot; 11 Jan 2015 @ 5:34am
jballou 11 Jan 2015 @ 9:40am 
Yeah, I pushed like 10 revisions. I fix things in small batches and upload frequently so I can roll back if I have to. The error you have there is from the older version. Grab the current one, once this tests good I will bump the version number and give it a few days to have everyone try it.
GetClientAuthString? Doesn't this fail when Steam is offline?
I had an issue with "no admin access" from SourceMod when my steam ID was not being validated on join, due to some steam network issue.
There is this setting in SourceMod's core.cfg:
/** * If set to yes, SourceMod will validate steamid auth strings with the Steam backend before giving out admin access. * This can prevent malicious users from impersonating admins with stolen Steam apptickets. * If Steam is down, admins will not be authenticated until Steam comes back up. * This option increases the security of your server, but is still experimental. */ "SteamAuthstringValidation" "yes"
Terakhir diedit oleh This_Idiot_Games; 11 Jan 2015 @ 11:50pm
jballou 12 Jan 2015 @ 8:57am 
The error was caused at first because I was using the wrong number to look up the auth string of a client. It was broken even with Steam online, I saw the same error on my server. It was 100% my fault for making a mistake in the code :)
MrEvilRobot 12 Jan 2015 @ 11:37am 
Yesterday just to be sure I've updated the plugin once again (https://github.com/jaredballou/insurgency-sourcemod/blob/master/plugins/ins_logger.smx).
But the error is still there.

L 01/12/2015 - 20:23:27: Info (map "revolt_coop") (file "errors_20150112.log") L 01/12/2015 - 20:23:27: [SM] Native "GetClientAuthString" reported: Client index 0 is invalid L 01/12/2015 - 20:23:27: [SM] Displaying call stack trace for plugin "ins_logger.smx": L 01/12/2015 - 20:23:27: [SM] [0] Line 313, ins_logger.sp::Event_ObjectDestroyed() L 01/12/2015 - 20:27:27: [SM] Native "GetClientAuthString" reported: Client index 0 is invalid L 01/12/2015 - 20:27:27: [SM] Displaying call stack trace for plugin "ins_logger.smx": L 01/12/2015 - 20:27:27: [SM] [0] Line 313, ins_logger.sp::Event_ObjectDestroyed()

Can anyone else confirm it on their server? Or am I the only one with this error?
You can find logs in this location: ../insurgency/addons/sourcemod/logs/
Name of the error log would be like: errors_20150112.log
jballou 12 Jan 2015 @ 12:10pm 
OK, let me see if I can reproduce this and debug it more. If you fully restarted the server and it's still there, then it's still a bug. I'll reply back when I make a bit of traction. Thanks for helping me test it, I appreciate it.
ins_logger.smx from latest github works for me. No errors but nothing in the mysql database unfortenly.
jballou 14 Jan 2015 @ 7:00am 
ins_logger just makes the console logs. HLStatsX or some other tool is needed to ingest them. Is HLStatsX up and running, and configured to receive logs from your game server?
I wrote to you on the AlliedModders forum, but I copy/paste it here.

I may be retarded, but I can't get it to work. My database is correct, and the plugin is listed in Insurgency, but no data comes to the database. Do I need the deamon started for it? Because when i try to use 'perl hlstats.pl. I get this error;

The getpwuid function is unimplemented at hlstats.pl line 1833
I use windows 12 server.

Oh. Only error on the server is this;

L 01/13/2015 - 21:490: [SM] Plugin encountered error 15: Array index is out of bounds
L 01/13/2015 - 21:490: [SM] Displaying call stack trace for plugin "superlogs-ins.smx":
I use brutus_ins_logger.smx, and ins_logger.smx too..

Ingame when I type 'hlx' I get the menu, but nothing happens when I press it.
Well. Any help in some direction would be nice. Thanks in advance and for your job!
jballou 14 Jan 2015 @ 10:36am 
Yes, the daemon must be running. I have no idea how to get it working on Windows, it's been ten years since I last visited ActivePerl hell and I have no desire to go back. But until the daemon runs, nothing will work obviously, I don't know if there's a good Perl on Windows site out there still. As for the logger, it's a one or the other thing, you shouldn't use both. That error has me concerned though, can you include the next few lines that include the details of the error? I'll see if there's something else I need to fix.
Aha. I tought the deamon was only to collect data to the webserver or something. Because I use some other stats on my L4D2 server and that worked fine.
I unloaded the brutus and ins_logger and only used the superlogs-ins.smx and got this spamming:

L 01/14/2015 - 19:50:42: [SM] Plugin encountered error 15: Array index is out of bounds
L 01/14/2015 - 19:50:42: [SM] Displaying call stack trace for plugin "superlogs-ins.smx":
L 01/14/2015 - 19:50:42: [SM] [0] Line 207, superlogs-ins.sp::Event_PlayerHurt()

I need some path to the mysqladmin I see to get the DBI::mysql to compile.
Thanks for all the help!
jballou 14 Jan 2015 @ 11:42am 
Oh yeah, remove superlogs-ins.smx, that is for the old Insurgency mod.
< >
Menampilkan 46-60 dari 135 komentar
Per halaman: 1530 50

Tanggal Diposting: 27 Jul 2014 @ 11:14pm
Postingan: 135