View Single Post
Jumpman
Senior Member
Join Date: Mar 2010
Location: Denmark
Old 03-02-2016 , 05:33   Re: Fix SteamIDs for the new update
Reply With Quote #106

Quote:
Originally Posted by Nikkii View Post
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;
Will this help be cource when you look at my site http://venskabsklanerne.dk/hlxce/hls...ayer&q=jumpman it log both steamid, so if i make this change above then it only log the old steamid. My problem is that in-game rank and top10 show 2 different results when i write rank it show ex. rank 1 but when i write top10 it show rank 3 ?
__________________
[+35]Jumpman

Last edited by Jumpman; 03-02-2016 at 05:35.
Jumpman is offline