Raised This Month: $32 Target: $400
 8% 

Problems with CSS, CSGO and TF2 (last updates)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Killer0561
Member
Join Date: Apr 2011
Location: Germany, Hessen, Kassel
Old 10-10-2015 , 05:51   Problems with CSS, CSGO and TF2 (last updates)
Reply With Quote #1

Hi guys,

I have a big problem with HLStatsX. For example, in CSGO the points are counted, but no kills, headshots, death, etc. In CSS and TF2, the points are counted, but not in-game, when you "rank" enters in chat. There is always 1000, although in chat what is different.

Does anyone know this problem well? Please help.

Site: http://hlstatsx.egu-multigaming.de/hlstats.php


- Killer0561
Killer0561 is offline
nikooo777
AlliedModders Donor
Join Date: Apr 2010
Location: Lugano, Switzerland
Old 10-10-2015 , 06:20   Re: Problems with CSS, CSGO and TF2 (last updates)
Reply With Quote #2

Hi. The thread below yours is the solution.
__________________
nikooo777 is offline
Killer0561
Member
Join Date: Apr 2011
Location: Germany, Hessen, Kassel
Old 10-10-2015 , 06:29   Re: Problems with CSS, CSGO and TF2 (last updates)
Reply With Quote #3

first post in "Fix SteamIDs for the new update"?
https://forums.alliedmods.net/showthread.php?t=246712

This will convert the new value to the old, allowing all of your current stats to be saved.

In scripts/HLstats_EventHandlers.plib, find
Code:
$owner =~ /.+?<STEAM_[0-9]+:([0-9]+:[0-9]+)>.*/;
Add this before it:
Code:
$owner =~ s!\[U:1:(\d+)\]!'STEAM_0:'.($1 % 2).':'.int($1 / 2)!eg;
In scripts/hlstats.pl, find
Code:
$uniqueid =~ s/^STEAM_[0-9]+?\://;
Add this before it:
Code:
$uniqueid =~ s!\[U:1:(\d+)\]!'STEAM_0:'.($1 % 2).':'.int($1 / 2)!eg;
In scripts/TRcon.pm, find
Code:
$uniqueid =~ s/^STEAM_[0-9]+?\://i;
Add this before or after it:
Code:
$uniqueid =~ s!\[U:1:(\d+)\]!($1 % 2).':'.int($1 / 2)!eg;

- Killer0561

Last edited by Killer0561; 10-10-2015 at 06:29.
Killer0561 is offline
nikooo777
AlliedModders Donor
Join Date: Apr 2010
Location: Lugano, Switzerland
Old 10-10-2015 , 08:02   Re: Problems with CSS, CSGO and TF2 (last updates)
Reply With Quote #4

yes
__________________
nikooo777 is offline
Killer0561
Member
Join Date: Apr 2011
Location: Germany, Hessen, Kassel
Old 10-11-2015 , 04:38   Re: Problems with CSS, CSGO and TF2 (last updates)
Reply With Quote #5

After I've changed so, all players are in double HLStatsX. How can I solve the problem now?

- Killer0561
Killer0561 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 13:49.


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