1. Sure will.
     

    Attached Files:

  2. here is mine

    i am sure its a trainwreck but the msg thing started today.
    [DOUBLEPOST=1441341508,1441334035][/DOUBLEPOST]i just updated mine to this...
    still watching for errors...
     

    Attached Files:

  3. If it does not work try. Deleting the plugin, config and if anything in data and upload the latest version
     
  4. yes but i have to change it to suit my server no matter what...

    its doing ok now except this...
    Code:
    [Oxide] 11:51 AM [Info] Unloaded plugin Notifier v2.12.0 by SkinN
    [Oxide] 11:51 AM [Info] Loaded plugin Notifier v2.12.0 by SkinN
    [Oxide] 11:51 AM [Error] notifier v2.12.0: Failed to load config file (is the config file corrupt?) (After parsing a value an unexpected character was encountered: ". Path 'MESSAGES.['MAP LINK']', line 45, position 5.)
    [Oxide] 11:51 AM [Error] Failed to initialize plugin 'notifier v2.12.0'
    Traceback (most recent call last):
      File "notifier.py", line 287, in Init
      File "notifier.py", line 229, in con
    RuntimeError: Failed to call Init (KeyNotFoundException: SETTINGS)
    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>
     
  5. Wulf

    Wulf Community Admin

    You've likely edited your config wrongly, causing it to not load. I'd recommend starting fresh, and make sure you are validating it using jsonlint.com.
     
  6. im not doubting that, but ive started fresh like 5 times :/ just wondering what im doing wrong. this time.
     
  7. I haven't check your code and I already spotted 2 big mistakes and probably 1 minor error:
    1º - Both your files end in .js which that would be a JavaScript plugin, Notifier is written in Python which the extension would be .py
    2º - One of your files name starts with '2-', the config file must be named notifier.json and the plugin file must be notifier.py, both names must be exacly as I said.
    3º - Like Wulf said and right, you most likely messed up the config file somehow. Use jsonlint.com to help you out figure what the error is.
    [DOUBLEPOST=1441383668][/DOUBLEPOST]
    Your error means the LEAVE MESSAGE key (representing the leave message of course) is missing from the file, which is not true as it is there on line 48 on your file.
    I would suggest you to backup your messages and stuff and delete your current config file and let it create a new one, and then start from there.
     
  8. ive done that a buncha times, its not fixing.
    ok the original config it makes is a json, so i just did the same.
    i saw it said js and fixed that.its json now...which is what it auto makes it.
    as for the 2 before hand on the title, that isnt what my config has,
    that is just because i copied it to my desktop to send to u.
    only that copy has that, so that isnt an issue.
    only thing i did to the leave message bit, is put false.
    because i dont want one. so idk if thatd mess it up but technically it should
    not be.
    oh well. it is what it is i guess.
     
  9. Okay, I will do that... thanks for your time and help.
     
  10. Well then I can only suggest you make a fresh installation of the plugin, and I can guarantee if you make the changes in the config file right there will be no errors.
     
  11. that is what i am saying. i did. but i have to change the config or it dont suit my needs. so ill keep having an issue here or there i suppose.
     
  12. I guess you keep doing the same error every time you just don't know it.
     
  13. Not sure if the server just requires a restart but all the players locations are showing up as unknown, since updating the plugin.
    [DOUBLEPOST=1441408324][/DOUBLEPOST]I'm also getting this thrown into console:

    !
    The referenced script on this Behaviour is missing!
    The referenced script on this Behaviour is missing!
    The referenced script on this Behaviour is missing!
     
  14. no, that would make more sense.... its a diff one. go figure.
     
  15. Perhaps a restart may fix the player locations yes, though the second one is not Notifier's, it doesn't seem like it.
    [DOUBLEPOST=1441414489][/DOUBLEPOST]
    Try to fresh install it again, make your changes, if the error comes up then upload the file here.
     
  16. ok so i reinstalled it, and changed the config, and heres the latest error...

    [Oxide] 10:59 PM [Info] Unloaded plugin Notifier v2.12.0 by SkinN
    [Oxide] 10:59 PM [Info] Loaded plugin Notifier v2.12.0 by SkinN
    [Oxide] 10:59 PM [Info] [Notifier v2.12.0] :: --------------------------------------------------
    [Oxide] 10:59 PM [Info] [Notifier v2.12.0] :: * Configuration file is up to date
    [Oxide] 10:59 PM [Info] [Notifier v2.12.0] :: * Starting Adverts loop, set to 18 minute/s
    [Oxide] 10:59 PM [Info] [Notifier v2.12.0] :: * Enabling commands:
    [Oxide] 10:59 PM [Info] [Notifier v2.12.0] :: - Map Link (/map)
    [Oxide] 10:59 PM [Info] [Notifier v2.12.0] :: - Rules (/rules, /regras, /regles)
    [Oxide] 10:59 PM [Info] [Notifier v2.12.0] :: - Adverts Command (/adverts)
    [Oxide] 10:59 PM [Info] [Notifier v2.12.0] :: - Plugins List (/plugins)
    [Oxide] 10:59 PM [Info] [Notifier v2.12.0] :: - Players Online (/online)
    [Oxide] 10:59 PM [Info] [Notifier v2.12.0] :: --------------------------------------------------
    [Oxide] 10:59 PM [Error] Failed to call hook 'map_link_CMD' on plugin 'notifier v2.12.0'
    Traceback (most recent call last):
    File "notifier.py", line 550, in map_link_CMD
    RuntimeError: Failed to call map_link_CMD (IndexOutOfRangeException: index out of range: 108)
    at IronPython.Runtime.Operations.PythonOps.FixIndex (Int32 v, Int32 len) [0x00000] in <filename unknown>:0
    at IronPython.Runtime.PythonTuple.get_Item (Int32 index) [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

    [Oxide] 11:00 PM [Error] Failed to call hook 'map_link_CMD' on plugin 'notifier v2.12.0'
    Traceback (most recent call last):
    File "notifier.py", line 550, in map_link_CMD
    RuntimeError: Failed to call map_link_CMD (IndexOutOfRangeException: index out of range: 108)
    at IronPython.Runtime.Operations.PythonOps.FixIndex (Int32 v, Int32 len) [0x00000] in <filename unknown>:0
    at IronPython.Runtime.PythonTuple.get_Item (Int32 index) [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

    other than this, it seems to work.... just no map, and spamming the console.
    [DOUBLEPOST=1441422481][/DOUBLEPOST]this is not the original, i saved this to desktop, so ignore the .js it just copied that way for some reason.
     

    Attached Files:

    Last edited by a moderator: Sep 5, 2015
  17. Maybe dont edit the config see if that is the problem
     
  18. i never said the problem was with the plugin, i merely asked for assistance.
    it would still give same error, seeing as how my map ip and port wouldnt be entered.
    also this plugin is only useful to me if edited. so i have to fix the problem rather than give up.
     
  19. Did you edit the script in any way
     
  20. here is another....
    [Oxide] 11:25 PM [Info] [Notifier v2.12.0] :: [ERROR] Unknown name format on advert message! (Message: Players Online: {players} / {maxplayers} Sleepers: {sleepers})
    i didnt do anything to change this one!!!