1. error CS0411: The type arguments for method `BaseEntity.ClientRPCPlayer<T1,T2,T3,T4,T5>(Network.Connection, BasePlayer, string, T1, T2, T3, T4, T5)' cannot be inferred from the usage. Try specifying the type arguments explicitly

    > player.ClientRPCPlayer(null, player, “StartLoading”, null, null, null, null, null);

    Whats the fix?
     
  2. Wulf

    Wulf Community Admin

    You'd need to find the replacement in Rust's DLLs that replaced the original.
     
  3. Yep. Thanks!

    Yep. I see that you have the fix, but i will fix myself.

    Cheers.
     
  4. player.ClientRPCPlayer(null, player, “StartLoading”);
    thats the fix
     
  5. Wulf

    Wulf Community Admin

    Didn't have it at the time of posting. :p
     
  6. All good. player.ClientRPCPlayer(player.net.connection, player, “StartLoading”); or player.ClientRPCPlayer(null, player, “StartLoading”);
     
  7. What about

    var obj2 = new Facepunch.ObjectList(send);
    CommunityEntity.ServerInstance.ClientRPCEx(new Network.SendInfo {connection = player.net.connection}, null, "AddUI", obj2);

    Whats the fix?
     
  8. Wulf

    Wulf Community Admin

    Remove the new Facepunch.ObjectList creation, that was changed in Rust and no longer is used.
     
  9. So replace obj2 with what?
     
  10. Wulf

    Wulf Community Admin

    The contents of what obj2 is being created as minus the part I mentioned.
     
  11. You lost me there.

    //var obj2 = new Facepunch.ObjectList(send);
    CommunityEntity.ServerInstance.ClientRPCEx(new Network.SendInfo {connection = player.net.connection}, null, "AddUI", send);

    ??
     
  12. Wulf

    Wulf Community Admin

    Take a look at the Trade update I did.
     
  13. Example:
    Code:
    CommunityEntity.ServerInstance.ClientRPCEx(new Network.SendInfo() { connection = player.net.connection }, null, "AddUI", JsonConvert.SerializeObject(ui).Replace("{NEWLINE}", Environment.NewLine));
     
  14. Thanks!