RustBusterServer

RustBusterServer 2.1.1

  • Serverbrowser fix
  • NotifyMSG2 fix
  • Like
Reactions: salva
  • Like
Reactions: salva
Server:
  • Bunch of fixes
  • OnClientMessage hook for custom messages.
  • New cfg option
  • Set ImageQuality to 0x0 to disable screenshots if needed

Client:
  • Client reads every message, and the exact length which is faster, same way as the server.
  • Timers should be fixed
  • Check fixes
  • Client Side Plugin Support (NOT LIMITED YET, please don't start doing bullshit plugins for players that would fuck them up)
  • Possibility to send custom message and receive answer from the server

Example Client Side Plugin:

C#:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RustBuster2016.API;
using UnityEngine;

namespace RustBusterTestPlugin
{
    public class Test : RustBusterPlugin
    {
        public TestGUI test;
        private static GameObject Load;

        public override string Name
        {
            get { return "TestPlugin"; }
        }

        public override string Author
        {
            get { return "DreTaX"; }
        }

        public override Version Version
        {
            get { return new Version("1.0"); }
        }

        public override void DeInitialize()
        {
            // DeInitialize gets called on disconnect, be sure to cleanup the user's client.
            UnityEngine.Object.Destroy(Load);
        }

        public override void Initialize()
        {
            Load = new GameObject();
            test = Load.AddComponent<TestGUI>();
            UnityEngine.Object.DontDestroyOnLoad(Load);
            UnityEngine.Debug.Log("Loaded!");
        }
    }
}

C#:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;

namespace RustBusterTestPlugin
{
    public class TestGUI : MonoBehaviour
    {
       
        public void OnGUI()
        {
            // Make a background box
            GUI.Box(new Rect(10, 10, 100, 90), "Test Menu");

            // Make the first button. If it is pressed, Rust.Notice.Popup will be executed
            if (GUI.Button(new Rect(20, 40, 80, 20), "Test"))
            {
                Rust.Notice.Popup("", "Test");
            }
        }
    }
}
  • Fixed ServerBrowser.
  • Quick release, the serverbrowser is not working temporarely, but will be fixed today.
Client:
  • Fixed those annoying errors
Now you can exactly set the resolution of the images. By default thats 1024x768
  • Like
Reactions: xandeturf
  • Like
Reactions: xandeturf
  • Bunch of additions and fixes in the client
  • Added server console command rb.reload (Reloads everything, hwid inis too)
  • /rustbuster reload
  • Added admin hack logs
  • Added a cfg option to allow newer client to connect
  • Changed some messages
  • Added BASIC API to the Server for plugins to use
  • Logging system changed a bit
  • New mechanisms are in.
  • Fixed having multiple RB tags after a reload.
  • There we go.