1. Truly saying Pain was right - it was my mistake. I left unwanted comma at the end of the last advertisement. And with help of Json validator i found it)).
    Problem solved!
    Thank to both of you guys!
     
  2. No Problem.
     
  3. Code:
    [7/27/2015 3:05:26 PM] [Oxide] 3:05 PM [Error] Failed to run a 300.00 timer in notifier (KeyNotFoundException: The given key was not present in the dictionary.)^M
    [7/27/2015 3:31:46 PM] [Oxide] 3:31 PM [Error] Failed to call hook 'OnPlayerDisconnected' on plugin 'Notifier'^M
    Traceback (most recent call last):^M
      File "notifier.py", line 410, in OnPlayerDisconnected^M
    RuntimeError: Failed to call OnPlayerDisconnected (KeyNotFoundException: 76561198208419672)^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 (wrapper dynamic-method) object.OnPlayerDisconnected$64 (System.Runtime.CompilerServices.Closure,IronPython.Runtime.PythonFunction,object,object) <0x00292>
    ^M
    ^M
    [7/27/2015 3:31:46 PM] [Oxide] 3:31 PM [Error] Failed to call hook 'OnPlayerInit' on plugin 'Notifier'^M
    Traceback (most recent call last):^M
      File "notifier.py", line 403, in OnPlayerInit^M
      File "notifier.py", line 755, 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
    
    [DOUBLEPOST=1438002957][/DOUBLEPOST]last oxide and default plagin
    [DOUBLEPOST=1438003076][/DOUBLEPOST]json config file is valide
    [DOUBLEPOST=1438005365][/DOUBLEPOST]I`m replace in notifier.json in string: "PLAYERS STATS": "<orange>Спящих:<end> <lime>{sleepers}<end> <yellow>|<end> <orange>За все время:<end> <lime>{total}<end>", "total" on "active". Because in source code use only sleepers and active: "self.tell(player, MSG['PLAYERS STATS'].format(sleepers=str(len(sleepers)), alltime=str(len(active) + len(sleepers))), f=False)"
    [DOUBLEPOST=1438005419][/DOUBLEPOST]and plugin wokr with out error =)
    [DOUBLEPOST=1438009095][/DOUBLEPOST]No error =(
    Code:
    5:31 PM [Error] Failed to call hook 'players_online_CMD' on plugin 'Notifier'^M
    Traceback (most recent call last):^M
      File "notifier.py", line 528, in players_online_CMD^M
    RuntimeError: Failed to call players_online_CMD (KeyNotFoundException: The given key was not present in the dictionary.)^M
      at System.Collections.Generic.Dictionary`2[System.Object,System.Object].get_Item (System.Object key) [0x00000] in <filename unknown>:0 ^M
      at IronPython.Runtime.NewStringFormatter+Formatter.GetUnaccessedObject (FieldName fieldName) [0x00000] in <filename unknown>:0 ^M
      at IronPython.Runtime.NewStringFormatter+Formatter.GetArgumentValue (FieldName fieldName) [0x00000] in <filename unknown>:0 ^M
      at IronPython.Runtime.NewStringFormatter+Formatter.ReplaceText (System.String format) [0x00000] in <filename unknown>:0 ^M
      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 ^M
      at IronPython.Runtime.NewStringFormatter.FormatString (IronPython.Runtime.PythonContext context, System.String format, IronPython.Runtime.PythonTuple args, IDictionary`2 kwArgs) [0x00000] in <filename unknown>:0 ^M
      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 ^M
      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.Interpr
      at Microsoft.Scripting.Interpreter.Interpreter.Run (Microsoft.Scripting.Interpreter.InterpretedFrame frame) [0x00000] in <filename unknown>:0 ^M
    ^M
    
     
  4. Keep getting this error but i dont understand what´s wrong
    Code:
    [Oxide] 6:58 PM [Error] Failed to run a 360.00 timer in notifier (KeyNotFoundException: The given key was not present in the dictionary.)
    [Oxide] 6:58 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 
     
  5. Wulf

    Wulf Community Admin

    It sounds like your config is invalid or outdated.
     
  6. Code:
    [Oxide] 12:46 AM [Error] Failed to call hook 'players_list_CMD' on plugin 'Notifier'
    Traceback (most recent call last):
      File "notifier.py", line 489, in players_list_CMD
    RuntimeError: Failed to call players_list_CMD (KeyNotFoundException: CHECK CONSOLE)
    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 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>
    This error occurs sometimes. Because of what is it?
     

    Attached Files:

  7. Wulf

    Wulf Community Admin

    It sounds like your config is invalid or outdated.
     
  8. @Wulf

    I switched hosts and now I'm getting these errors exact same files, are they providing an outdated version of oxide?
     
  9. Wulf

    Wulf Community Admin

  10. But it looks fine in jsonlint and i have the latest update,
     
  11. Code:
    [Oxide] 2:12 PM [Error] Web request callback raised an exception (KeyNotFoundException: RS)
    [Oxide] 2:12 PM [Debug] 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 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>
    Sorry for double post, wont let me edit the post before :(
    Found this error in my log and have no idea what causes it, if anyone knows something, tell me ^^

    Regards
     
    Last edited by a moderator: Jul 28, 2015
  12. Wulf

    Wulf Community Admin

    Not invalid formatting, just outdated, missing parts.
     
  13. default config :/
    Code:
    [Oxide] 1:20 PM [Error] Failed to call hook 'OnPlayerDisconnected' on plugin 'No
    tifier'
    Traceback (most recent call last):
      File "notifier.py", line 410, in OnPlayerDisconnected  86kb/s in, 288kb/s out
    RuntimeError: Failed to call OnPlayerDisconnected (KeyNotFoundException: 7656119
    8176151486)
    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 System.Dynamic.UpdateDelegates.UpdateAndExecute2<object, object, object> (Sys
    tem.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.Interpre
    ter.InterpretedFrame) <0x000c8>[Oxide] 1:20 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     86kb/s in, 288kb/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
     
  14. Wulf

    Wulf Community Admin

    The first is because you're using a development snapshot that changed the OnPlayerDisconnected hook. Try the below.

    The second is caused by your config not being correct somehow, maybe outdated.
     

    Attached Files:

  15. Wulf, I cannot express how much I enjoy your presence on these forums. I've been up for 28 hours with constant server host issues I've switched to three hosts and lost of bunch of players. And you've just made everything so much better, I can't thank you enough, this has been stressful. Mainly from host issues.

    I still get this, but that might be a config issue?
     
  16. Wulf

    Wulf Community Admin

    Those aren't related to this plugin, but it does show that an old issue is still an issue. http://oxidemod.org/threads/lua-plugin-maxing-out-server-memory.10343/
     
  17. Wulf

    Wulf Community Admin

    No, but please take the convo to that thread, it's off topic for this thread.
     
  18. Is it possible to re-enable the players avatar for the join/leave message?