Raised This Month: $32 Target: $400
 8% 

RoundCron


Post New Thread Reply   
 
Thread Tools Display Modes
Author
bawitdaba
Junior Member
Join Date: Jan 2008
Plugin ID:
255
Plugin Version:
1.2
Plugin Category:
Server Management
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Executes a cfg "rounds\round#.cfg" based on the current round when a round starts.
    Old 01-13-2008 , 00:54   RoundCron
    Reply With Quote #1

    CONVars: sm_roundcron 1-On / 0-Off (Defaults to 1)
    Configs:
    Normal round configs are stored in cstrike\cfg\rounds\round#.cfg
    Second to last round: cstrike\cfg\rounds\2ndtolastround.cfg
    Last Playable Round: cstrike\cfg\rounds\lastround.cfg
    Scoreboard after map ends: cstrike\cfg\rounds\scoreboard.cfg

    Designed for CSS servers that use mp_roundsmax (should work based on timelimit too) This plug-in executes a cfg from "rounds\round#.cfg" based on the current round when a round starts.

    Why would you need this ?
    Maybe you want a knife or pistol round at some point like the 2nd to last round, you could make a cfg for this and have it auto launched. Or maybe you want to give everyone a bunch of cash or guns half way through the map. There is endless possibilities for this mod as its all cfg based.

    Version Bump - 1.2:
    Cleaned up code a bit
    Added configs for lastround.cfg, 2ndtolastround.cfg, and scoreboard.cfg. Note: mp_maxrounds must be used for this as it uses -/+ 1 off that value.
    Added mp_maxrounds checking every round for map extend support.

    Version Bump - 1.1:
    Changes - Plugin Actually works now thanks to massive help from liam and pred. Thanks a bunch.

    Future Changes:
    If a round#.cfg doesn't exist don't attempt to launch it, avoiding "Couldn't find round#.cfg" in console.


    - bawitdaba
    Attached Files
    File Type: sp Get Plugin or Get Source (roundcron.sp - 2268 views - 2.8 KB)
    File Type: smx roundcron.smx (2.2 KB, 814 views)

    Last edited by bawitdaba; 01-17-2008 at 22:30.
    bawitdaba is offline
    pRED*
    Join Date: Dec 2006
    Old 01-13-2008 , 01:34   Re: RoundCron
    Reply With Quote #2

    You don't need to check if the handle is invalid and then attempt to run FindConVar - CreateConVar does this automatically for you.

    Your event stuff is completely wrong.
    Have a good read of this : http://wiki.alliedmods.net/Events_%2...d_Scripting%29
    pRED* is offline
    bawitdaba
    Junior Member
    Join Date: Jan 2008
    Old 01-13-2008 , 05:10   Re: RoundCron
    Reply With Quote #3

    Quote:
    Originally Posted by pRED* View Post
    You don't need to check if the handle is invalid and then attempt to run FindConVar - CreateConVar does this automatically for you.

    Your event stuff is completely wrong.
    Have a good read of this : http://wiki.alliedmods.net/Events_%2...d_Scripting%29
    thanks for the help dude, couldn't have gotten this working without you
    bawitdaba is offline
    Gently
    Member
    Join Date: Mar 2008
    Old 04-06-2008 , 22:01   Re: RoundCron
    Reply With Quote #4

    could this be used as a warmup with unlimited nades. that would be sweet for my needs...how?
    Gently is offline
    ottobohn
    Senior Member
    Join Date: Sep 2007
    Old 04-08-2008 , 00:54   Re: RoundCron
    Reply With Quote #5

    You've inspired me to create a plugin that plays a sound on round start and based on player freeze time.

    Otto
    ottobohn is offline
    MoggieX
    Veteran Member
    Join Date: Aug 2007
    Location: n00bville
    Old 05-24-2008 , 11:04   Re: RoundCron
    Reply With Quote #6

    heya,

    Unsure why this plugin was never moved to 'Approved' as we've been using a modified version of this for around two months without a single issue.

    Matt
    __________________
    MoggieX is offline
    Send a message via Skype™ to MoggieX
    FlyingMongoose
    Veteran Member
    Join Date: Mar 2004
    Old 06-15-2008 , 01:40   Re: RoundCron
    Reply With Quote #7

    Approved now
    __________________
    Please do NOT PM for support.

    Only ask for support in plugin threads.

    TunedChaos.com - Precision Tuned Game Servers
    FlyingMongoose is offline
    MoggieX
    Veteran Member
    Join Date: Aug 2007
    Location: n00bville
    Old 06-15-2008 , 07:21   Re: RoundCron
    Reply With Quote #8

    Quote:
    Originally Posted by FlyingMongoose View Post
    Approved now
    Cheers, this one and the other cron plugin are leathal additions!

    Matt
    __________________
    MoggieX is offline
    Send a message via Skype™ to MoggieX
    GriMz
    Senior Member
    Join Date: Jul 2007
    Old 06-30-2008 , 16:53   Re: RoundCron
    Reply With Quote #9

    is this capable of broadcasting a message that only a certain weapon will be used that round?

    if so how would you set that up?
    __________________
    GriMz is offline
    Arcano
    Junior Member
    Join Date: Jun 2008
    Old 07-12-2008 , 09:36   Re: RoundCron
    Reply With Quote #10

    i would first do the weapon restrictions then i would display a message in the center of the screen like "knife round" or something of that nature


    sm_restrict weapon
    sm_restrict weapon
    sm_restrict weapon
    sm_csay "Knife Round!"
    Arcano 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 12:59.


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