Raised This Month: $ Target: $400
 0% 

[Counter strike Source]Players duplicates again after update


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
stoneyschillhouse
Senior Member
Join Date: Nov 2012
Old 09-19-2015 , 14:31   Re: Players duplicates again after update
Reply With Quote #1

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
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