Raised This Month: $12 Target: $400
 3% 

move to trash


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
GoGetSomeSleep
Senior Member
Join Date: Dec 2018
Location: Miami/Florida
Old 12-01-2019 , 20:40   move to trash
Reply With Quote #1

move to trash

Last edited by GoGetSomeSleep; 03-11-2020 at 14:56.
GoGetSomeSleep is offline
Tonblader
Senior Member
Join Date: Jul 2011
Location: Peru
Old 12-02-2019 , 10:56   Re: [L4D2] Block black-listed groups members join
Reply With Quote #2

If a player is in your group and in another group, wouldn't it be a problem?
Tonblader is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 12-05-2019 , 05:11   Re: [L4D2] Block black-listed groups members join
Reply With Quote #3

A couple of things you need to keep on your mind regarding this:

The TF2 / related stuff that uses SteamWorks and/or SteamTools; you will count as being a member of the group as soon as you have been invited.

So if e.g. I invite you into a toxic group, and you simply click "ignore", you would still be counted as being a member, and be banned by a such plugin (using SteamWorks/SteamTools).


1. You can reliably check each individual user via the Steam API; but that option goes away if the profile you are checking isn't 100% public.

And of course, a caveat with this one would likewise be that you can only check one user at a time, meaning a massive amount of calls, which could cause complications somehow else (being blocked by the CDN that Steam uses, or blocked by Steam itself, ... et cetera).

2. You can use the memberslistxml (e.g. https://steamcommunity.com/groups/valve/memberslistxml?xml=1 ) of the relevant group, although this also become very unreliable, especially when you have multiple pages to parse. If you are counting the shown member count column vs. actual members you receive, you will see often end up on different numbers. The larger the group is, the worse it will be.


You can obviously get somewhat close to what you want, but as always, nothing gets better than the quality of the source, and if the source is (can be) providing bad quality occasionally, the results will be so too.
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL 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 02:46.


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