ConnectMessages

Moved

Total Downloads: 5,241 - First Release: Oct 20, 2016 - Last Update: Nov 10, 2017

5/5, 19 likes
  1. it is weird every time someone disconnects it says
    (14:03:08) | User Disconnected: Duba

    (14:03:11) | Private RPC CL_ConsoleCommand was not sent because a connection to Player Client (8) was not found!
    Should I put me Log file in?
     

    Attached Files:

    Last edited by a moderator: Nov 30, 2016
  2. this plugin does not make a json file in the folder (long)
    #BadEnglish
     
  3. Wulf

    Wulf Community Admin

    Are you sure the plugin is loaded? Are you sure your Oxide is updated? Sounds like you're not updated with Oxide.
     
  4. how to make colored messages? I tried
     
    Last edited by a moderator: Dec 4, 2016
  5. Wulf

    Wulf Community Admin

    Edit the language file under oxide/lang, not the actual plugin.
     
  6. it stoped working now. Can you copy and paste code from this file?

    *My bad, it is still working, but color didnt change.
     
    Last edited by a moderator: Dec 4, 2016
  7. Oxide API for Rust
     
  8. it looks like it is working but it is popping up with this message sometimes


    (21:58:16) | [Oxide] 00:58 [Info] [ConnectMessages] WebRequest to http://ip-api.com/json/ failed.
     
  9. That's not the plugin's fault, the API for getting the player's country is down sometimes.
     
  10. Can you add option "Show Admins": false?
     
  11. Spicy updated ConnectMessages with a new update entry:

    1.1.2

     
  12. Code:
    [Oxide] 23:51 [Error] Failed to call hook 'OnUserDisconnected' on plugin 'ConnectMessages v1.1.2' (FormatException: Input string was not in a correct format.)
    [Oxide] 23:51 [Debug] at System.String.FormatHelper (System.Text.StringBuilder result, IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0
    at System.String.Format (IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0
    at System.String.Format (System.String format, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Game.Rust.Libraries.Covalence.RustPlayer.Message (System.String message, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.ConnectMessages.OnUserDisconnected (IPlayer player, System.String reason) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.ConnectMessages.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
     
  13. Wulf

    Wulf Community Admin

    Do you have a player or players with { or } in their name?
     
  14. (23:52:31) | 5.248.67.114:60937/76561198263118844/}{oTT@БыЧ_UA disconnecting: disconnect
     
  15. Wulf

    Wulf Community Admin

    Yup, that is the cause then. @Spicy, this is the same issue I had. There's a Sanitize extension method you can use in the latest Oxide build if you'd like.
     
  16. Spicy updated ConnectMessages with a new update entry:

    1.1.3

     
  17. Last edited by a moderator: Dec 6, 2016
  18. Wulf

    Wulf Community Admin

    It is available, just no change log posted.
     
  19. Code:
    [Oxide] 09:04 [Error] Error while compiling ConnectMessages.cs(142,116): error CS1061: Type `string' does not contain a definition for `Sanitize' and no extension method `Sanitize' of type `string' could be found. Are you missing an assembly reference?