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

[CS:S/CS:GO] SM_Hosties (v2.2.0, 2015-08-15)


Post New Thread Reply   
 
Thread Tools Display Modes
databomb
Veteran Member
Join Date: Jun 2009
Location: california
Old 12-02-2015 , 19:52   Re: [CS:S/CS:GO] SM_Hosties (v2.2.0, 2015-08-15)
Reply With Quote #2521

Quote:
Originally Posted by disclaim View Post
I am having an issue upon installing the plugin that causes kind of a spam in my chat.

I made a video to show what I mean.

Also, when I type !rules the rules pop up just fine. But it then proceeds to completely bug on my screen ( 0 does not exit the rules. ) . Forgot to show that in my video.

https://www.youtube.com/watch?v=JuijavQ4Zmc
Looks like some debug code from another plugin or maybe a hosties 3 testing plugin. You need to install the correct version. Post back where you got the version that you installed.
__________________
databomb is offline
disclaim
Junior Member
Join Date: Dec 2015
Old 12-02-2015 , 21:00   Re: [CS:S/CS:GO] SM_Hosties (v2.2.0, 2015-08-15)
Reply With Quote #2522

Quote:
Originally Posted by databomb View Post
Looks like some debug code from another plugin or maybe a hosties 3 testing plugin. You need to install the correct version. Post back where you got the version that you installed.
2.2.0 is the version ( its the one from the first page right now. I only recently installed the plugin )


I am unsure if it is caused from another plugin, however I started having it once I installed said version onto my server.

is there anyway of turning it off from spamming my chat?

Last edited by disclaim; 12-02-2015 at 21:52.
disclaim is offline
databomb
Veteran Member
Join Date: Jun 2009
Location: california
Old 12-02-2015 , 23:01   Re: [CS:S/CS:GO] SM_Hosties (v2.2.0, 2015-08-15)
Reply With Quote #2523

Quote:
Originally Posted by disclaim View Post
2.2.0 is the version ( its the one from the first page right now. I only recently installed the plugin )


I am unsure if it is caused from another plugin, however I started having it once I installed said version onto my server.

is there anyway of turning it off from spamming my chat?
There's no way to stop Hosties from doing that because Hosties can never post the messages like in your video. We only have one weapon_fire callback and the only time it prints anything is when you're in a Last Request but definitely not two lines in a row like what the video shows.

You should look at what other plugins you have installed or start the server install from scratch because you definitely have some other custom plugins running that are causing the messages that you see.
__________________
databomb is offline
disclaim
Junior Member
Join Date: Dec 2015
Old 12-03-2015 , 10:29   Re: [CS:S/CS:GO] SM_Hosties (v2.2.0, 2015-08-15)
Reply With Quote #2524

Thank you for the feedback, Ill probably just do a wipe and installl plugins one by one.

