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

[CS:S] UpdateRadar Fix


Post New Thread Reply   
 
Thread Tools Display Modes
GoD-Tony
Veteran Member
Join Date: Jul 2005
Old 10-22-2011 , 03:35   Re: [CS:S] UpdateRadar Fix
Reply With Quote #11

Quote:
Originally Posted by jungjunghoo View Post
I'm using this updateradar_fix.smx
Ok then you shouldn't have to change anything.
__________________
GoD-Tony is offline
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 01-19-2012 , 10:42   Re: [CS:S] UpdateRadar Fix
Reply With Quote #12

we're getting a bunch of these lately (17MB log)
Quote:
L 01/18/2012 - 20:475: [SM] Native "StartMessage" reported: Client 44 is not connected
L 01/18/2012 - 20:475: [SM] Displaying call stack trace for plugin "updateradar_fix.smx":
L 01/18/2012 - 20:475: [SM] [0] Line 79, /home/groups/alliedmodders/forums/files/6/1/3/6/94089.attach::SendQueuedMsg()
L 01/18/2012 - 20:475: [SM] [1] Line 115, /home/groups/alliedmodders/forums/files/6/1/3/6/94089.attach::OnGameFrame()
Looks like players might have left during queue delay and StartMessage doesn't like that. This might solve it.
PHP Code:
SendQueuedMsg(index)
{
    
// Make sure, they're still connected.
    
for(new i=0;i<g_iPlayersNum[index];i++)
    {
        if(
g_iPlayers[index][i] <= 0
        
|| g_iPlayers[index][i] > MaxClients
        
|| !IsClientConnected(g_iPlayers[index][i]))
        {
            
// Remove the player from the array
            
for(new x=i;x<(g_iPlayersNum[index]-1);x++)
            {
                
g_iPlayers[index][x] = g_iPlayers[index][x+1];
            }
            
i--;
            
g_iPlayersNum[index]--;
        }
    }
    
    
// Don't try to send the message, if there are no recipients
    
if(g_iPlayersNum[index] <= 0)
        return;
    
    new 
Handle:hBf StartMessage("UpdateRadar"g_iPlayers[index], g_iPlayersNum[index], USERMSG_BLOCKHOOKS); 
__________________
Peace-Maker is offline
GoD-Tony
Veteran Member
Join Date: Jul 2005
Old 01-19-2012 , 11:55   Re: [CS:S] UpdateRadar Fix
Reply With Quote #13

Quote:
Originally Posted by Peace-Maker View Post
Looks like players might have left during queue delay and StartMessage doesn't like that. This might solve it.
Thanks for providing the logic. Want to give this update a try?

Edit: Moved into first post.
__________________

Last edited by GoD-Tony; 01-25-2012 at 01:04.
GoD-Tony is offline
daleGEND
AlliedModders Donor
Join Date: Feb 2005
Location: USA
Old 02-10-2012 , 07:28   Re: [CS:S] UpdateRadar Fix
Reply With Quote #14

I saw an update with CS:S yesterday that mentions a few radar-related fixes. Is this still needed?
__________________
Bor3d Gaming - A Mature Online Gaming Community

Feel free to add me on STEAM as well: https://steamcommunity.com/id/b0r3d
daleGEND is offline
Nolongerinthegame
AlliedModders Donor
Join Date: Sep 2005
Old 02-10-2012 , 07:55   Re: [CS:S] UpdateRadar Fix
Reply With Quote #15

Quote:
Originally Posted by daleGEND View Post
I saw an update with CS:S yesterday that mentions a few radar-related fixes. Is this still needed?
This mod is not related to the radar bug which got fixed yesterday's steam update. Its an issue with spam in the console
Nolongerinthegame is offline
GoD-Tony
Veteran Member
Join Date: Jul 2005
Old 02-10-2012 , 08:21   Re: [CS:S] UpdateRadar Fix
Reply With Quote #16

For reference, these were the fixes from yesterday's update:
Code:
- Fixed the HUD radar not using the correct colors for players
- Fixed the HUD radar background disappearing after level change
Quote:
Originally Posted by daleGEND View Post
Is this still needed?
Yes.

Quote:
Originally Posted by nelioneil View Post
Its an issue with spam in the console
As well as missing many players on the radar when running a large server.
__________________
GoD-Tony is offline
nightrider
SourceMod Donor
Join Date: Dec 2008
Old 02-10-2012 , 18:33   Re: [CS:S] UpdateRadar Fix
Reply With Quote #17

Yes players were lost on the radar before running this plugin on my 40 slot CS:S server.
__________________
[SIGPIC][/SIGPIC] the pantless
I am the Night Rider!, I'm a fuel-injected suicide machine.
I am a rocker! I am a roller!, I am an out-of-controller!


nightrider is offline
pubhero
Veteran Member
Join Date: Aug 2012
Location: Central Europe
Old 01-21-2013 , 22:14   Re: [CS:S] UpdateRadar Fix
Reply With Quote #18

GoD-Tony.
Maybe this block version can be work against the
CreateFragmentsFromFile: 'downloads/4242120d.dat' doesn't exist.
screnlog spam? Ofcourse after some modification.

Last edited by pubhero; 01-21-2013 at 22:15.
pubhero is offline
SystematicMania
Senior Member
Join Date: Aug 2012
Old 01-22-2013 , 01:31   Re: [CS:S] UpdateRadar Fix
Reply With Quote #19

Quote:
Originally Posted by pubhero View Post
GoD-Tony.
Maybe this block version can be work against the
CreateFragmentsFromFile: 'downloads/4242120d.dat' doesn't exist.
screnlog spam? Ofcourse after some modification.
Nope. That's a completely different problem. Perhaps you're looking for this?
__________________
SystematicMania is offline
pubhero
Veteran Member
Join Date: Aug 2012
Location: Central Europe
Old 01-22-2013 , 01:36   Re: [CS:S] UpdateRadar Fix
Reply With Quote #20

Thanks for the answer, but i want using one simple solution.
This block method good for me. You sure, this log suppress not usable for my problem,
with the "createfragmentsfromfile" error spam?

Last edited by pubhero; 01-22-2013 at 01:38.
pubhero is offline
Reply



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 17:14.


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