Search results

  1. mikec

    Important API: Fougerite.Player

    The current state of the Fougerite.Player class, Static and Instance methods, arguments and return values. Fougerite.Player - Static Methods public static int LD(string s, string t) // returns an integer indicating the Levenshtein Distance between the two strings passed // It is equal to the...
  2. mikec

    r-anticheat. or any anticheat

    All of them. One per issue. So we can easily track progress on each hack.
  3. mikec

    r-anticheat. or any anticheat

    Sounds easy. The HurtEvent has everything I need to cast a ray back at the attacker and see if it hits anything but the player shooting the gun. Would you please submit an Issue describing this hack and any others to the Github please? Let's keep track of them - one hack per Issue. I'll...
  4. mikec

    Approved JZap

    IPM does not need help from Fougerite to access RustPP.Core.userCache to lookup Name by SteamID, and has no need to keep its own ini file for that purpose. The only problem Jint has is that the keys are 64bit ints, and Javascript cannot use a 64bit int reliably. Python support 64bit ints, and...
  5. mikec

    Approved JZap

    The J in JZap stands for Jint. Yours should be called IPZap.
  6. mikec

    Approved AdminPlus

    Can you post an issue on the Github explaining what you think is wrong, please? https://github.com/Notulp/Fougerite/issues
  7. mikec

    Approved JZap

    I didn't bother writing code to use a ini file or DataStore because it will soon be obsolete by the new class.
  8. mikec

    Approved JZap

    I tried to get it to use the Rust++ userCache for name lookup, but without some additional help from Fougerite, I can't make it work. In 1.0.8 there is a new class for storing all Player info and you will be able to use that to get a player's name by SteamID, and SteamID by name (and even...
  9. mikec

    Fougerite Official

    Glad you got it working.
  10. mikec

    Fougerite Official

    The error message indicated missing resources. Has nothing to do with a crack. It was fucked up.
  11. mikec

    Approved JZap

    mikec submitted a new resource: JZap - Zap all stuff owned by a player from the server with one hit. Read more about this resource...
  12. mikec

    JZap - JZap

    Type /jzap to activate. Shoot or hit a structure or deployable object, and the owner will be identified. Hit it again to zap everything owned by that player. Or type /jzap again to cancel. RCON admin permissions are necessary.
  13. mikec

    Fougerite Official

    Fucked-up self-hosted. You are missing game resources.
  14. mikec

    Fougerite Official

    Are you running the patcher by clicking on it in File Manager, or are you running FOUPATCH.BAT?
  15. mikec

    Important Javascript, SteamID64, and You

    TL;DR: Javascript cannot handle 64bit integers - SteamID as a number - without losing precision in as many as 3 of the least significant digits. Therefore, when presenting a SteamID to Javascript - Player.SteamID & GameID, Entity.OwnerID & CreatorID, and so on - it will always need to be a...
  16. mikec

    Approved DeathMSG

    Oops. I forgot there is a SendCommand method on Fougerite.Player. So it's even easier: Player.SendCommand("chat.add deathscreen.reason "+ Facepunch.Utility.String.QuoteSafe("DIE SCUM!")); Player.SendCommand("chat.add deathscreen.show"); You still need to TryFindType for the...
  17. mikec

    Approved DeathMSG

    // in a method that was passed Fougerite.Player = Player // this is for Magma, Jint is slightly different. Python, FIIK. var message = "This is the Death Screen Message"; var worker; if(Util.TryFindType("ConsoleNetworker", worker)) { worker.SendClientCommand(Player.PlayerClient.netPlayer...
  18. mikec

    Fougerite Official

    The only file that is patched is Managed\Assembly-CSharp.dll. Once it is patched, it doesn't need to be patched again for a new version of Fougerite. So save it. ;)
  19. mikec

    Approved DeathMSG

    Right. Yes. That is the situation where you would use it. One player at a time.
  20. mikec

    Approved DeathMSG

    Did you know a plugin can change the message that appears on the death screen? Did you know that a plugin can pop up the death screen with a custom message on a player at any time, whether they have died or not? Good way to get the attention of a player who is misbehaving. ;)