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-03-24 00:00:00Z and 2022-03-25 00:00:00Z
Avatar
that's weird, clang and gcc disagree on the shadowing/shadowed variables, yet they read the same headers
Avatar
Get rid of all the shadowing that was reported by both gcc and clang. How both compiler can not see the same though they include same headers is a mystery.

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 ph...
Avatar
that should be my last one for the moment 😉
Avatar
Updated french translation in agreement with T tee

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:/...
Avatar
eb9b78e A Short And Precise 5 - ddnet-maps
07:29
ab33372 Update Chinese translations by cheeser0613 - def- eb3e472 Merge pull request #4875 from def-/pr-chn0322 - Jupeyy
07:50
from https://github.com/Jupeyy/drmingw/actions/runs/2032792037 Thanks Jupeyy

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...
Avatar
i made the best skin renderer (requires firefox & only tested on linux xd) (with dom.postMessage.sharedArrayBuffer.bypassCOOP_COEP.insecure.enabled true) <-- disable this again after testing https://aliveclan.de/ddnet/DDNet.html (edited)
Avatar
Uncaught TypeError: Module.printErr is not a function
Avatar
try firefox developer/nightly edition
Avatar
ye im using that
Avatar
webgpu on?
07:55
oh webgpu is off
Avatar
i have webgl.disable-angle true webgpu true
Avatar
Avatar
Ryozuki
Click to see attachment 🖼️
i use the same version
Avatar
still same error
Avatar
restarted?
07:56
ok but your setup is also broken as we seen yesterday xddd
07:56
does this work?
Avatar
my setup is fixed
07:57
07:57
hm
07:57
it reports the wrong renderer
07:57
r9 200 series
07:57
xd
Avatar
mine too
07:57
mhh what do i do different xd
Avatar
module.printerr is missing
07:57
xd
07:57
fix it
Avatar
i dont have that error xD
Avatar
u should have made it in rust
07:58
im sure it would work
07:58
already
07:58
greenthing
Avatar
it works 😉
Avatar
Uncaught TypeError: Module.printErr is not a function setStatus https://aliveclan.de/ddnet/DDNet.html:1288 onprogress https://aliveclan.de/ddnet/DDNet.js:119
Avatar
yeah
07:59
but thats bcs we have a difference in our browser
07:59
konqeror (kde browser) also works for me
07:59
dom.postMessage.sharedArrayBuffer.bypassCOOP_COEP.insecure.enabled true
07:59
try that
08:00
do u have webrender
08:00
enabled?
08:00
gfx.webrender.all
08:00
i got it off
Avatar
me2
08:00
i bet its dom.postMessage.sharedArrayBuffer.bypassCOOP_COEP.insecure.enabled
08:01
xd
Avatar
bf00e73 Updated french translation - Chairn 4be3fb9 Merge #4882 - bors[bot]
Avatar
gotta see, SDL2 is still a bit buggy with pthreads
08:01
it worksn ow
08:01
well
Avatar
nice
Avatar
"downloading data"!
Avatar
thats ok
08:01
my vps is slow
Avatar
im playing ddnet on the browser
08:01
xd
Avatar
xd
Avatar
yeah i disabled internet for now
08:02
u know, websockets
08:02
annoying
08:02
but best skin renderer xD
08:02
dom.postMessage.sharedArrayBuffer.bypassCOOP_COEP.insecure.enabled
08:02
ths doesnt sound secure
08:02
xd
Avatar
yeah just disable again
08:02
i only use firefox dev edition for dev xD
08:03
i wonder why konqueror works tho xD
08:03
chrome also doesnt work
Avatar
chrome bad
Avatar
but its nice that emscripten works so well
08:03
the code changes to ddnet are very small
Avatar
(if u ignore the scripts, the actual source code changes are small)
Avatar
does emscripten us web workers
08:06
Web Workers are a simple means for web content to run scripts in background threads. The worker thread can perform tasks without interfering with the user interface. In addition, they can perform I/O using XMLHttpRequest (although the responseXML and channel attributes are always null) or fetch (with no such restrictions). Once created, a worker...
08:06
for threading?
08:06
xd
Avatar
yeah
Avatar
but without sharedarraybuffers it currently wont work
Avatar
i think the option can stay disable when i enable PROXY_TO_PTHREAD but then SDL2 is broken xD
Avatar
c4d0a7a Update ddnet-libs with drmingw - def- 92aeddd Merge #4883 - bors[bot]
Avatar
@Ryozuki now it always works 😮 https://aliveclan.de/ddnet/DDNet.html just had to change the apache config to send a header to disallow cross origin sharedarraybuffers 😄
Avatar
xd nice
Avatar
I have an Intel i5-6200U CPU and that should have Vulkan support https://www.techsavvy.de/prozessoren/intel_core_i5-6200u/. I am on Arch Linux 5.16.12-arch1-1 and have installed vulkan-intel. In the nightly DDNet version I still have only OpenGL 3.0.0 to choose from. Does anyone have any idea why this is the case?
Hier finden Sie alle wichtigen Daten & Fakten zum Intel Core i5-6200U Prozessor. Spezifikationen ✓ Funktionen ✓ Spieletauglichkeit ✓
Avatar
self compiled?
Avatar
Avatar
c0d3d3v
I have an Intel i5-6200U CPU and that should have Vulkan support https://www.techsavvy.de/prozessoren/intel_core_i5-6200u/. I am on Arch Linux 5.16.12-arch1-1 and have installed vulkan-intel. In the nightly DDNet version I still have only OpenGL 3.0.0 to choose from. Does anyone have any idea why this is the case?
also isnt there atleast opengl 3.3 too?
Avatar
I tested both self compiled and the binary from the PR
11:46
11:49
Actually installed is opengl 4.6
11:49
❯ glxinfo | grep OpenGL OpenGL vendor string: Intel OpenGL renderer string: Mesa Intel(R) HD Graphics 520 (SKL GT2) OpenGL core profile version string: 4.6 (Core Profile) Mesa 21.3.7 OpenGL core profile shading language version string: 4.60 OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile OpenGL core profile extensions: OpenGL version string: 4.6 (Compatibility Profile) Mesa 21.3.7 OpenGL shading language version string: 4.60 OpenGL context flags: (none) OpenGL profile mask: compatibility profile OpenGL extensions: OpenGL ES profile version string: OpenGL ES 3.2 Mesa 21.3.7 OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20 OpenGL ES profile extensions:
Avatar
Avatar
Jupstar ✪
@Ryozuki now it always works 😮 https://aliveclan.de/ddnet/DDNet.html just had to change the apache config to send a header to disallow cross origin sharedarraybuffers 😄
nice
Avatar
Avatar
c0d3d3v
I tested both self compiled and the binary from the PR
and have u tried to click on opengl 3.0.0?
11:52
it should open a popup
11:54
maybe we need a little popup icons like website do it, so its less confusing xDD
11:55
dropdown*
Avatar
Avatar
Jupstar ✪
dropdown*
lol O.o I thought from the screenshot the list is always visible. xD yes if I click it vulkan is also visible
Avatar
I still only get 60 fps (no matter if vulkan or opengl) seems to be some limitation on my system. I used to have more fps, no idea what happened then. Probably a wrong configuration in my system.
Avatar
!image

