Problem with Command (Task Scheduler)
Hello, everyone,
I have a problem with this plugin (Task Scheduler): Task Scheduler I would like to change the map at a desired time. so that de_dust2 starts at 5 o'clock in the morning. unfortunately it doesn't work with the timer command like in the instructions: amx_task 05:00 "amx_map de_dust2" t amx_task 05: 00-06: 00 "amx_map de_dust2" t and and and ... I've already tried different variations. unfortunately nothing has led to success. what works, for example, is this command: amx_task 5 "sv_restart 1" mr there the server restarts every 5 minutes. EDIT: this command also works: amx_task 5 “changelevel de_dust2“ mr then doesn't it have to be because of the time? maybe you have an idea where the error lies !? best regards |
Re: Problem with Command (Task Scheduler)
I just tested it and it works fine, must be another conflicting plugin
|
Re: Problem with Command (Task Scheduler)
hello Bugsy
first of all, thank you very much for trying it. maybe you like to tell me how you proceeded with the installation and what kind of command you used!? maybe I'm making a mistake somewhere. Code:
I have the following plugins in the plugins.ini:it does not work even if all 3rd party plugins are deactivated. does your plugin.ini look the same? or have you activated / deactivated other plugins? do you have another idea? best regards |
Re: Problem with Command (Task Scheduler)
Mine looks different as I run different things.
Run this, and check your amxx log file PHP Code:
|
Re: Problem with Command (Task Scheduler)
Yeeeeah...many many thanks Bugsy !!!
It works now !!! but ..... after I activated the Galileo plugin it no longer works. I deactivate Galileo, then it works again. Do you have an idea how to get that that Galileo also works with? have a nice day ! best regards |
Re: Problem with Command (Task Scheduler)
Not sure, would need to look at the plugin to know (but don't want to).
|
Re: Problem with Command (Task Scheduler)
Bugsy didn't change anything about the functionality of the code so it didn't just start working because of his code. He added logging to help determine what is happening when it doesn't work. You should run his code and find the time in your amxmodx logs where the event was supposed to happen so we can see why your code wasn't getting executed.
I can't think of anything in this plugin that would be directly interfering with it's execution. The only thing that might be happening is if there is a delay in the execution of server code such that the time between executions of checking the clock-base tasks is greater than 60 seconds and it is positioned such that it skips the one minute that you have configured. This circumstance is extremely unlikely. However, one thing that would prevent this is would be to change the set_task for "check_time" to execute every 55 seconds instead of 60. |
| All times are GMT -4. The time now is 20:45. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.