Raised This Month: $51 Target: $400
 12% 

HLSTATSCE With Insurgency 2


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
xtoor
Junior Member
Join Date: Jul 2014
Old 07-01-2014 , 13:02   HLSTATSCE With Insurgency 2
Reply With Quote #1

Hi guys im was wondering if Insurgency 2 support with be added to the game list? weapon kills are not being logged due different weapon codes being used also team names and superlogs doesn't work with ins2
here is a complete weapon code list for this game as im a server administrator. I spent quite some time collecting data this is accurate and will help to introduce game support:

Weapon Codes (yes they use the <*> don't know why):
Code:
grenade_c4<3>                  //C4
grenade_f1<5>                  //F1 Grenade
grenade_m67<4>               //M67 Grenade
grenade_molotov<7>          //Molotov
rocket_at4<1>                  //AT4
rocket_rpg7<0>                 //RPG7
player<10>                       //Combat Knife
player<11>                       //M9 Pistol
player<12>                       //Makarov Pistol
player<13>                       //M16A4
player<14>                       //MK18
player<15>                       //AK47
player<16>                       //FAL
player<17>                       //Mini-14
player<18>                       //M14 EBR
player<19>                       //M1A1
player<20>                       //SKS
player<21>                       //MP5K
player<22>                       //MP40
player<23>                       //UMP-45
player<24>                       //AKS-74U
player<25>                       //M590
player<26>                       //TOZ
player<27>                       //M249
player<28>                       //AKM
player<29>                       //M40A1
player<30>                       //Mosin
Team Codes as is:
Code:
#Team_Insurgent              //Insurgents
#Team_Security                //Security
at the moment can't figure the objectives codes since the show as #unknown_objective something developers need to work on.
Also images for this game need to be added check here http://masterrifleclan.box1.hlxcehost.com/ see split teams properly and weapons collecting data however headshots are not being logged
xtoor is offline
xtoor
Junior Member
Join Date: Jul 2014
Old 07-02-2014 , 11:46   Re: HLSTATSCE With Insurgency 2
Reply With Quote #2

@ Maverick which files contains game list and where i get the all the info needed so i can attemp to add insurgency2 myself i put it up for your review
xtoor is offline
Mavrick4283
Veteran Member
Join Date: Apr 2010
Location: 127.0.0.1@root
Old 07-02-2014 , 17:18   Re: HLSTATSCE With Insurgency 2
Reply With Quote #3

Quote:
Originally Posted by xtoor View Post
@ Maverick which files contains game list and where i get the all the info needed so i can attemp to add insurgency2 myself i put it up for your review
I do not know off head, that is one of the main reasons why I decide to start the rewrite...adding support for anything to the current code base is beyond a pain in the butt..

I would start in the events.pl if you can wait tell this weekend I will help you over steam if you would like.
__________________
Mavrick4283 is offline
xtoor
Junior Member
Join Date: Jul 2014
Old 07-03-2014 , 17:38   Re: HLSTATSCE With Insurgency 2
Reply With Quote #4

Alright ill commence to dig in the dirt see what i can find

hmmm im i looking at the wrong folder? theres no such events.pl in web folder

Last edited by xtoor; 07-03-2014 at 17:45. Reason: Didn't find file
xtoor is offline
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 07-03-2014 , 19:21   Re: HLSTATSCE With Insurgency 2
Reply With Quote #5

Quote:
Originally Posted by xtoor View Post
Alright ill commence to dig in the dirt see what i can find

hmmm im i looking at the wrong folder? theres no such events.pl in web folder
try the deamon, .pl gives a hint to possible daemon file
WildCard65 is offline
GiZZoR
Junior Member
Join Date: Sep 2013
Old 07-04-2014 , 08:08   Re: HLSTATSCE With Insurgency 2
Reply With Quote #6

Shouldn't need to rewrite anything, you should be able to configure the game via the Admin menu.
For example, to configure the weapons:
/hlstats.php?mode=admin&game=insmod&task=weapo ns#weapons
GiZZoR is offline
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 07-04-2014 , 09:25   Re: HLSTATSCE With Insurgency 2
Reply With Quote #7

Quote:
Originally Posted by GiZZoR View Post
Shouldn't need to rewrite anything, you should be able to configure the game via the Admin menu.
For example, to configure the weapons:
/hlstats.php?mode=admin&game=insmod&task=weapo ns#weapons
but the daemon would need code to handle insurgency events to award points.
WildCard65 is offline
xtoor
Junior Member
Join Date: Jul 2014
Old 07-05-2014 , 00:19   Re: HLSTATSCE With Insurgency 2
Reply With Quote #8

Quote:
Originally Posted by WildCard65 View Post
but the daemon would need code to handle insurgency events to award points.
Yep needs to be coded, also if you look at my first post your will see that i already did that but awards aren't matching for obvious reasons and images matches weapon codes which screwed me up since you can't rename the images containing <># symbols in it. I will put a request in Insurgency forums to change weapons Objective etc names to something more conventional see what happens
xtoor is offline
Mavrick4283
Veteran Member
Join Date: Apr 2010
Location: 127.0.0.1@root
Old 07-06-2014 , 16:30   Re: HLSTATSCE With Insurgency 2
Reply With Quote #9

@xtoor

I am looking at the web code; php is not my strong suit so this might be a while...
__________________
Mavrick4283 is offline
GiZZoR
Junior Member
Join Date: Sep 2013
Old 07-07-2014 , 02:49   Re: HLSTATSCE With Insurgency 2
Reply With Quote #10

I've had some (minimal) success using SuperLogs for Insurgency.
Some weapon names come through when I turn on KTRAJ logging.

Setting the team names has worked for me.

Quote:
L 07/04/2014 - 16:17:48: "Brad<17><BOT><#Team_Insurgent>" killed "Jono<16><BOT><#Team_Security>" with "player<16>" at (794.275024, -1788.629883, 0.031250)
L 07/04/2014 - 16:17:48: [KTRAJ] "Brad<17><BOT><SPECTATOR>" killed "Jono<16><BOT><Iraqi Insurgents>" with "" (attacker_position "-1353 -1840 0") (victim_position "794 -1789 0")
L 07/04/2014 - 16:17:50: World triggered "killlocation" (attacker_position "1159 -1790 0") (victim_position "-1228 -1788 0")
L 07/04/2014 - 16:17:50: "Geoffrey<15><BOT><#Team_Security>" killed "Brad<17><BOT><#Team_Insurgent>" with "player<13>" at (-1227.791260, -1788.281006, 0.031250)
L 07/04/2014 - 16:17:50: [KTRAJ] "Geoffrey<15><BOT><Iraqi Insurgents>" killed "Brad<17><BOT><SPECTATOR>" with "weapon_m16a4" (attacker_position "1159 -1790 0") (victim_position "-1228 -1788 0")

Last edited by GiZZoR; 07-07-2014 at 03:04.
GiZZoR 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 02:00.


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