Checklist

  • [x] Tested the change ingame
  • [x] 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...
Avatar
Avatar
c0d3d3v
I still only get 60 fps (no matter if vulkan or opengl) seems to be some limitation on my system. I used to have more fps, no idea what happened then. Probably a wrong configuration in my system.
turn off vsync xd
Avatar
Ah I see 😄 thanks
12:11
at least above 100 fps (I have set the update rate to infinite) 😄 If I just close ddnet abruptly with Alt+F4 then it takes a long time to close and I get the following output: /usr/include/c++/11.2.0/bits/stl_vector.h:1045: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) [with _Tp = std::vector<CCommandProcessorFragment_Vulkan::SRenderCommandExecuteBuffer>; _Alloc = std::allocator<std::vector<CCommandProcessorFragment_Vulkan::SRenderCommandExecuteBuffer> >; std::vector<_Tp, _Alloc>::reference = std::vector<CCommandProcessorFragment_Vulkan::SRenderCommandExecuteBuffer>&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]: Assertion '__n < this->size()' failed. [1] 24548 IOT instruction (core dumped) DDNet If that was not yet known I can also look with UBSAN what that outputs.
Avatar
do you do smth special?
12:12
i tested stuff like that with tsan, asan etc. so its not yet known
Avatar
Nope also happens If I do it not in game but in menu.
Avatar
Hey, why did u guys made that "Desktop fullscreen" option in the gfx_fullscreen ? Is it for mac users that were blocked without that option, or other important reasons ?
Avatar
bcs multi monitor users requested a mode that doesnt minimize
12:18
windowed fullscreen e.g. is different, bcs it forces windows internal vsync
Avatar
@Jupstar ✪ if one is always better than the other should we maybe merge them under the same name?
Avatar
windowed fullscreen was explicitly requested
❤️ 1
12:19
OS: Windows 10 Pro 20H2 Client version: 15.8.1-win64 Radeon software version: 22.1.1 Every time I launch client in windowed mode: gfx_screen_height resets to 1421, despite the value 1440 in setting...
12:20
its also not comparable to bordleress window that uses the fullscreen
12:20
windowed fullscreen uses Windows' dxgi component somehow(dont ask me why and how, but thats the state of art)
Avatar
Avatar
c0d3d3v
Nope also happens If I do it not in game but in menu.
mh weird stuff
12:27
maybe a stacktrace for all threads can help understanding the problem
Avatar
252110a Support uppercase commands for /r and /w - def- b1e88dd Merge #4872 - bors[bot]
12:37
Starting the game in "Fullscreen" or "Desktop fullscreen" and switching to "Windowed" will result in a window with no decorations, no border. Starting the game in "Windowed borderless" and switching to "Windowed" will give borders but the new title will lack the icon for the client. !image vs ![image](https://user-images.githubusercontent.com/490500/159917660-acb73e5f-cc4c-4bd0-9ddb-58...
Avatar
Avatar
Jupstar ✪
mh weird stuff
Happens even with normal close 😄 had not tried that. I will debug it later.
Avatar
@Jupstar ✪ if the windowed borderless vs windowed fullscreen vs desktop fullscreen is confusing to me, I think it's overwhelming for a normal person just used to seeing "Windowed", "Windowed borderless" and "Fullscreen" in their options from other games
Avatar
Avatar
Learath2
@Jupstar ✪ if the windowed borderless vs windowed fullscreen vs desktop fullscreen is confusing to me, I think it's overwhelming for a normal person just used to seeing "Windowed", "Windowed borderless" and "Fullscreen" in their options from other games
i didnt invent windows weirdness
Avatar
Could you maybe summarize all options so we can atleast document them somewhere and maybe give some guidance on best practice?
Avatar
i did that a few times yesterday and today
Avatar
What is the option I should pick if I want what I'm used to as "Borderless" from other games?
Avatar
that depends on if u want smooth fps or not
12:44
smooth fps, then desktop fullscreen else windowed fullscreen
Avatar
Can windows render above "desktop fullscreen"? That is is it suitable for IME users?
Avatar
no
12:45
windowed fullscreen maybe, i cannot test it tho
12:46
lmao
12:46
windows vm xd
Avatar
server browser counts dummy as player,Is it intended or is it a bug?
12:48
like, you see serv with 8 players, but there are only 4 actually, the rest are dummys
Avatar
747dc1b Add note about gmock version (fixes #4853) - def- 07a95c2 Merge #4874 - bors[bot]
Avatar
@Learath2 Windowed = A window that is part of the WM eco system Borderless = A window that is either part of WM eco system, or with fullscreen resolution implementation dependent (e.g. Windows does fullscreen optimizations for screens that block the full window(might be disabled by rightclick->properties->compability->fullscreen optimizations), KDE does not allow this in borderless) Windowed fullscreen = A special mode to allow fullscreen, but act like "Windowed" Desktop fullscreen = use desktop video mode(this should normally act like fullscreen just without minimize). This is also nativly supported by SDL for easier window managment if you dont care to request video modes etc. Fullscreen = exclusive fullscreen. for true gamers xdd
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 12:54:45Z
/
12:54
ops
Avatar
rm -R /
12:55
xd
Avatar
Avatar
Jupstar ✪
@Learath2 Windowed = A window that is part of the WM eco system Borderless = A window that is either part of WM eco system, or with fullscreen resolution implementation dependent (e.g. Windows does fullscreen optimizations for screens that block the full window(might be disabled by rightclick->properties->compability->fullscreen optimizations), KDE does not allow this in borderless) Windowed fullscreen = A special mode to allow fullscreen, but act like "Windowed" Desktop fullscreen = use desktop video mode(this should normally act like fullscreen just without minimize). This is also nativly supported by SDL for easier window managment if you dont care to request video modes etc. Fullscreen = exclusive fullscreen. for true gamers xdd
Want to add those as tooltips with Ryozuki's change?
Avatar
yeah should probs do that 😄
Avatar
Hello, I'm getting an error while I going to add new file to client/components folder so I added my file and also add that to gameclient.h but i'm getting error like blow, object of abstract class type "CDropweapon" is not allowed pure virtual function "CComponent::Sizeof" has no overrider
Avatar
Seems IMEs can only render on top of "Windowed fullscreen". Thanks for explaining them
13:10
Borderless at full desktop resolution seems to have some windows special sauce indeed which prevents things from being rendered on top of it
13:10
but at any other resolution IMEs can render on top of borderless aswell
13:11
And our IME support seems quite nice now, I'm nicely surprised 😄
Avatar
yeah, its kinda weird 😄 windows needs some way to just disable the compositors vsync, that would solve all our issues xd
Avatar
Avatar
Learath2
And our IME support seems quite nice now, I'm nicely surprised 😄
nvm backspace absolutely breaks it
Avatar
in menu or also ingame?
Avatar
only ingame, seems a buffer is left unclean
13:13
in menu it works fine
Avatar
ok, then should defs fix it
13:13
other way around would be more acceptable
Avatar
same issue in f1, f1 and chat are broken
13:13
menu is completely fine
13:14
I'll create an issue
Avatar
we have nobody to fix it sadly
Avatar
@TsFreddie will fix it :3
Avatar
robyte and tsfreddie dont really seem to be intereseted
Avatar
I might give it a go myself if no one wants it
Avatar
nice
Avatar
Maybe an issue with text input length not matching actually, anyway, I'll leave it up for a bit see if maybe any of our resident IME people take it up 😄
Avatar
hehe
Avatar
Also seems we misreport the position of our text box, but I bet most asian people have already gotten used to the IME just appearing in a random corner
Avatar
xd
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 13:49:36Z
is it possible that turning on vulkan causes crashes or is that my bot client?
Avatar
i could swear u already asked that yesterday 😄 its defs possible
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 13:50:29Z
yes similar wonderings new crashes tho
Avatar
i only tested the backend for like 1 month, and the only other person also testing it was mind 😄
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 13:50:44Z
oke lemme alpha test for u babe
Avatar
just show crashlog and we'll see
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 13:50:51Z
its not release yet is it?
13:50
lets see if i can reproduce
Avatar
yeah not released yet 😄 only RC
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 13:51:14Z
i can
Avatar
the game runs weird when I use vulkan with the visual studio debugger but seems fine in release mode
Avatar
ui
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 13:52:08Z
I use Arch BTW
Avatar
xd
13:52
u use nvidia thats also good to know
Avatar
Avatar
Smetanolub
server browser counts dummy as player,Is it intended or is it a bug?
because a dummy takes a slot
13:52
so you can consider it as a player
Avatar
chillerdragon, are you resizing or smth?
Avatar
Avatar
ReiTW
because a dummy takes a slot
why it takes a slot btw?
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 13:52:52Z
my dummy has feelings so its considered humanlike
Avatar
it is like if you have two players connected tho
Avatar
what do you do before it crashes?
13:53
random?
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 13:53:05Z
@Jupstar ✪ i jon multimapless and walk 10 tiles
Avatar
for the server
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 13:53:09Z
zoom
13:53
tab
Avatar
ok thanks
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 13:53:13Z
shoot
13:53
usualy vibin stuff
Avatar
u have modern nvidia?
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 13:53:26Z
I use Arch BTW
13:53
or wat u mean
Avatar
what nvidia
13:53
u have
13:53
rtx 4090
13:53
700 watt
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 13:53:40Z
13:53
super old
Avatar
980 ok thanks
13:54
but will defs look into it
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 13:54:23Z
thanks babe
13:54
if u need anything tell me
Avatar
ok
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 14:00:07Z
seems to happen in game only (not in menu or browser) after about 20-40 seconds of doing whatever
Avatar
weird af
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 14:00:57Z
and i can reproduce with vanilla ddnet :D
Avatar
i dunno if nvidia ships validation layers else try ./DDNet "dbg_gfx 4"
14:01
oh
14:01
normally nvidia drivers are really good
14:01
but gtx 980 is really old
14:01
so hard to say what could be the problem xd
14:02
want me to buy new gpu?
Avatar
xd
Avatar
only true people uses freebsd pepoBagar
Avatar
i'd rather understand the problem, but sadly no validation layers enabled
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 14:02:58Z
vali wat
14:03
the ddoser?
Avatar
? xd
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 14:03:20Z
idk wat a vali layer is
Avatar
validation layer
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 14:03:28Z
i dont speak vulkan
Avatar
xd
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 14:03:32Z
nerd
Avatar
to validate your code
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 14:03:40Z
is this some scifi language?
Avatar
yes
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 14:03:50Z
from starship enterprise?
Avatar
btw what is your driver version?
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 14:03:52Z
the vulkans?
Avatar
do u install yourself?
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 14:03:58Z
how to check
Avatar
from nvidia.com?
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 14:04:01Z
i compiled my self
14:04
xd
14:04
nah jk
Avatar
the driver?
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 14:04:12Z
i just installed some nvidia from pacman
Avatar
ah ok
14:04
is arch using latest nvidia drivers always?
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 14:04:30Z
5 extra/nvidia 510.54-9 (27.5 MiB 27.5 MiB) (Installed)
Avatar
sounds relativly new
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 14:04:51Z
it can do rendering already
14:04
that i can tell
Avatar
can u try gfx_render_thread_count 1 -> restart -> to force single threaded vulkan
14:05
can i also start with gfx_render_thread_count 1 ?
14:05
i dont get the restart part
Avatar
yes
14:06
bcs most ppl arent cool terminal kids xd
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 14:06:26Z
now my screen turned pink
Avatar
its ok
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 14:06:37Z
prank
14:06
it didnt
14:06
same crash
Avatar
ok MHHHHHHHHHHH
14:07
can u easily downgrade on arch?
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 14:07:25Z
want some coredump?
14:07
downgrade nvidia
14:07
no thats a pain xd
14:07
last time i checked it was a pain
14:08
but i think i can switch to lts kenrel plus nvidia lts
14:08
ou boi im gonna brick my system
Avatar
then dont do it xd
Avatar
@Jupstar ✪ What is the difference between WRAP_CLAMP and WRAP_REPEAT. When does this become noticeable?
Avatar
i think i found the issue
14:10
thanks chillerdragon
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 14:10:40Z
pro
14:10
how u so smart
Avatar
fucking copy&paste errors always kill me xD
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 14:10:56Z
do you wear coding socks?
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...
14:15
u on 4k chillerdragon?
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 14:15:08Z
yes
Avatar
ah
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 14:15:12Z
42 sec in
14:15
lgtm
Avatar
thats why u got it so ez
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 14:15:23Z
ALMOST 1 MINUTE
14:15
omagawd i think u fixed it pro
Avatar
yeah thanks for finding these stupid bugs xD
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 14:16:06Z
thanks for fixing those!!!!!!!!!!!!!!!
14:16
pog
14:17
have you considered rewriting the graphics backend in shell to avoid crashbugs?
Avatar
maybe this also fixes the crash for @bencie and others (hopefully it all was this crash xD)
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 14:17:24Z
that would be pog
Avatar
good idea
14:18
i'd love to see a translation library for vulkan to webgpu
14:19
then we have epic fps in browser xddd
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 14:21:12Z
isnt step 0 to have a browser client?
Avatar
we have xdd
14:21
but it doesnt support UDP
14:21
and curl doesnt support websockets
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 14:21:34Z
ah that one
Avatar
so currently no internet
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 14:21:46Z
isnt it super deprecated and old
14:21
here test out
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 14:21:52Z
the one by east eee something like that?
Avatar
no
14:21
its current client
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 14:22:03Z
powered by emscripten
14:22
cringe watermark
Avatar
the one from eee also uses emscripten, but since then it evolved
14:22
i didnt add any javascript myself
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 14:22:42Z
so its activley maintained?
14:22
by who where
Avatar
thats the point
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 14:22:56Z
and why is it so ugly xd
Avatar
its almost upstream DDNet code
14:23
since we have GLES 3 code which is alsmost webgl2 we dont need any hack
14:23
SDL2 works out of the box
14:23
how is it ugly
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 14:23:31Z
fullscreen is black xd
Avatar
chrome?
14:23
firefox works for me
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 14:23:43Z
omg i lost my 3rd monitor xd
Avatar
chrome is black for me too
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 14:23:46Z
im on firefox
Avatar
strange
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 14:24:20Z
aaa ctrl+t
14:24
to gain back control xd
14:24
are you associated with the alive clan?
14:24
isnt that the fng gang?
14:25
omg its german website
Avatar
yes i am leader xd
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 14:28:32Z
so where ddnet web code
14:28
and why is there this watermark -.-
Avatar
u can also use custom html
14:28
i just chose the one from emscripten bcs i was too lazy xD
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 14:29:02Z
so why u dont
Avatar
and it has some features
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 14:29:08Z
i noticed
14:29
but not worth the overallfeeling
14:29
14:29
i feel humiliated
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 14:29:51Z
ou
14:29
5hrs ago
14:29
its brand new!?
Avatar
u need to compile all libs but freetype requires zlib and i havent finished that yet
14:30
yes i did it yesterday mostly
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 14:30:14Z
it still runs tho
14:30
when pr against ddnet
Avatar
its nice for map preview
14:30
when i finish the zlib module
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 14:30:35Z
how do u load maps
Avatar
not decided yet
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 14:31:09Z
u make my web editor look bad xd
Avatar
xd
14:31
editor can already be used btw
14:31
but no way to save permament rn xD
14:31
i really just wanted it to compile and run
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 14:32:04Z
when i save
14:32
do i get code execution on ur vps?
Avatar
no
14:32
its webasm
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 14:32:33Z
so its in my downloads folder?
14:32
xd
Avatar
i dunno if webasm even has anything like a filesystem
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 14:32:55Z
/home/web_user
Avatar
quite possible it just gets emulated
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 14:33:12Z
honeypot
14:33
but cool
14:33
gj
Avatar
as said its not really made for IO, a map preview that isnt buggy like the one on ddnet.tw would already be nice
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 14:34:00Z
why delete adroid things tho
Avatar
i didnt delete
14:34
i moved them
14:34
and merged in 1 script
14:34
i'll reduce the diff when i pr it
14:35
the script is genreally nice to compile the libs
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 14:35:12Z
ofc its nice
Avatar
ez to extend it for windows too
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 14:35:15Z
its shell
Avatar
then i can compile libs myself ez xd
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 14:36:12Z
why do you capitalize all your local variables?
Avatar
i dunno
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 14:36:42Z
capitalized is for global env vars
Avatar
feels more correct to me in script languages xd
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 14:36:45Z
exported crap
14:36
no
Avatar
we do it in cmake too
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 14:37:01Z
its not script lang
Avatar
why not
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 14:37:08Z
its pro lang
Avatar
ez
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 14:40:39Z
btw /register command not found
14:40
scam server
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 14:49:10Z
yo jupstar wat renderer you recommend btw?
14:49
reason i tested vulkan at all is i occasionally get some glitchy lines wondering my horizontals
14:49
is opengl 3.3 better than 3.0 if it runs?
Avatar
54e8b64 Don't render tees or nameplates offscreen - sjrc6 abaf216 Seperate hook collision line from player rendering - sjrc6 5c29456 Improve nameplate boundary and clarify comments - sjrc6 309283d Merge #4870 - bors[bot]
Avatar
Avatar
Jupstar ✪
normally nvidia drivers are really good
kappa kappa rekappler
Avatar
Avatar
[quakenet] ChillerDragon
is opengl 3.3 better than 3.0 if it runs?
3.3 should perform better than 3.0, VK performs better than both iirc, all except 1.x render correctly
Avatar
Lumpy ◐ω◑ 2022-03-24 15:41:21Z
so I have a question about one bug (feature?). If you press A/D and go in spec, when you unspec you're still 'pressing' A/D, but if you press enter (to enter the chat) and then enter again to close the chat, you'll 'release' A/D. My fellow tee friend found, that if you remove this ResetInput call in src/game/client/components/controls.cpp, line 262, the bug get fixed. So the question is: can we safely remove this call? Or somehow modify it? Or was it intentional to have that kind of behaviour?
Avatar
Avatar
Ryozuki
kappa kappa rekappler
at least they are relativly stable xd mesa is best ofc xd
15:45
chillerdragon i dunno, nvidia on linux is gambling anyway, just choose what works best
Avatar
Avatar
Lumpy ◐ω◑
so I have a question about one bug (feature?). If you press A/D and go in spec, when you unspec you're still 'pressing' A/D, but if you press enter (to enter the chat) and then enter again to close the chat, you'll 'release' A/D. My fellow tee friend found, that if you remove this ResetInput call in src/game/client/components/controls.cpp, line 262, the bug get fixed. So the question is: can we safely remove this call? Or somehow modify it? Or was it intentional to have that kind of behaviour?
Looks like that is very intentionally being emulated there. You'd have to ask whoever added that
Avatar
Avatar
Learath2
Looks like that is very intentionally being emulated there. You'd have to ask whoever added that
Lumpy ◐ω◑ 2022-03-24 16:44:02Z
how can I find who added that?
Avatar
Git blame \O/
16:44
If it'a hard to find there maybe check when BugDDRaceInput was added
Avatar
Lumpy ◐ω◑ 2022-03-24 16:48:35Z
I'm not really familiar with git, is it a command 'blame'? or a program?
Avatar
It is a command, but it's easier on githuv
16:50
There should be a button towards the top of the page that says blame
Avatar
@deen do i need to rebase https://github.com/ddnet/ddnet/pull/4881 ?
Get rid of all the shadowing that was reported by both gcc and clang. How both compiler can not see the same though they include same headers is a mystery. Checklist Tested the change ingame Pro...
Avatar
Avatar
Learath2
Looks like that is very intentionally being emulated there. You'd have to ask whoever added that
Lumpy ◐ω◑ 2022-03-24 17:04:17Z
so I guess, deen added it? but then 'm_PlayerFlags != PLAYERFLAG_PLAYING' got changed to 'm_PlayerFlags == PLAYERFLAG_CHATTING' with comment 'Don't stop movement after opening player list' so I think A/D snaps in all cases except chatting? still not sure if it's a feature @deen can you look into it?
Avatar
yeah, that's by design
Avatar
Lumpy ◐ω◑ 2022-03-24 17:07:04Z
can you explain a bit? what's the point?
Avatar
I'm not sure, I think players always complained when something changed there
17:31
So it's a bit dangerous to change the code
Avatar
6086893 Renamed all shadowing/shadowed variables - Chairn dd7dfe1 Set Wshadow in CMakeLists - Chairn 5fe3e9a clang-format - Chairn b51957f Fix storage File shadowing - Chairn ebc714f Merge #4881 - bors[bot]
Avatar
Avatar
deen
I'm not sure, I think players always complained when something changed there
Lumpy ◐ω◑ 2022-03-24 17:43:02Z
are the complaints on the github or no? Just want to test the cases, coz I have this fix for a week now I guess and haven't seen any weird behaviour
Avatar
[quakenet] ChillerDragon BOT 2022-03-24 17:51:38Z
lmao i just looked up how to install programms on suse and first hit shows teeworlds xd https://youtu.be/O3bgZEBI2DE?t=63
Avatar
Still training my regex fu 😄

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/ddne...
Avatar
As the game crash on start, once people switched, they can't change the renderer option back without twiddling in the cfg file. It should at least revert back to a base graphic renderer. ```shell [2022-03-24 19:48:31][client]: starting... [2022-03-24 19:48:31][sdl]: SDL version 2.0.8 (compiled = 2.0.8) [2022-03-24 19:48:31][gfx]: Created Vulkan 1.0 context. [2022-03-24 19:48:32][vulkan]: vulkan error: No vulkan compatible devices found. [2022-03-24 19:48:32][assert]: ../src/engine/cli...
Avatar
wat about add cmd for check teamrank/rank points ingame
Avatar
what do you mean?
20:14
/rankteam & /rank & /points
Avatar
he means the points you get for finishing top10 in team / in t0
20:15
20:15
2nd 3rd column
Avatar
Avatar
c0d3d3v
at least above 100 fps (I have set the update rate to infinite) 😄 If I just close ddnet abruptly with Alt+F4 then it takes a long time to close and I get the following output: /usr/include/c++/11.2.0/bits/stl_vector.h:1045: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) [with _Tp = std::vector<CCommandProcessorFragment_Vulkan::SRenderCommandExecuteBuffer>; _Alloc = std::allocator<std::vector<CCommandProcessorFragment_Vulkan::SRenderCommandExecuteBuffer> >; std::vector<_Tp, _Alloc>::reference = std::vector<CCommandProcessorFragment_Vulkan::SRenderCommandExecuteBuffer>&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]: Assertion '__n < this->size()' failed. [1] 24548 IOT instruction (core dumped) DDNet If that was not yet known I can also look with UBSAN what that outputs.
any news on that?
Avatar
Avatar
Jupstar ✪
any news on that?
xD I have in my free time today only worked on the ninja bar that I just posted in #showroom. I'll take care of it tomorrow.
Avatar
ah nice
20:56
looks good already ;D
Avatar
3778e0f Format member variable's name correctly - Chairn dbac9b7 Merge #4890 - bors[bot]
Avatar
5459895 Add dropdown icon - Jupeyy 7c7fe59 Fix text texture name Texture -> TextureOutline - Jupeyy e8fc175 Merge #4885 #4889 - bors[bot]
Avatar
Avatar
Lumpy ◐ω◑
are the complaints on the github or no? Just want to test the cases, coz I have this fix for a week now I guess and haven't seen any weird behaviour
probably not, they were many years ago. We could try changing it and see if anyone complains
Avatar

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/#using-addresssanitizer--u...
Exported 473 message(s)