AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   HLstatsX:CE (https://forums.alliedmods.net/forumdisplay.php?f=156)
-   -   Fix SteamIDs for the new update (https://forums.alliedmods.net/showthread.php?t=246712)

Killer0561 10-13-2015 12:50

Re: Fix SteamIDs for the new update
 
For me, as all players in CSS are created twice. Can this be fixed somehow?

CSGO and TF2 work normal.

I have all the files in this thread already used.

St00ne 10-17-2015 14:18

Re: Fix SteamIDs for the new update
 
Hi,

Did you try 1st page method and restart your daemon?

I'm also looking for a fix for CS:S. Players have two profiles (i.e. 1 page for the new SteamID and one for the old SteamID) and stats are a bit mixed up : (

The 'rank' in-game command displays the profile with the old SteamID, which only collects 'weapon accuracy' and 'shots per kill' info. It had better display new SteamId profile rank.

:(

Spirit_12 10-17-2015 22:31

Re: Fix SteamIDs for the new update
 
3 Attachment(s)
GetClientAuthString native strikes again!

I'm not 100% sure, but I think my edits will help you. Try the attached version, and see if it fixes your CSS issue.

Compile the plugin with updated include files.

St00ne 10-17-2015 22:59

Re: Fix SteamIDs for the new update
 
Quote:

Originally Posted by Spirit_12 (Post 2354165)
GetClientAuthString native strikes again!

I'm not 100% sure, but I think my edits will help you. Try the attached version, and see if it fixes your CSS issue.

Compile the plugin with updated include files.

Ok I'll try.

Can I ask why you prefer to remove FCVAR_PLUGIN flag on created cvars?

++

Spirit_12 10-17-2015 23:10

Re: Fix SteamIDs for the new update
 
Quote:

Originally Posted by St00ne (Post 2354175)
Ok I'll try.

Can I ask why you prefer to remove FCVAR_PLUGIN flag on created cvars?

++

I always run the latest dev build of Sourcemod, and according to it FCVAR_PLUGIN has been depreciated. This is the exact statement from developers.

Code:

No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.

St00ne 10-17-2015 23:38

Re: Fix SteamIDs for the new update
 
Okay

I'll check the results tomorrow.

++

kills 10-18-2015 07:14

Re: Fix SteamIDs for the new update
 
Quote:

Originally Posted by Spirit_12 (Post 2354165)
GetClientAuthString native strikes again!

I'm not 100% sure, but I think my edits will help you. Try the attached version, and see if it fixes your CSS issue.

Compile the plugin with updated include files.

The plugin can not compile.
Guess SDK Version is marked as deprecated
a Total 4 errors.

Spirit_12 10-18-2015 09:39

Re: Fix SteamIDs for the new update
 
Quote:

Originally Posted by kills (Post 2354316)
The plugin can not compile.
Guess SDK Version is marked as deprecated
a Total 4 errors.

It seems you are using the old hlstatx.sp file. You need to download all the files that I linked. That error can't be happening, because I switched GuessSDKVersion with the newer native GetEngineVersion.

You may want to list all 4 errors next time, instead of just stating the total number. Without the specifics, its really hard to figure what's going wrong.

kills 10-19-2015 03:20

Re: Fix SteamIDs for the new update
 
I apologize, I used the old .sp.
The plugin was compiled correctly without errors.
I return to see if it works correctly!


edit.
plugin is not working properly, or the problem is me.
still looks like this:
Location: (Unknown)
Steam: STEAM_0: [U: 1: 36481236]
Where to issue ?. Web ?. I have two servers CsGo works correctly. They are not steam3.

Thank You !

St00ne 10-19-2015 06:51

Re: Fix SteamIDs for the new update
 
Hi,

I could compile and install but finally I don't notice any change.

Am I supposed to reload the daemon even if I replaced the plugin?

++

Spirit_12 10-19-2015 08:24

Re: Fix SteamIDs for the new update
 
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.

St00ne 10-19-2015 12:56

Re: Fix SteamIDs for the new update
 
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.

++

Spirit_12 10-19-2015 14:22

Re: Fix SteamIDs for the new update
 
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.

St00ne 10-20-2015 04:57

Re: Fix SteamIDs for the new update
 
Ok thanks.

St00ne 10-21-2015 20:03

Re: Fix SteamIDs for the new update
 
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.

++

kills 10-24-2015 12:31

Re: Fix SteamIDs for the new update
 
Quote:

Originally Posted by St00ne (Post 2355479)
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!

Spirit_12 10-27-2015 12:31

Re: Fix SteamIDs for the new update
 
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.

kills 10-28-2015 13:30

Re: Fix SteamIDs for the new update
 
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 11-12-2015 09:45

Re: Fix SteamIDs for the new update
 
Can someone help me?
Thank you !

Spirit_12 11-12-2015 20:30

Re: Fix SteamIDs for the new update
 
3 Attachment(s)
Quote:

Originally Posted by kills (Post 2362368)
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.

red4911 11-13-2015 05:52

Re: Fix SteamIDs for the new update
 
How to fix it ? Game csgo

http://storage3.static.itmages.ru/i/...0d2ea96f8.jpeg
http://itmages.ru/image/view/3190700/c0d2ea96

Spirit_12 11-13-2015 12:27

Re: Fix SteamIDs for the new update
 
What is the problem? It should work fine on CSGO.

kills 11-14-2015 05:46

Re: Fix SteamIDs for the new update
 
Thank you !
but my css server, still does not display correctly.
I erased all the database to register the new steam-id but not working.
show all steam3 format.
I will need to disable CSS server.
Thanks for the help !!

Spirit_12 11-14-2015 10:26

Re: Fix SteamIDs for the new update
 
Link me your hlxstats and game server. I can take a look on your specific files and see if there is any problem.

red4911 11-14-2015 17:50

Re: Fix SteamIDs for the new update
 
Quote:

Originally Posted by Spirit_12 (Post 2362699)
What is the problem? It should work fine on CSGO.

I have updated the statistics from the author laam4 - "Link"

Jumpman 03-02-2016 05:33

Re: Fix SteamIDs for the new update
 
Quote:

Originally Posted by Nikkii (Post 2187346)
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 ?

St00ne 03-02-2016 14:41

Re: Fix SteamIDs for the new update
 
Hi,

After applying the fix, you can change your HLStatsX settings to hide players who haven't played for like 2 days (instead of 28 by default), so that you'll keep only old Steam profiles, cuz those will be the ones logged.

Hope it's clear enough, anyway that's what I did. Otherwise, you can apply the fix and then reset your stats.

Regards,

St00ne

PS: Question: do we also have to comment out the original lines, when we modify the 3 files mentionned in 1st post? (Or do we only have to add the new lines ?) Thx in advance (some admin made it for me 1st time so I don't remember). Thx

Jumpman 03-03-2016 06:56

Re: Fix SteamIDs for the new update
 
Thanks St00ne and thanks to Nikkii for the fix, it seems working now, i make the fix and reset all stats

Another problem my actions not log any thing above Mega Kill (6 kills)

So Ownage (7 kills), Ultra Kill (8 kills) and so on is not log, i use superlogs-css.smx can someone tell me why ?

St00ne 03-03-2016 12:21

Re: Fix SteamIDs for the new update
 
Quote:

Originally Posted by Jumpman (Post 2398908)
Thanks St00ne and thanks to Nikkii for the fix, it seems working now, i make the fix and reset all stats

Another problem my actions not log any thing above Mega Kill (6 kills)

So Ownage (7 kills), Ultra Kill (8 kills) and so on is not log, i use superlogs-css.smx can someone tell me why ?

I've never tried to fix this but you are right, I remember that the number of kills in a row has never been correct (displaying 3 or 4, for instance, though I made like 5 or 6 the previous day).
Idk how to fix this sry.

xes66 01-08-2018 07:48

Re: Fix SteamIDs for the new update
 
good day!
I have HLstatsX Community Edition 1.6.19
I have changed the page here on this article https://forums.alliedmods.net/showthread.php?t=246712 .
Now everything is working correctly,
but the clans do not work in the player's profile. There is always empty.
The clans tab is also empty.
Tell me how to fix it.
here is my website http://tamboff-wolf.ru/stats/hlstats...clans&game=css

micazoid 01-12-2018 14:12

Re: Fix SteamIDs for the new update
 
Quote:

Originally Posted by xes66 (Post 2570593)
good day!
I have HLstatsX Community Edition 1.6.19
I have changed the page here on this article https://forums.alliedmods.net/showthread.php?t=246712 .
Now everything is working correctly,
but the clans do not work in the player's profile. There is always empty.
The clans tab is also empty.
Tell me how to fix it.
here is my website http://tamboff-wolf.ru/stats/hlstats...clans&game=css

Your Clantab is not empty :nono:

Last line on your page shows:
Show only clans with
3
or more members from a total of 196 clans

Alter 3 to 1 and you will see :)

xes66 01-13-2018 00:00

Re: Fix SteamIDs for the new update
 
Quote:

Originally Posted by micazoid (Post 2571464)
Your Clantab is not empty :nono:

Last line on your page shows:
Show only clans with
3
or more members from a total of 196 clans

Alter 3 to 1 and you will see :)


Good day!
I did that.
There is my clan TAMBOFF-WOLF, which is 10 people.
Here's an example player=ΞDDDEMOΞ=- [77RUS]
Here is his profile http://tamboff-wolf.ru/stats/hlstats...nfo&player=246
He is in the clan TAMBOFF-WOLF,
but in statistics he is now a clan 77RUS
Statistics does not work correctly
This should be corrected.


All times are GMT -4. The time now is 23:53.

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