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 2021-04-30 00:00:00Z and 2021-05-01 00:00:00Z
Avatar
because why not. definitely not because this have been triggering my anxiety everytime I spawn out of nowhere like a ghost

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 m...
Avatar
20dbd20 Avoid spawn effect being clipped - TsFreddie 010c66c Merge #3796 - bors[bot]
Avatar
how can i know if a jump is possible or not ?
Avatar
[quakenet] SSS BOT 2021-04-30 09:24:20Z
hello
Avatar
[quakenet] deen BOT 2021-04-30 09:24:26Z
hi
Avatar
[quakenet] SSS BOT 2021-04-30 09:24:37Z
do you use quakenet in browser or in client?
Avatar
[quakenet] deen BOT 2021-04-30 09:24:45Z
irssi client
Avatar
[quakenet] SSS BOT 2021-04-30 09:25:10Z
is it possible to make teeworlds client with quakenet in it?
Avatar
[quakenet] deen BOT 2021-04-30 09:25:27Z
yes, there were some clients that had that
09:25
but i don't think it's a good idea
Avatar
[quakenet] SSS BOT 2021-04-30 09:25:38Z
why?
Avatar
[quakenet] deen BOT 2021-04-30 09:25:50Z
just use a chat program, don't put all functionality into DDNet client
Avatar
[quakenet] SSS BOT 2021-04-30 09:26:53Z
True, last question
09:26
who owns teeworlds?
Avatar
Rhai - An embedded scripting language for Rust. Contribute to rhaiscript/rhai development by creating an account on GitHub.
10:37
actually interesting
10:38
you can even forbid keywords or extend it
10:38
For those who actually want their own language
>
Use as a DSL. Restrict the language by surgically disabling keywords and operators. Define custom operators. Extend the language with custom syntax.
Avatar
These svgs where originally created for the ddnet-wiki.gitlab.io website. They are easy to update and modify:
  • No external javascript dependencies: While the script uses javascript
to display the explanation text, it doesn't need to load jquery
  • png-graphics are embedded into the svg: this makes distributing the svg easier, since downloading/copying the file is enough
  • easily updateable: running ./update_explain_layers.py --ddnet path/to/ddnet-repository ...
