Raised This Month: $ Target: $400
 0% 

[Counter strike Source]Players duplicates again after update


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
KingPovilas
Junior Member
Join Date: Aug 2015
Old 09-20-2015 , 06:58   Re: Players duplicates again after update
Reply With Quote #1

Quote:
Originally Posted by Kahl_Drogo View Post
Hi All,

I think I solved and fixed problem with duplicate (STEAM3)

In superlogs-tf2.sp and loghelper.inc

I replaced all GetClientAuthString to new function GetClientAuthId(client, AuthId_Steam3, player_authid, sizeof(player_authid))

Let me know if also work for you

Tf2 was fixed year ago,because u already using steam3id,we are talking here about counter strike source
KingPovilas is offline
Bobelix
New Member
Join Date: Aug 2014
Location: Germany, near by Hamburg
Old 09-20-2015 , 11:56   Re: [Counter strike Source]Players duplicates again after update
Reply With Quote #2

Hello,

for HLStatsX i use the Changes described in this thread:
https://forums.alliedmods.net/showthread.php?t=246712

This Changes convert all new U:-Steam ID's into old.

Since them it is equal if now the Hlstats-plugin give new and superlog-plugins give old Steam-ID's....

Maybe this also works for you.
Bobelix is offline
micazoid
Veteran Member
Join Date: Oct 2010
Location: Munich - Germany
Old 09-18-2015 , 19:38   Re: Players duplicates again after update
Reply With Quote #3

I fixed mysql syntax by myself.

I tried to get this working but no success. Even worse output was given. The players were no tracked at all =(

I will do further testing but I am not sure what you mean exactly by:

$uniqueid =~ /^\[U:1\d+)\]/;
$uniqueid = $1;

Can you please consider to post whole code?
__________________
micazoid is offline
stoneyschillhouse
Senior Member
Join Date: Nov 2012
Old 09-19-2015 , 14:31   Re: Players duplicates again after update
Reply With Quote #4

thx

Now the Sqlsyntax doesnt put out any errors but the problem is still the same

the converting isnt correct

the resulting IDv2 wich is now show up in hlstats isnt the right one

its a ID wich does not exists.

The .pl section wich he means I think its line 1050 - 1064


PHP Code:
#
# array getPlayerInfo (string player, string $ipAddr)
#
# Get a player's name, uid, wonid and team from "Name<uid><wonid><team>".
#

sub getPlayerInfo
{
    
my ($player$create_player$ipAddr) = @_;

    if (
$player =~ /^(.*?)<(\d+)><([^<>]*)><([^<>]*)>(?:<([^<>]*)>)?.*$/) {
        
my $name        = $1;
        
my $userid        = $2;
        
my $uniqueid    = $3;
        
my $team        = $4;
        
my $role        = $5;
        
my $bot            0;
        
my $haveplayer  0;
        
        
$plainuniqueid $uniqueid;
        
$uniqueid =~ /^\[U:1:(\d+)\]/;
        
$uniqueid = $1
        
        if ((
$uniqueid eq "Console") && ($team eq "Console")) {
          return 
0;
        }
        if (
$g_servers{$s_addr}->{play_game} == L4D()) {
        
#for l4d, create meta player object for e 
???
__________________
SRY FOR MY BAD ENGLISH
I'm german
stoneyschillhouse is offline
samsah
AlliedModders Donor
Join Date: Mar 2008
Location: Finland
Old 09-21-2015 , 02:49   Re: [Counter strike Source]Players duplicates again after update
Reply With Quote #5

I did only a quick test but it seems to be working.
I used loghelper.inc from Kahl_Drogo's post above. Also edited that one line from wstatshelper.inc to use steam3.
Attached Files
File Type: sp Get Plugin or Get Source (superlogs-css.sp - 67 views - 13.2 KB)
File Type: inc loghelper.inc (7.4 KB, 79 views)
File Type: inc wstatshelper.inc (6.8 KB, 84 views)
File Type: smx superlogs-css.smx (15.9 KB, 82 views)
__________________
samsah is offline
KingPovilas
Junior Member
Join Date: Aug 2015
Old 09-21-2015 , 07:06   Re: [Counter strike Source]Players duplicates again after update
Reply With Quote #6

Still duplicates,ar least in my server,what i did so far is made fresh install of hlstatsx:ce ,now tooked your edited superlogs,prob need something to do,with website part too or how stats records themself.

Last edited by KingPovilas; 09-21-2015 at 07:06.
KingPovilas is offline
samsah
AlliedModders Donor
Join Date: Mar 2008
Location: Finland
Old 09-21-2015 , 10:16   Re: [Counter strike Source]Players duplicates again after update
Reply With Quote #7

I checked only server side console feed and did not see any old steamid formats there so it leaves that to HLXCE end.
__________________
samsah is offline
stoneyschillhouse
Senior Member
Join Date: Nov 2012
Old 09-21-2015 , 15:48   Re: [Counter strike Source]Players duplicates again after update
Reply With Quote #8

I will upload my edited files

stop your deamon

change the files

start your deamon

It will works fine for me
Attached Files
File Type: zip Fix HLstatsX CSS update V2971353.zip (47.2 KB, 254 views)
__________________
SRY FOR MY BAD ENGLISH
I'm german
stoneyschillhouse is offline
KingPovilas
Junior Member
Join Date: Aug 2015
Old 09-22-2015 , 03:00   Re: [Counter strike Source]Players duplicates again after update
Reply With Quote #9

Quote:
Originally Posted by stoneyschillhouse View Post
I will upload my edited files

stop your deamon

change the files

start your deamon

It will works fine for me
Thanks worked like a charm,i did edition of files myself,just forgot the step,there i had to stop daemon from running,probably thats why i had problems before,now everything is working as it should.
KingPovilas 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 12:44.


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