View Single Post
micazoid
Veteran Member
Join Date: Oct 2010
Location: Munich - Germany
Old 12-26-2016 , 16:08   Re: Please update data
Reply With Quote #2

I have done a Day of Infamy support for HLstats. Was quite a bunch of work, but there is one huge problem: The Weapon Codes.

Usually the codes are like this

Player 1 (Steam:bla) killed player2 (steam:bla) with weapon bar and so on

But DOI does this as following:

L 12/26/2016 - 11:16:40: "BOT Serguei<6><BOT><#faction_americans>" killed "BOT Thomas<21><BOT><#faction_german_army>" with "thompson_m1a1<16>" at (418.153564, 2682.978760, -114.822273)

the problem is: "thompson_m1a1<16>" the <>

This causes HLstats to not be able to assign images to the weapons on a windows server and weapon tab shows the weapons if assigned but if you click on the weapon the char is empty.

So the Problem is not the empty data for DOI but the <> in the weapon code itself. I think there might be a little workarround in php which makes HLstats ignore <> but I am not able to solve this by my self.

At this point I am willing to share my work you can see here if someone can make a workarround for the problem with the <>

Edit:
Just recognized, that the new update f**ked up my work cause the weapon Codes changed. Merry Christmas to me
__________________

Last edited by micazoid; 12-26-2016 at 16:24.
micazoid is offline