Thanks for the workaround, hyramgraff! It should work well enough for my needs.
tanuk
@tanuk
Posts made by tanuk
-
RE: Make it easier to find unread comments on this forum
-
RE: Don't add comment on last line.
Is this possibly exploitable? This allows escaping the context in which the user code is supposed to run. This code doesn't generate any errors, even though it appears invalid:
console.log("Hello world!")})(); console.log("42"); (function foo(){
That prints "Hello world!" and "42" to the console. "Hello world!" is printed from the normal script context, but "42" is printed from a context where user code is not supposed to run. I don't know if that context allows users to do anything nasty.
-
RE: Allow placing the first spawn programmatically
Yes, access to all rooms is implied in this request.
As for choosing the "best" room - yes, it's probably impossible to choose objectively the best room, but that shouldn't stop us from trying. It's rather difficult to come up with the best possible strategy for many things in this game.
-
Allow placing the first spawn programmatically
When starting to play, the game requires me to place my first spawn manually. I'd like to be able to write a script that chooses the best room and the best position in that room and puts the first spawn at that position.
-
Make it easier to find unread comments on this forum
Threads can be sorted by time, but only by the time the thread was created. Being able to sort threads by the time of the last comment would be very helpful to find unread comments.