View Single Post
Inopt
Junior Member
Join Date: Jul 2017
Location: ¯\_(ツ)_/¯
Old 01-15-2019 , 02:36   Re: [TF2/CSGO] No spectator list for cheats
Reply With Quote #24

Sorry for so long reply, I'm now in hospital and after surgery operation couldn't reply for some time.

> can you hide GOTV aswell..when its recording?!

GOTV isn't a valid client, so, sendproxy extension don't calls forward for this, I made there some restrictions for this for some reason.

> Nope. Problem still persits.

Seems like there some problems with IClient interface, so, in tf2 I fixed this by UserID comparing, but in csgo UserID comparing is needless and I removed it, to be honest I don't know why problem still persits for you.
I asked some my friend to test this before I was hospitalized and he said everything is working...
Did you update extension benaries to last version? If not, update please, otherwise you can see code below, I really don't know why problem not solved for you...

PHP Code:
if (g_bCallingForNullClients)
{
    
IClient pClient = (IClient *)((char *)this 4);
#if SOURCE_ENGINE == SE_TF2
    //don't remove this code
    
int iUserID pClient->GetUserID();
    
IGamePlayer pPlayer playerhelpers->GetGamePlayer(pClient->GetPlayerSlot() + 1);
    if (
pPlayer->GetUserId() != iUserID//if so, there something went wrong, check this now!
#endif
    
{
        if (
pClient->IsHLTV()
#if SOURCE_ENGINE == SE_TF2
        
|| pClient->IsReplay()
#endif
        
|| (pClient->IsConnected() && !pClient->IsActive()))
            return 
true//Also we need to allow connect for inactivated clients, sourcetv & replay
    
}
    return 
false;

__________________

Last edited by Inopt; 01-15-2019 at 04:54. Reason: Added code
Inopt is offline