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 2018-01-15 00:00:00Z and 2018-01-16 00:00:00Z
@timakro looks like the last one is always same rank as previous one, interesting. On DDNet it doesn't matter of course since we have thousands with 0 points
Well, the group by makes it work, but that seems more like an implementation detail and could change in later mysql/mariadb versions
08:04
SELECT Rank, Points, Name FROM (SELECT Name, (@pos := @pos+1) pos, (@rank := IF(@prev = Points,@rank, @pos)) Rank, (@prev := Points) Points FROM (SELECT Name, Points FROM foo_points GROUP BY Name ORDER BY Points DESC) as a) as b LIMIT 0, 5;
08:04
That should work for now, at least as good as the rest of our code
2nd client crash since im using ddnet11 i think i have to switch to the older one agian .-.
i was on BlmapChill which is a big map and i played there like 2 minutes i was in zoomout 3-4 times and i was planning to open the chat (no idea if it crashed 1 sec before i pressed the chat key)
windwos10 (ddnet11 64bit)(edited)
"BTW, the 2016 answer to -ffloat-store is: don't use x87 in the first place. Use SSE2 math (64-bit binaries, or -mfpmath=sse -msse2 for making crusty old 32-bit binaries), because SSE/SSE2 has temporaries with no extra precision. double and float vars in XMM registers are really in IEEE 64-bit or 32-bit format. (Unlike x87, where the registers are always 80-bit, and storing to memory rounds to 32 or 64 bit.) "
@timakro i heard that you can't see the players because of the ddos attack. No idea why, but it helps protecting I guess. Correct me if I am wrong. I only write what I heard.
@heinrich5991 SSE2 only exists since Pentium 4 and Athlon 64. If this would be the only incompatibility, I'd rather keep building 32bit binaries that work on older CPUs. Everyone with a non-ancient CPU should be using 64bit anyway
We plan to indroduce a new "Helper" rank that has rcon access to force no on votes and mute people. For that there need to be code changes so that we can allow them to only use "vote no" and not "vote yes".