Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.org/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 2024-02-02 00:00:00Z and 2024-02-03 00:00:00Z
Avatar
going to learn rust
banhammer 5
pepeenrage 1
Avatar
ws-client BOT 2024-02-02 04:31:55Z
<ChillerDragon> "go"ing to learn rust
04:32
<ChillerDragon> #gorust
Avatar
Avatar
Ewan
going to learn rust
KEKW 1
😅 2
Avatar
ws-client BOT 2024-02-02 08:27:42Z
<ChillerDragon> I can put user input into my sql statement if this regex matches without having to worry about bobby tables right? /^[a-z]+$/
Avatar
We present a sub-terahertz (THz) wireless link using photonics-based ultra-low phase noise transmitter and receiver. The maximum data rate achieved be …
08:29
Single-channel 240-Gbit/s sub-THz wireless communications using ultra-low phase noise receiver
08:36
time to compile nodejs
08:36
Avatar
Avatar
ws-client
<ChillerDragon> I can put user input into my sql statement if this regex matches without having to worry about bobby tables right? /^[a-z]+$/
you can put any user input into your database using a proper library/driver that is able to correctly escape your input. what you should not do is constructing the sql with the user input by hand.
09:23
using positional parameters $1, $2 or non positional ? (not supported by PostgreSQL)
09:26
sometimes it's still ok to construct sql but with highly validated inputs like integers or strings that can only be one of a predefined set of strings, etc.
09:27
imo that regex would not fall under that latter category.
09:29
is the rust book a modern resource i should use to learn rust
09:29
or old
Avatar
it's the bible, I guess
09:30
asking if there is anything else is already blasphemy
Avatar
Avatar
Ewan
is the rust book a modern resource i should use to learn rust
If you ask me it's not worth it too much. Maybe to get a basic feeling, but generally learning by doing is still the best. You should be open to refactor your code multiple times to improve it and/or try different ways to solve the same problem (edited)
Avatar
ws-client BOT 2024-02-02 10:18:26Z
<ChillerDragon> @jxsl13 as far as i know this does not work for table or column names
Avatar
Catxplosion I'm thinking about stop sponsoring chn servers recently
Avatar
Avatar
TsFreddie
Catxplosion I'm thinking about stop sponsoring chn servers recently
You don't have to. Does it have a different reason than money?
Avatar
money isn't really a issue tbh lmao
11:12
there are just way too many people with way too much free time here to block to fake to apply mod just to mess with me
11:13
and those chinese ip changers/proxies are actively ignoring our request to stop supporting ddnet. made everything more difficult
Avatar
So you are unhappy being a mod?
Avatar
scratch all that, i think i'm just depressed lmao
Avatar
Ah
Avatar
i'm not even modding
11:13
Catxplosion
Avatar
U mean actively hosting the server
Avatar
well i'm not really doing anything other than providing the server
11:14
it started to feel like everyone just playing for griefing now
Avatar
Rip
Avatar
Avatar
Ewan
is the rust book a modern resource i should use to learn rust
its the best
Avatar
or maybe only checking report channel is not good for mental
Avatar
@Ewan dont listen to jupstar, he thinks the rust book is like the old rusty books of coding
11:15
but its just a big big tutorial on rust
11:15
its literally the best resource to learn rust
Avatar
i mean it is called rust book
Avatar
also next time ping me or i miss ur msg xd
11:17
@Ewan more resources, but book is ur primary:
Rust by Example (RBE) is a collection of runnable examples that illustrate various Rust concepts and standard libraries.
🦀 Small exercises to get you used to reading and writing Rust code! - GitHub - rust-lang/rustlings: 🦀 Small exercises to get you used to reading and writing Rust code!
11:17
the cheatsheet looks like this
11:18
i will check it out tomorrow
11:19
do it now
Avatar
Avatar
Ryozuki
but its just a big big tutorial on rust
I disagree it doesn't teach you lot of best practices
Avatar
rust cant wait
Avatar
It's an introduction nothing now
11:19
More
Avatar
and he needs that as first
Avatar
And I wrote that
11:19
then we are all in agreement
11:19
lets all dance
11:20
Avatar
But good day to start rust
11:20
Ffr
11:21
@Ewan learn proc macros. Important
Avatar
Why don't we include NETMSGTYPE_SV_SKINCHANGE and NETMSGTYPE_CL_SKINCHANGE from 0.7.3 to make sixup better (edited)
Avatar
i think sixup haven't been a priority for a very long time
11:34
also you can always pr
Avatar
Catxplosion ye i'll stop sponsoring ddnet chn starting in june
😮 1
👌 1
feelsbadman 1
12:23
i already sent out a post asking more people to donate servers
Avatar
@Learath2
12:37
did u know about this kernel option
Avatar
Avatar
TsFreddie
there are just way too many people with way too much free time here to block to fake to apply mod just to mess with me
yeah this sucks
Avatar
is it possible to run ddnet using i3-dmenu-desktop? thonk
Avatar
Avatar
TsFreddie
Catxplosion ye i'll stop sponsoring ddnet chn starting in june
I hope you'll still be around sharing cool stuff (unless that burns you out too)
Avatar
Avatar
MilkeeyCat
is it possible to run ddnet using i3-dmenu-desktop? thonk
I'm not familiar with that (I am with dmenu)
Avatar
Avatar
Mr.Gh0s7
I hope you'll still be around sharing cool stuff (unless that burns you out too)
when have i ever shared anything cool lol
12:51
but ye, i'll be around
Avatar
i'll still handle mod and community
12:52
maybe get someone else to watch over, but it is hard to find someone you trust to just hand everything over
12:52
not that I technically own anything but still
Avatar
my pc just got delayed for another week
😹 1
12:53
im gonna cry
12:53
what am i even paying 2.4K€ for, if it takes 2 week to arrive
Avatar
Avatar
TsFreddie
maybe get someone else to watch over, but it is hard to find someone you trust to just hand everything over
u can only have chinese mods, right?
Avatar
i want that shit to be airdropped within 2 hours at my doorstep man, its 2024 for nothing >:(
Avatar
Avatar
Uncle
u can only have chinese mods, right?
I handle chinese mod application, but I personally have mod just like other mods
12:54
i don't use them tho, cuz i don't really play ddnet since i started working
Avatar
nah i meant fng
Avatar
i don't think noby host fng on our servers anymore
Avatar
lets go pm
Avatar
Avatar
Mr.Gh0s7
I'm not familiar with that (I am with dmenu)
@MilkeeyCat is it like a i3 .desktop launcher with dmenu as interface? (edited)
Avatar
Avatar
Mr.Gh0s7
@MilkeeyCat is it like a i3 .desktop launcher with dmenu as interface? (edited)
yea
Avatar
This bad news make almost all of the CHN players surprised, i think so
Avatar
ig you should make a .desktop file for ddnet then
Avatar
Avatar
Mr.Gh0s7
ig you should make a .desktop file for ddnet then
i have it xD
12:57
but it doesnt launch ddnet 😦
12:57
i yoinked it from ddnet website
12:58
[Desktop Entry] Type=Application Name=DDNet Path=/home/urmom/personal/ddnet/build/ Exec=DDNet %u Terminal=false Categories=Games MimeType=x-scheme-handler/ddnet;
🇦🇹 1
Avatar
Avatar
MilkeeyCat
[Desktop Entry] Type=Application Name=DDNet Path=/home/urmom/personal/ddnet/build/ Exec=DDNet %u Terminal=false Categories=Games MimeType=x-scheme-handler/ddnet;
I remember that there is a DDNet.desktop in the "other" directory
Avatar
Avatar
MilkeeyCat
[Desktop Entry] Type=Application Name=DDNet Path=/home/urmom/personal/ddnet/build/ Exec=DDNet %u Terminal=false Categories=Games MimeType=x-scheme-handler/ddnet;
the good old "urmom" directory (edited)
Avatar
Avatar
MilkeeyCat
[Desktop Entry] Type=Application Name=DDNet Path=/home/urmom/personal/ddnet/build/ Exec=DDNet %u Terminal=false Categories=Games MimeType=x-scheme-handler/ddnet;
does it throw an error or smt?
Avatar
nothing
13:01
i can run it by typing ddnet:// in firefox tho Xd
Avatar
Avatar
Ryozuki
did u know about this kernel option
It's new. I just enabled it with my last kernel upgrade, but idk if anything uses it yet
Avatar
Avatar
MilkeeyCat
[Desktop Entry] Type=Application Name=DDNet Path=/home/urmom/personal/ddnet/build/ Exec=DDNet %u Terminal=false Categories=Games MimeType=x-scheme-handler/ddnet;
You can do sudo make install in your build directory, and it will install the .desktop file.
Avatar
it works :p
13:06
and it installed shit tons of files (edited)
Avatar
ig the problem was it couldn't find the DDNet programm in path
13:08
but shouldn't the Path= do that (set the cwd to the one specified)
Avatar
Avatar
Mr.Gh0s7
ig the problem was it couldn't find the DDNet programm in path
it was using the same path for custom protocol whatever that thing is called
13:08
and it worked
13:09
is there sudo make uninstall? justatest
Avatar
Avatar
MilkeeyCat
is there sudo make uninstall? justatest
Nope :^)
Avatar
Avatar
MilkeeyCat
is there sudo make uninstall? justatest
maybe you could see the logs (it it outputs that) to what and where it was installed
13:11
(the ouput of sudo make install)
Avatar
yeah, i have it
Avatar
[Desktop Entry] Type=Application Name=DDNet GenericName=Platform Game Path=/home/urmom/personal/ddnet/build/ Exec=/home/urmom/personal/ddnet/build/DDNet %u Icon=ddnet Terminal=false Keywords=game;multiplayer; Categories=Game;ArcadeGame; MimeType=x-scheme-handler/ddnet; Comment=Launch DDNet it worked 😄
Avatar
The "Ctrl+F" key combination assigns the next available teleport number, but it does not take into account the "FROM/TO/WEAP/HOOK" teleport type. While I'm not sure if this was done on purpose, the counter is not reset when going from "FROM" to "TO", making this feature impractical. As a suggestion for improvement, it would be useful if the counter could be reset when changing teleport type. This would be very efficient, especially when dealing with a large number of teleports and their ty...
Avatar
i hate that when i edit a msg in github, it always makes the ugly small ass edit box they could easily at least take the space of "Add comment" or smth (edited)
💯 1
13:27
gh should hire me
13:27
13:27
^ this is default size
13:28
this would already be perfect
13:28
xd
13:28
not so hard xd
Avatar
cant u resize it? (edited)
Avatar
you can resize it in the bottom right corner. but why is it not usable by default?
13:35
I think sometimes it resizes itself
Avatar
yep for me it doesnt remember the resize
13:40
so every time i edit i get small ugly editbox
13:40
in this comment its not even as bad.. if u have wall of text, it's horrible
Avatar
Avatar
meloƞ
my pc just got delayed for another week
wtf?
13:44
where did u buy
13:44
is some piece of hardware not in stock or what
Avatar
Bei Mindfactory.de finden Sie günstige Hardware, Software, Notebooks, Computer, Tablets, Smartphones, Spielekonsolen und vieles mehr.
13:45
they didnt
Avatar
u can ask them to cancel only the case and buy a new one or switch to a cheaper or equal expensive one
13:47
but i guess cancel would mean u dont get free shipping right? 😄
13:47
that sucks ofc
13:47
i think only 150€+ is free at mindfactory
13:47
and only from 0-6 o'clock xDD weirdest rule
Avatar
yeah its insane
13:52
meh another week of laptop gaming ig
Avatar
რილია 2024-02-02 13:52:59Z
hello there
13:54
how can i change a player feet color? i know i need to change this pPlayer->m_TeeInfos.m_ColorFeet = someint but i don't know how to convert a hsla to int (edited)
Avatar
The combination of VSCode and an extension that formats my code automatically when saving and pushing commits to GitHub doesn't work so well 👀
Avatar
Avatar
murpi
The combination of VSCode and an extension that formats my code automatically when saving and pushing commits to GitHub doesn't work so well 👀
what part exactly does not work
14:39
u have to set the formatter and also activate format on save
14:39
S Tier indenting
Avatar
rip
Avatar
do you use prettier?
14:41
i wonder if that even works for native html
Avatar
Avatar
Jupstar ✪
do you use prettier?
Yes
Avatar
it does
14:42
oops i was late
Avatar
mhh
14:43
that should normally work well on vscode
14:43
but never used it with html tho
Avatar
Avatar
murpi
S Tier indenting
big fan
Avatar
Fixes #7705 !changes

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 (especially base/) or added coverage to integration test
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing maps
-...
Avatar
Avatar
Jupstar ✪
but never used it with html tho
I mean it does work, I'd even say it's easier to read now, buuut if I'd were to change even more files, finding my changes would be like finding a needle in a haystack 😄
Avatar
Avatar
murpi
I mean it does work, I'd even say it's easier to read now, buuut if I'd were to change even more files, finding my changes would be like finding a needle in a haystack 😄
u could format all in one commit, add your changes ontop of those
Avatar
Avatar
murpi
I mean it does work, I'd even say it's easier to read now, buuut if I'd were to change even more files, finding my changes would be like finding a needle in a haystack 😄
yea. that's bad. please don't mix reformatting with actual changes
14:57
I don't see a good way to see what changed
Avatar
Avatar
heinrich5991
yea. that's bad. please don't mix reformatting with actual changes
Can you help me fix that? ^^
Avatar
Avatar
murpi
Can you help me fix that? ^^
is your diff big?
15:02
your actual diff
15:02
your changes
Avatar
I'd say no, maybe 500 lines
15:03
it's mostly just text
Avatar
Avatar
murpi
I'd say no, maybe 500 lines
mh you could try make a second branch, only do the formatting and try to merge your other branch on it
15:05
but no idea how likely collisions are
Avatar
Avatar
Jupstar ✪
mh you could try make a second branch, only do the formatting and try to merge your other branch on it
I don't want to format the code at all xd
Avatar
well that's too late xd
Avatar
I'd checkout the earlier commit and then redo the changes, without reformatting and just force push
15:06
the changes -> my changes
15:06
Does that not work?
Avatar
yes but sounds like lot of work
15:06
it's basically as starting from new or not
Avatar
No, the PR has multiple commits, and the last one can be redone fairly quickly
Avatar
ah ok
15:07
git rebase --interactive HEAD~2
15:07
then put e for edit into the last one or d for drop
15:08
when u done: git commit --amend then git rebase --continue
15:08
in case of edit xd
Avatar
oh my gawd why is this so hard
Avatar
Avatar
meloƞ
what am i even paying 2.4K€ for, if it takes 2 week to arrive
some get melons, others get potatoes.
Avatar
Avatar
ws-client
<ChillerDragon> @jxsl13 as far as i know this does not work for table or column names
it might be possible to do but you will not like the verbosity of the sql statement. Alternatively, you could have a single table that has a column that you use for switching between contexts.
Avatar
format on save is evil
Avatar
@murpi I can fix it later
16:31
ah, you're already on it
Avatar
Avatar
heinrich5991
ah, you're already on it
already done 👀
16:32
(I think)
Avatar
Hello, Today we will be looking at (and listening to!) many of the sound improvements we have been working on for 2.0.
Avatar
Why do some config variables have zero for both min and max? Like sv_port for example.
Avatar
that declares a config variable without limits
Avatar
Seems kinda confusing, also shouldn't sv_port have a limit in this case? e.g. 1-65535
Avatar
Avatar
furo
Seems kinda confusing, also shouldn't sv_port have a limit in this case? e.g. 1-65535
do pr, get fame
Avatar
Would be cleaner to use INT_MIN and INT_MAX instead of 0 for variables without limits
Avatar
would be cleaner to have proper type support 😬
17:08
NonZerou16
Avatar
Also, the server doesn't seem reachable when you use sv_port -1000, no idea what port it tries to bind to
17:12
Tbh sound is already great in factorio
Avatar
Avatar
ReiTW
Lol wut
what xd
Avatar
Ah, obviously I should just literally connect to localhost:-1000 and that works?? monkalaugh
Avatar
resolved connect address 'localhost:-1000' to [::1]:64536 facinating
Avatar
idk if its in rust source but rust defines u64::MAX to -1
17:13
xd
17:13
atleasdt its what rust-analyzer hover showed lol
Avatar
Avatar
Robyt3
resolved connect address 'localhost:-1000' to [::1]:64536 facinating
try one that overflows u16 to 0
17:14
or to a used port
Avatar
impl u64 { uint_impl! { Self = u64, ActualT = u64, SignedT = i64, NonZeroT = NonZeroU64, BITS = 64, MAX = 18446744073709551615, rot = 12, rot_op = "0xaa00000000006e1", rot_result = "0x6e10aa", swap_op = "0x1234567890123456", swapped = "0x5634129078563412", reversed = "0x6a2c48091e6a2c48", le_bytes = "[0x56, 0x34, 0x12, 0x90, 0x78, 0x56, 0x34, 0x12]", be_bytes = "[0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56]", to_xe_bytes_doc = "", from_xe_bytes_doc = "", bound_condition = "", } widening_impl! { u64, u128, 64, unsigned } midpoint_impl! { u64, u128, unsigned } }
Avatar
it's just cast to a u16
Avatar
i wonder what the macro does
Avatar
uff the rust png crate compresses extremly bad
17:14
someone expert?
Avatar
so 0 will let the OS select a port
17:15
and every other port is just that modulo 65536
Avatar
Avatar
Jupstar ✪
try one that overflows u16 to 0
E server: couldn't open socket. port 64536 might already be in use looks like it does module
Avatar
that font color kills me
Avatar
Avatar
Robyt3
E server: couldn't open socket. port 64536 might already be in use looks like it does module
it's the type cast that does the implicit modulo
17:15
we're putting it into a u16 somewhere
17:15
our int
Avatar
Avatar
heinrich5991
we're putting it into a u16 somewhere
Yeah, NETADDR uses short
Avatar
a C style cast from uint to int is not ub right?
17:16
whats ub is overflows
Avatar
man where is voxel when u need him xd
Avatar
i wonder if we can find any under or overflows
17:17
Multithreaded PNG optimizer written in Rust. Contribute to shssoichiro/oxipng development by creating an account on GitHub.
Avatar
Avatar
Ryozuki
a C style cast from uint to int is not ub right?
uint to int is fine, I think
Avatar
-o max
Avatar
@Pipou do you remember what optimizations you ran on top of arctic frost? like any optimizer that uses a higher compression level?
Avatar
// Used because the `?` operator is not allowed in a const context. macro_rules! try_opt { ($e:expr) => { match $e { Some(x) => x, None => return None, } }; }
17:18
lol
Avatar
Avatar
Ryozuki
is it blazingly fast? i am just impressed that an embedded deflate compression beats the png encoder of rust's png crate xD
Avatar
Avatar
Jupstar ✪
is it blazingly fast? i am just impressed that an embedded deflate compression beats the png encoder of rust's png crate xD
allegedly the fastest i could find in rust
Avatar
so either that map resources were compressed with some expensive optimization or the compression sucks hard
Avatar
Avatar
Jupstar ✪
is it blazingly fast? i am just impressed that an embedded deflate compression beats the png encoder of rust's png crate xD
maybe png is made to be fast and processing pngs? not compressing idk
17:19
make a pr
Avatar
Avatar
Jupstar ✪
is it blazingly fast? i am just impressed that an embedded deflate compression beats the png encoder of rust's png crate xD
(embedded tw map images)
Avatar
Avatar
Ryozuki
maybe png is made to be fast and processing pngs? not compressing idk
normally png has some optimizations for better results, e.g. transforming the image in a lossless way, and using zopfli i get insane size diffs
Avatar
Avatar
Jupstar ✪
@Pipou do you remember what optimizations you ran on top of arctic frost? like any optimizer that uses a higher compression level?
I have no idea what you are talking about
Avatar
Optimizing Santa_Factory1.png Input size: 528347 (515K) Result size: 74757 (73K). Percentage of original: 14.149% 14% of original xd
Avatar
Avatar
Pipou
I have no idea what you are talking about
do you use some kind of map optimizer tool?
Avatar
Avatar
Ryozuki
// Used because the `?` operator is not allowed in a const context. macro_rules! try_opt { ($e:expr) => { match $e { Some(x) => x, None => return None, } }; }
serde also uses a try macro because it was faster 😦
Avatar
Avatar
Jupstar ✪
do you use some kind of map optimizer tool?
No, why 😮
Avatar
Avatar
heinrich5991
serde also uses a try macro because it was faster 😦
because it compiles faster* or it is faster at runtime?
17:22
iirc serde does the impossible to compile fast
Avatar
faster at runtime
17:22
(but also at compile-time)
17:22
what's the asterisk doing there? 🙂
Avatar
@Jupstar ✪ oxipng uses zopfli
17:22
oxipng = { version = "9.0", features = ["parallel", "zopfli", "filetime"], default-features = false }
Avatar
Avatar
Pipou
No, why 😮
i am experimenting with how a map format would look like if it could have other compression algorithms and other benefits like not storing images inside the map itself. I was just wondering why arctic frost is pretty good compression wise
Avatar
Avatar
Ryozuki
@Jupstar ✪ oxipng uses zopfli
nice, but zopfli is very very slow, i'd like to have a good default one
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 (especially base/) or added coverage to integration test
  • [ ] 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-ad...
