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

Task Scheduler - by JustinHoMi


Post New Thread Reply   
 
Thread Tools Display Modes
w1ck3d909
New Member
Join Date: Oct 2005
Old 10-15-2005 , 19:40  
Reply With Quote #51

I'm having conflict with 'Task Scheduler' plugin, and 'Customizable HUD Messages' plugin.

Task Scheduler:
Code:
amx_task 5 "command" mr
Custom Hud:
Code:
amx_cfsay 153 0 0 0.25 0.56 "blah blah blah blah"

The problem is, when I add the custom hud message inside of the task schedualer command Like so..

Code:
amx_task 5 "amx_cfsay 153 0 0 0.25 0.56 "blah blah blah blah" mr
The quotes arround the text for the hud message conflicts with the task scheduler, and doesn't allow it to display the message.

If you remove the first quote infrount of the hud message txt it will show the message, but only the first word of the message.

Any idea on how to fix this?

Links to both plugins:

http://forums.alliedmods.net/showthr...eduler&start=0

http://forums.alliedmods.net/showthr...ssages&start=0

Thanks ahead of time,
w1ck3d
w1ck3d909 is offline
Send a message via AIM to w1ck3d909
PsychoZone.dk
Junior Member
Join Date: Oct 2005
Old 12-12-2005 , 14:33  
Reply With Quote #52

Sweet plugin. But could be VERY VERY nice if some1 could make the plugin for dates too. As a calender thing. Then this plugin would be VERY useful for PCWs/CWs, when you can plan a war on one specific date.

Hope somone will add the calender function in this plugin
PsychoZone.dk is offline
belvadere
Junior Member
Join Date: Sep 2005
Location: Philadelphia
Old 02-11-2006 , 12:34  
Reply With Quote #53

Trying to do the following w/ this plugin: Turn off an amxx plugin I'm running at a particular time, say 3AM EST, then have said plugin turned back on at 9AM EST. Possible?
__________________
belvadere is offline
Switchie
Senior Member
Join Date: Mar 2006
Location: Belgium
Old 04-17-2006 , 00:42  
Reply With Quote #54

Hello i am using 1.17 and compiled it

L 04/17/2006 - 04:22:56: -------- Mapchange to de_dust2 --------
L 04/17/2006 - 04:22:59: [AMXX] Run time error 4 (plugin "task.amxx") - debug not enabled!
L 04/17/2006 - 04:22:59: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).

Do i ignored it ? or is it bad ?

thx
__________________
Switchie is offline
Switchie
Senior Member
Join Date: Mar 2006
Location: Belgium
Old 04-17-2006 , 09:18  
Reply With Quote #55

I did debug and got this line

L 04/17/2006 - 13:151: -------- Mapchange to de_dust2002 --------
L 04/17/2006 - 13:153: [AMXX] Displaying debug trace (plugin "task.amxx")
L 04/17/2006 - 13:153: [AMXX] Run time error 4: index out of bounds
L 04/17/2006 - 13:153: [AMXX] [0] task.sma::load_task (line 43)

Can someone fix it ?
__________________
Switchie is offline
pendragon
Senior Member
Join Date: Mar 2004
Location: In a bubble
Old 04-17-2006 , 14:53  
Reply With Quote #56

Switchie - I read your PM before I read this post.

If you are using the same tasks that you sent me a copy of in your PM then try the suggestions I made and see if that helps. If not, please come back and post ALL of your set tasks along with a copy of your plugins.ini and modules.ini
pendragon is offline
Send a message via ICQ to pendragon Send a message via AIM to pendragon Send a message via MSN to pendragon
Switchie
Senior Member
Join Date: Mar 2006
Location: Belgium
Old 04-17-2006 , 17:14  
Reply With Quote #57

Ok still getting the error when changing map
But i think everythings working , only a anoying error
I still using it now

L 04/17/2006 - 20:54:48: -------- Mapchange to de_inferno --------
L 04/17/2006 - 20:54:51: [AMXX] Displaying debug trace (plugin "task.amxx")
L 04/17/2006 - 20:54:51: [AMXX] Run time error 4: index out of bounds
L 04/17/2006 - 20:54:51: [AMXX] [0] task.sma::load_task (line 43)

