Sure will.
Notifier [Unmaintained]
Discussion in 'Plugin Support' started by NobodyFTW, Feb 1, 2015.
-
Attached Files:
-
-
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:
-
-
-
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>
-
Wulf Community Admin
-
im not doubting that, but ive started fresh like 5 times :/ just wondering what im doing wrong. this time.
-
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]
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. -
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. -
-
-
-
-
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! -
-
[DOUBLEPOST=1441414489][/DOUBLEPOST] -
[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 -
-
Maybe dont edit the config see if that is the problem
-
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. -
-
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!!!