After Rust Update Error while compiling HumanNPC

Hi after today's Rust update, the following error message appears when loading the mod:

Error while compiling HumanNPC: The type name 'EncryptedValue<>' does not exist in the type 'BasePlayer' | Line: 2479, Pos: 38

Needs an update too

Thanks in advance

@ M4nStop

Same. Thanks. πŸ™‚

replace

//var userId = (BasePlayer.EncryptedValue) (ulong)UnityEngine.Random.Range(41234564, 11474836478);
var userId = (EncryptedValue) (ulong)UnityEngine.Random.Range(41234564, 11474836478);
WzTxBnLQjbLfQEo.png shturval

replace

//var userId = (BasePlayer.EncryptedValue) (ulong)UnityEngine.Random.Range(41234564, 11474836478);
var userId = (EncryptedValue) (ulong)UnityEngine.Random.Range(41234564, 11474836478);

Doesn't work.

Not working

It's because he didn't put the right string.

It's

var userId = (EncryptedValue<ulong>)UnityEngine.Random.Range(41234564, 11474836478);​

Nice it Works fineΒ Β  Thanks ;)

3ysv1VGmU9RtVeh.png shturval

replace

//var userId = (BasePlayer.EncryptedValue) (ulong)UnityEngine.Random.Range(41234564, 11474836478);
var userId = (EncryptedValue) (ulong)UnityEngine.Random.Range(41234564, 11474836478);

im sorry, copy and paste - lol. the code was correct, I just posted it here 2 times, and deleted the characters.

//var userId = (BasePlayer.EncryptedValue<ulong>) (ulong)UnityEngine.Random.Range(41234564, 11474836478);
var userId = (EncryptedValue<ulong>) (ulong)UnityEngine.Random.Range(41234564, 11474836478);