L 04/17/2006 - 21:05:40: -------- Mapchange to big_city2 --------
L 04/17/2006 - 21:05:43: [AMXX] Displaying debug trace (plugin "task.amxx")
L 04/17/2006 - 21:05:43: [AMXX] Run time error 4: index out of bounds
L 04/17/2006 - 21:05:43: [AMXX] [0] task.sma::load_task (line 43)

Maybe this is because it used to be amx and not be cleaned for amxx

My lines in server.cfg

amx_task 13 "amx_say ::IRC:: #MuppetsOnWeed @ Quakenet - Join Now And Support MoW" mr
amx_task 15 "amx_say -- 32player Server [ Dust2 Only ] From 24.00h Till 12.00h ] [MoW] --" mr
amx_task 15 "amx_say -- 32player Server [ Custom Maps ] From 12.00h Till 24.00h ] [MoW ]--" mr

amx_task 23:54 "amx_csay green Server Changing to [Dust2 Only] At 24.00h Till 12.00h" t
amx_task 23:55 "amx_csay yellow Server Changing to [Dust2 Only] At 24.00h Till 12.00h" t
amx_task 23:56 "amx_csay green Server Changing to [Dust2 Only] At 24.00h Till 12.00h" t
amx_task 23:57 "amx_csay yellow Server Changing to [Dust2 Only] At 24.00h Till 12.00h" t
amx_task 23:58 "amx_csay green Server Changing to [Dust2 Only] At 24.00h Till 12.00h" t
amx_task 23:59 "amx_csay yellow Server Changing to [Dust2 Only] At 24.00h Till 12.00h" t
amx_task 23:54 "amx_say Server Changing to [Dust2 Only] At 24.00h Till 12.00h" t
amx_task 23:55 "amx_say Server Changing to [Dust2 Only] At 24.00h Till 12.00h" t
amx_task 23:56 "amx_say Server Changing to [Dust2 Only] At 24.00h Till 12.00h" t
amx_task 23:57 "amx_say Server Changing to [Dust2 Only] At 24.00h Till 12.00h" t
amx_task 23:58 "amx_say Server Changing to [Dust2 Only] At 24.00h Till 12.00h" t
amx_task 23:59 "amx_say Server Changing to [Dust2 Only] At 24.00h Till 12.00h" t
amx_task 00:00 "amx_map de_dust2" t
amx_task 00:02 "mp_timelimit 719" t
amx_task 00:03 "mp_timelimit 718" t
// amx_task 00:03 "hostname "[NL] .:MuppetsOnWeed:. [BE] 32 Players Bites The Dust [MoW] Powerd By skyberate.net"
amx_task 03:00 "amx_map de_dust2" t
amx_task 03:01 "mp_timelimit 540" t
amx_task 03:02 "mp_timelimit 539" t
amx_task 06:00 "amx_map de_dust2" t
amx_task 06:01 "mp_timelimit 360" t
amx_task 06:02 "mp_timelimit 359" t
amx_task 09:00 "amx_map de_dust2" t
amx_task 09:01 "mp_timelimit 180" t
amx_task 09:02 "mp_timelimit 179" t
// amx_task 11:50 "hostname "[NL] .:MuppetsOnWeed:. [BE] 32 Players Getting High [MoW] Powerd By skyberate.net"
amx_task 11:50 "amx_csay yellow Server Changing to Custom Maps At 12.00h Till 24.00h" t
amx_task 11:50 "amx_say Server Changing to Custom Maps At 12.00h Till 24.00h" t
amx_task 11:51 "amx_csay yellow Server Changing to Custom Maps At 12.00h Till 24.00h" t
amx_task 11:51 "amx_say Server Changing to Custom Maps At 12.00h Till 24.00h" t
amx_task 11:52 "amx_csay yellow Server Changing to Custom Maps At 12.00h Till 24.00h" t
amx_task 11:52 "amx_say Server Changing to Custom Maps At 12.00h Till 24.00h" t
amx_task 11:53 "amx_csay yellow Server Changing to Custom Maps At 12.00h Till 24.00h" t
amx_task 11:53 "amx_say Server Changing to Custom Maps At 12.00h Till 24.00h" t

Server Specs:

