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 2017-09-12 00:00:00Z and 2017-09-13 00:00:00Z
Avatar
@heinrich5991 this might interest you, I think you asked me for something like this for vanilla some time ago: https://github.com/H-M-H/bundle_libs
bundle_libs - Easily deploy dynamic/shared libraries alongside your App on macOS
Avatar
When i vote for the maps Injection and Injection 2, the server switches to moderate with caventure map. Seems like maps are missing?
05:36
same goes for a lot of maps
06:35
e194cc2 2nd safari fix - CrashtimeHD d2a927d Merge pull request #32 from CrashtimeHD/master - def-
Avatar
<deen> Apparently setting different compiler optimizations with the gcc version in debian 9 makes the server use 100% cpu even when nothing is going on :D
06:46
<deen> heinrich5991: i think it has to advance the game state?
06:46
<deen> heinrich5991: or you mean just stay at the same tick?
Avatar
<heinrich5991> deen: staying at the same game tick
08:09
<heinrich5991> but I haven't measured how much CPU it actually costs
08:10
<heinrich5991> the higher optimization levels probably exposed bugs, are there coredumps?
08:11
<deen> probably, but I didn't care to collect
08:11
<deen> should be very easy to reproduce
08:11
<deen> just compile with -Ofast -march=native -mtune=native -flto=10
08:12
<deen> I remember the first ones didn't cause any harm in the past, so it's probably -flto=10
08:12
<heinrich5991> don't enable -Ofast, it disables standards compliance
08:12
<heinrich5991> (and also -ffast-math)
08:13
<heinrich5991> yea, flto might be causing it, lemme see
08:18
<eeeee> are we clean in -fsanitize=address and -fsanitize=undefined ?
08:19
<deen> probably not
Avatar
Can u guys played ddnet in a window? I dont have fullscreen checked but still im playing with fullscreen i can check and uncheck it in settings nothing happenes
Avatar
<deen> even after restartin the client?
08:22
<deen> and choosing a smaller resolution?
08:22
<deen> and using the most recent client version?
08:23
Idk
08:23
xD
08:23
Wait
Avatar
<heinrich5991> debug info of course destroys the bug :/
Avatar
<deen> heinrich5991: fixing sanitizer warnings like eeeee suggested could help
09:33
<deen> I didn't know posix has asynchronous I/O
09:38
<deen> could be nice for logging and writing demos
09:38
<deen> not sure how reasonable the apis and the corresponding windows ones are though
Avatar
<Learath2> deen: loading the map Injection seems to crash the server
Avatar
or the map is missing or sth
Avatar
<heinrich5991> asynchronous IO was poor on POSIX IIRC
11:10
<deen> Learath2: well, debug it? you have ssh access, right?
11:10
<Learath2> yeah checking it out
11:11
<Learath2> can't check dmesg nor know where we put coredumps tho
11:11
<Learath2> but fear not, will figure it all out :)
11:11
<deen> coredumps in same directory
11:11
<deen> use root for dmesg
11:11
<deen> Most likely it's still failing because of old server versions compiled with lto
11:12
<Learath2> dont think i have root on GER
11:12
<Learath2> yeah lemme check the lto thing first
11:12
<deen> tried it on an empty new serveR?
11:13
<deen> ah shit
11:13
<deen> it still compiles with lto
11:13
<deen> on GER
11:13
<deen> let me fix that quickly
11:14
<Learath2> deen: which script compiles the server?
11:14
<deen> I've done that already
11:14
<deen> cd src; ./build.sh
11:15
<deen> I think I forgot to copy the new build.sh on GER, oops
11:16
<Learath2> deen: also servers/test/data/maps seems empty
11:16
<Learath2> no idea what happened there
11:16
<deen> yeah, servers were restarted
11:16
<deen> to fix vulnerability
11:16
<deen> needs to be mounted again
11:16
<deen> see run-all.sh
11:18
<Learath2> \o/
11:19
<deen> (I guess the mount fails when ddnet.tw is still offline so it never remounts it later)
11:19
<Learath2> could mount it in a loop until it succeeds i guess
11:19
<deen> or use automount
Avatar
<Learath2> does automount make sure it mounts even?
11:28
<deen> i think it blocks access until it's mounted, but not sure
Avatar
What techniques would you say are easier with weak hook
Avatar
that thing where you drag someone who is above hook thrus and have to go below obstacles
13:49
the bigger the obstacle the easier it is with weak i guess
Avatar
<deen> @Dr.Jekyll for me everything was easier with weak since I always played with it
14:29
<deen> so you just get used to it
Avatar
sure theres a big aspect of getting practice
14:29
but strong hook is objectively better at some things
14:30
anyone know how to fix this bug?
14:30
might have to do with quads and clipping
Avatar
what bug
Avatar
needs a red mspaint circle
Avatar
the white stripes in the middle of the screen
Avatar
delete the quad .. ?
14:33
whats it supposed to look like
Avatar
this is how it usually looks
Avatar
borderfix/dilate?
Avatar
what map
Avatar
it is online ?
14:36
somewhere
Avatar
@Savander i think unique servers had it
Avatar
yea im there
Avatar
i dont see the smudge
Avatar
@jao well the natural question is, when does it happen?
Avatar
randomly on maps that have clipping and quads, not on every map
Avatar
but does it always look like that for you or do you have to move around or sth like that?
14:41
is the smudge fixed right there as you move or does it move with you?
14:44
the
14:44
fuck
14:44
i changed anti aliasing to 0
14:45
and my gam ecrashed
14:45
have to test it
Avatar
dca03b9 Fix RayB's profile link - Learath2
Avatar
ddnet-live - Live Streaming Infrastructure
15:40
it worked ?
Avatar
what's with ddnet-live?
Avatar
just found it
Avatar
yes, it worked
15:41
it just had no use 😄
15:41
im curious how it looked xD
Avatar
just a video of the game
15:41
chat was the interface to control it
Avatar
Does it consume a lot resources?
Avatar
yeah, because intel is stupid
15:43
maybe you could run it on gpu ?
Avatar
my intel cpu has an h264 encoder included, but you can only access it through some proprietary media library
15:43
so it only works on 1-2 linux distributions in some specific versions
15:43
totally ridiculous
Avatar
you run it on vps ?
15:45
nope, at home
Avatar
have you tried AMD Hardware Encoder or from nvidia ? 😄
Avatar
nope, i don't own any gpus
15:46
only included intel ones
15:47
they are probably really bad quality for the bitrate anyway
Avatar
Hmm, understand :/ because it could be muuch faster
Avatar
speed is not the problem, it just consumes a few cpu cores and 10 W or so
Avatar
I was using it while streaming
15:48
i think, 3k bitrate is optimal
15:48
for hd
15:48
i mean, good quality, without smoothing
Avatar
try out veryslow compared to veryfast in x264 with 3000 bitrate and compare the result
15:49
there can be HUGE differences at same bitrate
Avatar
and that weird mosaic
Avatar
always depends on how much cpu you want to use
Avatar
yea, that's right 😉 I never went below "fast" setting
15:51
it was too hard for my computer to stream and run game smoothly
15:51
there is even option "placebo" 😄
15:53
Have you ever bought a network card? I have to buy 1gbps one. Maybe you have any recommendation
Avatar
why do you have to buy one?
15:56
Intel is usually the safe guess
Avatar
Cuz, my current network card
15:56
doesn't support ISP's router
15:57
Maybe use another cable
Avatar
which they gave me to handle fiber cables
15:57
i tried
15:57
A looot things
15:57
and the only one which worked
Avatar
Never heard about something like that
Avatar
is usign my old router
15:57
as a bridge
15:57
I was talking about it a month ago
Avatar
are you sure that's not a software problem?
15:58
dhcp?
Avatar
that my connection has incredibly long time to estabilkish connection
15:58
I'm not sure
15:58
I made a topic
15:58
Hello, I have a problem with establishing a connection with the router. Windows for a long time, after booting computer says that my cable is not plugged in. The time between establishing and booting
Avatar
incompatibility between network devices should not happen nowawadays in 1gbit/s
Avatar
on windows 10 forum
Avatar
maybe in 10-100 gbit/s
Avatar
i tried a lot things, nothing helped 😄
15:59
even my ISP told me that
Avatar
tried linux?
Avatar
"hey, buy new network card"
15:59
nope, i didn't
15:59
i know that while booting
15:59
network is estabilished
15:59
then don't
Avatar
if it works immediately in safe mode, then it's clearly a software problem
Avatar
but, it works perfectly with 100mbs router
15:59
so its weird
Avatar
try removing the network driver
Avatar
yea i tried
15:59
i even formated computer
15:59
and, it stopped works in safe mode (edited)
15:59
as well
Avatar
settings of your network driver
16:00
and fumble around there
Avatar
yea i tried change negotiation settings
16:00
to force 1gbs port
16:01
i have idea
Avatar
try installing another driver
Avatar
i will download live linux
16:01
and try it there
Avatar
and disabling dhcp
Avatar
I disabled DHCP. I even forced static IP
16:01
to use routers gateway
16:01
etc
Avatar
turn off all other software?
Avatar
yup, i did clean run
16:02
only windows
16:02
still nothing
Avatar
and I think windows has something between safe mode and normal mode
16:02
where you can select which components to load and which not
16:02
or at least old versions had that, could be used to bisect where the problem comes from
Avatar
Yes, i disabled every external programms services
16:02
disabled all programs on startup
16:03
and i have to say, that the problem were even after fresh installation
16:03
so i bet, it's not because of external programs/drivers
16:03
i tried at least 2 network drivers
16:03
the built-in and those from motherboard website (asrock)
Avatar
might be the same
Avatar
then i don't know which one i should download 😄 D
16:04
PCI\VEN_10EC&DEV_8168&SUBSYS_81681849&REV_06
16:07
does live debian will support network connectio ?
Avatar
debian 9.1 (y)
16:08
last time i used debian 7
16:13
installing packages on live ver, will do it to ram ?
Avatar
what else do you expect?
16:14
a cloud disk?
Avatar
would be cool
16:14
no, i was thinking if it would store it on disk or
16:14
somehwere
16:15
in CPU memory maybe
Avatar
yeah, just format the entire disk
16:15
cpu memory? 😄
16:15
cache is not thaaaat big yet I think
Avatar
<Savander_d> :D
16:33
<Savander_d> it works via live Debian
16:33
<Savander_d> i hate Windows 10
Avatar
<eeeee> lol that guy just went ahead and ported ddnet to shaders
19:59
ddnet - DDraceNetwork, a mod of Teeworlds
Avatar
shaders ?
Avatar
<heinrich5991> programs that run on gpus
20:09
<Learath2> damn i wanted to do that, would have been good practice
Avatar
that is indeed funny, I am also creating some stuff to run on my gpu atm (cuda & opengl maybe also opencl later), it is not releated to ddnet though
Avatar
ᶰ°Konͧsti 2017-09-12 20:42:56Z
Nice HMH alive feelsamazingman
Avatar
has someone tried http://nanapro.org and know if it's good? (gui-library)
20:55
https://github.com/ocornut/imgui this one looks good :o
imgui - Bloat-free Immediate Mode Graphical User interface for C++ with minimal dependencies
Avatar
<heinrich5991> both look nonnative
Avatar
nuklear - A single-header ANSI C gui library
20:58
yep
20:58
can't decide what to use :D
Avatar
<heinrich5991> you don't want native-looking UI?
Avatar
imgui is cute
Avatar
last looks best
Avatar
nah, thosei sent look modern
20:59
if i would want native looking ui i would use c# wpf..
Avatar
the last one looks nice but i've never used it
21:00
imgui is nice for quickly whipping up debug menus
Avatar
yep, thats what looks like from their images
Avatar
there is any gui that can be customized with css?
21:00
:d
Avatar
electrum or someshit like that
Avatar
u mean electron
21:01
and it is nodejs in a desktop enviroment
21:01
so html
Avatar
then you don't have likmits?
Avatar
Build cross platform desktop apps with JavaScript, HTML, and CSS.
21:02
(pss, i think discord uses electron)
Avatar
(yep, scroll down)
Avatar
<heinrich5991> qt and gtk can be customized by css I think
21:02
<heinrich5991> and aren't even as resource-heavy as electron
Avatar
there was some other thing that turns a website into a native app by bundling chromium with it
21:03
stupid stuff imho
Avatar
discord
21:03
definitely is built with electron
Avatar
<heinrich5991> yes :(
21:03
It's not that bad imo
21:03
what
Avatar
it's like having a game open 200mb~
Avatar
what with my domain
Avatar
<heinrich5991> discord is the program that uses the most memory, right after my browser
Avatar
gotta love chromium using as much ram as Maya
Avatar
<heinrich5991> (discord uses 300MB for me)
Avatar
the nuklear gui lib i sent is made with ansi C
21:05
"No dependencies (not even the standard library if not wanted)"
21:05
xD
Avatar
a nice sentiment
21:06
would use that
Avatar
<heinrich5991> that must be a lie :D you can't do a UI without using winapi on windows
Avatar
23634 lines of code
Avatar
<heinrich5991> tw level I think
21:06
<heinrich5991> tw has ~35k?
Avatar
hmm too many lines of code
Avatar
you need to #include the winapi right?
21:09
i cant find any include with it
Avatar
<heinrich5991> how do you expect to make UI without dependencies?
21:16
<heinrich5991> the C standards provides no facilities to do so
21:16
<heinrich5991> -s
Avatar
i see, it is a embeddable user inerface
21:18
which means it needs a renderbackend or OS window
21:19
(sdl for example)
Avatar
<Chained> Hi guys, whats the name of the software which is used to show the server performance at https://ddnet.tw/status/ ?
Avatar
ServerStatus - Display and monitor your servers statistics in a beatiful way
Avatar
<Chained> thx :)
22:15
<Chained> nice previewsite from the developer
22:15
<Chained> Enable JavaScript you fucking autist neckbeard, it's not gonna hurt you.
wut 1
🤔 1
Avatar
@Savander there is also Qt, you can style it with QSS: https://doc.qt.io/qt-5/stylesheet.html
22:40
or just write QML
Avatar
😮 Sounds cool
Avatar
I said that above 😦
22:41
[11:02 PM] BOTirclink: <heinrich5991> qt and gtk can be customized by css I think
Avatar
<heinrich5991> qt and gtk can be customized by css I think
22:41
right
22:41
sorry :<
Avatar
next time throw some cool links in there 😛
22:44
why does 😃 get converted to a 😄 smiley?
22:44
:) -> :D
22:46
😄
22:46
hm
22:46
discord likes tooths?
Avatar
<heinrich5991> *teeth :P
22:49
right
22:49
still a lot to learn
Avatar
C > C++; i just found out that this returns true, and that is is a old joke :o
Avatar
<heinrich5991> C > C++ is at least unspecified behavior, if not even undefined behavior
Avatar
well, if C has a value
23:06
C++ returns the old value
Avatar
Possible Duplicate: Could anyone explain these undefined behaviors (i = i++ + ++i , i = i++, etc…) I'm having my lecturer class right now and my lecturer mention an expression as follow...
23:09
<heinrich5991> you're not allowed to read C another time in the expression if you also increment it
23:09
<heinrich5991> C > C++ may return true, false, 42, "Hello World!" or delete your hard drive
23:09
<heinrich5991> (programming in C/C++ is fun)
Avatar
int C; C > C++; returns true
Avatar
<heinrich5991> on your current compiler version, OS, etc.
23:11
<heinrich5991> the concept of undefined behavior is important in C/C++, you should maybe read up on it
23:11
<heinrich5991> I have a link, sec
Avatar
yeah, havent read about it
Avatar
People occasionally ask why LLVM-compiled code sometimes generates SIGTRAP signals when the optimizer is turned on. After digging in, they f...
Avatar
bookmarked
Avatar
<heinrich5991> this is from compiler writers, they know what they're talking about
Avatar
A port to opengl 3.3. I will explain what i did here. To stay in the coreprofil i used the opengl 3.3 core profile you will find here: https://www.khronos.org/registry/OpenGL/specs/gl/glspec33.core.pdf Some opengl functions (or as HMH stated some shader code) might not work, but that is due to implementation of every company. The idea was a simple port to opengl3.3 and only optimize the TileLayers since they are static. (there are more things optimizable e.g. uploading of dynamic...
23:17
first time contributor
Avatar
<heinrich5991> see above ^^
Avatar
i know nearly nothing about opengl :/
Avatar
<heinrich5991> I don't know a lot either
Avatar
time to learn :)
Avatar
<heinrich5991> nah. I'm rather going to sleep
23:25
<heinrich5991> good night :)
Avatar
good night
23:27
at least we are lucky and do not have to deal with Vulkan
Avatar
is vulkan harder than opengl?
Avatar
well, yes it is far more complicated, pretty bloated, i mean you need ~1k lines to get a damn triangle on your screen...
Avatar
as far as I understand it is lots of boilerplate code, so for two triangles you fortunately wont need 2k lines of code, I might even give Vulkan a try when Qt 5.10 is out as it will include some wrapper to reduce the ridiculous amount of code to set things up
Exported 357 message(s)