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

Problem with HLStatsX


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Mike4Told
Member
Join Date: Sep 2013
Old 10-05-2014 , 00:32   Problem with HLStatsX
Reply With Quote #1

After a while of running the daemon, this happens and freezes the stats. I have to restart the daemon manually. I have restarted my stats completely with a new database and it still happens. Ideas?

Thanks in advance.

Code:
                                hlstats_Players
                        SET
                                connection_time = connection_time + ?,
                                lastName=?,
                                clan=?,
                                kills=kills + ?,
                                deaths=deaths + ?,
                                suicides=suicides + ?,
                                skill=?,
                                headshots=headshots + ?,
                                shots=shots + ?,
                                hits=hits + ?,
                                teamkills=teamkills + ?,
                                last_event=?,
                                last_skill_change=?,
                                death_streak=IF(?>death_streak,?,death_streak),
                                kill_streak=IF(?>kill_streak,?,kill_streak),
                                hideranking=IF(hideranking=3,0,hideranking),
                                activity = 100
                        WHERE
                                playerId=?

Incorrect string value: '\xF0\x9F\x91\x88to...' for column 'lastName' at row 1 a
t .//HLstats.plib line 213.
Mike4Told is offline
micazoid
Veteran Member
Join Date: Oct 2010
Location: Munich - Germany
Old 10-08-2014 , 02:51   Re: Problem with HLStatsX
Reply With Quote #2

Same Problem. Google tells me nothing very helpful =(
__________________
micazoid is offline
Mike4Told
Member
Join Date: Sep 2013
Old 10-13-2014 , 22:32   Re: Problem with HLStatsX
Reply With Quote #3

I hate to bump this. But is there an update for this problem?
Mike4Told is offline
nikooo777
AlliedModders Donor
Join Date: Apr 2010
Location: Lugano, Switzerland
Old 10-14-2014 , 19:31   Re: Problem with HLStatsX
Reply With Quote #4

Somehow an user with a weird name got saved in the database and it's causing this issue!
Manually find the user with lastname set in the database (should be something like "\xF0\x9F\x91\x88....")
and modify it to anything you like, but normal text.
__________________
nikooo777 is offline
Mavrick4283
Veteran Member
Join Date: Apr 2010
Location: 127.0.0.1@root
Old 10-14-2014 , 20:11   Re: Problem with HLStatsX
Reply With Quote #5

It looks like the packets are not being parsed correctly and it is inserting the bad data into the DB.

This might be related to a bug in how I packed the HLX:CE linux tar files, I am going to re-upload in a few mins to correct that.

Once that is done, try to re-download the files and replace the daemon files and see if this happens again.
__________________
Mavrick4283 is offline
micazoid
Veteran Member
Join Date: Oct 2010
Location: Munich - Germany
Old 10-15-2014 , 01:25   Re: Problem with HLStatsX
Reply With Quote #6

Quote:
Originally Posted by Mavrick4283 View Post
It looks like the packets are not being parsed correctly and it is inserting the bad data into the DB.

This might be related to a bug in how I packed the HLX:CE linux tar files, I am going to re-upload in a few mins to correct that.

Once that is done, try to re-download the files and replace the daemon files and see if this happens again.
That would be awesome. It happens not everytime and not with specific users. I first thought about a sort of Encodingproblem. For example if a Player uses strange characters in his name. But a Unicodechangerplugin didnt solve the problem =(
__________________
micazoid is offline
micazoid
Veteran Member
Join Date: Oct 2010
Location: Munich - Germany
Old 10-21-2014 , 04:53   Re: Problem with HLStatsX
Reply With Quote #7

Where can I download? Normal DL - Link?
__________________
micazoid is offline
Mavrick4283
Veteran Member
Join Date: Apr 2010
Location: 127.0.0.1@root
Old 10-21-2014 , 13:19   Re: Problem with HLStatsX
Reply With Quote #8

Yes
__________________
Mavrick4283 is offline
Mike4Told
Member
Join Date: Sep 2013
Old 10-28-2014 , 03:38   Re: Problem with HLStatsX
Reply With Quote #9

I assume you didn't change the version number?
Mike4Told is offline
Mavrick4283
Veteran Member
Join Date: Apr 2010
Location: 127.0.0.1@root
Old 10-28-2014 , 21:52   Re: Problem with HLStatsX
Reply With Quote #10

Quote:
Originally Posted by Mike4Told View Post
I assume you didn't change the version number?
There is no need to do so; I only corrected the way I compressed the files.
__________________
Mavrick4283 is offline
Reply


Thread Tools
Display Modes

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 16:33.


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