Plugin support for RustBuster is on the way

Discussion in 'News & Announcements' started by DreTaX, Feb 4, 2017.

By DreTaX on Feb 4, 2017 at 10:31 PM
  1. DreTaX

    DreTaX Probably knows the answer... Administrator

    Jun 29, 2014
    Likes Received:
    Stay tuned.
    • Like Like x 1


Discussion in 'News & Announcements' started by DreTaX, Feb 4, 2017.

    1. DreTaX
      2/5/2017 11:15:51 PM [Console] Downloading Plugin: SSQLib.dll
      2/5/2017 11:15:51 PM [Console] bytes: 10752
      2/5/2017 11:15:51 PM [Console] Downloaded!

      2/5/2017 11:15:51 PM [RustBuster] Downloaded file, bytes: 10752

      All seems fine, now I only need to load the plugin. We are getting there.
    2. salva
      Omg! Nice!
    3. DreTaX
      2/6/2017 1:55:19 PM [RustBuster] [RustBusterPlugins] Loading modules...
      2/6/2017 1:55:19 PM [RustBuster] [RustBusterPlugins] Module Found: RustBusterTestPlugin.dll
      2/6/2017 1:55:19 PM [RustBuster] [RustBusterPlugins] Loading assembly: RustBusterTestPlugin.dll
      2/6/2017 1:55:19 PM [RustBuster] [RustBusterPlugins] Checked RustBusterTestPlugin.Test
      2/6/2017 1:55:19 PM [RustBuster] [RustBusterPlugins] Instance created: RustBusterTestPlugin.Test
      2/6/2017 1:55:19 PM [RustBuster] [RustBusterPlugins] Module added: RustBusterTestPlugin.dll
      2/6/2017 1:55:19 PM [RustBuster] [RustBusterPlugins] Module TestPlugin v1.0 (by DreTaX) initiated.

      Well to be honest, it doesnt save the dlls, they are in the memory, but they get loaded now. =)

      P.S I don't plan saving dlls.
    4. Jakkee
      Is it possible to pull it from the memory?
      Don't want no dirty players getting the dlls this way
    5. DreTaX
      If you obfuscate the DLL, you have already solved this problem.
    6. DreTaX
    7. salva
      Impressive, totally awesome .... I already imagine many things, would be possible .....?

      F2 Integrated Mini Rusty Admin Tool (only admins)
      F3 to see the server kits available.
      F4 see the map and where are you, launched explorer

      They are only imaginations.

      Great job here @DreTaX and the whole development team ...
    8. DreTaX
      Indeed. It may take some time to work those out, but I expect the community to work on those. Release coming out now.
    9. salva
      You can put this example in github or some other similar example ... to start learning how to make client side plugins? Thank you!
    10. DreTaX
    11. DreTaX
      Just compile into a dll and place It to the ClientPlugins. Server restart is required for now.

      Also, you can only use the unityengine API and Rust API to change and add some stuffs.

      My imagination about the map would be to include the rust map image as a resource in a dll, and use unity GUIs to show the map, and check for specific key presses, etc.
    12. xandeturf
      Can Assembly-CSharp resources be used or modified?
    13. salva
      Something like this .... it's really fun to do this, I have a lot of ideas in my head right now, but my programming level is self-taught, only your posts in github have always helped me to develop all the plugins I've done, I hope That nourish to the forum of examples, greetings !!

      P.S. It would be nice if you disconnect the client, remove the GUI.

    14. DreTaX
      It does, but you have to destroy it as i did in my example.

      It takes a little time until the disconnect hook gets called, but its on a todo to be fixed.
    15. DreTaX
      With C# code yes.
    16. DreTaX
      I added an example client-server communication.

      Not the best, I would say enums are better, but was too lazy. It should work.

      Also the server receives a steamid from the client, but i didnt have any examples.
      To be honest its unneccessary, since you get everything in API.RustBusterUserAPI

Share This Page