1. This is what I get now:

    [Oxide] 10:03 PM [Info] Loaded plugin Notifier v2.7.2 by SkinN
    [Oxide] 10:03 PM [Info] [Notifier v2.7.2] :: * Loading default configuration fil
    e
    [Oxide] 10:03 PM [Info] [Notifier v2.7.2] :: Loading Plugin
    [Oxide] 10:03 PM [Info] [Notifier v2.7.2] :: -----------------------------------
    ---------------
    [Oxide] 10:03 PM [Info] [Notifier v2.7.2] :: * Updating countries database
    [Oxide] 10:03 PM [Error] Failed to initialize plugin notifier (MissingMemberExce
    ption: 'NoneType' object has no attribute 'connection')
    [Oxide] 10:03 PM [Debug] at Microsoft.Scripting.Interpreter.ThrowInstruction.R
    un (Microsoft.Scripting.Interpreter.InterpretedFrame frame) [0x00000] in <filena
    [DOUBLEPOST=1429754865][/DOUBLEPOST]I can't reload it without errors, check players or anything. The only thing that is working, is it showing the connections
     
  2. I've double checked the code just now, also went asking people if they got any errors, but know one gave me nothing, I also have two servers and the plugin it's working fine on both.
    I don't really see here your problem might be, as the error it self it's not clear enough.

    capture-20150423-032236.png

    capture-20150423-032314.png
    [DOUBLEPOST=1429756298][/DOUBLEPOST]Also are you sure you're using the latest Oxide build?
     
  3. For some reason, my version of oxide had rolled back. Appears to be working now!
     
  4. Im happy to know.
     
  5. Just updated the plugin and got this error message upon reloading:

    [Oxide] 10:08 PM [Error] Failed to call hook 'cmdReload' on plugin 'Rust Core' (MissingMemberException: notifier instance has no attribute 'adverts_loop')
    [Oxide] 10:08 PM [Debug] 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

    Had to revert to an earlier version of the plugin from before today's 2 updates which works fine.
     
  6. CHR

    CHR

    Do reload again... this happens to me also sometimes. But the reload will fix it normally.
     
  7. [Oxide] 3:18 PM [Info] [Notifier v2.7.2] :: * Applying new changes to configuration file (Version: 3.8)
    [Oxide] 3:18 PM [Error] Failed to initialize plugin notifier (KeyNotFoundException: ADMINS TALK PREFIX)
    [Oxide] 3:18 PM [Debug] at IronPython.Runtime.PythonDictionary.__delitem__ (object) <0x00059>
    at (wrapper dynamic-method) object.CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,object,string) <0x00097>
    at System.Dynamic.UpdateDelegates.UpdateAndExecuteVoid2<object, string> (System.Runtime.CompilerServices.CallSite,object,string) <0x002f7>
    at (wrapper delegate-invoke) System.Action`4<System.Action`3<System.Runtime.CompilerServices.CallSite, object, string>, System.Runtime.CompilerServices.CallSite, object, string>.invoke_void__this___Action`3<CallSite, object, string>_CallSite_object_string (System.Action`3<System.Runtime.CompilerServices.CallSite, object, string>,System.Runtime.CompilerServices.CallSite,object,string) <0x00089>
    at Microsoft.Scripting.Interpreter.ActionCallInstruction`4<System.Action`3<System.Runtime.CompilerServices.CallSite, object, string>, System.Runtime.CompilerServices.CallSite, object, string>.Invoke (object,object,object,object) <0x00178>
    at Microsoft.Scripting.Interpreter.CallInstruction.InvokeInstance (object,object[]) <0x0010a>
    at Microsoft.Scripting.Interpreter.DynamicInstructionN.Run (Microsoft.Scripting.Interpreter.InterpretedFrame) <0x000d4>
    at Microsoft.Scripting.Interpreter.Interpreter.Run (Microsoft.Scripting.Interpreter.InterpretedFrame) <0x000c8>
     
  8. CHR

    CHR

    He removed the admin prefix delete ur old configuration file and do it again. Make a backup of ur adverts.
     
  9. Ok, thnx. I'll try it.
     
  10. If that for some reason doesn't work, reinstall oxide. That was part of my problem
     
  11. Make sure you have the Oxide latest build
    [DOUBLEPOST=1429793522][/DOUBLEPOST]
    Delete your current config file and reload the plugin.
     
  12. CHR

    CHR

    Skin did u change webrequest already or how is it going?
     
  13. SkinN, thanks again for the great plugin! I have 2 questions: 1: /map command returns me only the server port, but no IP address, which may be an error on my part? A line in the configuration file is not corrected by me.
    2 - Is it possible to disable the list of nicknames of players on the server? I want to display only the number of players. Thanks!
     
  14. Thanks for great plugin. Is it possible to include translations for Country connect/disconnect?
     
  15. Beside the features that were removed, nothing else as been changed.
    [DOUBLEPOST=1429810680][/DOUBLEPOST]
    If /map doens't show the IP it's because you haven't set one to server.ip command, if you're hosting the server on a PC you must set your public ip to server.ip, otherwise it will be blank.
    [DOUBLEPOST=1429810933][/DOUBLEPOST]
    You may already translate any message sent by Notifier under the MESSAGES section on the config file, which it is in the config folder of your server:
    Code:
    "MESSAGES": {
       "ADMINS LIST DESC": "<white>/admins -<end> Lists all the Admins currently online.",
       "ADMINS LIST TITLE": "ADMINS ONLINE",
       "CHECK CONSOLE NOTE": "Check the console (press F1) for more info.",
       "JOIN MESSAGE": "<lime>{username}<end> joined the server, from <lime>{country}<end>.",
       "LEAVE MESSAGE": "<lime>{username}<end> left the server.",
       "NO ADMINS ONLINE": "There are no <cyan>Admins<end> currently online.",
       "NO LANG": "Language not found in rules list.",
       "NO RULES": "No rules have been found!.",
       "ONLY PLAYER": "You are the only survivor online.",
       "PLAYERS COUNT": "There are <lime>{active}<end> survivors online.",
       "PLAYERS LIST DESC": "<white>/players -<end> Lists all the players. (Chat/Console)",
       "PLAYERS LIST TITLE": "PLAYERS ONLINE",
       "PLAYERS STATS": "<orange>TOTAL OF PLAYERS:<end> <lime>{total}<end> <yellow>|<end> <orange>SLEEPERS:<end> <lime>{sleepers}<end>",
       "PLUGINS LIST DESC": "<white>/plugins -<end> Lists all the server plugins.",
       "PLUGINS LIST TITLE": "SERVER PLUGINS",
       "RULES DESC": "<white>/rules -<end> Lists the server rules.",
       "RULES TITLE": "SERVER RULES",
       "SEED DESC": "<white>/seed -<end> Shows current server seed. (Unless it is Random)",
       "SERVER MAP": "SERVER MAP: <lime>{ip}:{port}<end>",
       "SERVER MAP DESC": "<white>/map -<end> Shows the server map link.",
       "SERVER SEED": "The server seed is {seed}"
    },
    
    But answering your question precisely, you are loking for the JOIN MESSAGE and the LEAVE MESSAGE.
     
    Last edited by a moderator: Apr 23, 2015
  16. F.ex. User connect I can translate "Floki koblet til fra Norway" The country should be translated to Norge.

    Maybe use an translation config for countrycodes

    NO - Norge
    DE - Tyskland
    FR - Frankrike
    RU - Russland
     
  17. Well currently there is not a reliable way to translate the names, its possible but it can be a pain in the ass. What I mean is, you can actually edit the .py file and edit this (starting from line 577 of the plugin file):
    Code:
        # --------------------------------------------------------------------------
        def countries_dict(self):        return {
                'AF': 'Afghanistan',
                'AS': 'American Samoa',
                'AD': 'Andorra',
                'AO': 'Angola',
                'AR': 'Argentina',
                'AU': 'Australia',
                'AT': 'Austria',
                'BE': 'Belgium',
                'BR': 'Brazil',
                'BQ': 'British Antarctic Territory',
                'IO': 'British Indian Ocean Territory',
                'VG': 'British Virgin Islands',
                'BG': 'Bulgaria',
                'CA': 'Canada',
                'CV': 'Cape Verde',
                'CF': 'Central African Republic',
                'TD': 'Chad',
                'CL': 'Chile',
                'CN': 'China',
                'CO': 'Colombia',
                'CR': 'Costa Rica',
                'HR': 'Croatia',
                'CU': 'Cuba',
                'CZ': 'Czech Republic',
                'DK': 'Denmark',
                'DO': 'Dominican Republic',
                'DD': 'East Germany',
                'EC': 'Ecuador',
                'EG': 'Egypt',
                'EE': 'Estonia',
                'FI': 'Finland',
                'FR': 'France',
                'GF': 'French Guiana',
                'PF': 'French Polynesia',
                'TF': 'French Southern Territories',
                'FQ': 'French Southern and Antarctic Territories',
                'GE': 'Georgia',
                'DE': 'Germany',
                'GR': 'Greece',
                'HN': 'Honduras',
                'HU': 'Hungary',
                'IS': 'Iceland',
                'IN': 'India',
                'IE': 'Ireland',
                'IT': 'Italy',
                'JM': 'Jamaica',
                'JP': 'Japan',
                'LU': 'Luxembourg',
                'FX': 'Metropolitan France',
                'MX': 'Mexico',
                'MD': 'Moldova',
                'MC': 'Monaco',
                'ME': 'Montenegro',
                'MA': 'Morocco',
                'MZ': 'Mozambique',
                'NO': 'Norway',
                'PL': 'Poland',
                'PT': 'Portugal',
                'PR': 'Puerto Rico',
                'RO': 'Romania',
                'RU': 'Russia',
                'SG': 'Singapore',
                'SI': 'Slovenia',
                'ZA': 'South Africa',
                'ES': 'Spain',
                'SZ': 'Swaziland',
                'SE': 'Sweden',
                'CH': 'Switzerland',
                'TN': 'Tunisia',
                'TR': 'Turkey',
                'UM': 'U.S. Minor Outlying Islands',
                'PU': 'U.S. Miscellaneous Pacific Islands',
                'VI': 'U.S. Virgin Islands',
                'UG': 'Uganda',
                'UA': 'Ukraine',
                'SU': 'Union of Soviet Socialist Republics',
                'AE': 'United Arab Emirates',
                'GB': 'United Kingdom',
                'US': 'United States'
            }# ==============================================================================
    
    The worst part is you would have to do this each time the plugins has an update. :)
     
  18. thanks! I'll give it a go
     
  19. Code:
    (19:38:38) | [Oxide] 4:38 PM [Error] Failed to call hook 'cmdReload' on plugin 'Rust Core' (MissingMemberException: notifier instance has no attribute 'adverts_loop')
     
  20. Code:
    > oxide.reload notifier
    [Oxide] 12:54 AM [Info] Unloaded plugin Notifier v2.7.2 by SkinN
    [Oxide] 12:54 AM [Info] Loaded plugin Notifier v2.7.2 by SkinN
    [Oxide] 12:54 AM [Info] [Notifier v2.7.2] :: Loading Plugin
    [Oxide] 12:54 AM [Info] [Notifier v2.7.2] :: --------------------------------------------------
    [Oxide] 12:54 AM [Info] [Notifier v2.7.2] :: * Updating countries database
    [Oxide] 12:54 AM [Info] [Notifier v2.7.2] :: * Caching active players
    [Oxide] 12:54 AM [Info] [Notifier v2.7.2] :: * Starting Adverts loop, set to 5 minute/s
    [Oxide] 12:54 AM [Info] [Notifier v2.7.2] :: * Enabling commands:
    [Oxide] 12:54 AM [Info] [Notifier v2.7.2] ::   - /rules, /regras, /regles (Server Rules)
    [Oxide] 12:54 AM [Info] [Notifier v2.7.2] ::   - /map (Server Map)
    [Oxide] 12:54 AM [Info] [Notifier v2.7.2] ::   - /admins (Admins List)
    [Oxide] 12:54 AM [Info] [Notifier v2.7.2] ::   - /plugins (Plugins List)
    [Oxide] 12:54 AM [Info] [Notifier v2.7.2] ::   - /seed (Seed)
    [Oxide] 12:54 AM [Info] [Notifier v2.7.2] ::   - /players (Players List)
    [Oxide] 12:54 AM [Info] [Notifier v2.7.2] :: --------------------------------------------------
    > oxide.version
    Oxide Version: 2.0.799, Rust Protocol: 1245
    
    Notifier is working fine on Oxide's latest build. That is an Oxide error: