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

[CS:S/CS:GO] Jailbreak Warden


Post New Thread Reply   
 
Thread Tools Display Modes
applemes
Senior Member
Join Date: Mar 2013
Old 04-24-2013 , 16:17   Re: [CS:S] Jailbreak Warden
Reply With Quote #121

Is there a include ? so i can have menu at round start?
applemes is offline
vexium
Member
Join Date: Jan 2013
Old 04-30-2013 , 00:57   Re: [CS:S] Jailbreak Warden
Reply With Quote #122

Hi there. Two things I'd like you to consider for your great plugin:

1. !fire command for CTs, where if 2/3 of the CTs type !fire, the warden is retired.

2. A cvar which sets a timer after warden dies - if the timer expires (amount set by cvar), warden can no longer be called (therefore the day becomes an official "freeday").

Thanks for your work, this plugin is absolutely essential for JB.

Please consider these additions
vexium is offline
exactprecisions
Member
Join Date: Apr 2013
Old 05-01-2013 , 04:33   Re: [CS:S] Jailbreak Warden
Reply With Quote #123

Quote:
Originally Posted by ecca View Post
OK thanks for feedback guys. I've released version 1.8 with some small updates within the plugin.

Changelog:
- sm_warden_better_notifications "1" will use hint and center say on important actions like warden dies or when he gets warden.
- Added 2 natives for other plugin uses
- Added the spanish translations to the file.
- Added the old commands called commander commands to use aswell.

Natives:
Code:
/*********************************************************
 * returns if client is warden
 *
 * @param client        The client to run the check on
 * @true on match, false if not        
 *********************************************************/
native warden_iswarden(client);

/*********************************************************
 * Removes the current warden if he exists
 *
 * @param client        The warden client to remove
 * @NoReturn    
 *********************************************************/
native warden_remove(client);
To applememes (take code below or download my attachment)
PHP Code:
#include <sourcemod>
#include <sdktools>
#include <warden>

#pragma semicolon 1

new iEnt;
new const 
String:EntityList[][] = { "func_door""func_movinglinear" };

public 
OnPluginStart()
{
    
RegConsoleCmd("sm_open"OnOpenCommand);
    
RegConsoleCmd("sm_close"OnCloseCommand);
}

public 
Action:OnOpenCommand(clientargs)
{
    if(
warden_iswarden(client))
    {
        for(new 
0sizeof(EntityList); i++)
            while((
iEnt FindEntityByClassname(iEntEntityList[i])) != -1)
                
AcceptEntityInput(iEnt"Open");
    }
    else
    {    
        
PrintToChat(client"You're not the warden");
    }

    return 
Plugin_Handled;
}

public 
Action:OnCloseCommand(clientargs)
{
    if(
warden_iswarden(client))
    {
        for(new 
0sizeof(EntityList); i++)
            while((
iEnt FindEntityByClassname(iEntEntityList[i])) != -1)
                
AcceptEntityInput(iEnt"Close");
    }
    else
    {    
        
PrintToChat(client"You're not the warden");
    }

    return 
Plugin_Handled;


The proper version to use with CSGO is 2.0 still though - right?
exactprecisions is offline
ecca
Sexy Santa
Join Date: Jan 2011
Old 05-01-2013 , 04:38   Re: [CS:S] Jailbreak Warden
Reply With Quote #124

Right. 2.0 will be updated in the next version of warden aswell with all the new natives.
__________________
ecca is offline
Echo_can
Junior Member
Join Date: Mar 2012
Old 05-03-2013 , 20:14   Re: [CS:S] Jailbreak Warden
Reply With Quote #125

Noticing that when we use the /rw to fire a warden they retain the warden tag
Echo_can is offline
seupoj
Senior Member
Join Date: Mar 2013
Location: India
Old 05-04-2013 , 05:00   Re: [CS:S] Jailbreak Warden
Reply With Quote #126

is there a way that i could run this plugin in team fortress 2
__________________
seupoj is offline
Send a message via Skype™ to seupoj
ecca
Sexy Santa
Join Date: Jan 2011
Old 05-04-2013 , 14:57   Re: [CS:S] Jailbreak Warden
Reply With Quote #127

#echo_can

That shouldn't be possible since i there is no warden. I'll check on to it and also it would be helpful if anyone else could confirm this.

#Seupoj

Well the normal version 1.8 should work on tf2 i think. Else try the GO version 2.0.
__________________
ecca is offline
vexium
Member
Join Date: Jan 2013
Old 05-07-2013 , 01:24   Re: [CS:S/CS:GO] Jailbreak Warden
Reply With Quote #128

ecca, i can confirm !rw is currently not working (at least in CSGO)
vexium is offline
ecca
Sexy Santa
Join Date: Jan 2011
Old 05-07-2013 , 02:07   Re: [CS:S/CS:GO] Jailbreak Warden
Reply With Quote #129

Which version are you running and any error logs ?
__________________
ecca is offline
vexium
Member
Join Date: Jan 2013
Old 05-08-2013 , 12:56   Re: [CS:S/CS:GO] Jailbreak Warden
Reply With Quote #130

runnin 1.8.0, i recompiled myself to remove the colors that weren't working (CS:GO)

this is what im getting:

Code:
L 05/08/2013 - 09:52:08: [SM] Plugin encountered error 22: Maximum number of parameters reached
L 05/08/2013 - 09:52:08: [SM] Native "VFormat" reported: Translation string formatted incorrectly - missing at least 1 parameters
L 05/08/2013 - 09:52:08: [SM] Displaying call stack trace for plugin "warden.smx":
L 05/08/2013 - 09:52:08: [SM]   [0]  Line 328, C:\Users\Owner\Documents\nF\n00bfriendly stuff\srcmodhg3822 with script\addons\sourcemod\scripting\include\halflife.inc::PrintCenterTextAll()
L 05/08/2013 - 09:52:08: [SM]   [1]  Line 156, warden.sp::RemoveWarden()

Last edited by vexium; 05-08-2013 at 12:56.
vexium 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 02:56.


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