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-05-05 00:00:00Z and 2021-05-06 00:00:00Z
05:36
made a mega map merger kek
Avatar
ЫхЫХыХЫРЫБА 2021-05-05 05:36:26Z
nise
05:38
you need only build lobby
Avatar
@TsFreddie merge all my dummymaps so I can do a compilationtoptri
Avatar
🤔 like make them connect or something?
06:01
i can release the merger in ddnet later.
Avatar
@Im 'corneum tele limit would prob kill your maps :d
08:45
08:46
"show entities" on my mega map isn't working, but the prediction is fine, so the client still thinks there are grounds and stuff.
Avatar
how big is it?
08:47
so 413x417
Avatar
that doesnt sound like alot
Avatar
ye, i'd prefer it not working for pvp tho. but would be nice to know why.
Avatar
can u send it?
Avatar
sure
08:49
64.3 KB
Avatar
mhhh maybe smth with the number of entities?
08:56
there are so many hearts and nades etc
Avatar
maybe
Avatar
@TsFreddie my tool throws an error on this map: Game layer error at index 28: The values for the unused parts are not the default ones
Avatar
i've seen other issues with many entnties before
08:57
can that also destroy entities rendering?
Avatar
index 28 like x:28,y:0?
Avatar
or was there a entitie 28 or tile 28 lying around somewhere?
Avatar
ah lol
08:59
it somehow thinks the color is 0
09:00
i did made it 0
Avatar
yeah XD
Avatar
didnt even know u can set color of game layers xD
Avatar
cool*, i'm make a standalone tool for hiding entities then lol
Avatar
so @Patiga 's tool is right
Avatar
very cool lol
Avatar
also a warning if you care about those @TsFreddie: "mega.map": [WARN] Mandatory item type of id 6 is missing 6 are the envelope points, the editors always save that type, even if there are none
Avatar
i haven't save any envelopes yet
Avatar
the max size of a map is btw 9128*9128 or smth
09:04
then it reaches the 2gb boundary for a single layer
09:04
i think all standard maps combined would still be within 2k or something.
Avatar
even with compression?
Avatar
its not a memory issues
09:05
its the design of our rendering implementation
09:05
it only uses uint32 and 1 bit is used for something else
09:05
to save memory (edited)
Avatar
and 1 tile uses 6 * sizeof(unsigned int) which are 2 triagnles
09:05
as indices
09:06
(the vertices of 2 triangles to be precise)
09:06
you can ofc also do a 83333333 x 1 map
09:07
9128 was the sqrt
09:07
Avatar
but that will create floating point errors probably xD
09:07
they so small
Avatar
mega map for pvp purpose is pretty safe.
09:08
and i did grab a skyline implementation for packing them
Avatar
ah nice
09:09
everything under 1000x1000 is also without a warning in the editor i think
Avatar
it is actually surprising to me how well group clipping works with stuffing multiple maps into one
Avatar
i am trying to find a simple linux cross DE compatible way to notify the taskbar icon, but cant find any, why is this not done yet
09:18
our x11 implementation doesnt really work on KDE, it just makes the icon orange forever
Avatar
orange forever could be a band
Avatar
stays like it, even if i click it
09:25
dunno if it works on gnome or whereever it was tested, but never worked on KDE 😄
09:26
but dunno what to search in the internet, cant find anything
09:26
not even a simple c++ programm doing it, where did you even find the x11 code for that xD
09:26
i find the manual, but it doesnt really give any example
Avatar
works for me on xmonad
Avatar
but its still pretty undefined behavior then
09:28
steam implements it correctly
Avatar
yeah, sure, should be fixed
Avatar
so i doubt its a kde bug
09:28
but i cant find any libs (edited)
09:29
and x11 code is also not really nice
09:29
would be nicer to have it future ready 😄
Avatar
Avatar
deen
works for me on xmonad
thought ur DE looks more like this: https://hookrace.net/public/linux-desktop/laptop.png from ur hookrace blog ^^
Avatar
Avatar
Deleted User
thought ur DE looks more like this: https://hookrace.net/public/linux-desktop/laptop.png from ur hookrace blog ^^
i mean, doesnt xmonad look like that
09:55
its a twm not a DE
Avatar
i dunno found a video on yt where he had a quite cool design
09:55
Avatar
ofc you can make any TWM look really good
09:58
or u can just leave it be
09:58
greenthing
10:00
but with different decorations
Avatar
i gotta try a twm made in rust
10:00
Avatar
looks good bcs made in rust xD
10:01
Window Tiling For The Win. A tiling window manager written in Rust - Kintaro/wtftw
10:01
this one is like xmonad, you configure it using the language rust
Avatar
way to distracting with so many apps open xD
Avatar
Modular wayland window manager written in rust. Contribute to Drakulix/fireplace development by creating an account on GitHub.
10:02
this one works on wayland
10:04
we should rewrite x11 and wayland in pure rust
10:04
everything rust
Avatar
do u litterally have so many open windows?
10:04
tiled to the screen
Avatar
sometimes yes
Avatar
insane
Avatar
but usually only with terminals
10:04
my browser is usually an entire screen
10:04
you never used a twm?
Avatar
no
Avatar
once u use them its hard to go back xd
Avatar
i dunno
Avatar
kde too op
Avatar
i also thoughtt DE were better
10:05
but oh boi
10:06
i like how it doesnt know my gpu exactly and puts lot of models there
10:06
xd
Avatar
plot twist, you have all of them
10:06
i would be rich rn
Avatar
to run ddnet
Avatar
my rx580 costs 700€ rn
10:06
i bought at 250
10:06
xd
Avatar
ah yeah, already forgot
10:07
shitcoin
10:07
poor ppl having no good GPU, the most important component of a modern desktop pc
10:08
its impossible to buy one now
Avatar
will u add teleporters or just swap around
Avatar
you will be able to vote change "the map" for your team basically
Avatar
ah, i did that but without putting all maps into a single big one
Avatar
i don't want to load multiple maps tho.
10:11
and I did spend time making showothers work lol
10:11
so mega map make more sense for me
10:12
best mod in tw
10:12
allows multiple tournaments at once
Avatar
but since there only 5 fng players its rip
Avatar
I think I'm kinda making the same thing but for 1v1 and multiple gamemodes
Avatar
nice
10:14
makes sense for u, since chinese community grows so fast
10:14
newcomers will have alot of fun with such things
Avatar
more like keep kicking people out of servers to 1v1
Avatar
the great era of pvp is over in europe xd
Avatar
but yeah, we do have a few that plays pvp.
Avatar
i played like only pvp before i first saw kog
10:15
or gores in general
Avatar
i still kinda only plays pvp
10:15
but i sucked at standard modes tho
Avatar
then i saw gores, and it destroyed my life xD
10:16
so dont start gores
Avatar
i don't really like gores anywaykek
Avatar
and they say drugs make addicted, what is gores then xD
Avatar
i feel like i might still drop mega map and just load multiple maps in the future if our people started to make maps...
Avatar
but yeah when there are cool players in fng or idm, zcatch it can be really awesome
10:18
my first 2-3 years in tw were the chilled ones
10:18
SO MAKE THE BEST SERVER
Avatar
👀 but by that point why don't i make a proxy server that just creates servers on the spots.
Avatar
ppl will just join the biggest server
10:20
so its fine 😄
Avatar
my first 2-3 years in tw is asking people to play with me.
10:21
and i moved to the US for 4 years with even less players it seems
Avatar
xD
Avatar
so funny, US has such a huge speedrunner community, this game should be perfect for them
10:21
instead they play mario
Avatar
👀 mario is cool tho.
Avatar
not gonna deny
Avatar
just call louis and submit it to GDQ
Avatar
yeah
10:22
would be cool
Avatar
and our servers probably won't be alive for long
Avatar
but maybe ddrace is too fast pace already.. these mario speedruns are pretty basic and easy to understand
10:23
ddrace is like yo, lets do 360 no scope hooks
Avatar
and do it every seconds with no mistakes
Avatar
Avatar
Deleted User
but maybe ddrace is too fast pace already.. these mario speedruns are pretty basic and easy to understand
i think their mario speedruns rely on aligning and pixel perfect stuff, they dont know about edgehooks here monkalaugh
Avatar
@Ryozuki do you know this: https://github.com/ansuz/RIIR/issues
why not Rewrite It In Rust. Contribute to ansuz/RIIR development by creating an account on GitHub.
Avatar
instead of just ip address, untested

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.co...
Avatar
would it also keep the hostname in the records instead of resolving the IP address?
14:46
I would like to have only the hostname show from the address field in the client before someone connects
Avatar
not rly records but
14:51
what the client stores
Avatar
@lynn no, that's not possible at the moment
15:29
the master server only knows the servers by IP addresses
15:30
that makes sense
15:30
and the master server is master.teeworlds.com right? not something ddnet controls
Avatar
master1.teeworlds.com to master4.teeworlds.com
Avatar
iirc ddnet hosts one of them
Avatar
master4.teeworlds.com
Avatar
(master server "policy" is independent from ddnet, we don't really touch it at all, we just host a mirror)
Avatar
Well, the client could do a reverse dns lookup, but that's a bit hacky (edited)
Avatar
pulls master server and make a script that generates A records. then you got a advertising scripts
Avatar
and not always correct since not all hosters let you control your own rdns entry, especially correct for people hosting from home
Avatar
Avatar
Deleted User
stays like it, even if i click it
ICCCM says: "Clients must provide some means by which the user can cause the UrgencyHint flag to be set to zero or the window to be withdrawn. The user's action can either mitigate the actual condition that made the window urgent, or it can merely shut off the alarm." I don't think that the client ever resets the flag (unless it's hidden in a library function that I don't know).
Avatar
6a6ba69 Steam: Support connecting to hostname - def- 6bd41d5 Support ipv6 - def- a8c59c6 Merge #3808 - bors[bot]
16:14
https://tools.ietf.org/html/rfc5952#section-4 Also add some tests.

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 valgr...
16:19
it's never being read. but removing it breaks the symmetry of the whole function. should I just remove it? is there an easy way to silence the warning?
Avatar
mh, I'd just remove it
Avatar
done, ty
Avatar
Warning can be silenced with // NOLINT(name-of-the-clang-tidy-warning-here)
Avatar
is github down?
19:44
or is it my isp
Avatar
just you
Avatar
my isp movistar is so stupid
21:13
this happens too often..
21:13
lmao i cant even load https://www.movistar.es/
21:14
smth must be down rly bad
Avatar
Avatar
Maiski
ICCCM says: "Clients must provide some means by which the user can cause the UrgencyHint flag to be set to zero or the window to be withdrawn. The user's action can either mitigate the actual condition that made the window urgent, or it can merely shut off the alarm." I don't think that the client ever resets the flag (unless it's hidden in a library function that I don't know).
But the demand attention thing says in the manual that, if the window got the required attention it removes the flag. I disabled the urgency code. So the broken code is the other x11 code
Avatar
I also tried to remove it once the window got focused. But had to spam it for 2 seconds to work https://github.com/Jupeyy/ddnet/commit/97c755a86c242383d75e8b24beaeead1e692e430 (edited)
22:18
That was my work around in the past
22:23
Also we need a solution that works without x11,bcs Wayland is on the March
Avatar
b2a54dc Compress IPv6 string representations according to RFC5952 - heinrich5991 4f974ef Merge #3809 - bors[bot]
Exported 233 message(s)