Hello,
I wanted to know if it's possible to add/change few things for Oxide ( Rust ) ;
- Remove the restriction of System.IO or add the ability to remove a file with the Oxide DataFileSystem ( just for datas / config files ).
- Remove the restriction of System.Threading to be able to use the System.Threading.Tasks.
- Rework the UI system, it's actually impossible to create advanced UI with good performances, possibility even with a Custom Library ( too many elements to draw => player ping issues + player GC ), I need to put a coroutine on the draw system to make it work without big issues and it's still not perfect.
Example of UI :
https://i.gyazo.com/856f01c12292354d1e603f132258ce94.mp4
- Rework the OnPlayerInput Optimization ( OnPlayerTick / OnReceivedTick are too fast ( 250 players && 2 pluggins use OnPlayerInput => 0.0625 * 250 * 2 => 8000 OnPlayerInput Call per second ).
- Fix the duplication of the enumeration row in the config/data files when they are here as default.
- Fix the CanNetworkTo, it cause some random NRE errors.
- Change the private void Tick_Spectator() to public virtual void Tick_Spectator() ( It's not clean at all to override the default spectate system because this function / variables restriction )
Thanks in advance,
^6MyBad'
I wanted to know if it's possible to add/change few things for Oxide ( Rust ) ;
- Remove the restriction of System.IO or add the ability to remove a file with the Oxide DataFileSystem ( just for datas / config files ).
- Remove the restriction of System.Threading to be able to use the System.Threading.Tasks.
- Rework the UI system, it's actually impossible to create advanced UI with good performances, possibility even with a Custom Library ( too many elements to draw => player ping issues + player GC ), I need to put a coroutine on the draw system to make it work without big issues and it's still not perfect.
Example of UI :
https://i.gyazo.com/856f01c12292354d1e603f132258ce94.mp4
- Rework the OnPlayerInput Optimization ( OnPlayerTick / OnReceivedTick are too fast ( 250 players && 2 pluggins use OnPlayerInput => 0.0625 * 250 * 2 => 8000 OnPlayerInput Call per second ).
- Fix the duplication of the enumeration row in the config/data files when they are here as default.
public enum test { test1, test2 };
public CFileData CFile;
public class CFileData
{
[JsonProperty(PropertyName = "Oxide Test")]
public Dictionary<test, bool> oxideTest { get; set; }
public CFileData()
{
oxideTest = new Dictionary<test, bool>
{
{ test.test1, false },
{ test.test2, true }
};
}
}
- Fix the CanNetworkTo, it cause some random NRE errors.
- Change the private void Tick_Spectator() to public virtual void Tick_Spectator() ( It's not clean at all to override the default spectate system because this function / variables restriction )
Thanks in advance,
^6MyBad'