Raised This Month: $ Target: $400
 0% 

GameCron


Post New Thread Reply   
 
Thread Tools Display Modes
Author
altex
Veteran Member
Join Date: May 2009
Location: Russia
Plugin ID:
850
Plugin Version:
1.0.3
Plugin Category:
General Purpose
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
    1 
    Plugin Description:
    GameCron plugin is for delayed command execution counting from every map start.
    Old 05-03-2009 , 09:17   GameCron
    Reply With Quote #1

    Description
    -----------
    GameCron plugin is for delayed command execution counting from every map start.

    http://forums.alliedmods.net/showthread.php?t=91619

    Commands and Cvars
    ------------------
    sm_gamecron_version - GameCron version.

    sm_gamecron_add <seconds> <command> - Add delayed command.
    sm_gamecron_del <id> - Delete task by id.
    sm_gamecron_clear - Delete all tasks.
    sm_gamecron_list - List all current tasks.
    sm_gamecron_restart - Restart all timers for tasks.

    Requirements
    ------------
    Counter-Strike: Source
    SourceMod 1.2.0

    Changelog
    ---------
    1.0.3:
    * CPU usage optimization.

    1.0.2:
    + Added sm_gamecron_version.

    1.0.1:
    + Added restart hooking. It was commented due to compatibility with SourceMod 1.0.0.
    - Debug log messages removed.

    My plugins | Donations via PayPal
    Attached Files
    File Type: zip sm_gamecron-1.0.3.zip (6.9 KB, 956 views)
    __________________

    Last edited by altex; 10-13-2011 at 19:29. Reason: Release 1.0.3.
    altex is offline
    SWAT_88
    SourceMod Donor
    Join Date: Jan 2008
    Location: Austria
    Old 05-03-2009 , 11:07   Re: [CSS] GameCron
    Reply With Quote #2

    There are many cron plugins.
    What are the benefits of your version?
    __________________
    SWAT_88 is offline
    altex
    Veteran Member
    Join Date: May 2009
    Location: Russia
    Old 05-03-2009 , 11:31   Re: [CSS] GameCron
    Reply With Quote #3

    I agree, there are many cron plugins.

    But i was searching for plugin, that can execute command in specified time after map is starter/restarted.

    To illustrate what i was looking for, i give an example.
    It was needed by gungame server, and i added two lines in server.cfg
    Code:
    mani_vote_rock_the_vote_threshold_percent 60
    gamecron_clear
    gamecron_add 600 "mani_vote_rock_the_vote_threshold_percent 100"
    So players can rock the vote right after map is starter and 60% of players can run change the map. But after 10 minutes of playing this value changes to 100%, so players can change map only if all players decided to do that. This is very specific situation. After 10 minutes of playing some players can achive very high level and this plugin can prevent other players to reset map for example.

    Last edited by altex; 05-03-2009 at 11:33.
    altex is offline
    SWAT_88
    SourceMod Donor
    Join Date: Jan 2008
    Location: Austria
    Old 05-04-2009 , 13:58   Re: [CSS] GameCron
    Reply With Quote #4

    Quote:
    Originally Posted by altex View Post
    I agree, there are many cron plugins.

    But i was searching for plugin, that can execute command in specified time after map is starter/restarted.

    To illustrate what i was looking for, i give an example.
    It was needed by gungame server, and i added two lines in server.cfg
    Code:
    mani_vote_rock_the_vote_threshold_percent 60
    gamecron_clear
    gamecron_add 600 "mani_vote_rock_the_vote_threshold_percent 100"
    So players can rock the vote right after map is starter and 60% of players can run change the map. But after 10 minutes of playing this value changes to 100%, so players can change map only if all players decided to do that. This is very specific situation. After 10 minutes of playing some players can achive very high level and this plugin can prevent other players to reset map for example.
    That makes sense!
    Nice.
    __________________
    SWAT_88 is offline
    altex
    Veteran Member
    Join Date: May 2009
    Location: Russia
    Old 06-15-2009 , 17:49   Re: [CSS] GameCron
    Reply With Quote #5

    Release 1.0.3:
    * CPU usage optimization.
    altex is offline
    Kenny Loggins
    SourceMod Donor
    Join Date: Jun 2008
    Location: Rochester, MN
    Old 07-14-2009 , 03:34   Re: [CSS] GameCron
    Reply With Quote #6

    Does this work with TF2?
    __________________

    Server Admin / Leader
    ClanAO.com
    Kenny Loggins is offline
    altex
    Veteran Member
    Join Date: May 2009
    Location: Russia
    Old 07-14-2009 , 04:30   Re: [CSS] GameCron
    Reply With Quote #7

    Quote:
    Originally Posted by Kenny Loggins View Post
    Does this work with TF2?
    I think it work in any mod (with some minor limitations because of different warmup implementation), but i've not tested yet.

    Please test it, i think it should work fine and the most worst that could happen is just timer will not restart after warmup ended.

    After you provide me a report, i will fix all the issues you'll find.
    __________________
    altex is offline
    Antithasys
    Moderator
    Join Date: Apr 2008
    Old 07-14-2009 , 14:03   Re: [CSS] GameCron
    Reply With Quote #8

    Plugin compiles on forums, and with no additional files a .zip file is not needed. Please remove .zip file, and only post .sp for forum compiling. Once done plugin will be approved.
    __________________
    [my plugins]

    When you think about asking a question... consider what have you tried?
    Antithasys is offline
    altex
    Veteran Member
    Join Date: May 2009
    Location: Russia
    Old 07-14-2009 , 14:23   Re: [CSS] GameCron
    Reply With Quote #9

    Quote:
    Originally Posted by Antithasys View Post
    Plugin compiles on forums, and with no additional files a .zip file is not needed. Please remove .zip file, and only post .sp for forum compiling. Once done plugin will be approved.
    I realy think that zip file with standard structure is better than lots of files without folders structure.

    If i put translate files, some includes in scripting folder, add game data file, some sounds and so on, than it will be not easy to users to set up such plugins. Zip-archive way is more ergonomic. I can put readme and changelog files in separate files, there is no need to write all this informaion to source files. I can even add version number to archive name, i do not think that adding version number to sp-file is better way. etc etc etc

    And i can not see any issues for automatic forum compiler to support common folder structure, where top folder of the archive is parent folder for "addons" folder. As you can see all of my plugins released in only that way as i think it is more usefull for all people.

    But i'll add some additional files as you wish.
    __________________

    Last edited by altex; 07-14-2009 at 14:26.
    altex is offline
    cybersquare420
    Veteran Member
    Join Date: Nov 2008
    Old 07-16-2009 , 12:07   Re: [CSS] GameCron
    Reply With Quote #10

    i agree... i always prefer the directory structure to be in tact... makes it easier for inexperienced server admins to install and configure a plugin...
    depending on how the files are named, it can be confusing... especially if the coder does not speak the same language as the admin... this can lead to a ton of frustration for both parties over even the simplest of issues.

    my 2 cents.

    p.s. nice plugin
    __________________
    cybersquare420 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 18:33.


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