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-25 00:00:00Z and 2022-03-26 00:00:00Z
Avatar
Avatar
deen
probably not, they were many years ago. We could try changing it and see if anyone complains
Lumpy ◐ω◑ 2022-03-25 05:17:43Z
would be nice to change it and test, as I said I haven't seen any weird behaviour, but maybe I'm just not using something, that could be bugged because of it
Avatar
0176fb2 Update Chinese translations again - def- 2beb2b0 Merge #4893 - bors[bot]
Avatar
I hope this doesn't give a chance to cheat. We also reset practice when killing a team, so loading can be considered as similar to killing?

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 ...
Avatar
deen if u can check discord dm
Avatar
[quakenet] ChillerDragon BOT 2022-03-25 09:41:56Z
hrhrhrhr zCatch community ddosing https://zillyhuhn.com/cs/.1648201293.png
Avatar
Avatar
Learath2
Mostly because we felt 64 people are enough, secondarily because 64 bits is the largest portably supported integer size. Beyond that we'd need to change our integer team masks and stuff into bitsets, which has performance implications. Furthermore the O(n^2) nature of some of the code starts to rear it's ugly head. Not that they cant be optimized but that we didn't think >64p is worth the effort
You dont need that for the masks tho
Avatar
I have a very simple Mask128 header
10:18
@deen do you think 128 player is worth it, maybe not on all servers/maps but like back in time, simple down etc
10:19
I am unsure about the network traffic/clientside hardware issues with 128 players. On my server only 64 are sent, so its equally for the client
10:19
In an official ddnet client for 128 players that would change
Avatar
Avatar
[quakenet] ChillerDragon
hrhrhrhr zCatch community ddosing https://zillyhuhn.com/cs/.1648201293.png
franzj_kek
Avatar
plz no ddos Chillerdragon
Avatar
hi rei
Avatar
send 200 bucks
Avatar
waiting that heinrich comes back, ig vacation was good for him, he worked too much
Avatar
Rentner Lifestyle
10:33
what do you need from heinrich @ReiTW
Avatar
nothing special, just want to discuss about that proxy thingy he talked about & also the https master ban
10:34
good things
10:39
for now I feel better with the new thing I've set up, but still that guy hosting vali's private BW server & lying, saying he doesn't know him, idk
Avatar
It is 90% vali. He just talks the same way
10:44
No he is a genius
Avatar
stupid ag
10:44
af
Avatar
Martin is a new name. How would we ever figure it out?
Avatar
ik wym
10:44
xd
10:44
Never
10:45
he is frustrated
10:45
since he cant ddos me anymore feelsamazingman
Avatar
I'm surprised he is still interested in this game. A lot of old players disappeared and he is still here
10:46
When real life is sad i guess
Avatar
We don't even engage with the guy so I have this feeling u and rei keep poking him back to life
Avatar
You know that this fact is simply false
10:47
even when not talking to this guy for over a year he comes at least for the tournaments
10:48
So, i think its useless just "ignoring" him or avoiding to even talk about him or whatever
10:48
this guy has major brain damage and does this even when he doesnt get attention, so this is completely irrelevant imo (edited)
Avatar
Avatar
Learath2
Martin is a new name. How would we ever figure it out?
Martin is an old iF|City player
10:50
that's the problem
10:51
I doubt this is vali, but he didn't get vali's binary like this
Avatar
he would talk to you if he hosted those servers
Avatar
Avatar
Learath2
I'm surprised he is still interested in this game. A lot of old players disappeared and he is still here
idk bro sometimes nothing happens & suddently we receive attacks
10:52
we don't even need to trigger vali lol
Avatar
Ofc it's vali. He names his servers like vali, he has valis source, he talks like vali
Avatar
well I wouldn't say it's him directly but feel free to think it
Avatar
it is him
Avatar
Probably just took the old if city players name to fool people
Avatar
but discord account is 2 years old & Insanity (from my team) knows this player
Avatar
@ReiTW the way he talks identifies him so often
Avatar
Hm, maybe vali has multiple personality disorder?
Avatar
he also came with a 8 month discord acc on my Server
Avatar
That would explain a lot you know
Avatar
no clue, but I'm fine since I've implemented a website for whitelisting, sad that I have to get that far just for a game
10:55
@ReiTW also: i wouldnt focus on the discord acc age that much
10:55
i know at least 3 accs of him anyways
Avatar
but my server + XDP, when vali attacks a protected port, my server is just laughing at him
Avatar
wouldnt be surprised if he had more
Avatar
well dunno
Avatar
Avatar
ReiTW
but my server + XDP, when vali attacks a protected port, my server is just laughing at him
ye same
Avatar
Avatar
Learath2
That would explain a lot you know
bruh and that guy on teeworlds discord saying i'm against competition
10:57
how many people were hosting pepe or v3 & had some players, didn't care at all
10:57
even more I was playing on those servers & not bombay
Avatar
after battling with docker for 3 hours i think the wiki works perfect again
Avatar
Avatar
ReiTW
bruh and that guy on teeworlds discord saying i'm against competition
JustArtur? That guys speech pattern and behaviour is exactly vali's imo
Avatar
Avatar
Ryozuki
after battling with docker for 3 hours i think the wiki works perfect again
Celebrate
Avatar
Avatar
Learath2
JustArtur? That guys speech pattern and behaviour is exactly vali's imo
JustArtur is Martin (edited)
10:59
I'm talking about MeowTime
Avatar
@Learath2 when ddnet serverless docker distributed across amazon
Avatar
Just used the android build scripts and changed them a bit. The actual code changes are very small:
  • Fullscreen disabled
  • WebGL2 first time buffer binding has other requirements compared to GLES3
  • Has to run single threaded for now
  • disabled client network code (hang there for unknown reason), but UDP & curl won't work anyway (since websockets)
