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-18 00:00:00Z and 2022-02-19 00:00:00Z
Avatar
nothing is better than vim macros
09:02
im porting system.h docs to doxygen style docs
Avatar
chillerdragon BOT 2022-02-18 09:03:02Z
dox
Avatar
Avatar
bencie
did something get changed or am i tripping? game feels so much smoother for me for some reason
ye i stopped the bitcoin mining on your rig
kek 1
Avatar
chillerdragon BOT 2022-02-18 09:12:06Z
?xd
Avatar
CUIEx::DoEditBox is insane. Manually implemented text selection and cursor position
Avatar
its an ugly mess, bcs no focus unfocus events xd
09:41
@deen would we allow to upstream an exception handler for ddnet to automatically generate crash dumps?
09:41
(for windows)
Avatar
I implemented it anyway, bcs i want to use it for my builds i share with my friends, so i can easier debug stuff
09:50
That would be great to have, but does it mean we have to ship ReleaseWithDebugInfo?
Avatar
cant the crash report include the exact commit so we can attach debug info later?
09:51
or is that not possible
09:51
xd
Avatar
Avatar
deen
That would be great to have, but does it mean we have to ship ReleaseWithDebugInfo?
no
09:51
we just need to keep a copy of DDNet with debug symbols
09:51
i already tested it
09:52
addr2line works on the binary addresses the tool outputs
Avatar
ok, great. So I'd just build each release once with Release and RelWithDebInfos and keep that around
Avatar
i'd say build with RelWithDebInfo, as we might need different compiler flags too
09:52
like the stack pointer
Avatar
and then strip or what?
Avatar
yes
Avatar
i think packages does that anywa
Avatar
And Windows-only? I guess that's fine, most players are on Windows and Linux/macOS/BSD can use their system's coredumps and build themselves etc
❌ 1
windowsxp 1
Avatar
yeah i only tested it with windows rn
Avatar
ye its fine if its windows only
09:54
@Jupstar ✪ what about privacy
09:54
does it include some sensitive stuff
Avatar
Is it a full core dump with all memory? Then it will contain rcon pws etc
Avatar
Only tested on wine yet. I am using https://github.com/jrfonseca/drmingw We don't need to ship debug symbols, but need to keep a copy of DDNet.exe with debug symbols. Using addr2line works on the addresses printed by this tool. currently crash reports go into %appdata%/dumps (that dir seems to be rarely used anyway, but can also change to /crashlogs or smth)

Checklist

  • [ ] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in com...
