% NET_MAX_SEQUENCE
trait Trait {
fn abs(self) -> Self;
}
impl Trait for i64 {
fn abs(self) -> Self {
2 * self
}
}
fn main() {
let x = 42;
println!("{}", x.abs());
println!("{}", x.abs());
println!("{}", x.abs());
}
New Rust riddle with non-suggestive print calls: What will this program output? NetTick
seems wrong, should probably be a NetInt.
https://github.com/ddnet/ddnet/blob/2258cbca57f2f009f50649d99906c29b00d3a374/src/game/gamecore.cpp#L215
https://github.com/ddnet/ddnet/blob/2258cbca57f2f009f50649d99906c29b00d3a374/datasrc/network.py#L191Other than that: I have no problem hosting multiple servers or different gamemodes, but I'm not sure if doing the same as other communities and spamming the list with useless servers is the way to go, but if that's the only possibility to gain community status I'll do so.
forcing you to open new server's that just sit there as placeholder's shouldnt be a way to get a community tagsay /pause
bind q
should tell you which command it executesCGameContext::ConTogglePause
function on the server.{"servers":[]}
{"servers":[]}
Access to image at 'https://skins.scrumplex.net/skin/glowfox.png' from origin 'null' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Access to image at 'https://skins.scrumplex.net/skin/glowfox.png' from origin 'null' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Access to image at 'https://skins.scrumplex.net/skin/glowfox.png' from origin 'null' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
thread_*
and sphore_*
functions on all operating systems instead of only printing log messages on Unix, as these functions are only expected to fail when used with incorrect arguments or in some cases when a dead-lock is detected.
On macOS, sphore_wait
was not correctly calling sem_wait
in a loop to repeat the wait operation if it is interrupted by a signal.
On Windows, the AIO tests were failing with the additional assertions. The maximum count that se...