1. Wulf

    Wulf Community Admin

    Pretty sure that's an issue with your Notifier config file, not really anything to do with the Oxide update. There wasn't anything changed with today's Oxide update that would affect the config or even Python plugins.
     
  2. Strange that it didn't happen ten minutes ago before I updated, I'll reset config anyway. Cheers
     
  3. plugin has a bug i guess it gives this error if we translate some words in it
    Code:
    1:21 PM [Debug] at System.Collections.Generic.Dictionary`2<object, object>.get_Item (object) <0x001c5>
    at IronPython.Runtime.NewStringFormatter/Formatter.GetUnaccessedObject (IronPython.Runtime.NewStringFormatter/FieldName) <0x000e2>
    at IronPython.Runtime.NewStringFormatter/Formatter.GetArgumentValue (IronPython.Runtime.NewStringFormatter/FieldName) <0x00031>
    at IronPython.Runtime.NewStringFormatter/Formatter.ReplaceText (string) <0x003d4>
    at IronPython.Runtime.NewStringFormatter/Formatter.FormatString (IronPython.Runtime.PythonContext,string,IronPython.Runtime.PythonTuple,System.Collections.Generic.IDictionary`2<object, object>) <0x00072>
    at IronPython.Runtime.NewStringFormatter.FormatString (IronPython.Runtime.PythonContext,string,IronPython.Runtime.PythonTuple,System.Collections.Generic.IDictionary`2<object, object>) <0x000a3>
    at IronPython.Runtime.Operations.StringOps.format (IronPython.Runtime.CodeContext,string,System.Collections.Generic.IDictionary`2<object, object>,object[]) <0x00067>
    at (wrapper dynamic-method) object.CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,IronPython.Runtime.CodeContext,object,object) <0x00bee>
    at System.Dynamic.UpdateDelegates.UpdateAndExecute3<IronPython.Runtime.CodeContext, object, object, object> (System.Runtime.CompilerServices.CallSite,IronPython.Runtime.CodeContext,object,object) <0x00324>
    at Microsoft.Scripting.Interpreter.DynamicInstruction`4<IronPython.Runtime.CodeContext, object, object, object>.Run (Microsoft.Scripting.Interpreter.InterpretedFrame) <0x0017c>
    at Microsoft.Scripting.Interpreter.Interpreter.Run (Microsoft.Scripting.Interpreter.InterpretedFrame) <0x000c8>
    
     
    Last edited by a moderator: Jul 19, 2015
  4. Good evening,

    Is it possible to run a command at a certain time?
    For example run the say command at 19:55 to prevent players from a reboot?
    it would warn players 5 minutes before restarting.

    Thank you in advance for the answer.

    juju
     
  5. I am getting this after editing and uploading the config rile when I try to reload the plugin....

    Code:
    > oxide.reload notifier
    [Oxide] 10:46 PM [Error] Failed to call hook 'cmdReload' on plugin 'Rust Core'
    Traceback (most recent call last):
      File "notifier.py", line 388, in Unload
    RuntimeError: Failed to call Unload (MissingMemberException: notifier instance has no attribute 'adverts_loop')
      at IronPython.Runtime.Types.OldInstance+FastOldInstanceGet.Target (System.Runtime.CompilerServices.CallSite site, System.Object instance, IronPython.Runtime.CodeContext context) [0x00000] in <filename unknown>:0
      at System.Dynamic.UpdateDelegates.UpdateAndExecute2[Object,CodeContext,Object] (System.Runtime.CompilerServices.CallSite site, System.Object arg0, IronPython.Runtime.CodeContext arg1) [0x00000] in <filename unknown>:0
      at Microsoft.Scripting.Interpreter.DynamicInstruction`3[System.Object,IronPython.Runtime.CodeContext,System.Object].Run (Microsoft.Scripting.Interpreter.InterpretedFrame frame) [0x00000] in <filename unknown>:0
      at Microsoft.Scripting.Interpreter.Interpreter.Run (Microsoft.Scripting.Interpreter.InterpretedFrame frame) [0x00000] in <filename unknown>:0 
     
  6. Use http://oxidemod.org/plugins/timedexecute.919/ ,

    With this plugin you can execute any command after a ceirtain time. Have a look in the example config. It explains itself.

    [DOUBLEPOST=1437342832][/DOUBLEPOST]
    Which version of the plugin do you use? And what Oxide Version?
    I got a similar message, when my server was a bit outdated. After updating Oxide and Notifier, all messages gone ... as well, it referes to the advert messages. Check that you got all "," behind the text.
     
  7. Wulf

    Wulf Community Admin

    Your config file appears to be invalid or missing portions.
     
  8. Oxide version: 2.0.1192
    Notifier version: 2.10.2
    Code:
    12:41 PM [Error] Failed to call hook 'OnPlayerDisconnected' on plugin 'Notifier'^M
    Traceback (most recent call last):^M
      File "notifier.py", line 421, in OnPlayerDisconnected^M
    RuntimeError: Failed to call OnPlayerDisconnected (KeyNotFoundException: 76561198162973278)^M
    at IronPython.Runtime.PythonDictionary.GetItem (object) <0x0006c>
    at IronPython.Runtime.PythonDictionary.get_Item (object) <0x00024>
    at (wrapper dynamic-method) object.CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,object,object) <0x000a2>
    at System.Dynamic.UpdateDelegates.UpdateAndExecute2<object, object, object> (System.Runtime.CompilerServices.CallSite,object,object) <0x0030a>
    at Microsoft.Scripting.Interpreter.DynamicInstruction`3<object, object, object>.Run (Microsoft.Scripting.Interpreter.InterpretedFrame) <0x00113>
    at Microsoft.Scripting.Interpreter.Interpreter.Run (Microsoft.Scripting.Interpreter.InterpretedFrame) <0x000c8>
    ^M
    ^M
    12:41 PM [Error] Failed to call hook 'OnPlayerInit' on plugin 'Notifier'^M
    Traceback (most recent call last):^M
      File "notifier.py", line 414, in OnPlayerInit^M
      File "notifier.py", line 766, in webrequest_filter^M
    RuntimeError: Failed to call OnPlayerInit (MissingMemberException: 'NoneType' object has no attribute 'ipaddress')^M
      at Microsoft.Scripting.Interpreter.ThrowInstruction.Run (Microsoft.Scripting.Interpreter.InterpretedFrame frame) [0x00000] in <filename unknown>:0 ^M
      at Microsoft.Scripting.Interpreter.Interpreter.Run (Microsoft.Scripting.Interpreter.InterpretedFrame frame) [0x00000] in <filename unknown>:0 ^M
    
     
  9. Did you modify the notifyer.py file? Because i do not have anything in line 414
     
  10. Code:
    [7/21/2015 11:55:58 PM] [Oxide] 11:55 PM [Info] [Notifier v2.10.2] :: ::Jikey:: connect.
    [7/22/2015 12:00:10 AM] [Oxide] 11:55 AM [Error] Web request callback raised an exception in 'notifier' plugin (KeyNotFoundException: The given key was not present in the dictionary.)
    [7/21/2015 11:55:58 PM] [Oxide] 11:55 PM [Debug]   at System.Collections.Generic.Dictionary`2[System.Object,System.Object].get_Item (System.Object key) [0x00000] in <filename unknown>:0
      at IronPython.Runtime.NewStringFormatter+Formatter.GetUnaccessedObject (FieldName fieldName) [0x00000] in <filename unknown>:0
      at IronPython.Runtime.NewStringFormatter+Formatter.GetArgumentValue (FieldName fieldName) [0x00000] in <filename unknown>:0
      at IronPython.Runtime.NewStringFormatter+Formatter.ReplaceText (System.String format) [0x00000] in <filename unknown>:0
      at IronPython.Runtime.NewStringFormatter+Formatter.FormatString (IronPython.Runtime.PythonContext context, System.String format, IronPython.Runtime.PythonTuple args, IDictionary`2 kwArgs) [0x00000] in <filename unknown>:0
      at IronPython.Runtime.NewStringFormatter.FormatString (IronPython.Runtime.PythonContext context, System.String format, IronPython.Runtime.PythonTuple args, IDictionary`2 kwArgs) [0x00000] in <filename unknown>:0
      at IronPython.Runtime.Operations.StringOps.format (IronPython.Runtime.CodeContext context, System.String format_string, IDictionary`2 kwargs, System.Object[] args) [0x00000] in <filename unknown>:0
      at Microsoft.Scripting.Interpreter.FuncCallInstruction`5[IronPython.Runtime.CodeContext,System.String,System.Collections.Generic.IDictionary`2[System.Object,System.Object],System.Object[],System.String].Run (Microsoft.Scripting.Interpreter.InterpretedFrame frame) [0x00000] in <filename unknown>:0
      at Microsoft.Scripting.Interpreter.Interpreter.Run (Microsoft.Scripting.Interpreter.InterpretedFrame frame) [0x00000] in <filename unknown>:0 
    I have an error, how to fix?
     
  11. The errors are not always telling us the exact line :p
     
  12. solved, problem config
     
  13. i get same error. how can i fix it ?
     
  14. Only translation and add some text line.
     
  15. Code:
    [7/24/2015 2:53:10 AM] [Oxide] 2:53 AM [Info] [Notifier v2.10.2] :: CIGANOCHKA MODNOGO TIPA покинул сервер.
    [7/24/2015 2:53:10 AM] [Oxide] 2:53 AM [Debug] at Oxide.Plugins.PlayersOnlineGui.LoadGui (Boolean Logged, .BasePlayer p) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.PlayersOnlineGui.OnPlayerDisconnected (.BasePlayer player) [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
     
  16. This is the wrong thread for your post. The error you got is from PlayersOnlineGui
     
  17. getting this error
    Code:
    [Oxide] 6:09 PM [Error] Failed to call hook 'OnPlayerDisconnected' on plugin 'No
    tifier'
    Traceback (most recent call last):
      File "notifier.py", line 410, in OnPlayerDisconnected 105kb/s in, 304kb/s out
    RuntimeError: Failed to call OnPlayerDisconnected (KeyNotFoundException: 7656119
    8142563504)
    at IronPython.Runtime.PythonDictionary.GetItem (object) <0x0006c>
    at IronPython.Runtime.PythonDictionary.get_Item (object) <0x00024>
    at (wrapper dynamic-method) object.CallSite.Target (System.Runtime.CompilerServi
    ces.Closure,System.Runtime.CompilerServices.CallSite,object,object) <0x000a2>
    at Microsoft.Scripting.Interpreter.DynamicInstruction`3<object, object, object>.
    Run (Microsoft.Scripting.Interpreter.InterpretedFrame) <0x00113>
    at Microsoft.Scripting.Interpreter.Interpreter.Run (Microsoft.Scripting.Interpre
    ter.InterpretedFrame) <0x000c8>[Oxide] 6:09 PM [Error] Failed to call hook 'OnPlayerInit' on plugin 'Notifier'
    Traceback (most recent call last):
      File "notifier.py", line 403, in OnPlayerInit
      File "notifier.py", line 755, in webrequest_filter    105kb/s in, 304kb/s out
    RuntimeError: Failed to call OnPlayerInit (MissingMemberException: 'NoneType' ob
    ject has no attribute 'ipaddress')
      at Microsoft.Scripting.Interpreter.ThrowInstruction.Run (Microsoft.Scripting.I
    nterpreter.InterpretedFrame frame) [0x00000] in <filename unknown>:0
      at Microsoft.Scripting.Interpreter.Interpreter.Run (Microsoft.Scripting.Interp
    reter.InterpretedFrame frame) [0x00000] in <filename unknown>:0
     
  18. Emm, can anyone help me handle with this one?)
    Dunno why but timed Notifications just stopped to show((.
     

    Attached Files:

  19. Validate your whole configuration with www.jsonlint.com
     
  20. Wulf

    Wulf Community Admin

    The config is actually valid, the error would be entirely different otherwise. It appears the config is outdated though, so I'd recommend deleting it and letting the plugin re-create it.