Raised This Month: $7 Target: $400
 1% 

Fix SteamIDs for the new update


Post New Thread Reply   
 
Thread Tools Display Modes
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 10-19-2015 , 08:24   Re: Fix SteamIDs for the new update
Reply With Quote #91

Can you just list the default steamID format for CSS? Just go to your logs folder in your daemon directory and copy me the line that says player connected or joined a team.

Also, add what steamID format is used from "status" command.
__________________

Last edited by Spirit_12; 10-19-2015 at 10:59.
Spirit_12 is offline
St00ne
Veteran Member
Join Date: Jan 2011
Location: Annecy - France
Old 10-19-2015 , 12:56   Re: Fix SteamIDs for the new update
Reply With Quote #92

I think this will answer your questions. Both are used in different cases.

Spoiler


(I changed the numbers so the conversion between new and old steam id is not correct in this log).

On the web stats there are two profiles, one with an ID like STEAM_0:1:145678435 (I only see weapon accuracy and shots per kill on this page) and one like STEAM_0:[U:1:294123401] (Note the STEAM_0: in front of the [U:scheme]) which has a lot of correct stats.

++

Last edited by St00ne; 10-19-2015 at 13:37.
St00ne is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 10-19-2015 , 14:22   Re: Fix SteamIDs for the new update
Reply With Quote #93

This explains everything. I'm using STEAM_0:1:145678435 format in the plugin, but server by default sends new format.STEAM_0:[U:1:294123401]

That is why you see 2 entries because CSS is switched over to use new steamID format. It should be just a small edit.

I'll see when I can fix it, but it won't be till 2-3 days.
__________________
Spirit_12 is offline
St00ne
Veteran Member
Join Date: Jan 2011
Location: Annecy - France
Old 10-20-2015 , 04:57   Re: Fix SteamIDs for the new update
Reply With Quote #94

Ok thanks.
St00ne is offline
St00ne
Veteran Member
Join Date: Jan 2011
Location: Annecy - France
Old 10-21-2015 , 20:03   Re: Fix SteamIDs for the new update
Reply With Quote #95

Wait, it worked for me after doing what is written in 1st post, and restarting the daemon.

'Old' SteamID player profiles are fully correct. It seems that the piece of data that was sent to the profile with the new SteamID, is now redirected to the main profile of a player.

I just have to reset the stats now, or wait 28 days for the player profiles which are not used any longer to be hidden.
If I reset the stats and I still have two profiles, that won't be a real problem as long as one profile is completely empty, and thus, not ranked/hidden.

I suggest Killer0561 to try again the modifications of 1st post.

++

Last edited by St00ne; 10-21-2015 at 20:07.
St00ne is offline
kills
AlliedModders Donor
Join Date: Sep 2008
Location: ROU
Old 10-24-2015 , 12:31   Re: Fix SteamIDs for the new update
Reply With Quote #96

Quote:
Originally Posted by St00ne View Post
Wait, it worked for me after doing what is written in 1st post, and restarting the daemon.

'Old' SteamID player profiles are fully correct. It seems that the piece of data that was sent to the profile with the new SteamID, is now redirected to the main profile of a player.

I just have to reset the stats now, or wait 28 days for the player profiles which are not used any longer to be hidden.
If I reset the stats and I still have two profiles, that won't be a real problem as long as one profile is completely empty, and thus, not ranked/hidden.

I suggest Killer0561 to try again the modifications of 1st post.

++




We did exactly that in the first post, I installed and SMX.
.for Server css does not work
We expect an update

Thank you!
kills is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 10-27-2015 , 12:31   Re: Fix SteamIDs for the new update
Reply With Quote #97

I hope those words are due to your lack of English proficiency. Otherwise, that was extremely rude.

The plugin that I worked has been working fine for months on my server. I'm out of the country right now. But I will update it once I get back to my normal schedule. Stay calm till then.
__________________
Spirit_12 is offline
kills
AlliedModders Donor
Join Date: Sep 2008
Location: ROU
Old 10-28-2015 , 13:30   Re: Fix SteamIDs for the new update
Reply With Quote #98

I'm so sorry, but do not speak very good English.
If I spoke wrong, I ask a thousand excuses !!.
If your post is addressed to me.

Thank You !!
kills is offline
kills
AlliedModders Donor
Join Date: Sep 2008
Location: ROU
Old 11-12-2015 , 09:45   Re: Fix SteamIDs for the new update
Reply With Quote #99

Can someone help me?
Thank you !
kills is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 11-12-2015 , 20:30   Re: Fix SteamIDs for the new update
Reply With Quote #100

Quote:
Originally Posted by kills View Post
Can someone help me?
Thank you !
Thought the issue was fixed. Try this!

Note: This will not merge old profiles into new ones. This will only make sure that all the new data gets updated based on steamid3 format.
Attached Files
File Type: sp Get Plugin or Get Source (hlstatsx.sp - 199 views - 54.3 KB)
File Type: inc loghelper.inc (7.6 KB, 184 views)
File Type: inc wstatshelper.inc (7.2 KB, 161 views)
__________________
Spirit_12 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 23:54.


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