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 2020-10-03 00:00:00Z and 2020-10-04 00:00:00Z
Avatar
Correct me, if this is wrong, but only ddrace based mods cannot shot laser through itself. Tested on vanilla, ictf and fng(with antiping on and prediction on)
Avatar
5c478f5 Revert "Fix ctrl+shift+d moving tee (fixes #2930)" - def- b0891d1 Disable +xxx binds when pressing ctrl+shift - def-
08:06
21a885e Update french translation - def-
Avatar
[quakenet] AlwaysLivid BOT 2020-10-03 10:21:47Z
Hey, is this the development chat for ddnet?
Avatar
[quakenet] deen BOT 2020-10-03 10:21:53Z
AlwaysLivid: hi, yes
Avatar
can we dilate the speedup arrow data/editor/speedup_arrow.png
Avatar
[quakenet] deen BOT 2020-10-03 10:22:08Z
sure, why not?
Avatar
can u xd
Avatar
[quakenet] AlwaysLivid BOT 2020-10-03 10:22:20Z
(wait, is the channel bridged?)
Avatar
yes, hello
Avatar
[quakenet] AlwaysLivid BOT 2020-10-03 10:22:55Z
hello!
10:23
(presuming this is the discord)
10:23
I'm currently trying to port the game to the Haiku operating system!
Avatar
[quakenet] deen BOT 2020-10-03 10:23:34Z
Yeah, there is a bridge to discord and also to freenode#ddnet
Avatar
[quakenet] AlwaysLivid BOT 2020-10-03 10:23:39Z
ah
Avatar
[quakenet] deen BOT 2020-10-03 10:23:42Z
Ha, that is cool!
10:24
Anything we can help you with? Are you an official Haiku maintainer?
Avatar
[quakenet] AlwaysLivid BOT 2020-10-03 10:24:17Z
well i'm not a maintainer but i like contributing stuff a lot!
10:24
I got SuperTuxKart running a few months back and I figured that with the current set of dependencies (emphasis on SDL2)
10:24
but long story short, well
10:24
uh the x11 library dependencies are sort of giving me a hard time
Avatar
[quakenet] deen BOT 2020-10-03 10:25:01Z
DDNet probably has quite a lot of dependencies, but we could optionally disable some stuff
Avatar
[quakenet] AlwaysLivid BOT 2020-10-03 10:25:04Z
(they are available but we entirely avoid them for, well, the reason being that haiku is not *bsd or linux based)
Avatar
[quakenet] deen BOT 2020-10-03 10:25:31Z
what do we use the x11 deps for? notifications?
Avatar
[quakenet] AlwaysLivid BOT 2020-10-03 10:26:00Z
i'm really not sure, there's libnotify there as far as i can see
10:26
but i'd presume it's probably related to linux window stuff :P
Avatar
[quakenet] deen BOT 2020-10-03 10:26:58Z
Yeah, we could just add another special case and have no notifications on haiku for now
Avatar
[quakenet] deen BOT 2020-10-03 10:28:42Z
I guess the problem is that currently we handle everything that's not windows or mac as linux/bsd
10:28
so Notify and X11 are pulled in
Avatar
[quakenet] AlwaysLivid BOT 2020-10-03 10:28:56Z
hmmm
Avatar
please put mothod for know if this switch on or offsaddo
10:29
Avatar
[quakenet] AlwaysLivid BOT 2020-10-03 10:29:28Z
yeah that does make sense, i'm no expert but i do normally make use of bsd-related cases in order to make stuff work on haiku
10:29
(android can also be helpful sometimes because of cases involving a system that doesn't run x11)
Avatar
[quakenet] deen BOT 2020-10-03 10:30:11Z
yeah, unfortuantely we removed android support a while ago
10:31
I think in this case we still want libnotify and X11 on BSD
Avatar
Dilate is destructive, right? Maybe we should keep a copy of the things we dilate
Avatar
[quakenet] AlwaysLivid BOT 2020-10-03 10:32:11Z
not even leftover code or anything? hmm (i'm really not 100% experienced with stuff like this but i'm trying my best)
Avatar
[quakenet] deen BOT 2020-10-03 10:32:23Z
we removed the leftover code since it was unmaintained
10:32
I'll give you a PR to try in a few minutes, will try to special case haiku a bit
Avatar
[quakenet] AlwaysLivid BOT 2020-10-03 10:32:56Z
nah please don't bother with it yet, i'm just asking general questions in order to gain a better understanding
10:33
(i'm also having problems with libopus and am not sure if a library like that exists right now and whether i should port that as well-- it's too premature for me to tell and stuff)
Avatar
[quakenet] deen BOT 2020-10-03 10:33:53Z
hm, ok. In that case just try removing find_package(Notify) and X11 in CMakeLists.txt, and removing the notifications code in src/engine/client/notifications.cpp
10:34
about opus: if it's super-hard to port, it's not really essential. some maps use it for background music, not required for playing
Avatar
[quakenet] AlwaysLivid BOT 2020-10-03 10:34:20Z
working on it, thanks!
10:34
eh it'd probably be best to keep that in
10:34
it's not like it's technically impossibel
10:34
*impossible
Avatar
[quakenet] deen BOT 2020-10-03 10:34:56Z
sure, would be better. but I don't know the opus code, so can't judge how hard. but i guess it should have no external dependencies at least
Avatar
cbf5ace Dilate speed_arrow.png - def- 933bd8e Merge #2984 - bors[bot]
Avatar
[quakenet] deen BOT 2020-10-03 10:35:35Z
and you'll also have to remove the ${X11...} and ${NOTIFY...} in CMakeLists.txt
Avatar
[quakenet] AlwaysLivid BOT 2020-10-03 10:35:38Z
I'm working on a very non-elegant way to approach this (removing lines instead of adding if... else cases) just to get it to run
10:35
yup already done
Avatar
[quakenet] deen BOT 2020-10-03 10:35:46Z
ok, good
10:36
yeah, that's fine I think. when you got it working you can clean it up. but no need to overengineer before you're even sure it will work
Avatar
[quakenet] AlwaysLivid BOT 2020-10-03 10:36:16Z
so the weird thing is that opusfile actually exists but is not detected
10:36
yeahhh and the if else cases shouldn't be that hard
Avatar
[quakenet] deen BOT 2020-10-03 10:36:59Z
See cmake/FindOpusfile.cmake. We are using pkg-config to find the system lib
Avatar
[quakenet] AlwaysLivid BOT 2020-10-03 10:37:29Z
got it
10:37
okay this is probably the most productive i've ever been as far as this thing is concerned, huge thanks for your help
Avatar
[quakenet] deen BOT 2020-10-03 10:38:17Z
Oh, and OPUSFILE_LIBRARY only searches for NAMES opusfile, maybe on Haiku you have some kind of prefix/suffix
10:38
could just append that after "NAMES opusfile " to make it find it
10:39
AlwaysLivid: thanks to you for trying to port DDNet to Haiku :)
Avatar
[quakenet] AlwaysLivid BOT 2020-10-03 10:42:25Z
i just came across the game as i was browsing steam so
10:42
it's like "hey here's something spontaneous for me to kill my boredom"
10:45
yeah opus exists, it's just something w/ my system
Avatar
[quakenet] deen BOT 2020-10-03 10:46:27Z
what's the filename for the opusfile shared lib? something like opusfile.so?
Avatar
[quakenet] AlwaysLivid BOT 2020-10-03 10:49:38Z
nah the headers really actually arent in my system for some reason
10:49
they should work flawlessly
Avatar
ddmax_freeze didn't use transparancy for the curves so I draw a new one.
Avatar
Imo mapres from ddnet that don't ship with the vanilla client should be in a subfolder.
Avatar
880f581 Dilate speed_arrow.png - def- 6e3d55d No country flag for Traditional Chinese - def-
Avatar
You again seem to be missing headers
11:34
i think that might be a problem with our cmake setup too
Avatar
[quakenet] AlwaysLivid BOT 2020-10-03 11:35:46Z
the missing pnglite thing is negligible honestly
11:36
anyways a very very draft tree can be found here: https://github.com/panos/ddnet
ddnet fork aiming to add support for the Haiku operating system - panos/ddnet
11:36
it's that cmake thing that needs to be dealt with only i think
11:36
not sure how to fix it so i'm asking around
Avatar
For AlwaysLivid's Haiku port:
CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: /boot/home/ddnet/SQLite3_INCLUDEDIR
@heinrich5991 thoughts?
Avatar
[quakenet] deen BOT 2020-10-03 11:40:16Z
AlwaysLivid: something like this? https://github.com/ddnet/ddnet/pull/2986
For AlwaysLivid's Haiku port: CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in...
Avatar
[quakenet] AlwaysLivid BOT 2020-10-03 11:40:59Z
Should I try that?
11:41
(P.S. My @ on GitHub is @panos)
11:42
brb
Avatar
[quakenet] deen BOT 2020-10-03 11:42:50Z
Yes, would be nice
Avatar
[quakenet] AlwaysLivid BOT 2020-10-03 11:45:50Z
works! (i think!)
11:46
OKAY IT DID IT
11:46
LETS COMPILE THIS BABYYYY
11:47
okay that went wrong
11:49
woooooo boy
Avatar
fix skin selector please
Avatar
[quakenet] deen BOT 2020-10-03 11:50:38Z
does haiku support posix semaphores?
Avatar
(we could feature detect for these if we want)
Avatar
[quakenet] deen BOT 2020-10-03 11:52:00Z
see system.h:543
Avatar
Oh someone cleaned up my awful execute-all script on ddnet.tw
11:52
thanks 😄
Avatar
if it's a rewrite in python then heinrich did it
Avatar
this zone even after selecting "custom colors" is working and scrollers can work or not, just random
Avatar
it's in shell, so it's not heinrich?
Avatar
[quakenet] AlwaysLivid BOT 2020-10-03 11:53:42Z
deen, probably
11:53
i have to ask again
Avatar
@gerdoe i don't undestand
Avatar
AlwaysLivid double check if they support anonymous semaphores. macOS pretends it has POSIX semaphore support but it can only do named semaphores in reality
Avatar
The Haiku operating system. (Pull requests will be ignored; patches may be sent to https://review.haiku-os.org). - haiku/haiku
11:59
so you can just add haiku to CONF_FAMILY_UNIX I guess?
Avatar
[quakenet] AlwaysLivid BOT 2020-10-03 11:59:14Z
yup i also noticed
11:59
not sure where that is so i'll just add a new case that does the same thing
Avatar
src/base/detect.h
Avatar
[quakenet] AlwaysLivid BOT 2020-10-03 12:00:24Z
alright that uint64 definition is now what i need to beat
Avatar
fixes #2986 Puh, something i always wanted todo. Need to error read, bcs alot of copy paste. Modulizes all images, so that all images are mipmap indepedent, without texeloffset problems I also added the ninja bar analyzer for #2921
Avatar
WTF
Avatar
[quakenet] AlwaysLivid BOT 2020-10-03 12:01:26Z
yeah that's me irl
Avatar
i swear i hate popups xD
Avatar
@gerdoe I still don't get it looks like the bars work just fine
Avatar
[quakenet] AlwaysLivid BOT 2020-10-03 12:09:11Z
apparently DIR (from dirent.h) variables are a Linux-only thing and they're actively discouraged
Avatar

Description

I'm currently trying to port ddnet to Haiku, a POSIX-compatible, Unix-like, alternative operating system. However, Haiku (as well as other systems) does not support readdir() from dirent.h, which seems to be a function limited and designed for Linux only. In many software ports for the Haiku operating system, find_directory() (Haiku-only) is used. ([Examples from patchsets can be foun...
Avatar
[quakenet] AlwaysLivid BOT 2020-10-03 12:26:38Z
opened up a github issue for the time being, will check back in later https://github.com/ddnet/ddnet/issues/2988
Description I'm currently trying to port ddnet to Haiku, a POSIX-compatible, Unix-like, alternative operating system. However, Haiku (as well as other systems) does not support readdir() fr...
Avatar
@gerdoe @Learath2 it seems like the names are changing while moving the mouse, but I can't reproduce
Avatar
lolwtf
12:32
maybe ubsan would catch it?
Avatar
tried valgrind already
12:35
@gerdoe any more hints for how to reproduce, do you click something?
12:35
@Learath2 could you check https://github.com/ddnet/ddnet/pull/2978 please?
Caused by 9b0081d Thanks to Fireball for report
Avatar
building
12:44
@deen works for me
Avatar
@gerdoe hm, I guess the skins selector somehow extends further up in the background and stays active, but code looks correct
12:47
@Learath2 so bors r+?
Avatar
i want to test too, bcs my binds didnt work when i programmed my stuff
Avatar
I wanted to take a look at the code too 😄
Avatar
interesting
12:50
so ctrl+shift could be used for a absolut cursor for scoreboard for example
12:51
in csgo e.g. u can click things in the scoreboard
12:56
@gerdoe u got some custom skins btw? or only the ones shipped with the client
Avatar
830352f Revert "Fix ctrl+shift+d moving tee (fixes #2930)" - def- 1e900af Disable +xxx binds when pressing ctrl+shift - def- 6990cf3 Merge #2978 - bors[bot]
Avatar
CListboxItem Item = UiDoListboxNextItem(&s_paSkinList[i], OldSelected == i); without the & ?
13:04
just point the to actual skin pointer
Avatar
@deen ^ just that u see the fix for the skin scroll bug
Avatar
If the version in #announcements is RC2, then why does the screenshot show 15.1-rc1tee_thinking
Avatar
Can the "Use current map as background" button remember previous value, or just override that setting without replacing user-specified map?
Avatar
@deen Your skin downloader introduced a little inconsistency. When a skin is downloaded you call LoadSkin for that skin which adds it to the skin selector in the settings. But the downloadedskins folder is not loaded when the client is restarted. Not sure how to handle this best though, should all skins from the downloadedskins folder be loaded on startup or should downloaded skins not appear in the skin selector?
13:46
@Deleted User
Avatar
Currently it should download every skin every time. Bcs we don't have something to check if the skin is out dated
Avatar
Why are skins even saved to disk then?
Avatar
I dunno maybe for easy copy
13:52
I would just add a clear download cache and load from disk first probably. Dunno what deen planned tho
Avatar
@deen maybe like this but for choice of entities (walls ,kill block, block (hook through ) ....etc
14:46
cammo 1
Avatar
@timakro that is intentinoal
14:56
yes, the idea of storing them on disk is so that you can copy it if you like it
Avatar
@deen ig you need my res (1600x900)
14:58
@Deleted User several from db and shipped
Avatar
@Deleted User i tried that and with your "fix" i can now suddenly reproduce the issue gerdoe had ,haha
14:59
i don't understand how it's supposed to fix it
15:03
Should be same order whether supported is clicked or not. Will fix later.
Avatar
custom colors -> bar moving -> select skin -> try to move bar or click nearly
Avatar
As suggested by Soreu on Discord @Jupeyy I can do that later in the evening if no one else wants until then.
Avatar
someone help
15:05
i've changed my resolution and now i cant open the game
Avatar
@louis remove the resolution from settings_ddnet.cfg with a text editor
Avatar
Hello, I'd like to make a suggestion: An option to add maps to favourites so that you can look through them when you wanna play a good map with your friend
15:40
and the maps will be in a tab, ordered from insane to novice
Avatar
@deen I think the issue is in RenderHSLScrollbars
15:46
AH, it's ui clipping 😄
15:46
lol
15:48
Hm, I can't reproduce it though
15:51
I guess the clipping is a little meh
Avatar
@deen I have a complaint about bad ping on GER1. According to him he has 25ms on GER2 but 65-70ms on GER1 His ign is muhistar18, plays quite frequent ddrace aswell (edited)
Avatar
70ms is not bad ping
Avatar
yeah its not bad when you are playing on 70+ ping
15:58
when you are playing with ping 20 mostly 40 is annoying as well
Avatar
but if its unstable and jumps between 20 and 70 then thats probably worse than high ping
Avatar
Ah, our UI clipping is only graphical
Avatar
I freakin love the assets changer, if only there was also refresh button so that it'd reload assets without the need for client restart, that'd be 15/10 rating
Avatar
@Soreu isnt there a refresh button?
16:18
16:19
its there for those assets
16:19
not for skins tho
Avatar
am I fckin blind or what
16:25
I am fckin blind lol
16:25
sorry nouis
16:25
15/10 then
Avatar
One off IJobs still requiring you to define a type is rather annoying
Avatar
Very teeeny tiny issue
17:22
The engine isn't even initialized by the time storage gets created
17:22
So the integrity check needs to be in a module of it's own, but I have no idea what to call it
Avatar
Learath2Integrity
17:23
nouis
Avatar
You are almost as creative as me 😄
17:25
Oh nvm, the engine doesn't need to be initialized before we use the job pool
Avatar
I think it would be great to have the opportunity in settings > appearance where you can select what chat messages you want to see. e.g.
  • join/leave
  • map finishes
  • team join messages
  • general server messages
  • name changes
and so on. Personally it bugs me to get tons of chat messages on big servers only because some players I have no relations with joining teams or so.
Avatar
Is anyone already looking into why cloud animations in background are choppy?
18:22
It looks like we're using floats to keep track of time for the animations, but float'
18:23
but float's precision is not sufficient to count every 1/60 of a second since 01.01.1970
Avatar
@Fireball always or just in theme? Maybe we don't update the time often enough in menu?
Avatar
In themes. Try winter theme - it should be most noticeable
18:57
I already got a fix, will send a pull request in a few minutes.
18:57
i don't notice it, but my screen is also not great
18:58
so it might just look blurry and i don't notice
Avatar
hm. even with winter theme?
18:58
snowflakes should be moving at around 10fps with the current code
Avatar
5f43e4c Fix multiple layer editing. Close #2981 - Learath2
Avatar
maybe i'm not fps sensitive enough 😄
19:01
looks ok to me
19:01
i'm more annoyed with the clouds in autumn resetting every few minutes
19:03
f482d62 Make types/countries fit ingame (fixes #2989) - def-
Avatar
u guys are seeing clouds and snowflakes in winter?
Avatar
db9a762 Fix multiple layer editing. Close #2981 - Learath2 1040b59 Merge #2994 - bors[bot]
19:08
time_get_microseconds() count starts from 1970-01-01 and float's precision is not enough for every 1/60 of a second. I'm replacing it with LocalTime() - it's also available in the menu and it's counted from the start of the game. I've tested menu and in-game animations.
Avatar
Anybody developing on windows here?
Avatar
This is adding Serbian Cyrillic translation and contain complete translation with latest strings. by Veljko Radovanovic (VekiPro)
Avatar
@timakro yes
Avatar
Are you using an IDE, which one?
19:29
@fokkonaut
Avatar
msvs
Avatar
DDraceNetwork, a cooperative racing mod of Teeworlds - ddnet/ddnet
19:30
And do you have some kind of git integration in your IDE or are you using the git for windows thing where you get a bash
Avatar
8ce6de6 Set libnotify icon - yangfl a7333fe Merge #2964 - bors[bot]
Avatar
@timakro msvs has integrated git
Avatar
@deen oh OK, I still think my patch should be applied. Bcs the pointer of the sorted array doesn't stay the same if the array increases its capacity
Avatar
make a pr so we don't forget? not at computer atm
Avatar
i wonder tho if it can break stuff, bcs assets reload and skin reload also change the actual pointers
22:57
@Fireball u want to fix? or should i
Avatar
Can't tell if setting the hot item in gui invalidly can potentially break stuff, also a skin refresh button would make this useless anyway
Avatar
@Fireball u want to fix? or should i
@Deleted User sorry, I don't have context on this - I've only worked on the maplayers.cpp today.
Avatar
np, u found that annoying bug, thats already nice 😄
Exported 254 message(s)