Avatar
but still maybe nice as a "optimized" save or smth
Avatar
u want good compression or fast xd
Avatar
Avatar
Ryozuki
u want good compression or fast xd
i want one that is fast, but not as bad as the png crate xD
Avatar
I reduce the image size the most I can
Avatar
[dependencies] zopfli = { version = "0.8.0", optional = true, default-features = false, features = ["std", "zlib"] } rgb = "0.8.36" indexmap = "2.0.0" libdeflater = "1.19.0" log = "0.4.19" bitvec = "1.0.1" rustc-hash = "1.1.0"
Avatar
which cant even beat tw's embedded images
Avatar
zopfli is optional
Avatar
which uses normal zlib
17:24
with zopfli i get: old: 1,7 MiB (1.759.726) new: 1,1 MiB (1.116.559)
17:25
less impressive than i thought tbh
17:25
lol
Avatar
Maybe it depends on how the image is rendered (in graphics softwares)
Avatar
that's file size
17:27
@Pipou but thanks anyway
Avatar
with oxipng?
Avatar
Avatar
Ryozuki
with oxipng?
i will try that now
17:27
without zopfli tho
Avatar
gogogo
17:28
maybe its meant to be fast
17:28
cuz mt
Avatar
i try png with compression best now first
17:28
1,4 MiB (1.460.418)
Avatar
measure runtime
Avatar
well at least better than default
Avatar
Avatar
Ryozuki
measure runtime
ah yeah should add that too, true
Avatar
Avatar
Ryozuki
btw does it have hidden c libs? xd
17:32
zopfli would probably add one
17:38
@Ryozuki ### original teeworlds map file: 1.7 MiB (1.759.726) ### crate png: - best compression encoding images to png took 0.80s / 798ms / 798ms global 1.4 MiB (1.460.418) - non specified: encoding images to png took 0.04s / 38ms / 38ms global 2.9 MiB (3.082.201) ### png non specified + oxipng: encoding images to png took 5.40s / 5403ms / 5403ms global 1,0 MiB (1.074.655) the result is insane, better than zopfli with --keepcolortype so i guess it might change the color types of the pngs but runtime is bad XD
Avatar
maybe i should try a different format than png
17:43
webp
Avatar
maybe jpeg xl?
17:48
it has a lossless mode
Avatar
Mh but it has no browser support
Avatar
ah
Avatar
Wouldn't be horrible, but for tw probably not nice xd
17:57
in this random size benchmark i found on (https://siipo.la/blog/whats-the-best-lossless-image-format-comparing-png-webp-avif-and-jpeg-xl) jpg xl also wins xd (edited)
17:57
17:58
17:58
this makes me nervous tho
Avatar
webp wins there ^^
Avatar
oxipng is already very slow for me xd, how could it win here
17:59
i probably need one with default settings xd
Avatar
Avatar
რილია
how can i change a player feet color? i know i need to change this pPlayer->m_TeeInfos.m_ColorFeet = someint but i don't know how to convert a hsla to int (edited)
რილია 2024-02-02 18:00:34Z
can someone help me ?
Avatar
i like if size is small as optional optimization but default should be fast
Avatar
Avatar
რილია
how can i change a player feet color? i know i need to change this pPlayer->m_TeeInfos.m_ColorFeet = someint but i don't know how to convert a hsla to int (edited)
you could look around in the code for other places that do it
Avatar
Avatar
heinrich5991
you could look around in the code for other places that do it
რილია 2024-02-02 18:04:14Z
i founded this, but i don't get how it's working int ColorFeet = ColorHSLA(m_ColorFeet).UnclampLighting().Pack(ms_DarkestLGT7);
18:04
and why the color is not an unsigned int ?
Avatar
The doner, known as Germany’s national dish, is being skewered by the rising prices of ingredients amid cost of living crisis, MPs are told
18:10
lmao
Avatar
10€ 😮
Avatar
here most are 5-6
Avatar
I think my last kebabs were also 5-6€
Avatar
10 euro kebab??? blasphemous
18:57
Germany is a failed state
Avatar
Avatar
Jupstar ✪
Click to see attachment 🖼️
please draw time vs size to find optimal one
Avatar
Avatar
რილია
and why the color is not an unsigned int ?
Teeworlds has an allergy to unsigned types
feelsamazingman 1
Avatar
Avatar
Chairn
please draw time vs size to find optimal one
not so easy to find a good one in internet xd
Avatar
Avatar
რილია
i founded this, but i don't get how it's working int ColorFeet = ColorHSLA(m_ColorFeet).UnclampLighting().Pack(ms_DarkestLGT7);
You want something like this indeed, you just don't need to unclamp
❤️ 1
19:06
For 0.7 clients you'll need to pack with ms_DarkestLGT7 for 0.6 ones you need to pack with a different value I don't remember
19:07
I'm still not a huge fan of the colors even after my very own rewrite. I should have created a new class ColorTee and ColorTeeSixup for clamped ones
Avatar
Hello dear DDNet development team, I would like to suggest reworking the quad handles. At the moment I have a hard time selecting the little red boxes and when the background is dark I can hardly see what I have selected. At the moment I always have to put an extra quad aside whose only function it is to select things. To simplify the work with the handles/buttons you could: -add an identical colour selection window for all corners to the green button -make the red boxes selectable t...
Avatar
Hello dear DDNet development team, I would like to suggest adding the option to make a layer only appear when high details is turned off. For some of my maps, I want a nice/beautiful design with tiles that have round corners. But when people want to see exactly where the edges of the tile are, they quickly switch to entities. To prevent that, I often map my HD-off version of the map with square tiles. Since the round tiles don't cover the square tiles, I have to hide the square tiles b...
Avatar
b9a0d14 dont assume number of threads when using make - dobrykafe 863ae5f Merge pull request #7898 from dobrykafe/pr-readme - Robyt3
19:42
Hello dear DDNet development team, I would like to suggest adding a scaling tool for quads. As it stands it is rather troublesome to scale quads and keeping the aspect ratio. The "aspect ratio" button is sometimes mirroring the image which doesn't really help. Maybe I am just using it wrong. I don't know. Maybe when moving a red handle and then pressing ctrl it moves the adjacent handles by their corresponding x and y value. And then when also holding shift it keeps the aspect ratio....
Avatar
Ehh
19:47
dont know how useful that would actually be
Avatar
@Jupstar ✪ store layers as images as well :D
Avatar
Hello dear DDNet development team, I would like to suggest that the groups are collapsed/closed instead of opened when loading a (new) map. Or maybe they remember whether they were opened or closed when I saved the map. That would help me keep things organized, as I mostly use one group at a time while the rest are closed. Also a button to open/close all of them at once would be very helpful. However, these are just suggestions. Even if none of them are ever implemented, I really appre...
Avatar
Avatar
GitHub
Click to see attachment 🖼️
ok this is just stupid now
Avatar
Avatar
Patiga
@Jupstar ✪ store layers as images as well :D
yeah would be cool^^
Avatar
hello dear jan38
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 (especially base/) or added coverage to integration test
  • [ ] 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-addres...
Avatar
The game crashes if you click on the center of a quad (green dot) and press the up or down directional key. (left and right are fine).
20:39
You can't properly click and check the boxes (such as sync.) or reach the text box when changing the size of the envelope menu. !image !image
Avatar
Avatar
Learath2
Germany is a failed state
in a town its indeed 5€, whoever charges that much on kebab should be sentenced
Avatar
minimum i had a kebab for was 3€
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 (especially base/) or added coverage to integration test
  • [ ] 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-addresss...
Avatar
Avatar
Cellegen
in a town its indeed 5€, whoever charges that much on kebab should be sentenced
INDEED 5€ ? i live in a town with 20K citizens, i pay almost 8
Avatar
Check selected quad index when rendering quad popup. Fixes #7904.

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 (especially base/) or added coverage to integration test
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or ...
Avatar
Safety-critical applications oriented Real-Time Operating System written in Rust - GitHub - n7space/aerugo: Safety-critical applications oriented Real-Time Operating System written in Rust
21:26
This project is developed as part of the European Space Agency activity Evaluation of Rust Usage in Space Applications by Developing BSP and RTOS Targeting SAMV71
Avatar
Better start time
  • [ ] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test (especially base/) or added coverage to integration test
  • [ ] 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-addre...
Avatar
Avatar
GitHub
Click to see attachment 🖼️
kek kek kek kek kek kek kek kek (edited)
Avatar
@heinrich5991 ehrm, askshually it was my 2nd pr pepeW
Avatar
Avatar
MilkeeyCat
@heinrich5991 ehrm, askshually it was my 2nd pr pepeW
AFpikasip
Avatar
first one was about custom browser protocol
Avatar
ah
21:58
github said "first-time contributor"
Avatar
it wasnt merged
Avatar
i think since the PR was closed without merging?
21:59
ye
Avatar
oh fuck, i didnt check checkboxes
kek 1
21:59
feelsbadman
Avatar
could've get it merged if you checked them ;(
Avatar
yea
22:00
thats probably why it was closed
Avatar
surely!
22:06
e8305ef Move CSnapIDPool to separate compilation unit - Robyt3 a77630b Merge pull request #7903 from Robyt3/Server-SnapIdPool-Split - heinrich5991
Avatar
Avatar
GitHub
Click to see attachment 🖼️
will increase compile times though. dont think its worth.
22:14
2ed631b Set max limit for sv_port and ec_port to 65535 - furo321 63e010b Merge pull request #7906 from furo321/limit-port-range - heinrich5991
22:15
dd44c6c Minor improvement of dummy config variable descriptions - Robyt3 d988b92 Check selected quad index when rendering quad popup (fixes #7904) - archimede67 1337e52 Merge pull request #7907 from archimede67/editor-fix-quads-crash - heinrich5991 7f85922 Merge pull request #7872 from Robyt3/Client-Dummy-Config-Desc - heinrich5991
Avatar
MAX_NAME_LENGTH includes space for \0, which doesn't need to be accounted for in SQL. So, the correct size would be 15 instead of 16. I also checked if there is any names in the official database that is more than 15 characters, but there is not. sqlite> SELECT MAX(LENGTH(name)) FROM race; MAX(LENGTH(name)) ----------------- 15

Checklist

  • [ ] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly r...
Avatar
What sum? ayo
Avatar
cumulative
23:19
ah, it says so
Avatar
@murpi ❤️
Avatar
Can't wait for things to break left and right again
23:22
Testing the bot changes was incredibly difficult. You can't even change a map channel twice without being rate-limited
23:33
b3f85c2 new testing rules and guidelines - murpii 2c29e8d credits - murpii 878aa8c Fix, Add some spacing to footer - murpii f5d957d fix - murpii f0b3e40 Merge pull request #285 from murpii/pr_testing_rules_and_guidelines - def-
23:36
33aac32 Lots of testing changes - murpii 2d506b2 credits - murpii 4b85a4f Update cogs/bot_messages/dictionary.py - def- ef9835f Merge pull request #76 from murpii/pr_testing_changes - def-
Exported 390 message(s)