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-03-09 00:00:00Z and 2021-03-10 00:00:00Z
```
/home/teeworlds/src/master/src/engine/shared/compression.cpp:58:31: runtime error: left shift of 104 by 27 places cannot be represented in type 'int'
#0 0x65124f in CVariableInt::Unpack(unsigned char const, int) /home/teeworlds/src/master/src/engine/shared/compression.cpp:58:31
#1 0x6cca6b in CUnpacker::GetInt() /home/teeworlds/src/master/src/engine/shared/packer.cpp:105:15
#2 0x4a1587 in CServer::ProcessClientPacket(CNetChunk*) /home/teeworlds/src/master/src/engine/serv...
Caused by https://github.com/ddnet/ddnet/pull/3605
Found by ASAN:
```
==11628==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 64 byte(s) in 64 object(s) allocated from:
#0 0x4f36b3 in __interceptor_malloc (/home/teeworlds/servers/DDNet-Server-asan+0x4f36b3)
#1 0x5536a7 in CServer::Run() /home/teeworlds/src/master/src/engine/server/server.cpp:2362:31
#2 0x562408 in main /home/teeworlds/src/master/src/engine/server/server.cpp:3594:21
#3 0x7f6ee56d209a in ...
```
=================================================================
==27444==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 64 byte(s) in 64 object(s) allocated from:
#0 0x4f36b3 in interceptor_malloc (/home/teeworlds/servers/DDNet-Server-asan+0x4f36b3)
#1 0x5536a7 in CServer::Run() /home/teeworlds/src/master/src/engine/server/server.cpp:2362:31
#2 0x562408 in main /home/teeworlds/src/master/src/engine/server/server.cpp:3594:21
#3 0x7fe37871c09a in l...
@Zodiac maybe we can even combine it in one list? Show the top 3 global players, followed by the next 2 best ranks from current server (but might be too confusing)
14:35
Then it would usually look as before on GER, but would still show the best players on other locations
I'll sit on it for a bit but there might be tweaks that could be made. @deen suggestion might solve for both. By using the global list but giving space to highlight where the top locals are in the global list
@Zodiac you could look into a ui change too. We've been looking into decreasing the use of server messages for a while now. Maybe a good idea to move this into it's own ui maybe next to the scoreboard or as a second tab to the scoreboard?
14:42
Or a replacement for the very meh hud element we have on the bottom right?
Feedback from the community. It will hide the local ranks if there are any duplicates so the larger communities, who were previously disadvantaged by the change aren't anymore.
Checklist
[ ] Tested the change ingame
[ ] Provided screenshots if it is a visual change
[ ] Tested in combination with possibly related configuration options
[ ] Written a unit test if it works standalone, system.c especially
[ ] Considered possible null pointers and out of bounds array indexin...
The recent change in the feature will mean nothing will change for you then. It is for those communities you don't care about and for them to see their peers time.
Yeah, it is possible a new command will solve it. However, vast majority of the complaints are people who play on the GER servers and/or compete on a global level. The potential update will mean that for those communities it will only show the global ranks i.e. act in the same way as it currently does.
There is a change pending that will mean that the local ranks aren't shown when there are duplicates i.e. GER servers will likely never see the local ranks(edited)
Do most not like it or do the people that don't like it shout way too loud?
18:07
That's why I like to give these kinds of changes a couple days to see how the wide community receives it and not just the 4 people on discord that are already against any change anyway
Could, but why bother, we all know this change needs a bit of fixing and it'll get it. After we like how it ends up then we can get a vote on it if people still claim it's the worst thing ever
@Ryozuki ofc it is important to take in opinions from discord, but it is worth knowing that this discord represents power users. Not to discount their voice but to still try cater for the avg player
Point is one of the imo most important ideas behind this change was to get more interaction in local communities. If we put it behind a new command people will just never hear about it
The worst can - as in this case - is that the feature has been iterated on. The top ranks and larger communities will get to keep it the same, while the smaller get to benefit
This is the maintainance nightmare we are trying to avoid. We can't add a legacy mode for every single change we make because some people liked it the other way around
18:14
We have hundreds of options, dozens of commands. Combinations break all the time
This will be better for GER as soon as the new update rolls out
18:16
We'll think of something for the other regions. Maybe a ui change that people will hate on aswell. So exciting
18:17
@Zodiac isn't it extremely fun working on the ddnet code? You code for about an hour and have long debates about minor issues for 5. Rinse and repeat until you end up only ever doing bugfixes
18:20
We'll have to probably get this into a command of it's own as your latest change is only enough to fix this in GER. CHL also has some fundamentalists that won't be happy about this
25bb82c Merge pull request #2 from ddnet/master - houseme-kyle
0a18367 Hide local when there are duplicates - Kyle Bradley
c79f874 Removd unusual characters and added a base dash to mirror previous implementation - Kyle Bradley
d721e8f Merge #3690 - bors[bot]
It will fix it for the other servers should they have a good enough time. You are right though there may still be some complaints but I can't see much justification to it without the duplication issue.
Learath2
@Zodiac isn't it extremely fun working on the ddnet code? You code for about an hour and have long debates about minor issues for 5. Rinse and repeat until you end up only ever doing bugfixes
Title
!DDNet_zjnDebJQqi
29 pages of this within the same timeframe
Zodiac
The recent change in the feature will mean nothing will change for you then. It is for those communities you don't care about and for them to see their peers time.
853e00e More colors from chat in console - Jupeyy
271ab5f Increase max ban duration from 1 month to 1 year - def-
af2e19c Add color for non chat(binds, ghost, client, demo) - Jupeyy
46864c0 Merge #3683 #3684 - bors[bot]