View Single Post
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 03-17-2016 , 07:38   Re: SourceTV Manager
Reply With Quote #5

Quote:
Originally Posted by nosoop View Post
The extension appears to be calling the SourceTV_OnSpectatorPutInServer forward multiple times for the same SourceTV client, an additional one per connect.

It also doesn't seem to be calling SourceTV_OnSpectatorDisconnect or the disconnected variation.
Are you on linux?

EDIT: Try the attached version including this change. It's all been about not catching spectator disconnects, so they weren't unhooked. The extension added another hook on the same cached hltvclient instance when a new spectator joined on the same slot, so OnSpectatorPutInServer was called multiple times.
Attached Files
File Type: zip sourcetvmanager_1.0.0-dev.zip (2.64 MB, 481 views)
__________________

Last edited by Peace-Maker; 03-17-2016 at 08:57.
Peace-Maker is offline