Search results

  1. mikec

    New release imminent, and magic

    That's because Rust catches it and doesn't print any helpful info.
  2. mikec

    New release imminent, and magic

    I think you are right. I need to check for empty string 1st and bail out without doing anything. I thought it should be ok, since an empty Chat string should also mean ChatArguments the array has zero elements. I check for the minimum required arguments 1st thing already.
  3. mikec

    New release imminent, and magic

    Right now, I am taking the best match, no matter how close it is. But I could use a cut-off, something like 50% similar or so, and if nothing is a better match than that I could come back with "No player found with that name" or "No item known by that name." Or I could just return the best...
  4. mikec

    New release imminent, and magic

    For some reason the word "explosives" causes chat.say to throw an exception but "explosive" does not? WTF. [DEBUG] [CHAT-CMD] "MC MC" executed "/i explosives 2" Error: chat.say - Exception has been thrown by the target of an invocation. [DEBUG] [CHAT-CMD] "MC MC" executed "/i explosives...
  5. mikec

    New release imminent, and magic

    Just a heads up. I closed a bunch of issues, and finished the new command parsing. It works really well. Many other bugs have been fixed. But I am really proud of the command parser. You no longer need to put names of players and items in quotes, but you can if you want to. Type all in...
  6. mikec

    Adding new objects

    There isn't a better one.
  7. mikec

    NullReferenceException on Entity.Destroy()

    Doesn't appear to be related to any Fougerite code.
  8. mikec

    Approved DonatorRank

    Yeah, this is a common problem throughout Fougerite. I'm changing properties like Player.Admin that directly return uLink.NetworkPlayer class properties, to properties that are assigned from uLink.NetworkPlayer properties when a Fougerite class is instanced.
  9. mikec

    NullReferenceException on Entity.Destroy()

    If you see it on the console, the rest of it is in the rust server log in rust_server_Data, not the Fougerite logs in the plugin area.
  10. mikec

    Approved Edge.js: V8 in Fougerite?

    I am looking at Edge.js. It has a disadvantage compared to Jint. It requires installing node.exe for Windows on the Rust server host. But it's far more powerful than Jint. C# code called from Javascript is compiled on the spot. Javascript doesn't have to deal with types or anything like that...
  11. mikec

    Live Stats?

    Streamline can configure Fougerite to place the Modules in any folder they want, including a folder accessible to the server owner. They just have to edit the file %RUSTSERVER%/rust_server_Data/FougeriteDirectory.cfg and set ModulesFolder= whatever they want. It is set to %RUSTSERVER%/Modules...
  12. mikec

    r-anticheat. or any anticheat

    I was just joking. My humor tends to very dry. Terrain.activeTerrain.SampleHeight(vector3 location) returns the Y of the terrain for any Vector3 passed to it. Therefore: public int GetGroundDist(Vector3 location) { return Math.Abs(Terrain.activeTerrain.SampleHeight(location) -...
  13. mikec

    r-anticheat. or any anticheat

    Just responding to feedback. If nothing's worth trying, why bother?
  14. mikec

    Solved Difference between NPC's and Players

    That was easy. public class HurtEvent { ... private readonly bool _playerattacker; private readonly bool _playervictim; ... public bool VictimIsPlayer { get { return this._playervictim...
  15. mikec

    r-anticheat. or any anticheat

    OK, I'll give up. Thanks.
  16. mikec

    killer chicken from hell

    The ZombineSpawner class still exists, but the artwork has been removed. I've tried spawning zombies and I get a Unity error about the missing resources. This would have to be a client-side mod, because the artwork has to exist on the client. The server doesn't care.
  17. mikec

    r-anticheat. or any anticheat

    The HurtEvent has the attacker and victim. I get the victim's location and cast a ray at the attacker's location. If I hit the attacker, all's well. If not - wtf? I can also cast a line or a sphere of any size, or any of several collider shapes, box, pear, ellipsoid.. One or more of these...
  18. mikec

    Important Player.SteamID

    Yes, that is my nearly-finished "offline player" class which will appear in 1.0.8.
  19. mikec

    Important Player.SteamID

    BEHOLD!
  20. mikec

    r-anticheat. or any anticheat

    https://github.com/Notulp/Fougerite/issues/16 https://github.com/Notulp/Fougerite/issues/17