The only other thing I see is the rules being bugged on the screen if u u pop it up ( 0 doesn't exit it ) . Any ideas on what that's about?
disclaim is offline
databomb
Veteran Member
Join Date: Jun 2009
Location: california
Old 12-03-2015 , 20:18   Re: [CS:S/CS:GO] SM_Hosties (v2.2.0, 2015-08-15)
Reply With Quote #2525

Quote:
Originally Posted by disclaim View Post
Thank you for the feedback, Ill probably just do a wipe and installl plugins one by one.

The only other thing I see is the rules being bugged on the screen if u u pop it up ( 0 doesn't exit it ) . Any ideas on what that's about?
You haven't mentioned the game, but if it's CS:GO then 0 does not work for exiting any menus. Just press another button. If it's an urgent issue for you, you can modify the text at line 149 in hosties/rules.sp to the number that you desire within the double-quotes and re-compile your hosties plugin.
__________________
databomb is offline
disclaim
Junior Member
Join Date: Dec 2015
Old 12-03-2015 , 20:43   Re: [CS:S/CS:GO] SM_Hosties (v2.2.0, 2015-08-15)
Reply With Quote #2526

Quote:
Originally Posted by databomb View Post
You haven't mentioned the game, but if it's CS:GO then 0 does not work for exiting any menus. Just press another button. If it's an urgent issue for you, you can modify the text at line 149 in hosties/rules.sp to the number that you desire within the double-quotes and re-compile your hosties plugin.
Apologies. It is CS:GO, the only reason I mention it is because it doesn't disappear regardless of what I press, but thanks for the tip I will do that!
disclaim is offline
databomb
Veteran Member
Join Date: Jun 2009
Location: california
Old 12-03-2015 , 22:35   Re: [CS:S/CS:GO] SM_Hosties (v2.2.0, 2015-08-15)
Reply With Quote #2527

Quote:
Originally Posted by disclaim View Post
Apologies. It is CS:GO, the only reason I mention it is because it doesn't disappear regardless of what I press, but thanks for the tip I will do that!
It's possible the panels just don't work well with CS:GO at all. We could look into that at some point but it's not a high priority as most established servers all use the URL option for displaying the rules.
__________________
databomb is offline
Hunter6272
Senior Member
Join Date: Jun 2015
Location: Don't know
Old 12-04-2015 , 06:50   Re: [CS:S/CS:GO] SM_Hosties (v2.2.0, 2015-08-15)
Reply With Quote #2528

Quote:
Originally Posted by databomb View Post
hosties.inc is using the listening flags to set a mute state manually and the only additional check before we unmute the player is if BaseComm (e.g., an admin or another plugin) has muted the player. So in your case they must be BaseComm muted. Since they're BaseComm muted you need to !unmute <target(s)> on the offending player(s) to have them be unmuted by Hosties. We're not going to unmute everyone after 30 seconds because that's just chaos..
Can you add a cvar for this feature? like
Quote:
sm_hosties_mute "30" // if set to 0 then it doesn't mute terrorists
__________________
Patience is the key to success.
Hunter6272 is offline
databomb
Veteran Member
Join Date: Jun 2009
Location: california
Old 12-04-2015 , 08:53   Re: [CS:S/CS:GO] SM_Hosties (v2.2.0, 2015-08-15)
Reply With Quote #2529

Quote:
Originally Posted by Hunter6272 View Post
Can you add a cvar for this feature? like
sm_hosties_mute 0 already does exactly what you asked... It's applicable values do not include 30.. they are 0 - disable, 1 - terrorists are muted the first few seconds of a round, 2 - terrorists are muted when they die, 3 - both
__________________
databomb is offline
maciasbarlinek
Senior Member
Join Date: May 2015
Old 12-06-2015 , 05:51   Re: [CS:S/CS:GO] SM_Hosties (v2.2.0, 2015-08-15)
Reply With Quote #2530

Hello

Why it doesn't work?

Code:
public LastRequest_PlayerDisconnect(Handle:event, const String:name[], bool:dontBroadcast)
{
    new iArraySize = GetArraySize(gH_DArray_LR_Partners);
    if(iArraySize > 0)
    {
        new client = GetClientOfUserId(GetEventInt(event, "userid"));
        for(new idx = 0; idx < GetArraySize(gH_DArray_LR_Partners); idx++)
        {
            new LR_Player_Prisoner = GetArrayCell(gH_DArray_LR_Partners, idx, _:Block_Prisoner);
            new LR_Player_Guard = GetArrayCell(gH_DArray_LR_Partners, idx, _:Block_Guard);
            if(client == LR_Player_Prisoner || client == LR_Player_Guard)
            {
                CleanupLastRequest(client, idx);
                RemoveFromArray(gH_DArray_LR_Partners, idx);
                PrintToChatAll(CHAT_BANNER, "LR Player Disconnect", client);
            }
        }
    }
    new Ts, CTs, NumCTsAvailable;
    UpdatePlayerCounts(Ts, CTs, NumCTsAvailable);
    if(gShadow_LR_AutoDisplay && gShadow_LR_Enable && (Ts > 0) && (NumCTsAvailable > 0) && (Ts <= gShadow_MaxPrisonersToLR))
    {
        for(new idx = 1; idx <= MaxClients; idx++)
        {
            if(IsClientInGame(idx) && IsPlayerAlive(idx) && GetClientTeam(idx) == CS_TEAM_T && !g_bIsARebel[idx])
            {
                FakeClientCommand(idx, "sm_lr");
            }
        }
    }
    if(gShadow_LR_Enable)
    {
        if(!g_bAnnouncedThisRound)
        {
            if((Ts == gShadow_MaxPrisonersToLR) && (NumCTsAvailable > 0) && (Ts > 0) && GameRules_GetProp("m_bWarmupPeriod") == 0)
            {
                Call_StartForward(gH_Frwd_LR_Available);
                Call_PushCell(gShadow_Announce_LR);
                new ignore;
                Call_Finish(_:ignore);
                if(gShadow_Announce_LR)
                {
                    PrintToChatAll(CHAT_BANNER, "LR Available");
                    if((strlen(gShadow_LR_Sound) > 0) && !StrEqual(gShadow_LR_Sound, "-1"))
                    {
                        EmitSoundToAllAny(gShadow_LR_Sound);
                    }
                }
            }
            g_bAnnouncedThisRound = true;
        }
    }
}
It should check players when somebody disconnected..
__________________
cam0 & lingzhidiyu - The best users
maciasbarlinek 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 04:54.


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