It can be nice for stuff like map previews without adding a extra JS layer Live demo(might be down in future) (loading can take a few...
Avatar
Ah, yep he was weird too. It's just another vali orbiter
Avatar
Avatar
Ryozuki
@Learath2 when ddnet serverless docker distributed across amazon
It'd be webscale
Avatar
yes it needs to webscale
11:00
we should use mongodb
Avatar
Avatar
Ryozuki
after battling with docker for 3 hours i think the wiki works perfect again
I dont like docker for some points
Avatar
cuz it web scales
Avatar
each time I restart my stack I have to clear conntrack udp table
Avatar
overwise I have shitty entries & people can't connect anymore etc.. (edited)
11:01
pretty annoying, solution would be to use host network, but damn (edited)
Avatar
hm idk
11:01
i used docker cuz now i can easily update mediawiki
11:01
xd
11:02
i have the config files on volumes etc
11:02
simple stuff
Avatar
JustArtur has his steam acc linked to discord btw
Avatar
@Learath2 this youtuber needs to make a video about rust
11:02
sadly i think he is gone
11:02
xd
Avatar
yeah well for me it's not him, but as I said if he has BW binary or source, then vali is definetly behind all of that once again
11:03
good stuff
Avatar
I'm a little on the fence about docker. It's a good idea but it has that weird corporate air to it
11:03
Proprietary but not of sorts
Avatar
ik that vali loves now to host through someone else as he knows if his name or his clan (exec) gets a server heinrich will masterban him
Avatar
A container runtime written in Rust. Contribute to containers/youki development by creating an account on GitHub.
11:04
based container runtime
Avatar
Avatar
Ryozuki
@Learath2 this youtuber needs to make a video about rust
I have a feeling you'd be very annoyed if he made one :D
11:06
@Learath2 i saw a stupid youtuber claim golang was faster
11:06
he later edited it
11:06
cuz it was false
11:07
but the guy was rly assertive it was the case
11:07
laughed my ass off
11:07
look at the description
11:07
People are now writing formal academic papers debunking Rust's lies about safety and the rest. The more I learn about how shitty and dishonest Rust is (and its community) the more motivated I am to look at C and C++ (again) and the more I'm not just ambivalent about Rust, I'm actively advocating against it. Rust is fucking bad for the world. There are still zero significant projects in Rust while there are now hundreds in Go including Kubernetes, Docker and the entire cloud native ecosystem. Rust is a fail. Die, die, die. Learn it and watch your career die with it.
11:07
[Update: https://www.techempower.com/benchmarks/ confirms Rust, C and C++ have the fastest web servers period. I was wrong about that (having remembered another study that only compared, PHP, Java, Erlang, Node, and Go). Go is next, but Go is the clear leader from the dozens of enterprise case studies porting from non-compiled web frameworks. In fact, I have yet to read a single case study of anyone using Rust for any web services in an enterprise environment.]
11:07
xdd
Avatar
He is a little overpassionate :D
Avatar
die die die
11:10
xd
Avatar
Rust community is um spicy, I'm never surprised when they end up creating people like this
Avatar
@Learath2 i rarely see rust ppl being rude, i only see hn ppl annoyed that rust gets mentioned a lot
11:13
but what can we do, when ppl create way better tools in rust and they get on top of hn
11:14
greenthing
Avatar
They are not rude, they are very passionate
Avatar
Detailed instructions on food and cooking for those who like to ask not just How? but also Why?
Avatar
UNSAFE WEBSITE
Avatar
I've seen this before, it's quite nice
Avatar
Only Based cooking. No ads, no tracking, nothing but based cooking.
11:15
xd
11:16
BASED
11:16
this website looks amazing
11:16
most recipe websites have lot of filler
Avatar
Based cooking? Do they do racist cooking or sth?
Avatar
Avatar
Learath2
Based cooking? Do they do racist cooking or sth?
based doesnt mean racist
Avatar
That's a based opinion
Avatar
Funny condition that is never true, because 5 lines before the condition is negated: https://github.com/ddnet/ddnet/blob/2beb2b0c709678d15402e3fa91db7f44542184ce/src/game/server/entities/character.cpp#L626
DDraceNetwork, a cooperative racing mod of Teeworlds - ddnet/character.cpp at 2beb2b0c709678d15402e3fa91db7f44542184ce · ddnet/ddnet
Avatar
True, but we dont want this sound in ddnet anyways, i have the feeling
11:23
at least it wasnt there for years already
11:23
I think its not a big issue, we could also add the sound back in again. i dont think there was a reason to "remove" it
11:24
probably accident
Avatar
was probably originally at the beginning of the function 😄 (because the function is triggered again and again when you stand on the pickup) Wanted to share it also just to have something to laugh 🙂 I'll test it, how it sounds like when it is at the beginning of the function.
Avatar
lol I think I have never heard that sound xD
Avatar
Its vanilla
Avatar
I just tested a vanilla server, there is indeed the sound. no idea if we want it, it sounds not bad.
Avatar
wait, the ninja pickup sound doesnt play in ddrace maps?
11:41
it was already like this since 2011, so no idea
11:44
Just like I thought 😄 It was at the beginning of the function
Avatar
Avatar
Jupstar ✪
any news on that?
i just downloaded and built the latest master branch and it does not happen anymore 🙂
Avatar
ok
Avatar
Btw, i am learning some webdev, is there anything that i could do for ddnet that would benefit ddnet net in any way? I mean... is there something in that direction what could be made 🤔? (edited)
Avatar
skin database that allows multiple modes: community community hd official official hd
13:07
and maybe a json containing all skins per mode
Avatar
I mean... I will be learning mongo in few months 🥴
Avatar
ryozuki is a big mongo fan
13:08
bcs of its shards
13:08
@Ryozuki help this guy
Avatar
Noo, dont help me
13:08
I am too much beginnee to do anything
Avatar
lol im not a mongo fan
Avatar
xd
Avatar
Exposed
Avatar
thats why i post the vid
Avatar
thats why i tagged u
Avatar
@RadziSzop no but seriously, else i dunno what is really needed
Avatar
Idk, i like mongo/supa/fireb because they looks simpler and smaller than typical bug ass sql dbs. Tho i dont have experience with any XD
13:14
Not even sure if that makes any sense
Avatar
Avatar
fokkonaut
@deen do you think 128 player is worth it, maybe not on all servers/maps but like back in time, simple down etc
I think the community would appreciate it. But some effort, huge scoreboard etc
Avatar
I could do it, but only the serverside i guess
Avatar
So we'd keep 64 players in client for now and see how community likes it?
13:28
But I'm worried about CPU usage
13:28
some servers have 50% CPU usage with a single 64 player server, so they could start lagging with 128
13:29
So I might have to restrict some, similar to what I'm doing on CHN servers already
Avatar
Avatar
deen
So we'd keep 64 players in client for now and see how community likes it?
for example
Avatar
e02ebca Rename lib generation scripts - Jupeyy bb1ed45 Emscripten support - Jupeyy 535f1ea Merge #4896 - bors[bot]
Avatar
doubt 128p is useful
Avatar
one problem I can imagine is that 128 players allows some skips 64 players does not, and then we can't turn it off again 😄
kek 1
Avatar
it should be a map setting maybe, so that maps like those big t0 maps can activate it
14:26
because i dont see any reason for "easy" maps to have it
Avatar
Avatar
fokkonaut
it should be a map setting maybe, so that maps like those big t0 maps can activate it
But whats the use-case for that?
Avatar
hum, i haven't found any exception (try/catch) in the source code, are they forbidden? I know that threads and exception usually don't mix well together
Avatar
exceptions bad
Avatar
i dunno if we decided on that, but generally exceptions aren't nice in most cases
Avatar
perf overhead
Avatar
@Jupstar ✪ do you intend to fix https://github.com/ddnet/ddnet/issues/4891 ?
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. [2...
Avatar
depends
Avatar
Cellegen | HU 2022-03-25 15:32:56Z
justatest 📸
Avatar
if modern OS would also fail, then yes
15:33
but if its only ubuntu 18 then no xd
Avatar
Cellegen | HU 2022-03-25 15:33:08Z
fix vulkan jumpi
15:33
justatest
Avatar
is there any statistics on OS versions and hardware that ddnet players use? I guess steam players have this information, but not the other one
Avatar
Cellegen | HU 2022-03-25 15:33:57Z
also on windows, it's perfectly fine
Avatar
98% windows
Avatar
update ur ubuntu bro
Avatar
Avatar
Ryozuki
update ur ubuntu bro
it's work computer, i'll update when im done with my manuscript
15:34
remember that software obsolescence will repel new players with old pc
Avatar
sounds good
15:35
less support
Avatar
man ... 😦 (edited)
Avatar
hardware obsolescence is smth different
Avatar
Avatar
Jupstar ✪
if modern OS would also fail, then yes
Cellegen | HU 2022-03-25 15:35:38Z
if that's the case, you could just add a note on the log: update ubuntu lmao
Avatar
but srsly, nobody has to use win7 nowadays
Avatar
i haven't tried rc on win7 yet
Avatar
ok, i'll see but SDL defs requests supported vulkan extensions
15:38
already looked in their code
Avatar
@Jupstar ✪ ppl using win 7 would see a perf increase using linux
15:42
and they would have modern software
15:42
BASED
Avatar
Avatar
Ryozuki
and they would have modern software
and good software
Avatar
Is there a way to create a png with our code?
Avatar
yes, see map_extract.cpp
17:26
ah, that's rather easy, now i just have to find a way to extract data from render tool into the png
Avatar
didn't think to look into video rendering, but i think i found
Avatar
demo & map renderer 😄 (loads slow, bcs slow vps, so just wait 10 seconds xddd) https://aliveclan.de/ddnettest/load_map.html
Avatar
ebd76d9 Add tutorial button in main menu - def- 3ee8d88 Hacky way to join tutorial from LAN - def- b0bd096 Update German translation - def- 5fa9136 Update Korean translations (by 車魄) - def- 939d543 Retry tutorial join after 5 seconds - def- 33805ff Merge #4876 - bors[bot]
Avatar
Avatar
deen
I think the community would appreciate it. But some effort, huge scoreboard etc
😮
Avatar
Avatar
Jupstar ✪
demo & map renderer 😄 (loads slow, bcs slow vps, so just wait 10 seconds xddd) https://aliveclan.de/ddnettest/load_map.html
WTF
18:32
man that's crazy 😄
Avatar
d4aac67 Fixed some useless double promotion - Chairn 49dd2b9 Revert possible physic change - Chairn e0c6106 Revert time to double type - Chairn ea852d8 Merge #4852 - bors[bot]
Avatar
[2022-03-25 21:02:54][sdl]: SDL version 2.0.16 (compiled = 2.0.20) [2022-03-25 21:02:54][gfx]: Created Vulkan 1.0 context. [2022-03-25 21:02:56][vulkan]: warning: requested presentation mode was not avai lable. falling back to mailbox / fifo relaxed. [2022-03-25 21:02:56][gfx]: GPU vendor: NVIDIA [2022-03-25 21:02:56][gfx]: GPU renderer: GeForce GT 740M [2022-03-25 21:02:56][gfx]: GPU version: Vulkan 1.1.95
20:04
is this warning normal?
Avatar
windows 64 bit
Avatar
mailbox
Avatar
is it me or the sound in the RC is lower?
Avatar
Avatar
Chairn
[2022-03-25 21:02:54][sdl]: SDL version 2.0.16 (compiled = 2.0.20) [2022-03-25 21:02:54][gfx]: Created Vulkan 1.0 context. [2022-03-25 21:02:56][vulkan]: warning: requested presentation mode was not avai lable. falling back to mailbox / fifo relaxed. [2022-03-25 21:02:56][gfx]: GPU vendor: NVIDIA [2022-03-25 21:02:56][gfx]: GPU renderer: GeForce GT 740M [2022-03-25 21:02:56][gfx]: GPU version: Vulkan 1.1.95
usually means u have forced vsync
Avatar
i don't
20:12
i disabled it in both nvidia panel and application setting
Avatar
probs in ur nvidia settings, or not exclusive fullscreen?
Avatar
still got themessage
20:12
exclusive full screen
Avatar
anyway it is what it is, you dont have immidiate mode, dunno why
Avatar
alt-tabbing when client start crashes
20:16
swapchain failed: run out of memory
Avatar
mhh, well nothing i can fix actually, the loading screen blocks all threads (edited)
20:17
it probs misses the SDL events
20:17
that would be required
20:18
would generally be nicer to poll SDL2 events during startup probably
20:19
@Chairn btw since ur GPU is old, can u try video rendering and screenshots?
20:19
i wanna know if that works correctly
Avatar
key to screenshot works
Avatar
good
Avatar
this doesnt
20:22
in game screenshot
Avatar
ah
20:22
rest in peace xD
20:22
but kinda looks cool
Avatar
Avatar
Chairn
key to screenshot works
so print screen works?
20:23
that's probs another proof that the windows compositor is active actually xD and not exclusive fullscreen
Avatar
yeah, the imp. scr key on keyboard works for me
20:23
in game menu shows exclusive full screen
20:23
but i've heard that in windows, this doesn't mean that in reality
Avatar
do you compile by source?
20:26
actually can also just look into GPUInfo.org
Avatar
Avatar
Jupstar ✪
do you compile by source?
uh no? i took the client from my pr with the default switch
20:27
that i rebased just before
20:29
any idea why the sound might be lower?
Avatar
it was changed
20:30
ok your GPU doest have linear dst blitting for RGBA textures
20:30
maybe i can simulate and see if screenshots are broken bcs of that
Avatar
wow, emotes are really more smooth now
20:32
did anything change?
Avatar
yeah but long time ago
20:33
mh weird, for me even then screenshots work
Avatar
i got the mailbox/fifo message regularly, it's normal?
Avatar
everytime u alt tab
20:35
or resize
Avatar
yup, everytime i alt tab
Avatar
has nobody intel uhd 630 and is on linux xd
20:40
then we could just see what the validation layers say about screenshoting
20:41
but probs intel driver on linux are better anyway, why even bother xd
Avatar
i wonder what i have on the work laptop
20:43
its intel 100%, no GPU, but dunno the version
20:43
should i test anything else?
Avatar
any idea on the sound level changing?
20:53
is it because of the widening of the sound slider?
Avatar
Wild idea: can we make proof of work part of the handshake in the protocol? Maybe not always, but once we (somehow) detect a DDoS?
20:57
Of course this only makes sense if the attacks on the servers mainly target the handshake, rather than overloading then networking stack in general
Avatar
which handshake
Avatar
when the client connects to a TW server
Avatar
you mean that TKEN handshake? Didn't secured.gg already try & failed?
Avatar
Avatar
Chairn
any idea on the sound level changing?
it just simply reduced, bcs new players complained it was too load
Avatar
No idea, I sadly don't follow development much, just an idea that sprung to mind while i was waiting for help after failing because of a DDoS
Avatar
Avatar
Chairn
should i test anything else?
well if everything except screenshot works, thats already a win ^^
Avatar
well, i didn't find anything suspicious 🙂
Avatar
strangly enough on a intel hd 550 graphics tablet everything worked without problems
Avatar
Avatar
Scrumplex
No idea, I sadly don't follow development much, just an idea that sprung to mind while i was waiting for help after failing because of a DDoS
I think secured.gg did try
Avatar
Avatar
Chairn
well, i didn't find anything suspicious 🙂
ok thanks for testing
Avatar
It's been 5087 days since the last SDL_sound release, so I thought it might be time for a new one. :) A lot has changed in the last 13.93 years, including my understanding of how to build usef...
22:02
sdl_sound 2.0 pog
Avatar
does anyone know the max offsets for eyes when moving cursor and stuff
23:57
or maybe just point me in the right direction, maybe link to actual tw code on github
Exported 310 message(s)