player setPos [log -1, 0, 0] -> crash in Multiplayer!!
log -1 => NaN - Not a Number but it is SCALAR so it is allowed bu the command.
I dont know how easy it can be, but Number params have to be checked for isNaN as well.
player setPos [log -1, 0, 0] -> crash in Multiplayer!!
log -1 => NaN - Not a Number but it is SCALAR so it is allowed bu the command.
I dont know how easy it can be, but Number params have to be checked for isNaN as well.
^^^^
NaN should have separate type, then it will be
a. easy to check if the value is SCALAR in scripts and
b. will protect all script commands from breaking
SCALAR_NaN maybe?