09:55
the other without
Avatar
well if the report is not automatically sent to a server its fine i guess
Avatar
yeah its not
Avatar
we can jsut ask for a crash log
09:57
maybe the downloads page can include a separate file with debug symbols
Avatar
yeah that would be the best
Avatar
it would also be cool to have some docs on how to use this crash logs
09:57
together with the debug symbols
09:57
idk how to use it
09:57
xd
Avatar
addr2line -e DDNet_withsymbols.exe <addr>
09:58
AddrPC is the address to use
Avatar
DᴀʀᴋFᴏʀᴄᴇ 2022-02-18 10:01:46Z
Hi , how can i use fifo in game console (F2) I mean broadcast to all servers or something else in F2
Avatar
doxygen allows grouping functions, perfect for system.h which has everything in one place
10:02
coffee
Avatar
Avatar
Ryozuki
maybe the downloads page can include a separate file with debug symbols
Why not just always deliver the version with debug symbols? I don't think the size difference matters much
Avatar
well for me its ok
10:10
but then we cant boast about being a 50mb game
10:10
i saw ppl on steam reviews mention it positively
10:10
xd
Avatar
i dunno how well it compresses
10:15
but its around 30MB debug symbols
Avatar
I plan on documenting more stuff (in a manner that @heinrich5991 is fine with it) so i think it would be great to mention it on the readme. The docs are regenerated every 30 minutes using latest master.
10:19
02b98d6 Keep executables on Windows with symbols - def-
10:21
d8c6ca0 Use downloads/symbols directory - def-
10:22
1bb1ae8 -DEXCEPTION_HANDLING=ON - def-
Avatar
@Jupstar ✪ so I guess I need to build dr. mingw and add it to ddnet-libs
Avatar
you can also download the release directly from github
10:24
we only need the .dlls
10:25
i dunno what our policy is with ddnet-libs, but i can also do prs, when i need libs, if that's easier for you
10:26
but if you prefer to do it your own its fine too 😄
Avatar
I'm always a bit scared to add binaries someone else built
Avatar
Avatar
DᴀʀᴋFᴏʀᴄᴇ
Hi , how can i use fifo in game console (F2) I mean broadcast to all servers or something else in F2
DᴀʀᴋFᴏʀᴄᴇ 2022-02-18 10:29:22Z
@deen
Avatar
it means exposing every ddnet player to security problems from their binary building process
10:29
but on the other hand I also don't inspect the source code, so not much better 😄
Avatar
yeah xd
Avatar
Avatar
DᴀʀᴋFᴏʀᴄᴇ
@deen
Use linux, set different fifo file in each server config, then on terminal do echo "broadcast 'Hello World'" > *.fifo
Avatar
if it passes virustotal, there is atleast a huge chance that its not infected xD
Avatar
I don't trust antivirus software
Avatar
well there is generally no trust xd
10:31
as you said, open source can also lead to damage sometimes, even if not on purpose
Avatar
Avatar
Ryozuki
norton added a crypto miner, a video from my based linux youtuber https://www.youtube.com/watch?v=OsRcJJsaX_8
ok installing a anti virus is still smth different
Avatar
635aa7a Add Dr. MinGW from official distribution - def-
Avatar
added it from binary now
Avatar
oh the page also said symsrv.yes but no idea if thats really needed
10:34
well its empty
10:34
so i guess we can ignore it
10:34
probs a blocklist or smth
Avatar
Avatar
deen
Use linux, set different fifo file in each server config, then on terminal do echo "broadcast 'Hello World'" > *.fifo
DᴀʀᴋFᴏʀᴄᴇ 2022-02-18 10:42:26Z
Thanks , Works fine in terminal but when i use it on F2 nothing happens
Avatar
Can't use it on F2
Avatar
Avatar
deen
Can't use it on F2
DᴀʀᴋFᴏʀᴄᴇ 2022-02-18 10:44:09Z
There is no way to use fifo in f2 ?
10:44
fifo is an alternative way to access f2 from command line
Avatar
On MinGW, I'll fix them later: ``` /home/deen/isos/ddnet/ddnet-source/src/engine/client/backend_sdl.cpp:791:41: warning: unknown conversion type character ‘z’ in format [-Wformat=] 791 | dbg_msg("gfx", "Created OpenGL %zu.%zu context.", (size_t)g_Config.m_GfxOpenGLMajor, (size_t)g_Config.m_GfxOpenGLMinor); | ^ /home/deen/isos/ddnet/ddnet-source/src/engine/client/backend_sdl.cpp:791:45: warning: unknown conversion type character ‘z’ ...
Avatar
@Jupeyy @Robyt3 @Zwelf

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/#us...
Avatar
ᶰ°Konͧsti 2022-02-18 11:31:42Z
wtf newest DDNet is broken
11:32
there are no executeables
Avatar
what do you mean?
11:33
do you build yourself?
Avatar
ᶰ°Konͧsti 2022-02-18 11:33:52Z
11:33
no i took it from the website
11:34
linux x86-64
Avatar
weird, i see them in the tar ball
11:34
Avatar
Avatar
ᶰ°Konͧsti
Click to see attachment 🖼️
There is DDNet and DDNet-Server
11:35
those are the executables
Avatar
ᶰ°Konͧsti 2022-02-18 11:36:03Z
no they arent
Avatar
ah you cannot execute them?
Avatar
ᶰ°Konͧsti 2022-02-18 11:36:36Z
these are executeables
Avatar
DDNet: ELF 64-bit LSB pie executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=72db6f005ea49597338931c261347242a4180636, stripped Looks like an excecutable for me
Avatar
maybe the permissions are set wronglly
Avatar
ᶰ°Konͧsti 2022-02-18 11:36:50Z
when i update client i cant start it anymore
Avatar
try chmod +x DDNet
Avatar
I see the +x flag is set
Avatar
did you update ingame?
11:37
or clean from website?
Avatar
did you maybe use a different program to extract?
Avatar
ᶰ°Konͧsti 2022-02-18 11:37:16Z
i tried both
11:37
same problem
11:37
i just used unpack archive
11:37
as always
Avatar
I didn't change anything, looks the same as older versions to me.
11:38
What are those 1.cfg etc?
Avatar
ᶰ°Konͧsti 2022-02-18 11:38:15Z
these are only bind cfgs from me
Avatar
can you just open in terminal? show the output? ./DDNet
11:38
maybe u are missing a lib
Avatar
ᶰ°Konͧsti 2022-02-18 11:39:12Z
yeah it works when i open it in terminal lol
11:39
but if i press it it will just open the file again
Avatar
then i guess you somehow changed the default opening process for executables for your desktop environment
Avatar
right cllick it from the file explorer
11:39
what perms it shows?
11:39
xd
Avatar
ᶰ°Konͧsti 2022-02-18 11:40:02Z
its allowed as program ryozoozki
Avatar
what desktop do you use?
Avatar
ᶰ°Konͧsti 2022-02-18 11:44:52Z
xfce
11:45
I mean its not much of a problem to open with terminal i was just surprised why its like that now. When i download an older version it works normal
Avatar
the only difference i see is, that we now ships PIE executables
11:49
Submitted by Andrey Vihrov @andreyv Assigned to Xfce Bug Triage Link to original...
Avatar
So should we disable PIE until this is fixed?
Avatar
did we use PIE for safety reasons?
11:51
or was there a different reason
Avatar
Where is it in the source code?
Avatar
is the current version already with debian 9?
11:54
i don't see where we added it, so maybe a cmake update did it
11:56
Maybe this just happened because of Debian 9 upgrade, I don't remember changing anything explicitly
Avatar
ᶰ°Konͧsti 2022-02-18 11:59:29Z
And do we really need the live freeze on/off message? Were not telling players that they are deep also xd
Avatar
probably not
Avatar
Since you have visual indication already, as suggested by fokkonaut and Konsti

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+UBSa...
12:06
is this deen's future?
12:07
PepeA
Avatar
i also have a FreeBSD boot SSD But somehow it always laggs all 5 seconds xD
12:08
else it runs fine
12:08
DDraceNetwork (DDNet) is an actively maintained version of DDRace, a Teeworlds modification with a unique cooperative gameplay. Help each other play through custom maps with up to 64 players, compete against the best in international tournaments, design your own maps, or run your own server. The official servers are located in Germany, Poland, R...
Avatar
Avatar
Ryozuki
is this deen's future?
I think I actually started playing around with FreeBSD and Debian ~18 years ago on old Pentium dual CPU servers. But stuff never worked, at some point I figured out all the old hard disks were broken 😄
Avatar
And I used to run my router on OpenBSD on ALIX: https://www.pcengines.ch/alix.htm, was really nice
12:12
I had a Teeworlds server running on that long before DDNet too
Avatar
[quakenet] ChillerDragon BOT 2022-02-18 12:26:57Z
Is there some tool out there that turns demos into logfiles?
12:27
like with the chat and stuff
Avatar
is there also a tool out there that strips maps from demos so they take less space
12:38
9bbee70 update wiki scripts - edg-l 69accf4 Merge pull request #36 from edg-l/pr-upd-wiki-scripts - def-
Avatar
[quakenet] ChillerDragon BOT 2022-02-18 12:56:09Z
@ZombieToad actually i think there is sec
12:57
i swear heinrich built some static js site for me to fix my demos and promised me it will be up until the universe explodes but i cannot find it anymore
12:59
ah idk why its under ddnet seems generic enough to also be in teeworlds
13:00
@ZombieToad ^ here u go :)
Avatar
doesnt support my demos?
13:04
is this 0.7 only?
Avatar
0.6 > 0.7
Avatar
[quakenet] ChillerDragon BOT 2022-02-18 13:23:15Z
its 0.6 only i think
13:23
maybe thats why its in ddnet/ and not in teeworlds/ :D
13:24
@Headshot go back to school axaxaxax
13:24
(admins pls no ban for insulting headbot=
Avatar
Avatar
[quakenet] ChillerDragon
@Headshot go back to school axaxaxax
u
Avatar
ᶰ°Konͧsti 2022-02-18 13:32:21Z
headbot headbot
headbot 2
Avatar
:konsti:
konsti 2
Avatar
Avatar
[quakenet] ChillerDragon
its 0.6 only i think
i tried it with 0.6 ddnet demos and it doesnt work
Avatar
4330ff8 Add exception handling for Windows - Jupeyy 42373ca exception_handling -> drmingw - def- a2db10d Set -fno-omit-frame-pointer - def- aaec807 Disable invalid cast warning in set_exception_handler_log_file - def- b793e1e Merge #4729 - bors[bot]
Avatar
...
15:13
why don't you update mods other than DDrace
15:13
modes*
15:13
ok
Avatar
Avatar
Deleted User
why don't you update mods other than DDrace
why dont you update them
Avatar
Avatar
ZombieToad
why dont you update them
Ok
15:15
add 4 team fng
15:15
and 4 team ctf
15:18
Player can take 2 flags
Avatar
ᶰ°Konͧsti 2022-02-18 15:59:04Z
This is DDNet. A selfstanding modification in an open source game. Everyone can take part in updating mods. For fng u may ask noby
Avatar
ok..
Avatar
Avatar
ᶰ°Konͧsti
This is DDNet. A selfstanding modification in an open source game. Everyone can take part in updating mods. For fng u may ask noby
based BASED
Avatar
Avatar
Deleted User
add 4 team fng
already told ya 4 team fng exists xd
16:16
it just sucks and nobody plays it
Avatar
you can drag the empty tile from switch layer and it works as switched tile but its not displayed yet.
Avatar
bc0bf4e No chat messages for live freeze - def- 501364c Merge #4734 - bors[bot]
Avatar
i started making a "smart team specator" where it changes who you spec based on a scoring system e.g, if someone is frozen it gets -50 score so it prioritises others who arent
18:35
and maybe its smart enough that u can leave it there and it spectates the most relevant players automatically
18:36
(only for teams)
Avatar
yeah or like players with most actions per second
Avatar
so botters justatest
19:00
still happening @deen
Avatar
Avatar
Ryozuki
i started making a "smart team specator" where it changes who you spec based on a scoring system e.g, if someone is frozen it gets -50 score so it prioritises others who arent
will there be a cooldown for when it switches? because i can already think that two players are going to be just as active and the smart spec is going to constantly switch between the two without deciding who's doing more action
Avatar
Make a spec that looks at the most average position. So on 2 player teams it's always between both tees. Also automated zooming so all tees are visible. Mix that with cinematic cam and U got a epic viewing experience
Avatar
ye that would be cool
19:49
@Im 'corneum but in some parts players are simply too far
Avatar
headshot already made that
Avatar
ᶰ°Konͧsti 2022-02-18 19:53:05Z
headbot
19:53
headbot
Avatar
another client already has that
Avatar
so if another client has it we cant do it
20:00
pack it up boys
20:00
fuckyousnail
Avatar
i dont think acqwerty meant that
Avatar
when add menu button sound effect
Avatar

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://github.com/ddnet/ddnet/#using-addresssanitizer--u...
23:48
he say an error at the '7' who can help me pls
23:48
or send me the cmakelist
23:48
without error
Exported 228 message(s)