This plugin can help you http://oxidemod.org/plugins/auto-commands.774/
TimedExecute [Unmaintained]
Discussion in 'Plugin Support' started by PaiN, Apr 7, 2015.
-
Wulf Community Admin
-
I don't know, if this is a known problem, but Updater shows that this plugin is outdated and actual version is 3.0.0 but ive downloadet this today the first time.
Is it a failure in this plugins requests to updater or a regular failure? -
PaiN updated TimedExecute with a new update entry:
updater fix... my bad
[DOUBLEPOST=1431693784][/DOUBLEPOST] -
Code:> oxide.reload TimedExecute [Oxide] 1:14 PM [Info] Unloaded plugin TimedExecute v3.0.0 by Merka [Oxide] 1:14 PM [Info] Loaded plugin TimedExecute v3.0.0 by Merka [Oxide] 1:14 PM [Error] TimedExecute: Failed to load config file (is the config file corrupt?) (After parsing a value an unexpected character was encountered: ". Path 'TimedCommands[1][0]', line 10, position 4.) [Oxide] 1:14 PM [Error] Failed to call hook 'OnServerInitialized' on plugin 'TimedExecute' File: TimedExecute.lua Line: 38 bad argument #1 to 'pairs' (table expected, got nil): at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0 at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
Even if i only change the time for the given examples the error will show up in log. -
It clearly says is the config file corrupt?
.... CARE ABOUT COMMAS and everything man
show me the config that u are trying to make -
This is the config ive tried to add (worked in past version without any problems)
Code:{ "ShowTimedCommands": "true", "TimedCommands": [ [ "oxide.reload updater", 3600 ], [ "ownerid 76561198001500181", "oxide.usergroup add 76561198001500181 admin", "oxide.usergroup add 76561198007995275 moderator", "oxide.usergroup add 76561198126456936 moderator", "oxide.usergroup add 76561198003802425 vip", "oxide.usergroup remove 76561198001500181 player", "oxide.usergroup remove 76561198007995275 player", "oxide.usergroup remove 76561198126456936 player", "oxide.usergroup remove 76561198003802425 player", 600 ] ] }
-
Second never tested this kind of config....
Third If it was working before it should work and now
Latest update was to change the version number in my plugin xDLast edited by a moderator: May 16, 2015 -
Wulf Community Admin
-
The only thing i can say is, that this error first was seen after updating today but the functions will work in set intervals.
Because im not an developer or programer i don't know what happened ir whats going wrong. The only thing i can do is to report error messages and hope that you see what's going wrong.
If it is a problem with my entrys, so please tell me how to write it in the configs file, but pls remember that not all users can see failures themselfe...
Hopefully and sincerly your Phoenix -
Wulf Community Admin
-
I've rentet the server from an official german provider and have'nt full access to all files, so i have to use a implemented console or Rusty to see errors and server messages.
So i dont know if i can see the told files, but i know that i can't change the files permissions. The only thing i can test is, if the server now (after latest update) save the permissions at all or if not... -
Im trying to do a 100 plane air drop every hour how do i config this with airdrop control
-
3600
(3600secs=1hour) -
does that go in the console or the config file ?
-
-
ok thanks you so much noob try to learn this stuff
-
After some months i decided to play a bit with lua -
PaiN updated TimedExecute with a new update entry:
plugin file name change
-
Im getting this error message when i startup the server
Code:7:44 PM [Error] Failed to call hook 'OnServerInitialized' on plugin 'TimedExecute' File: p-TimedExecute.lua Line: 39 invalid arguments to method call: at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0 at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0