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-02-13 00:00:00Z and 2020-02-14 00:00:00Z
Avatar
00b74d2 Don't overcomplicate Success = false - def- fefcf13 Merge #2063 - bors[bot]
00:09
31ae4c4 use pid in file names of temporary files - def- 43ecec1 Merge #2061 - bors[bot]
Avatar
@heinrich5991 I'm not and didn't even see that game once, but still found it damn interesting 👍
Avatar
@deen nice, that was fast ^^
Avatar
@deen if you can make a release with that change before tourn would be awesome 🙂
Avatar
@heinrich5991 ah do you also watch speedruns of games you never even played?
Avatar
@heinrich5991CMake 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: CURL_LIBRARY_CRYPTO linked by target "DDNet" in directory /ddnet-master CURL_LIBRARY_SSL linked by target "DDNet" in directory /ddnet-master
08:53
I guess I have to install a more recent openssl version in my chroots. But the question is which one? 1.0.2 or 1.1.1? Also, if someone's system only has one, but not the other, DDNet client won't work for them, right?
Avatar
@heinrich5991 yeah, so after upgrading to 12.9 I can't run it on Linux now: ./DDNet: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
09:29
i guess many will run into this, but I don't see any way to fix this without bundling the lib
Avatar
blergh
09:37
how was this not found by me while testing :<
09:38
the solution is not to look for openssl when bundling curl
Avatar
interesting, won't we get linking errors then?
Avatar
*not look for openssl when bundling
09:39
we have our own implementation of sha256 and md5
09:39
and we don't have to link to libssl for libcurl on the target system, it knows what version of libssl to link to
Avatar
ok, can you provide a fix or is it not that simple?
Avatar
can provide fix, sec
Avatar
This prevents accidental dependence on one specific version of libcrypto.
Avatar
@deen ^
09:46
e912cc4 Don't look for libcrypto if bundling libcurl - heinrich5991 8d57627 Merge pull request #2064 from heinrich5991/pr_ddnet_unbundlecurl_openssl - def-
Avatar
nice 🙂
09:50
I was a little worried
09:50
my compilation process on the slow machine just finished 😄
Avatar
I didn't have to build from scratch
Avatar
ah, hadn't compiled in a while apparently
09:52
but great, and thanks for asking 🙂
Avatar
e912cc4 Don't look for libcrypto if bundling libcurl - heinrich5991 8d57627 Merge pull request #2064 from heinrich5991/pr_ddnet_unbundlecurl_openssl - def-
Avatar
This PR fixes build error while building DDNet for Fedora Rawhide. Build error seems like this: ``` FAILED: CMakeFiles/DDNet.dir/src/game/client/components/background.cpp.o /usr/bin/c++ -DCONF_OPENSSL -DCONF_WAVPACK_OPEN_FILE_INPUT_EX -DGLEW_STATIC -D_FORTIFY_SOURCE=2 -I/usr/include/freetype2 -I/usr/include/ogg -I/usr/include/opus -I/usr/include/SDL2 -I/usr/include/wavpack -Isrc -I../src -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexcept...
Avatar
1799edc Fix build error - ElXreno f343b38 Merge #2065 - bors[bot]
Avatar
I'm not sure how much I like this but it should be helpful
Avatar
@heinrich5991 cool video
Avatar
@heinrich5991 all abusing a bugkek
Avatar
964279a Reset quad rotation/color in damageind (fixes #2062) - def- d898776 Version 12.9.1 - def-
Avatar
There's no client so far for DDNet 0.7, right?
Avatar
There's ZillyWoods
Avatar
except for ChillerDragon's ZillyWoods
Avatar
and you can use vanilla
Avatar
I know o vanilla, but i'm planning on updating entities as some ppl know already, and I also have in plans creating new mapres/tileset, but the thing is that DDNet has 2 "engines" for displaying graphics (if I even count it correctly) and both of those display mapres ingame slightly different imo
21:59
so... will DDNet 0.7 also have like 2, so it will be 4 in total, or 0.7 will have one and only engine? xD
Avatar
what 2 engines does ddnet have?
Avatar
something that is default and OpenGL 3.3
21:59
i thought opengl 3.3 looks like default with a higher resolution
Avatar
and there's that preinit VBO that I was too lazy to search in google xd
Avatar
so you get a different rendering based on resolution anyway
Avatar
I still have in mind what was like 4 years ago where mapres looked totally different based on zoom & screen resolution so it was true hell to make triangle entities that looked correct like here:
22:01
22:01
that's why I'm asking
Avatar
i'm not planning anything for ddnet7 currently considering the player numbers
Avatar
and since OpenGL 3.3 is marked as experimential, I guess it'd be "smarter" to work on default engine of current latest client?
Avatar
ok, thanks
Avatar
ChillerDragon 2020-02-13 22:46:36Z
Does someone know why pgrep does not work with screens? https://paste.zillyhuhn.com/DS
22:47
i do not want to fallback to ps aux | grep
Avatar
ChillerDragon 2020-02-13 23:01:30Z
oh i guess the process is not called after the screen name?
Avatar
@ChillerDragon maybe script /dev/null helps
23:13
or smth like that
Avatar
ChillerDragon 2020-02-13 23:14:20Z
ah that thingy
23:14
never fully understood that
Avatar
Calling script /dev/null just makes script save the whole typescript into /dev/null which in practice means discarding the contents.
23:14
idk if its related tho
23:15
I was su'ed into a user to run a particular long running script. I wanted to use screen but I got the error message "Cannot open your terminal '/dev/pts/4' - please check." So I Googled around an...
23:15
@ChillerDragon what are u using screen for?
23:15
most of the time u can fix that by setting up a service
Avatar
ChillerDragon 2020-02-13 23:15:41Z
actually writing my own service tool lmao
Avatar
i have a python script to start my 5 tw servers
Avatar
You shouldn't need screen, init is happy to parent all services
Avatar
and a service to start stop it
23:16
systemd
23:16
:))))
Avatar
ChillerDragon 2020-02-13 23:16:16Z
i prefer my own scripts to handle my tw servers
23:16
i have 3k lines of bash to manage my tw servers lol
23:16
use python
Avatar
ChillerDragon 2020-02-13 23:16:56Z
bash > all
Avatar
3k lines of bash sounds so sad
Avatar
ur a masochist
Avatar
I actually am going to get an extra glass of whiskey
Avatar
ChillerDragon 2020-02-13 23:17:19Z
xd
Avatar
just to allow me to stop crying and sleep
Avatar
ChillerDragon 2020-02-13 23:17:34Z
i am working on tests and getting everything linted as well 😄
Avatar
tw server start. GitHub Gist: instantly share code, notes, and snippets.
23:17
i made this to manage my servers
Avatar
ChillerDragon 2020-02-13 23:18:15Z
i have like crappy implentations of package managers to download map bundles and a jobs thingy to run scripts to support the servers etc
Avatar
why are you like this?
Avatar
Out of nowhere: could someone explain to me why entities in [...]/editor/entities/ are named DDNet, FNG, Race & Vanilla, and the ones in [...]/editor/entities_clear/ are ddnet ddrace fng race vanilla? why not keep one naming scheme? ._.
Avatar
ChillerDragon 2020-02-13 23:18:58Z
its useful
Avatar
@Soreu it's because ddnet was coded by about 10 people, all of which have different ideas about how to do things
Avatar
@ChillerDragon you know what bash is useful for? to start python scripts troll
Avatar
ChillerDragon 2020-02-13 23:20:02Z
@Ryozuki do you know what python is useful for? to start bash scripts
Avatar
ughgghghgh
Avatar
If you want to cry you can take a look at src/game/server/save.cpp
Avatar
ChillerDragon 2020-02-13 23:20:17Z
i tried one project in python and ended up calling bash all over the place 😄
Avatar
oh ye save.cpp
Avatar
sql_score.cpp too
Avatar
string formatting at its best
Avatar
ChillerDragon 2020-02-13 23:20:47Z
well thats my py project
23:20
Avatar
file_score is entirely different from anything we have in the ddnet source, it's like from another project
Avatar
see python > bash
Avatar
I'm already crying at checker.png that if I understand the code correctly, sometimes is displayed as 32x32 and sometimes 16x16... and it doesn't start from where it "should" but from screen border
Avatar
ChillerDragon 2020-02-13 23:21:24Z
any solid naming plans for d7 @Learath2 ?
Avatar
which was annoying me since the very first day (edited)
Avatar
@ChillerDragon I really don't think you'll like d7 😛
Avatar
ddnet-never-happening is a fitting name 🙈
Avatar
ChillerDragon 2020-02-13 23:21:48Z
23:22
no python projects need shell but shell projects do not need python
Avatar
DDNet 0.7.<ver numbers>
Avatar
d7 is all about a fresh start
Avatar
ChillerDragon 2020-02-13 23:22:39Z
with good names
23:22
D
23:22
DDNet(7)-Server
Avatar
@Learath2 we should starti wth a clang-formatting rules and apply them always
Avatar
ChillerDragon 2020-02-13 23:22:56Z
😄
Avatar
that and a lot of things you'll complain about because it's different from 0.6
Avatar
and please lets not use allman
Avatar
maybe at 0.7 there will finally be one naming for DdNet
Avatar
dDnET
Avatar
int main() { } // better than int main() { }
Avatar
ChillerDragon 2020-02-13 23:23:30Z
ikr i want the money for my shirt back its spelled wrong lmao
Avatar
I love a very specific way of styling code
Avatar
ChillerDragon 2020-02-13 23:23:47Z
thats java style :/
Avatar
no thats modern style
23:23
used by every language
Avatar
use whatever lint will suggest xD
Avatar
golang is very c like and thats the way
Avatar
ChillerDragon 2020-02-13 23:24:06Z
lets go with int main() { }
Avatar
man u live in the 90'
Avatar
ChillerDragon 2020-02-13 23:24:15Z
😄
Avatar
everything-in-one-line ftw
Avatar
ChillerDragon 2020-02-13 23:24:30Z
and replace cmake with ./configure
Avatar
functions/classes/structs get brackets on newlines, control statements get only } on a newline, no cradling elses
Avatar
int i; for(i =0;i<10;i++);
Avatar
ChillerDragon 2020-02-13 23:24:38Z
😄
23:24
ye that loop is dope
23:24
definitions first
23:25
i do the same in bash for better scoping
Avatar
ChillerDragon 2020-02-13 23:25:28Z
local i for ((i=0;i<10;i++)) so i stays in function scope
Avatar
i always forget how to loop in bash cuz its so ugly
Avatar
ChillerDragon 2020-02-13 23:25:51Z
bash is super straightforward
23:25
i actually forgot confusing c syntax
Avatar
The indent style Stroustrup used in his book but with class/function/struct brackets on new lines is the only acceptable one
Avatar
Stroustrup is a rly hard name to pronounce
Avatar
don't @ me with that newfangled we must save the lines crap
Avatar
ChillerDragon 2020-02-13 23:26:36Z
but for real guys lets not diff from vanilla pls thanks
23:26
greenthing
Avatar
let's diff af from vanilla to make code clean
Avatar
ChillerDragon 2020-02-13 23:27:06Z
vanilla code is clean
Avatar
meaningless discusion nobody will do it
Avatar
eh, vanilla code is a little bit less messy sure, but it's by no means clean
Avatar
@ChillerDragon vanilla devs say something is bloat if u add 3 options
Avatar
ChillerDragon 2020-02-13 23:27:43Z
then clean it up
Avatar
I've been refactoring the gamecontroller for the last 5 days
Avatar
ChillerDragon 2020-02-13 23:28:00Z
jesus how many time are you going to bring that up @Ryozuki ? 😄
Avatar
it pisses me xd
Avatar
ChillerDragon 2020-02-13 23:28:11Z
i see
23:28
it was like last year
23:28
still there
Avatar
ChillerDragon 2020-02-13 23:28:29Z
back then when ppl still played 0.6
Avatar
"vanilla dev is back" yes yes sure only if u are in their circlejerk
Avatar
ChillerDragon 2020-02-13 23:29:00Z
bro ryo the sounds thing was last decade
23:29
we have 2020 now
Avatar
yes bro
23:29
Bruh
Avatar
it's the new decade, oy seems to accept everything now
Avatar
ChillerDragon 2020-02-13 23:29:28Z
ikr
Avatar
I have a feeling he didn't even review my last pr 😛
Avatar
ChillerDragon 2020-02-13 23:29:43Z
he doesnt review stuff
Avatar
he lets done do it its his slave
23:29
dune
23:29
*
Avatar
ChillerDragon 2020-02-13 23:30:02Z
because he lost access to his acc when someone hacked it
Avatar
no one even had the time to review my pr 😛
23:30
it didn't even have any comments
23:30
Cleans up some of the code duplication between server and client, a little rough on the UI side.
Avatar
ChillerDragon 2020-02-13 23:30:34Z
u only get much likes and comments when ur fame full time github influencer as me
Avatar
I guess oy trusts me ❤️
Avatar
how much followers u got chiller
Avatar
ChillerDragon 2020-02-13 23:30:47Z
and u keep sumbittin these cherrypicked typos
23:31
i stopped counting at 10
23:31
im verified
Avatar
@ChillerDragon making minecraft plugins/mods is a good way to get kids to follow you
Avatar
ChillerDragon 2020-02-13 23:31:24Z
nah
23:31
yt tuts
Avatar
I have more followers then u
23:31
nobo
Avatar
ChillerDragon 2020-02-13 23:31:49Z
all bots
Avatar
ChillerDragon 2020-02-13 23:32:06Z
all fake
Avatar
no lol
23:32
23:32
look the stats
23:32
ppl with 32 core servers lmao
Avatar
ChillerDragon 2020-02-13 23:32:52Z
Avatar
man u rly bloated ur profile with orgs
Avatar
I should download an unregistered copy of hypercam and make programming tuts with Trance - 009 Sound System Dreamscape in the background
Avatar
ChillerDragon 2020-02-13 23:33:27Z
i would sub if its tw coding
Avatar
a tw coding vid
23:33
but i dont like talking alone
23:33
to shy
23:33
otherwise i would do it
Avatar
ChillerDragon 2020-02-13 23:34:01Z
make it a lets code together
Avatar
What do you mean talking?
Avatar
ChillerDragon 2020-02-13 23:34:12Z
notepad++
23:34
no talking
Avatar
You blast Trance - 009 Sound System Dreamscape (HD) and you type on notepad instead
Avatar
ChillerDragon 2020-02-13 23:34:23Z
ye
Avatar
good old times
23:34
lets also use TTS
Avatar
Ok guys, now we call the game context function send chat target
23:34
DIUUUUUUUUUUUUUUUUUUUUU DUUUUUUUUUUUU DNNNNNNNN
Avatar
ChillerDragon 2020-02-13 23:34:59Z
childhood
23:36
listen to the music
Avatar
yes thats Trance - 009 Sound System Dreamscape (HD)
23:36
I have it on a loop in my house
Avatar
ChillerDragon 2020-02-13 23:36:36Z
part 2...
Avatar
@Learath2 https://www.youtube.com/watch?v=yz16fxm3co8 did a lot of people use this tts voice? here it was always used xd
Avatar
LOL yes
23:40
also the music 😄
23:41
only alternative to Trance - 009 Sound System Dreamscape (HD)
Exported 248 message(s)