PrivateMessages

Moved

Total Downloads: 1,220 - First Release: Aug 4, 2016 - Last Update: Mar 18, 2017

5/5, 4 likes
  1. The error is above the debug show it to me.
     
  2. There you go
    Code:
    [Oxide] 23:48 [Error] Failed to run command 'pm' on plugin 'PrivateMessages v0.3.1' (NullReferenceException: Object reference not set to an instance of an object)
     
  3. @PaiN @Austinv900 or @Wulf Could one of you guys fix this error please.
    Code:
    [Oxide] 23:48 [Error] Failed to run command 'pm' on plugin 'PrivateMessages v0.3.1' (NullReferenceException: Object reference not set to an instance of an object)
     
  4. Wulf

    Wulf Community Admin

    Try the below please. Likely was erroring on the AntiAds check because the plugin wasn't checking for null before casting bool.
     

    Attached Files:

  5. its kinda working but with the some error as first that I had post here.
    Code:
    [Oxide] 14:15 [Error] Failed to run command 'pm' on plugin 'PrivateMessages v0.3.2' (FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.)
     
  6. I have exactly the same error((
     
    Last edited by a moderator: Nov 13, 2016
  7. [Oxide] 5:02 PM [Error] PrivateMessages plugin failed to compile!
    [Oxide] 5:02 PM [Error] PrivateMessages.cs(170,35): error CS1061: Type `Oxide.Core.Libraries.Covalence.IPlayer' does not contain a definition for `Id' and no extension method `Id' of type `Oxide.Core.Libraries.Covalence.IPlayer' could be found. Are you missing an assembly reference?
     
  8. Wulf

    Wulf Community Admin

    Update Oxide, you're outdated by many months.
     
  9. i dont know how to update
     
  10. download the last updated oxide from here Oxide for Hurtworld | Oxide
    drag and place it inside of your server folder.
    Or if you've a host then shutdown your server uninstall oxide and then install it again
     
  11. Wulf

    Wulf Community Admin

    They're using cracked Rust Legacy, not Hurtworld.
     
  12. Why can't players PM Admins ?
     
  13. I dont have any checks for admins. So it shouldnt happen
     
  14. I think :

    Line 81 : players.FindPlayer(args[0]) ?? null;

    FindPLayer() search only for players and not admin
     
  15. As far as I know an admin is a player but he just has more rights.
     
  16. But /pm admin_name message return PLAYER_NOT_FOUND to the player who wanted to PM me, i don't understand why :/

    IPlayer target = players.FindPlayer(args[0]) ?? null;

    if (target == null)
    {
    player.Message(LangMsg("PLAYER_NOT_FOUND", player.Id));
    return;
    }
     
  17. Show me what exactly he types and show me your exact ingame name.
     
  18. Any way you can put out an update stopping spams? People are macro spamming with the plugin.
     
  19. Will do this Saturday or Sunday.
     
  20. PaiN updated Private Messages with a new update entry:

    0.4.0