Open BKN46 opened 2 years ago
Hey, the simulator is currently heavily sandboxed, to prevent people transmitting malicious code via libraries (and to replicate the in-game experience more closely)
I can see the benefit of what you're doing; perhaps just making the sandbox optional would be the way to go? I think for 99% of people there'll be no reason to change it, but it looks like you're reading test data out of a csv, which is pretty awesome - and I want you to be able to do that.
Does that sound like a solution you'd be comfortable with?
That's sounds cool to me. I never thought about security aspect. Really appreciate your work, looking forward to coming version :)
Awesome, I'll get that in when I get a chance.
There wasn't a security issue before - until adding the "auto-updating git libraries" feature; at which point, realised it would take 10 seconds for somebody to maliciously distribute a library with os.execute("rmdir C:/Users")
or worse 😅
I'm trying to read some record data to do the data replay like this:
It worked fine on earlier version. But on latest version, it pops up a exception:
I tried to manually require
io
oriolib
, but it turned toCould not find require: io
.How can I fix this? Or is it possible to provide a data read interface?