Important Pluton for Experimental Branch

Status
Not open for further replies.
Hmm...experimental game with experimental plugin...


Found an error:

C#:
public void SafeTeleport(float x, float y, float z)
        {
            throw new NotImplementedException("SafeTeleport is not yet implemented.");
            basePlayer.supressSnapshots = true;
            basePlayer.transform.position = UnityEngine.Vector3.zero;
            basePlayer.UpdateNetworkGroup();

            basePlayer.transform.position = new UnityEngine.Vector3(x, y, z);
            basePlayer.UpdateNetworkGroup();
            basePlayer.UpdatePlayerCollider(true, false);
            basePlayer.SendFullSnapshot();
        }

/Users/stopspazzing/Downloads/Pluton-master/Pluton/Objects/Player.cs(13,13): Warning CS0162: Unreachable code detected (CS0162) (Pluton)
Plugin is now working correctly. I have made a preset location for /tpa command and everyone who uses it will teleport to that location :)
 
Hmm...experimental game with experimental plugin...


Found an error:

C#:
public void SafeTeleport(float x, float y, float z)
        {
            throw new NotImplementedException("SafeTeleport is not yet implemented.");
            basePlayer.supressSnapshots = true;
            basePlayer.transform.position = UnityEngine.Vector3.zero;
            basePlayer.UpdateNetworkGroup();

            basePlayer.transform.position = new UnityEngine.Vector3(x, y, z);
            basePlayer.UpdateNetworkGroup();
            basePlayer.UpdatePlayerCollider(true, false);
            basePlayer.SendFullSnapshot();
        }

/Users/stopspazzing/Downloads/Pluton-master/Pluton/Objects/Player.cs(13,13): Warning CS0162: Unreachable code detected (CS0162) (Pluton)


wow...have to comment out all of safeteleport just to compile it:

Code:
        //public void SafeTeleport(Vector3 v3)
        //{
        //    SafeTeleport(v3.x, v3.y, v3.z);
        //}

        //public void SafeTeleport(float x, float y, float z)
        //{
            //throw new NotImplementedException("SafeTeleport is not yet implemented.");
            //basePlayer.supressSnapshots = true;
            //basePlayer.transform.position = UnityEngine.Vector3.zero;
            //basePlayer.UpdateNetworkGroup();
            //
           // basePlayer.transform.position = new UnityEngine.Vector3(x, y, z);
           // basePlayer.UpdateNetworkGroup();
           // basePlayer.UpdatePlayerCollider(true, false);
          //  basePlayer.SendFullSnapshot();
        //}
that's just a warning, pluton runs fine with that warning ;) SafeTeleport is not implemented...
throw new NotImplementedException("SafeTeleport is not yet implemented.");
 
I have to use msbuild. If I don't use msbuild, the project builds with .Net and the compile fails because optional parameters are not supported in .Net 2.0 but are supported on Mono.
vice-versa, I can't compile with msbuild cuz of the optional params...
 
On one of my servers people are getting disconnected. Has happened a few times. I was at 23 players and then about 15-16 were just randomly disconnected including me. Never did this before Pluton. Any ideas?

Thanks.
 
On one of my servers people are getting disconnected. Has happened a few times. I was at 23 players and then about 15-16 were just randomly disconnected including me. Never did this before Pluton. Any ideas?

Thanks.

Cant fix the problem if you don't give us any error logs. Are you using/trying any plugins?
 
Code:
ArgumentNullException: Argument cannot be null. Parameter name: s

System.Int32.Parse (System.String s)
Pluton.LoadOut..ctor (System.String name)
Pluton.Server.LoadLoadouts ()
Pluton.Server.GetServer ()
Pluton.Bootstrap.Init ()
Pluton.Bootstrap.AttachBootstrap ()
UnityEngine.Debug:LogException(Exception)
Pluton.Bootstrap:AttachBootstrap()
Bootstrap:Start()

The plugin for spawning kit automatically fails to even run. Guessing the issue above is the problem. Same with Example.py

Another possible issue:
Code:
/kit starter
shows up in dev console as:
Code:
command executed /kitstarter
Doesn't seem to be including the space.
 
Last edited:
Code:
ArgumentNullException: Argument cannot be null. Parameter name: s

System.Int32.Parse (System.String s)
Pluton.LoadOut..ctor (System.String name)
Pluton.Server.LoadLoadouts ()
Pluton.Server.GetServer ()
Pluton.Bootstrap.Init ()
Pluton.Bootstrap.AttachBootstrap ()
UnityEngine.Debug:LogException(Exception)
Pluton.Bootstrap:AttachBootstrap()
Bootstrap:Start()

The plugin for spawning kit automatically fails to even run. Guessing the issue above is the problem. Same with Example.py

Another possible issue:
Code:
/kit starter
shows up in dev console as:
Code:
command executed /kitstarter
Doesn't seem to be including the space.
there must be a badly configured kit
 
Did you get this working? I've seen servers with kits just can't seem to get them working myself, even using your git
 
None of the commands shown above work.

Standard ones like who, location etc do (I renamed them)
 
Fixed, Me being a dumbass, apologies!

I've seen people on about TPA plugins, anyone willing to share? :) <3
 
@balu92 There is no loadout config loaded in output.log
http://pastebin.com/rvx0KB2h


Fixed, Me being a dumbass, apologies!

I've seen people on about TPA plugins, anyone willing to share? :) <3

When I get mine working wouldnt mine sharing it, I was hoping @DreTaX would jump on it and convert his TPFriend for Pluton...
I'm sure he is extremely busy tho, so if Mine is working before his, I'll share. :)
 
  • Like
Reactions: Ionstorm
Status
Not open for further replies.