AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   SteamTools (https://forums.alliedmods.net/forumdisplay.php?f=147)
-   -   Group status by Steam ID (https://forums.alliedmods.net/showthread.php?t=179450)

napalm00 03-01-2012 04:44

Group status by Steam ID
 
Would it be possible to add a function that works just like Steam_RequestGroupStatus but that instead of the client index it uses the Steam ID? I'd like to use that with the Connect extension to prevent people from joining a server if they're not part of a group, instead of doing the checks when they're already in-game and then kicking them (to avoid the "Player x connected" and "Player x has left the game (Reason: x)" messages).

asherkin 03-01-2012 04:50

Re: Group status by Steam ID
 
Quote:

Originally Posted by napalm00 (Post 1660295)
Would it be possible to add a function that works just like Steam_RequestGroupStatus but that instead of the client index it uses the Steam ID? I'd like to use that with the Connect extension to prevent people from joining a server if they're not part of a group, instead of doing the checks when they're already in-game and then kicking them (to avoid the "Player x connected" and "Player x has left the game (Reason: x)" messages).

I can give it a shot, I seem to remember it wont work unless the player has been "registered" with the server by the backend, so it'll probably only work with the Connect extension.

GoD-Tony 03-01-2012 05:06

Re: Group status by Steam ID
 
Quote:

Originally Posted by napalm00 (Post 1660295)
I'd like to use that with the Connect extension to prevent people from joining a server if they're not part of a group

I was going to do the same until I realised that it's an async call and you wouldn't be able to reject them in that forward anyway.

napalm00 03-01-2012 05:14

Re: Group status by Steam ID
 
Quote:

Originally Posted by GoD-Tony (Post 1660303)
I was going to do the same until I realised that it's an async call and you wouldn't be able to reject them in that forward anyway.

Oh wow, totally forgot about that.
I guess I'll just stick to my KV file then xD
Thanks to both of you for the info ^^

asherkin 04-17-2012 14:54

Re: Group status by Steam ID
 
Quote:

Originally Posted by asherkin (Post 1660298)
I can give it a shot, I seem to remember it wont work unless the player has been "registered" with the server by the backend, so it'll probably only work with the Connect extension.

I'm not sure why I said this, it's already possibly using the custom steam ID functionality.

The statement about it possibly not working still applies though.


All times are GMT -4. The time now is 15:13.

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