Development discussion. Logged to https://ddnet.tw/irclogs/ Connected with DDNet's IRC channel, Matrix room and GitHub repositories — IRC: #ddnet on Quakenet | Matrix: #ddnet-developer:matrix.org GitHub: https://github.com/ddnet
Between 2021-12-01 00:00:00Z and 2021-12-02 00:00:00Z
murpi
@deen many thanks for all the fixes you've been doing lately! :)
soo thats probably the only day i can solve, but 24 is quite the christmas score to archive xdd
#!/usr/bin/Rscript
df <- read.delim(commandArgs(trailingOnly = T)[1], header = F, sep = "\n")
p1 <- 0; p2 <- 0
for (i in 1:length(df$V1)) { ifelse(df$V1[i] > df$V1[i-1], p1 <- p1 + 1, NA); }
for (i in 3:length(df$V1)) { ifelse(df$V1[i] > df$V1[i-3], p2 <- p2 + 1, NA); }
cat("Part 01: ", p1, "\n", "Part 02: ", p2, "\n", sep = "")(edited)
This would allow to show the player skins in the ddnet website /any custom website that uses the http master to get information.
I remember discussing that it shouldn't be a problem to add more data when reporting to the http master, I think this would be a cool feature. Maybe we could also report the time since a player connected.