Avatar
🤔 is there a battle royal game for coding?
14:29
battle royale*
Avatar
what would that be?
Avatar
i hate macos
16:51
my mac updated recently and it started to treat src/engine/external/pnglite/version as a source file for some reason
Avatar
we explicitly list source files in our cmakelists.txt
17:00
how does it end up getting compiled?
Avatar
Would it be possible to ship SDL for the Steam binary with Wayland support?
17:00
Or is it limited by the Steam Runtime or something?
17:01
https://steamdb.info/depot/412225/ I guess it's already shipping it's own SDL (edited)
Steam Database record for depot DDraceNetwork Linux x86_64 (DepotID or AppID: 412225)
Avatar
Avatar
heinrich5991
how does it end up getting compiled?
that's exactly what i'm wondering.
17:05
both teeworlds and ddnet are affected.
Avatar
From Discord:
[7:00 PM] Scrumplex: Would it be possible to ship SDL for the Steam binary with Wayland support? [7:00 PM] Scrumplex: Or is it limited by the Steam Runtime or something?
Avatar
Sdl supports Wayland. But you need xwayland bcs egl only supports EOGL in SDL apparently
Avatar
f46e303 Add donation by just god - def-
Avatar
anyone uses wayland here?
19:46
would be nice if someone could set a breakpoint here https://github.com/ddnet/ddnet/blob/master/src/engine/client/backend_sdl.cpp#L4368 and tell me the value of s_SDLGLContextProfileMask I want to know if SDL lets you easily detect if the default API request is GLES or OGL
Avatar
@Scrumplex or @nori ^ would be nice if you could check it
Avatar
sure
Avatar
@Deleted User [2021-04-30 22:44:14][sdl]: SDL version 2.0.14 (compiled = 2.0.14) Thread 1 "DDNet" hit Breakpoint 1, CGraphicsBackend_SDL_OpenGL::Init (this=0x555555b07f80, pName=0x5555557d59c4 "DDNet Client", Screen=0x555555a29264 <g_Config+3876>, pWidth=0x555555a29268 <g_Config+3880>, pHeight=0x555555a2926c <g_Config+3884>, FsaaSamples=0, Flags=1, pDesktopWidth=0x7ffff4a9e028, pDesktopHeight=0x7ffff4a9e02c, pCurrentWidth=0x7ffff4a9e020, pCurrentHeight=0x7ffff4a9e024, pStorage=0x555555ad8910) at /home/scrumplex/ddnet/src/engine/client/backend_sdl.cpp:4368 4368 if(g_Config.m_GfxOpenGLMajor == 1) (gdb) p (int) s_SDLGLContextProfileMask $1 = 0 (gdb) (edited)
20:45
looks meh if you ask me
20:46
malloc_consolidate(): unaligned fastbin chunk detected --Type <RET> for more, q to quit, c to continue without paging-- Thread 1 "DDNet" received signal SIGABRT, Aborted. 0x00007ffff6ddcef5 in raise () from /usr/lib/libc.so.6 (gdb) bt #0 0x00007ffff6ddcef5 in raise () at /usr/lib/libc.so.6 #1 0x00007ffff6dc6862 in abort () at /usr/lib/libc.so.6 #2 0x00007ffff6e1ef38 in __libc_message () at /usr/lib/libc.so.6 #3 0x00007ffff6e26bea in () at /usr/lib/libc.so.6 #4 0x00007ffff6e27c94 in malloc_consolidate () at /usr/lib/libc.so.6 #5 0x00007ffff6e284a0 in _int_free () at /usr/lib/libc.so.6 #6 0x00007ffff6e2bca8 in free () at /usr/lib/libc.so.6 #7 0x00005555557a0237 in CHeap::Clear() (this=0x555555a210b0 <gs_Voting+16>) at /home/scrumplex/ddnet/src/engine/shared/memheap.cpp:71 #8 0x00005555557a0191 in CHeap::~CHeap() (this=0x555555a210b0 <gs_Voting+16>, __in_chrg=<optimized out>) at /home/scrumplex/ddnet/src/engine/shared/memheap.cpp:53 #9 0x00005555556da101 in CVoting::~CVoting() (this=0x555555a210a0 <gs_Voting>, __in_chrg=<optimized out>) at /home/scrumplex/ddnet/src/game/client/components/voting.h:12 #10 0x00007ffff6ddf697 in __run_exit_handlers () at /usr/lib/libc.so.6 #11 0x00007ffff6ddf83e in () at /usr/lib/libc.so.6 #12 0x00007ffff6dc7b2c in __libc_start_main () at /usr/lib/libc.so.6 #13 0x000055555557a3de in _start () (gdb)
Avatar
doesnt even start at all
20:46
WTF
20:46
lol
Avatar
yeahj
20:46
bcs wayland uses EGL, which doesnt really support opengl with SDL
20:47
thats why i need a way to detect if opengl es is requested on runtime
20:47
so we dont need to ship 2 exe
20:48
but since the value is 0, SDL doesnt seem to help me with that, so we could e.g. only do a if video driver == wayland patch, which i dont really like
Avatar
wtf i cant get it to run at all
Avatar
u need xwayland @Scrumplex
21:10
without it, it wont work, bcs opengl works differently to GLES, it loads all functions at runtime
Avatar
env SDL_VIDEOBACKEND=x11 ./DDNet
21:10
works with the steam binary
21:10
aborts with the above trace
Avatar
SDL_VIDEODRIVER ?
Avatar
yeah thats the one
21:13
(clipboard with Steam via XWayland is weird)
21:13
ok that one works :D
Avatar
[quakenet] fokkonaut BOT 2021-04-30 22:05:15Z
ChillerDraogn:
22:05
ChillerDragon:
22:05
i need you on wire
Avatar
Please, its important
Avatar
I know i **ed up, that i didnt move the files in a different commit, but when i noticed it was already too late. Its mostly disabling stuff that GLES doesn't support. Global LOD bias or glOrtho for examlpe. Strong note***: This will move ALL linux implementation to GLES instead of GL, since GLES is supported by X11 and wayland, we probably want some testing for this. This also means, that the default for Linux gets GLES 3.0 which is equivalent to OpenGL 3.3, not OpenGL 3.0!!! I...
Avatar
@Scrumplex if you want to test ^ in theory this should work without xwayland i guess(atleast the startup etc.). If it crashes at runtime it might be some X11 code we call 😄
Exported 69 message(s)