21:07:40 Currently loaded plugins:
description stat pend file vers src load unlod
[ 1] AMX Mod X RUN - amxmodx_mm.dll v1.71 ini ANY ANY
[ 2] HonksbotV2 RUN - honks2_mm.dll v0.55 ini ANY ANY
[ 3] HonksbotV2 RUN - honks_mm.dll v0.55 ini ANY ANY
[ 4] MoWsbot RUN - mow_mm.dll v1.00 ini ANY ANY
[ 5] Booster-Lite RUN - booster_lite_mm. v1.13 ini Pause Pause
[ 6] Fun RUN - fun_amxx.dll v1.71 pl1 ANY ANY
[ 7] CStrike RUN - cstrike_amxx.dll v1.71 pl1 ANY ANY
[ 8] CSX RUN - csx_amxx.dll v1.71 pl1 ANY ANY
8 plugins, 8 running

21:08:01 Currently loaded plugins:
name version author file status
[ 1] Admin Base 1.71 AMXX Dev Team admin.amxx running
[ 2] Admin Commands 1.71 AMXX Dev Team admincmd.amxx running
[ 3] Menus Front-End 1.71 AMXX Dev Team menufront.amxx running
[ 4] Commands Menu 1.71 AMXX Dev Team cmdmenu.amxx running
[ 5] Players Menu 1.71 AMXX Dev Team plmenu.amxx running
[ 6] Maps Menu 1.71 AMXX Dev Team mapsmenu.amxx running
[ 7] Admin Chat 1.71 AMXX Dev Team adminchat.amxx running
[ 8] Anti Flood 1.71 AMXX Dev Team antiflood.amxx running
[ 9] Scrolling Message 1.71 AMXX Dev Team scrollmsg.amxx running
[ 10] Info. Messages 1.71 AMXX Dev Team imessage.amxx running
[ 11] NextMap 1.71 AMXX Dev Team nextmap.amxx running
[ 12] Nextmap Chooser 1.71 AMXX Dev Team mapchooser.amxx running
[ 13] TimeLeft 1.71 AMXX Dev Team timeleft.amxx running
[ 14] Pause Plugins 1.71 AMXX Dev Team pausecfg.amxx running
[ 15] Stats Configurati 1.71 AMXX Dev Team statscfg.amxx running
[ 16] Restrict Weapons 1.71 AMXX Dev Team restmenu.amxx running
[ 17] StatsX 1.71 AMXX Dev Team statsx.amxx running
[ 18] CS Misc. Stats 1.71 AMXX Dev Team miscstats.amxx running
[ 19] Prechache Sound 0.1 Fusion precache_miscst running
[ 20] MoW Music 2.3 Switchie music.amxx running
[ 21] Last man bets 0.9.3 JGHG lastmanbets.amx running
[ 22] Unlimited Money 1.1.1 NL)Ramon(NL & Va unlimited-money running
[ 23] Auto-Restart 0.9.2 Switchie auto-restart.am running
[ 24] Nade Messages 0.3 v3x nade.amxx running
[ 25] Task Scheduler 0.2 JustinHoMi task.amxx debug
25 plugins, 25 running

21:080 stats
CPU In Out Uptime Users FPS Players
73.54 154.08 241.72 168 749 1000.00 32

AMXMODX v1.71, MetaMod v1.19p28
v1.1.2.5 3382 secure (RCON) (Windows, Dedicated)
__________________
Switchie is offline
Guenhwyvar
AMX Mod X Beta Tester
Join Date: Jul 2005
Location: Berlin / Germany
Old 05-19-2006 , 16:29  
Reply With Quote #58

Really useful plugin!
Guenhwyvar is offline
Guenhwyvar
AMX Mod X Beta Tester
Join Date: Jul 2005
Location: Berlin / Germany
Old 06-05-2006 , 03:26  
Reply With Quote #59

Hm, the first test worked fine, after that I added these lines to amxx.cfg:

Code:
// task scheduler amx_task 5:00 "amx_say *** daily server restart in 2 minutes!" t amx_task 5:01 "amx_say *** daily server restart in 1 minute!" t amx_task 5:02 "quit" t

But nothing happens..
Guenhwyvar is offline
pendragon
Senior Member
Join Date: Mar 2004
Location: In a bubble
Old 06-06-2006 , 20:26  
Reply With Quote #60

try:
Quote:
Originally Posted by pl2003
Code:
// task scheduler amx_task 5:00 "amx_say '*** daily server restart in 2 minutes!'" t amx_task 5:01 "amx_say '*** daily server restart in 1 minute!'" t amx_task 5:02 "quit" t
__________________
pendragon is offline
Send a message via ICQ to pendragon Send a message via AIM to pendragon Send a message via MSN to pendragon
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 01:02.


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