2
Donate to the B3 fund!

"even a small donation helps!"
Donate with PayPal!
Most of the plugins here are made by B3 users and the authors may not visit frequently. If you need support for plugins or if questions remain unanswered, you will have to contact the author directly. Read the full Support Disclaimer here

NOTE: Do not attach plugins to your forumtopics! Attachements are periodically removed by maintenance tasks. Upload your plugins to our Downloads section instead!

Author Topic: scheduler Plugin  (Read 21949 times)

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: scheduler Plugin
« Reply #45 on: October 06, 2012, 09:31:13 PM »
v1.4 released

add support for BF3


@GeneralFailure : also note that the correct BF3 command is 'admin.yell' not just 'yell'.
You can find the BF3 admin documentation at http://www.fpsadmin.com/forum/showthread.php?t=24134
« Last Edit: October 06, 2012, 09:40:44 PM by Courgette »

Offline GeneralFailure

  • Jr. Member
  • **
  • Posts: 34
    • [FPF] FrankenPower FAILURE
Re: scheduler Plugin
« Reply #46 on: October 08, 2012, 09:22:47 AM »
Hello Courgette,

no function with admin.yell or admin.say on scheduler 1.4
scheduler.xml

<configuration plugin="scheduler">
   <cron name="every3m" minutes="*/3" >   
      <frostbite command="admin.yell">
                  <arg>testmsg</arg>
                  <arg>10</arg>
                  <arg>all</arg>
      </frostbite>
            
   </cron>            
   
   <cron name="every10m" minutes="*/10" >   
      <frostbite command="admin.say">
                  <arg>testmsg</arg>
                  <arg>all</arg>
      </frostbite>
            
   </cron>               
   </configuration>



LOG

121007 19:52:40   BOT       'Loading Plugin #18 scheduler [/home/failure/b3/b3/extplugins/conf/scheduler.xml]'
121007 19:52:40   INFO   'scheduler is not a built-in plugin (No module named scheduler)'
121007 19:52:40   INFO   'trying external plugin directory : /home/failure/b3/b3/extplugins'
121007 19:52:40   BOT       'SchedulerPlugin: Loading config /home/failure/b3/b3/extplugins/conf/scheduler.xml for SchedulerPlugin'
121007 19:52:40   DEBUG   'SchedulerPlugin: setting up CronTask [every3m]'
121007 19:52:40   DEBUG   'SchedulerPlugin: frostbite : admin.yell testmsg 10 all'
121007 19:52:40   INFO   'SchedulerPlugin: 0 */3 *\t* * *'
121007 19:52:40   INFO   'SchedulerPlugin: cron task [every3m] loaded'
121007 19:52:40   DEBUG   'SchedulerPlugin: setting up CronTask [every10m]'
121007 19:52:40   DEBUG   'SchedulerPlugin: frostbite : admin.say !votemap all'
121007 19:52:40   INFO   'SchedulerPlugin: 0 */10 *\t* * *'
121007 19:52:40   INFO   'SchedulerPlugin: cron task [every10m] loaded'
121007 19:52:40   DEBUG   'SchedulerPlugin: 2 tasks scheduled'
121007 19:52:40   DEBUG   'Register Event: Stop Process: SchedulerPlugin'
121007 19:52:40   DEBUG   'Register Event: Program Exit: SchedulerPlugin'
121007 19:52:40   BOT       'Plugin scheduler (1.4 - Courgette) loaded'
...
121007 19:54:00   INFO   'SchedulerPlugin: running scheduled commands from every3m'

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: scheduler Plugin
« Reply #47 on: October 08, 2012, 10:23:59 AM »
this log looks ok, what's the issue now  ?

Offline GeneralFailure

  • Jr. Member
  • **
  • Posts: 34
    • [FPF] FrankenPower FAILURE
Re: scheduler Plugin
« Reply #48 on: October 08, 2012, 11:34:52 AM »
this log looks ok, what's the issue now  ?

there is no display of  admin.yell, admin.say in BF3.

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: scheduler Plugin
« Reply #49 on: October 08, 2012, 08:52:53 PM »
v1.4.1 released

fix support for BF3


@GeneralFailure : thx for the report  ;)

Offline GeneralFailure

  • Jr. Member
  • **
  • Posts: 34
    • [FPF] FrankenPower FAILURE
Re: scheduler Plugin
« Reply #50 on: October 08, 2012, 10:02:50 PM »
Now it works, very thx  ;D

Offline Max][mu$

  • Jr. Member
  • **
  • Posts: 44
Re: scheduler Plugin
« Reply #51 on: December 13, 2013, 01:58:20 PM »
Sorry for the necro, but its concerning this plugin. Courgette, I was wondering if you could give support for this plugin for Chivalry: Medieval Warfare.

I am wanting to schedule certain rcon commands like adding bots every 30 - 45 minutes per map. I would normally just do this with an rcon tool, but there isn't one right now for B3. However, there is in game admin/rcon.

With that said, I would prefer to just use your scheduler plugin through B3.

Thanks you for your consideration and hard work that you do for B3. :)

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: scheduler Plugin
« Reply #52 on: December 13, 2013, 03:06:59 PM »
AFAIK the rcon capabilities of Chiv are quite limited. How would you add bot with rcon and chiv ? is there any documentation about that ?

The only things I can do as it is now is to send messages and change the map

Offline kahne

  • Jr. Member
  • **
  • Posts: 19
Re: scheduler Plugin
« Reply #53 on: December 13, 2013, 07:54:44 PM »
What we have to do to manually add them is this..

Adminlogin (password)
Admin addbots (number of bots to add with max being 10)
Admin Killbots (kills bots on manually command)

The thing is, Bots will be lost automatically every time the map changes...

List of console commands...

http://forums.tornbanner.com/showthread.php/2327-Console-Commands-List

Hope that helps./...

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: scheduler Plugin
« Reply #54 on: December 13, 2013, 09:40:08 PM »
Those console commands cannot be used remotely (this is not Rcon).
The relevant documentation for remote commands is at https://tornbannerjira.atlassian.net/wiki/display/CHIVCOM/RCon+Protocol
And it does not provide any command for bots

 


Rate this page +1 at Google Search