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-02-07 00:00:00Z and 2022-02-08 00:00:00Z
00:06
[ddnet/ddnet-libs] New branch created: pr-updates
00:06
curl 7.79.0 -> 7.81.0 freetype 2.11.0 -> 2.11.1 sqlite 3.36.0 -> 3.37.2 ffmpeg 4.4 -> 5.0 websockets 4.2 -> 4.3
00:06
curl 7.79.0 -> 7.81.0 freetype 2.11.0 -> 2.11.1 sqlite 3.36.0 -> 3.37.2 ffmpeg 4.4 -> 5.0 websockets 4.2 -> 4.3

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
  • [...
02:40
5c2b727 Moderator applications are open again and Knuski as EUR mod (#172) - murpii
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...
09:24
d7a4c37 engine/client: Replace the game hardcoded name with a macro variable - Kaffeine ac61a38 CPlayers::RenderPlayer: Consistently use Alpha variable - Kaffeine 68b1afc client/menus_settings: Replace hardcoded config name with a macro - Kaffeine 15e6fd8 CMake: Use CMAKE_PROJECT_NAME for status message - Kaffeine 9a5b733 Client: Fix projectiles rendering for demo playback - Kaffeine 3e24550 Merge #4669 - bors[bot]
Avatar
343b254 Client/CBinds: Rename arguments which refers to the ModifierCombination - Kaffeine db1d136 client/menus: Fix variable names - Kaffeine ae482d0 CMenus::DoKeyReader: Fix the UI text for binds with a modifier(s) - Kaffeine 2233ca9 CBinds::GetModifierMask: Make the method actually returning the mask - Kaffeine fff597c CMenusKeyBinder: Fix binding in cases with only a modifier key pressed - Kaffeine e087696 CBinds: Remove unused ModifierMatchesKey() - Kaffeine 7d1595f Client/CMenus: Actually process and show all bindings with modifiers - Kaffeine 17222d6 Binds: Reorder modifiers according to the convention - Kaffeine 3025bb0 Merge #4668 - bors[bot]
Avatar
What about add a donation banner, once a month on client start? Like Wikipedia does from time to time. Maybe only to players with >100 points. Open source projects needs funds... And players need to know it
Avatar
No. We are covering the donations fine so far, no need to annoy people. And even if we don't cover them, I'm fine to cover the rest of the costs. We are not aiming to earn money, so there is no purpose in getting people to donate over the amount of server costs we have
❤️ 1
Avatar
Just add ads in client
10:22
greenthing
Avatar
add ad before demo replay
Avatar
no, ads are annoying
Avatar
chillerdragon BOT 2022-02-07 10:41:00Z
shop.ddnet.tw pay 10 bucks and get 1000 points :D
wtf 1
Avatar
Ads are bad. If cost is covered, no message has to be sent. Messages to cover cost could be accepted, let's say, once every six months or less. I would appreciate a reminder. Or add checkbox: never bother me again about donation. People don't know about server cost etc. Idk even if donation request exists in the welcome screen. it would be nice too.
Avatar
costs are covered currently, deen is happy to cover the rest. discussion is kinda moot
Avatar
chillerdragon BOT 2022-02-07 10:42:50Z
I think announcing donations in the client would be nice. Currently its discord and website only right? So maybe in the client news next to changelog and tourney announcements. There could be latest donations displayed so its a nice shoutout and can be motivating to pay if others see it. And it also reminds client users that donations are a thing
Avatar
I think what deen meant is that he doesnt want to bother people when there already is a stable income
10:43
Non profit income that is
Avatar
@Wohoo afaik server cost is already mentioned here https://ddnet.tw/funding/
Avatar
Wikimedia bothers people once a year. With email spam
Avatar
ddnet is funded, why do you see need for action?
Avatar
@heinrich5991 thx for sponsoring the ger servers btw
10:47
Just saw it on the site
Avatar
you're welcome 🙂 it mostly started with a server I had lying around anyway
Avatar
I also want to make servers, it sounds very interesting
Avatar
eh, not physically lying around 😄 just a rented server
Avatar
It is just an idea, inform people about what's behind the game. Add a reminder at bottom line of client update news?
Avatar
Ahh okay haha
Avatar
Jupstar ✪ BOT 2022-02-07 10:51:08Z
kids wont understand it anyway and adults know that nothing is free xd (@Wohoo)
It is just an idea, inform people about what's behind the game. Add a reminder at bottom line of client update news?
Avatar
the ddnet wiki is not mentioned in the funds 👀
Avatar
41fd163 Limit evolving to 3 seconds - ChillerDragon 4d25052 Merge #4624 - bors[bot]
Avatar
chillerdragon BOT 2022-02-07 11:06:27Z
pog
11:06
@poggonaut poggers fddr fixed
Avatar
b897753 HTTP Serverbrowser: Quit faster (fixes #4563) - def- c3cacee Update Chinese translations (by cheeser0613) - def- 2bb12cf Lib updates (untested) - def- d7ed57f Merge #4576 #4670 #4671 - bors[bot]
11:14
9eab8f8 ddnet-libs update to squashed version in master - def-
11:16
This is to make sure that modders don't start to rely on the fact that we clamp the evolve duration to 3 seconds. CC #4624

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 ma...
Avatar
I was recording something with Nvidia shadowplay and the recordings were not showing DDNet but instead another window while I had the Popup ingame that I may start recording. I was using the newer OpenGl support and don't know how to reproduce this while it may have to do something with tabing out with ALT+TAB (which is not working for me)
Avatar
Avatar
chillerdragon
pog
could you save your afkler on multeasy? they want to change map for a newer version of multeasy (edited)
Avatar
a203478 Make the evolve limit more visible - heinrich5991 3de74a9 Merge #4672 - bors[bot]
Avatar
chillerdragon ^
Avatar
@HappyFray nice of you, but I'm ok with keeping the server running with just him on it (but after timeout won't be able to reconnect)
13:17
since it's pw protected now
Avatar
ah ok
Avatar
Mixed up previous and current. This did not show up in testing, because these two were always true at the same time. I've now debugged it and manually made specific conditions false to verify that it's working. Sorry for the mess.

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
  • [ ] Con...
Avatar
7aafc78 Fix evolve limit - heinrich5991 0a7ff4f Merge #4674 - bors[bot]
Avatar
Hi, I just tried to register a new account and I noticed several minor issues. For example, this language select is completely useless - the only option you can select is English, so why do we even have it there xd. And also, there you can see this thingy:
The items marked with * are required profile fields and need to be filled out.
That is useless too, because there is no single field with the "*" symbol. Or you can actually add those *-symbols to the required fields xd Maybe you could fix it in future
Avatar
Don't want to customize the forum, makes upgrades harder
👍 1
Avatar
Since it causes crashes because another thread just accesses the data. No one has wanted to fix this, so maybe we should just remove it instead of having clients crash in editor. I'm wondering how much effort it would be to make this safe. Would we just have to lock for a short part or is it basically the entire threaded undo operation that has to be serialized? (No need for a thread then)

Checklist

  • [ ] Tested the change ingame
  • [ ] Provided screenshots if it is a visu...
Avatar
Angle units on this game?
Avatar
@Mʎɹ シ what do you mean? 🙂
Avatar
What is the measurement system in this game? Strange degrees, strange radians? xd
Avatar
btw ive had multiple friends new to the game tell me the sounds are way too loud by default and they all immediately turn off the main menu music
17:51
if other people have similar experiences maybe it could be lowered by default?
Avatar
build directly in the game during the game
Avatar
Avatar
louis
btw ive had multiple friends new to the game tell me the sounds are way too loud by default and they all immediately turn off the main menu music
i have this in every game i install
Avatar
have you considered turning down the global volume @Im 'corneum? ^^
18:45
my global is always around 20 and in websites around the middle of the sliders
Avatar
mine is at 3, I think 😄
Avatar
on zoom i have to go down to 2 and i cant find the option to make it more silent or navigate windows sound options douring a meeting
Avatar
ah, I have it at 10
Avatar
Avatar
heinrich5991
mine is at 3, I think 😄
heinrich has cat ears confirmed
18:48
furry, i knew it
Avatar
Jupstar ✪ BOT 2022-02-07 18:49:49Z
@Chairn: what imports does your python frametime code need?
Avatar
lol it depends on your headphone ohms on how loud things are
18:51
ig
Avatar
i have mine on max just so i have at least one constant
Avatar
Allows reproducing teehistorian files without lookahead and without relying on PlayerNew messages.

Checklist

  • [x] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [x] Tested in combination with possibly related configuration options
  • tested with teehistorian deactivated
  • [x] Written a unit test if it works standalone, system.c especially
  • [x] Considered possible null pointers and out of bounds array indexing
  • [x] Changed no physics that affe...
Avatar
Avatar
GitHub
Click to see attachment 🖼️
I've looked for undo feature in editor and now I see it existed and you want to remove it saddo
Avatar
@Wohoo the undo feature mainly crashes your client 😉
Avatar
Avatar
Jupstar ✪
@Chairn: what imports does your python frametime code need?
import numpy as np import matplotlib.pyplot as plt import re from glob import glob
20:06
i think that's it
Avatar
Jupstar ✪ BOT 2022-02-07 20:21:44Z
how do i execute it tho, so i get .png xd (@Chairn)
i think that's it
Avatar
on windows my sound would be at 2 or 3
21:06
also the main menu music is quieter than the volume from other stuff like youtube
21:07
i think the only thing that is really loud is gun sound
Avatar
Avatar
Jupstar ✪
how do i execute it tho, so i get .png xd (@Chairn)
wdym? I just screenshot it, but you can use plt.savefig
Avatar
Jupstar ✪ BOT 2022-02-07 21:16:44Z
maybe i'm just too dumb for python xd
21:16
nothing opens for me xd
21:17
do i have to execute it with some special python module or just run python3 on it?
Avatar
chillerdragon BOT 2022-02-07 21:18:43Z
Do you even data science jupjupjapstur?
Avatar
Jupstar ✪ BOT 2022-02-07 21:21:17Z
i just want 1 trillion fps in teeworlds, thats my only life goal
21:22
do you run ipython or just python?
Avatar
Jupstar ✪ BOT 2022-02-07 21:22:53Z
python3
Avatar
try it with ipython3
Avatar
Jupstar ✪ BOT 2022-02-07 21:23:32Z
xd wasnt even installed, but still doesnt to anything xd
21:23
was the code you posted complete?
21:23
maybe it misses a .show() or smth
Avatar
from IPython import get_ipython get_ipython().run_line_magic('matplotlib', 'qt') ## backend is Qt
21:23
add this to change the backend of matplotlib
21:24
now, it should open a window with the figure inside
Avatar
Jupstar ✪ BOT 2022-02-07 21:25:12Z
ImportError: Could not load requested Qt binding. Please ensure that PyQt4 >= 4.7, PyQt5, PySide >= 1.0.3 or PySide2 is available, and only one is imported per session. Currently-imported Qt library: 'pyqt5'probs im missing some installs xD
Avatar
Avatar
Jupstar ✪
maybe it misses a .show() or smth
maybe as well, but using the last command, it"s not needed so i never use .show()
21:25
try another backend
21:26
ah wait, outdated page
21:27
i recommend working with anaconda to solve this kind of lib problems
Avatar
Jupstar ✪ BOT 2022-02-07 21:29:05Z
xD why is this so hard
21:29
seems like all these backends are outdated
Avatar
what if you just do .show() after?
21:29
without specifying any backend?
Avatar
Jupstar ✪ BOT 2022-02-07 21:29:59Z
i tried that but doesnt work
Avatar
well, it works fine for me so i guess one of your package is not linked or compiled properly
Avatar
chillerdragon BOT 2022-02-07 21:34:17Z
I heard commenting out the majority of a Code base can improve runtime performance.
i just want 1 trillion fps in teeworlds, thats my only life goal
Avatar
if i don't specify any backend, i get this: [<matplotlib.lines.Line2D at 0x7fd9c13c6208>]
21:34
if i do plt.show() after, it draws the figure
Avatar
Jupstar ✪ BOT 2022-02-07 21:35:06Z
oh yeah
21:35
true i only tested it with python3
21:35
not ipython3
21:35
ty
21:35
sadly it doesnt load correctly tho xd
21:36
it only loads 1 of the three log files
Avatar
how did you install ipython?
Avatar
Jupstar ✪ BOT 2022-02-07 21:36:14Z
over apt
21:36
should i use pip?
Avatar
Jupstar ✪ BOT 2022-02-07 21:37:19Z
but can it load multiple log files normally?
Avatar
using glob yes
Avatar
Jupstar ✪ BOT 2022-02-07 21:37:33Z
the first one loads correct, just the other twos are empty
Avatar
i iterate over the file list
Avatar
Jupstar ✪ BOT 2022-02-07 21:37:51Z
yeah, i also get 6 graphs, but only 2 are filled xD
21:39
or is it bcs of the show?
Avatar
yeah, show only at the very end
21:39
outside every loop
Avatar
Jupstar ✪ BOT 2022-02-07 21:39:37Z
ah ok
21:39
yeah now it works xd
Avatar
or you can use plt.figure() to create a new figure at the start of every iteration
Avatar
Jupstar ✪ BOT 2022-02-07 21:39:51Z
python syntax killed me once again
Avatar
if its too crowded
21:40
and then show at the end of every iteration
Avatar
Jupstar ✪ BOT 2022-02-07 21:40:13Z
nah im fine xd
21:40
i used python with blender only, so i'm nobo
Avatar
i use it to treat data from experiments
21:40
i even found a lib to export matplotlib figures in latex 😄
Avatar
Jupstar ✪ BOT 2022-02-07 21:42:10Z
there are always 100 trillion ways todo the same thing in python xD
Avatar
well, i tested the code in python3, and it also works without using ipython
21:42
but i do need a show()
Avatar
Jupstar ✪ BOT 2022-02-07 21:44:20Z
yeah seems to work
21:44
maybe your imports fixed it somehow, dunno :D
Avatar
i always use ipython, so much more convenient, plus it has sql history
Avatar
coldren on Discord can reproduce it: ``` (gdb) bt #0 0x00007ffff5727d22 in raise () at /usr/lib/libc.so.6 #1 0x00007ffff5711862 in abort () at /usr/lib/libc.so.6 #2 0x00007fffde0b291f in () at /usr/lib/dri/i965_dri.so #3 0x00007fffde0a7d51 in () at /usr/lib/dri/i965_dri.so #4 0x00007fffde0a9c61 in () at /usr/lib/dri/i965_dri.so #5 0x00007fffde223145 in () at /usr/lib/dri/i965_dri.so #6 0x00007fffde21d2d5 in () at /usr/lib/dri/i965_dri.so #7 0x000055555562fd06 in CComman...
Avatar
3ea55dc Record player_ready event in teehistorian - Zwelf d2045b5 Merge #4676 - bors[bot]
Avatar
Since ghost menu and browser use F5 already to refresh, and having a bind on it, would cause both actions at once. I believe it makes sense to have this special handling only for F5, other F-keys don't have this problem since we don't use them in any menus.

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, sy...
Exported 165 message(s)