1. Code:
    [Oxide] 12:58 PM [Error] Failed to call hook 'OnPlayerDisconnected' on plugin 'Notifier' Traceback (most recent call last): RuntimeError: Failed to call OnPlayerDisconnected (ArgumentTypeException: OnPlayerDisconnected() takes exactly 2 arguments (3 given)) at Microsoft.Scripting.Interpreter.ThrowInstruction.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 
     
  2. I have set up some other stuff in Notifier but I am yet to figure out how to make /help display what I want or say anything but "Unknown command 'help'!"

    So if i could receive some help that would be amazing. All I want it to do is to display some commands in a readable form just like the /rules does, although it does not have to be as colorful.

    Thank you!
     
  3. ill give it a try, i just deleted the config file and it was the default config that get generated by the plugin, no chages where made thx anyways

    edit ://

    getting this error with your file :/

    using Oxide Version: 2.0.1207, Rust Protocol: 1300
    Code:
    [Oxide] 3:08 PM [Error] Failed to call hook 'OnPlayerDisconnected' on plugin 'No
    tifier'
    Traceback (most recent call last):
    RuntimeError: Failed to call OnPlayerDisconnected (ArgumentTypeException: OnPlay
    erDisconnected() takes exactly 3 arguments (2 given))
      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
     
  4. Notifier works by my but it only shows when the players come and go of mean not some char info message such as

    "Want to know the available commands? Type <orange> / help <than>.", "Respect the server <orange> / rules <than>.", "ONLY English or English In The Chat thanke <orange> / rules <than>. "," This server is running <orange> Oxide 2 <than>. "," <red> Cheat is strictly prohibited. <than> "," type <orange> / map <than> for the server map link . ",
     
  5. Wulf

    Wulf Community Admin

    Make sure you use the version of the plugin I gave in that post.
     
  6. Check your config file for the message with Current players online, there should be a placeholder like {maxplayers}, remove that part.

    That's how my line looks like:
    Code:
    "Players Online: <lime>{players}<end> - Sleepers: <lime>{sleepers}<end>"

    Regards
     
  7. I have this error with Notifier 2.10.2 :
    Code:
    7:03 PM [Error] Web request callback raised an exception in 'notifier' plugin (KeyNotFoundException: RS)
    7:03 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>
     
  8. it works i get the error
    Code:
    > oxide.reload notifier
    [Oxide] 8:33 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
    it works after I delete my config file and Reloading Notifier but thanks for the HELP :D
     
    Last edited by a moderator: Jul 30, 2015
  9. i did :/
     
  10. Hello, i have a question
    Can you tell me if it's possible to change the notifier picture in the chat of my server ?
    Nothing in the .json file allow that and i found nothing in the .py file
    Thank you in advance

    (excuse my bad english hehe)
     
  11. Code:
    73.53.40.98:51653/76561198071831217/roboben disconnecting: disconnect
    [Oxide] 4:16 PM [Error] Failed to call hook 'OnPlayerDisconnected' on plugin 'Notifier'
    Traceback (most recent call last):
    RuntimeError: Failed to call OnPlayerDisconnected (ArgumentTypeException: OnPlayerDisconnected() takes exactly 2 arguments (3 given))
    at (wrapper dynamic-method) object.CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,IronPython.Runtime.CodeContext,object,object,object,object) <0x000b8>
    at System.Dynamic.UpdateDelegates.UpdateAndExecute5<IronPython.Runtime.CodeContext, object, object, object, object, object> (System.Runtime.CompilerServices.CallSite,IronPython.Runtime.CodeContext,object,object,object,object) <0x001ac>
    at (wrapper delegate-invoke) Microsoft.Scripting.Utils.Func`7<System.Runtime.CompilerServices.CallSite, IronPython.Runtime.CodeContext, object, object, object, object, object>.invoke_object__this___CallSite_CodeContext_object_object_object_object (System.Runtime.CompilerServices.CallSite,IronPython.Runtime.CodeContext,object,object,object,object) <0x00098>
    at IronPython.Runtime.FunctionCaller`3<object, object, object>.Call3 (System.Runtime.CompilerServices.CallSite,IronPython.Runtime.CodeContext,object,object,object,object) <0x00134>
    at (wrapper dynamic-method) object.CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,object,object,object) <0x00160>
    at (wrapper dynamic-method) object.lambda_method (System.Runtime.CompilerServices.Closure,Microsoft.Scripting.Runtime.DynamicOperations,System.Runtime.CompilerServices.CallSiteBinder,object,object[]) <0x00079>
    at Microsoft.Scripting.Runtime.DynamicOperations.Invoke (object,object[]) <0x000e1>
    at Microsoft.Scripting.Hosting.ObjectOperations.Invoke (object,object[]) <0x00039>
    at (wrapper remoting-invoke-with-check) Microsoft.Scripting.Hosting.ObjectOperations.Invoke (object,object[]) <0x00091>
    at Oxide.Ext.Python.Plugins.PythonPlugin.OnCallHook (string,object[]) <0x000e9>
    [DOUBLEPOST=1438212020][/DOUBLEPOST]
    you have to change the profile it grabs its picture from
     
  12. Code:
    [Oxide] 9:43 PM [Error] Failed to call hook 'OnPlayerDisconnected' on plugin 'Notifier'
    Traceback (most recent call last):
    RuntimeError: Failed to call OnPlayerDisconnected (ArgumentTypeException: OnPlayerDisconnected() takes exactly 2 arguments (3 given))
      at Microsoft.Scripting.Interpreter.ThrowInstruction.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
     
    Last edited by a moderator: Jul 30, 2015
  13. Wulf

    Wulf Community Admin

    Which Oxide build are you using?
    Which Oxide build are you using?
     
  14. Latest release 1207 or what ever it was
     
  15. Wulf

    Wulf Community Admin

    Please verify using the "version" console command. Also, did you use the version of the plugin posted by me or Mughisi, or the official? The version we posted was only for the latest snapshots, not the current release of Oxide.
     
  16. Official version and 2.0.1215
    [DOUBLEPOST=1438232825][/DOUBLEPOST]Looks like I was wrong it's not the release version
     
  17. Hey...

    I am about to setup all possible other stuff like a Facebook Group and a Steam Group for the server and I wonder if it would be possible to connect the plugin profile to a group instead of a player profile?
    I mean, I created a profile so my server logo is used for the messages, everything working fine so far.
    But if it would work to change the profile link to a given group link (maybe in the config file?), that would be beepbeep amazing.

    What do you guys think about that? Would also solve the "problem" Wulf was talking about in another thread where you have to setup accounts with "pennygames" to ensure them to be permanent available, I think groups shouldn't have the problem as long as there are players in it, do they?


    Regards
     
  18. I Use Oxide Version: 2.0.1216, Rust Protocol: 1300

    and get this on every disconnect:
    Code:
    [Oxide] 11:15 AM [Error] Failed to call hook 'OnPlayerDisconnected' on plugin 'Notifier' Traceback (most recent call last): RuntimeError: Failed to call OnPlayerDisconnected (ArgumentTypeException: OnPlayerDisconnected() takes exactly 2 arguments (3 given)) at (wrapper dynamic-method) object.CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,IronPython.Runtime.CodeContext,object,object,object,object) <0x000b8> at System.Dynamic.UpdateDelegates.UpdateAndExecute5<IronPython.Runtime.CodeContext, object, object, object, object, object> (System.Runtime.CompilerServices.CallSite,IronPython.Runtime.CodeContext,object,object,object,object) <0x001ac> at (wrapper delegate-invoke) Microsoft.Scripting.Utils.Func`7<System.Runtime.CompilerServices.CallSite, IronPython.Runtime.CodeContext, object, object, object, object, object>.invoke_object__this___CallSite_CodeContext_object_object_object_object (System.Runtime.CompilerServices.CallSite,IronPython.Runtime.CodeContext,object,object,object,object) <0x00098> at IronPython.Runtime.FunctionCaller`3<object, object, object>.Call3 (System.Runtime.CompilerServices.CallSite,IronPython.Runtime.CodeContext,object,object,object,object) <0x00134> at (wrapper dynamic-method) object.CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,object,object,object) <0x00160> at (wrapper dynamic-method) object.lambda_method (System.Runtime.CompilerServices.Closure,Microsoft.Scripting.Runtime.DynamicOperations,System.Runtime.CompilerServices.CallSiteBinder,object,object[]) <0x00079> at Microsoft.Scripting.Runtime.DynamicOperations.Invoke (object,object[]) <0x000e1> at Microsoft.Scripting.Hosting.ObjectOperations.Invoke (object,object[]) <0x00039> at (wrapper remoting-invoke-with-check) Microsoft.Scripting.Hosting.ObjectOperations.Invoke (object,object[]) <0x00091> at Oxide.Ext.Python.Plugins.PythonPlugin.OnCallHook (string,object[]) <0x000e9>