Guild icon
DDraceNetwork
Development / developer
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 2022-05-31 00:00:00Z and 2022-06-01 00:00:00Z
Avatar
From Discord:
[10:28 PM] Reteah: I have got quite a few crashes after updating to 16.1 client version. It aborts after complaining about an assertion error on a std::clamp call:
/usr/include/c++/12.1.0/bits/stl_algo.h:3623: constexpr const _Tp& std::clamp(const _Tp&, const _Tp&, const _Tp&) [with _Tp = int]: Assertion '!(hi < lo)' failed.
08:18
From Discord:
2:25 AM] Skystrife: For a map if you use the tile to change the number of jumps a tee can have, that block cannot be toggled with a switch despite being in the switch layer, changing the switch number for it is useless [3:11 AM] Chairn: that's not a bug, that's by design [3:11 AM] Chairn: switch number is used to select number of jump [5:09 AM] Skystrife: the delay is used for th...
08:20
3e60cd8 Time out for POST requests too (hopefully fixes #5198) - def- 760cb99 Merge #5271 - bors[bot]
08:39
38b2a8d Add loglevel config (fixes #5178, fixes #5174) - def- 4183ad6 Merge #5179 - bors[bot]
Avatar
!grafik !grafik @Jupeyy can you please test if this also decreases the fps significant more than without this PR?

Checklist

  • [x] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration ...
Avatar
@Jupstar ✪ please try out my new PR for the ellipsis later 🙂 thanks
Avatar

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 indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--u...
12:26
e31fa70 Fix clamp in CStun::Update (fixes #5282) - def- 369c217 Merge #5285 - bors[bot]
Avatar
If you need a cheap root server in germany for one month you can get this one https://www.netcup.de/bestellen/produkt.php?produkt=2885 for 0,49€ only today https://www.netcup.de/bestellen/gutschein_einloesen.php?gutschein=20EuroRabatt2022
Webhosting, Server, Domains, Managementdienste, einfach alles fuer einen erfolgreichen Internetauftritt
Webhosting, Server, Domains, Managementdienste, einfach alles fuer einen erfolgreichen Internetauftritt
Avatar
thanks, I ordered one. maybe it'll be useful in some way
Avatar
Avatar
c0d3d3v
If you need a cheap root server in germany for one month you can get this one https://www.netcup.de/bestellen/produkt.php?produkt=2885 for 0,49€ only today https://www.netcup.de/bestellen/gutschein_einloesen.php?gutschein=20EuroRabatt2022
I cannot confirm that this works, you only seem to be able to cancel after two months
13:00
Produkt erstellt am: 31.05.2022 Kündigungsfrist: mindestens 31 Tage vor Ablauf der Mindestvertragslaufzeit Möglicher Kündigungstermin: (Wenn Kündigung heute zugestellt wird .) 30.07.2022
13:01
english: Product created on: 31.05.2022 Cancellation possible 31 days before end of the minimum contract length Possible cancellation (if cancelled today: 30.07.2022)
Avatar
Avatar
heinrich5991
english: Product created on: 31.05.2022 Cancellation possible 31 days before end of the minimum contract length Possible cancellation (if cancelled today: 30.07.2022)
I also fear this xD I just rented it... 😦
Avatar
Avatar
c0d3d3v
I also fear this xD I just rented it... 😦
I will try to cancel it via mail
Avatar
you can cancel via your widerrufsrecht
13:11
in the customer control panel
Avatar
Avatar
heinrich5991
you can cancel via your widerrufsrecht
I just called them... they told that the system always adds one day so it does not think you would cancel the contract at the same day as you buy it. If you cancel at the same day via mail and tell them that you want to cancel for the 30.06.2022 it works, additionaly you could use the "Satisfaction guarantee" and get full price back after 30 days
Avatar
Previously, it was always shown. Fixes #5203.

Checklist

  • [x] 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 indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https...
Avatar
This allows us to use std::min/std::max.

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 indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://g...
15:33
The string comparison isn't actually done anymore, it's now done via a boolean flag.

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 indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UB...
15:37
9da3f5c Only show port forward message if there's a problem - heinrich5991 dd9e0b0 Merge #5286 - bors[bot]
Avatar
Both file types are used in conjunction with the HTTPS master.

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 indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memch...
15:56
Log send errors with debug instead of error severity. They're normal in case a protocol stack isn't initialized supported by the host or if there's no route. Don't periodically retry STUN if successful. Trying again for each connection establishment is enough. Previously, it was re-requested every 10 minutes. Fixes #5273.

Checklist

  • [ ] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuratio...
16:01
eb28232 Work around Windows's definition of min/max - heinrich5991 d0ff811 Remove outdated comment - heinrich5991 d32b223 Merge #5287 #5288 - bors[bot]
16:04
  • Remember initial console foreground and background color.
  • Use the original background color with the message specific foreground color, so it looks better when the console background color isn't black.
  • Restore the initial console foreground and background color on exit instead of leaving the color be whatever was last used.
  • Refactoring: Replace numbers with color constants defined in wincon.h (https://github.com/wine-mirror/wine/blob/4312d209232c701b0b78d9f8b463917c989005c5/inclu...
Avatar
I think the mess I made of the windows logger should be looked at again sometime
Avatar
what mess did you make out of the windows logger?
Avatar
Windows really wanted utf16 for some reason and I implemented it but it's not very correct, you might be running in mintty under windows which wants utf8 instead
16:11
The ad-hoc implementation of utf8 -> utf16 I made should probably be replaced with a winapi call too
16:13
I also doubt that it works well with output redirection
Avatar
I see
Avatar
While implementing past pull requests like #5064 I've been thinking about implementing them using Rust instead of C++. Rust is a language targeting a similar audience as C++. It tries to completely rule out any memory unsafety and thread unsafety. I've used the language in the past for university assignments, hobby projects, projects related to DDNet such as https://github.com/heinrich5991/libtw2 and most recently also the DDNet HTTP masterserver ([src/mastersrv](https://github.com/ddnet/d...
Avatar
chillerdragon: can I recommend set -o errexit; set -o nounset; set -o pipefail to you?
16:41
also maybe mktemp -d
16:50
lul
16:51
apt upgrade -y sue
Avatar
your computer is slow? No way, I think it is your monitor! My monitor? I have never heard that a monitor can be slow.... (edited)
Avatar
  • Remove dead (commented out) code.
  • Don't print detailed datafile log messages, unless the datafile specific DEBUG flag is set.
  • Use static int instead of static CUIRect as UI element ID.

Checklist

  • [X] 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...
Avatar
chillerdragon BOT 2022-05-31 18:06:34Z
For what? (@heinrich5991)
also maybe mktemp -d
18:07
Also do you still need something regarding the integration test? I’m mobile -.-Check the integration_test/ directory there is logs of client and server.
Avatar
2c89008 Add *.csv and *.json to .gitignore - heinrich5991 22f4225 Merge #5289 - bors[bot]
Avatar
71d47c3 Log send errors with debug instead of error severity - heinrich5991 92f27bd Don't periodically retry STUN if successful - heinrich5991 7f24922 Print auxiliary datafile log messages only when DEBUG flag set - Robyt3 7474ca2 Remove dead code - Robyt3 019c2fa Remove static CUIRect used as UI element ID - Robyt3 27ebe08 Merge #5290 #5293 - bors[bot]
Avatar
Avatar
c0d3d3v
I just called them... they told that the system always adds one day so it does not think you would cancel the contract at the same day as you buy it. If you cancel at the same day via mail and tell them that you want to cancel for the 30.06.2022 it works, additionaly you could use the "Satisfaction guarantee" and get full price back after 30 days
bargain hunters...
Avatar
just kidding, i think i pay way to much for my uberspace, while not using it so much
Exported 67 message(s)