Search results

  1. mikec

    Solved Jint Plugin Issues - Cannot get plugins to work

    We don't yet categorize plugins according to which module or language they support. But DreTax is working on that. The plugins posted so far are Magma plugins with little or no modification from what's posted at Gomagma. JintPlugin doesn't make IniParser available to scripts, but since it's in...
  2. mikec

    Get the lastest Rust Server dlls

    I only got Experimental. No Legacy version was downloaded. What's the deal?
  3. mikec

    Get the lastest Rust Server dlls

    xvfb is the X Virtual Frame Buffer. A fake X server, in other words.
  4. mikec

    Get the lastest Rust Server dlls

    sudo apt-get install xvfb xvfb-run --auto-servernum --server-args='-screen 0 640x480x24:32' ./rust_server.x86_64 -batchmode -logFile test
  5. mikec

    Tips for Datastore / DataStore.Save();

    Nope. It only adds it to the in-memory Hashtable. 100% correct. Anticheat took this approach. Unfortunately, Anticheat could not predict when some other plugin would invoke DataStore.Save() or when the server might be shutdown. Both events would write the Hashtable to a file, and the...
  6. mikec

    Approved Fougerite MC [Deleted]

    mikec updated Fougerite MC with a new update entry: Fougerite MC3 Read the rest of this update entry...
  7. mikec

    GSP

    For $19.95/month my expectations are not high and FPSplayers has met them. But my first request to get a Fougerite build installed languished in their queue for 2 weeks, escalated to the "owner" to review the code, or something. But a person who signed their reply with the title General...
  8. mikec

    SleepingBagExploitFix

    That's some quality code. I showed Sleepy how to ask a structure's Bounds if a point was inside it or within a certain distance. JintPlugin's LookUp class makes this drop-dead easy: var near = LookUp.Filter(Structures.All, Player, 5.0); var mine = LookUp.Filter(near, Player); if (near.length...
  9. mikec

    Bag Despawn Rate

    There are some places in the Rust code where different objects are given different handling on decay events. Furnaces and Campfires, for example, decay at different rates, and depending on whether they are placed on a structure or the ground. But these exceptions are coded by hand on a...
  10. mikec

    Solved plugin errors

    Please try MC 2 http://fougerite.com/resources/fougerite-mc.46/ I have ordered the module loading so that Rust++ gets the first call when a hook is triggered. I want to know if this restores the Rust++.cfg setting decay=false to working reliably again.
  11. mikec

    Solved Throws error

    I guess I can do something about this one. if key == null, return null. Don't even botther passing it to the Hashtable. I'll make it LogDebug so plugin authors can tell if their script isn't working because of passing a null key.
  12. mikec

    Solved C# DataStore exception

    MC 2 update is posted in Resources
  13. mikec

    Good job

    I mean use a Mono build profile, so it references the Mono mscorlib.dll instead of the Microsoft mscorlib.dll. You do have Mono installed, right? :) Latest release for Windows is 3.2.3 http://www.mono-project.com/download/#download-win It installs and registers itself so VS will recognize...
  14. mikec

    Approved Fougerite MC [Deleted]

    mikec updated Fougerite MC with a new update entry: Fougerite MC2 Update Read the rest of this update entry...
  15. mikec

    Good job

    Build it with Mono, you can run "mono Fougerite.Installer.exe" on Linux. A .Net exe is just an Assembly with a Main() method bound to a Win32 stub. Linux Mono just skips the stub and calls Main().
  16. mikec

    Solved plugin errors

    Yeah, we can't blindly call every Hurt or Decay hook. In the shotgun case, we can check the weapon type and only call hooks on the first hit. If the game object is destroyed in a hook, either don't call the rest, or pass a entity with a property indicating it was already destroyed...
  17. mikec

    Solved Jint Plugin Issues - Cannot get plugins to work

    The ignoredmodules.txt file is somewhat redundant these days. You can enable/diable modules in Fougerite.cfg now.
  18. mikec

    Solved Jint Plugin Issues - Cannot get plugins to work

    Get this release. http://fougerite.com/resources/fougerite-mc.46/ I don't know what release you've tried loading, but half the stuff you did no longer applies. Jint and Magma run fine together. Just don't give them the same folders. Only Magma needs Jint.dll in Managed/ . JintPlugin is...
  19. mikec

    Solved plugin errors

    I'm aware that there is a problem with decay and Rust++ not turning it off as it used to. I am not sure what the problem is, but I too have seen structures decay that should not have. I think we should not let every module and plugin take a swing at DecayEvents. In fact, I think there should...
  20. mikec

    Tips for Datastore / DataStore.Save();

    Why not - same structure as Vector4.