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-05-11 00:00:00Z and 2024-05-12 00:00:00Z
Avatar
ws-client BOT 2024-05-11 00:21:03Z
<ChillerDragon> melon i think resurrect worked for me but i stopped using it quickly because i did not like it. These days I am happy with a fresh start every morning. What does not work for you?
Avatar
ws-client BOT 2024-05-11 01:14:55Z
<ChillerDragon> lmao ssh terminal.shop
Avatar
The ddnet buttons kill and pause do not fit in anymore if there is also a join red/blue button. This commit fixes that by overflowing the buttons into a second row if there is not enough space anymore. It makes use of the previously unused variable ButtonBar2. Related prior work https://github.com/ddnet/ddnet/pull/2720

before

https://github.com/ddnet/ddnet/assets/20344300/775ac460-d70e-4945-a2d6-a713b66df928

after

https://github.com/ddnet/ddnet/assets/20344300/03fc0...
Avatar
for 0.7, how exactly do I convert negative codes to hsl?
Avatar
!loading_rcon_commands

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 ma...
Avatar
Shows help text of last command not of the entire input.

before

!image

after

!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 (especially base...
Avatar
Avatar
Sans
for 0.7, how exactly do I convert negative codes to hsl?
0.7 moment
05:31
Chillerdragun, any idea?
Avatar
I'm working it out, slowly
05:38
im bad at bit stuff so ai is my best friend rn
05:39
I'm trying to understand what the ai has done and then re-write it in a way that makes sense to me
05:39
tbh im doing all of what im doing to learn stuff xd
Avatar
Avatar
ws-client
<ChillerDragon> melon i think resurrect worked for me but i stopped using it quickly because i did not like it. These days I am happy with a fresh start every morning. What does not work for you?
Fresh start every morning MonkaS - fair enough, Well it wont save spacing and Position of anything after restart which Kind of Defeats the Point of using it imho
Avatar
Avatar
Sans
tbh im doing all of what im doing to learn stuff xd
we all did some AI stuff and learned how Not to do something xd
Avatar
Avatar
Sans
for 0.7, how exactly do I convert negative codes to hsl?
Isn't it just means that first bit is set to 1 so it becomes negative, but you can handle it any other value
Avatar
nvm :/
Avatar
I was able to make it work like this function HSLAfromTWcode(twCode: number, hasAlpha?: boolean): [number, number, number, number] { const hsla: [number, number, number, number] = [0, 0, 0, 255]; if (hasAlpha) { hsla[3] = (twCode >> 24) & 0xff; twCode = twCode & 0x00ffffff; } hsla[0] = ((twCode >> 16) & 0xff) * (360 / 255); hsla[1] = ((twCode >> 8) & 0xff) * (100 / 255); hsla[2] = (twCode & 0xff) * (100 / 255); hsla[3] /= 255; return hsla; }
06:15
Now that I look at it it does kinda look ugly 💀
Avatar
Avatar
ws-client
<ChillerDragon> melon i think resurrect worked for me but i stopped using it quickly because i did not like it. These days I am happy with a fresh start every morning. What does not work for you?
what are u talking about chiller
06:46
also wanna play gores
Avatar
Avatar
Sans
for 0.7, how exactly do I convert negative codes to hsl?
i'm back again
07:09
the negative code is alpha i'm pretty sure
Avatar
not always
07:10
I was messing around with colors and I noticed the number isnt always negative for a code that has an encoded alpha value
07:10
it's negative because of double negative integer something
Avatar
can I actually get anything from it
Avatar
Avatar
Sans
I was able to make it work like this function HSLAfromTWcode(twCode: number, hasAlpha?: boolean): [number, number, number, number] { const hsla: [number, number, number, number] = [0, 0, 0, 255]; if (hasAlpha) { hsla[3] = (twCode >> 24) & 0xff; twCode = twCode & 0x00ffffff; } hsla[0] = ((twCode >> 16) & 0xff) * (360 / 255); hsla[1] = ((twCode >> 8) & 0xff) * (100 / 255); hsla[2] = (twCode & 0xff) * (100 / 255); hsla[3] /= 255; return hsla; }
perhaps to remove the need for an additional parameter here
07:11
?
07:11
only the marking color code has an alpha value
Avatar
only the marking can be transparent that is why
Avatar
yea, since I know that I can put in true whenever im coloring the marking
Avatar
actually idk that so forgive my yapping
Avatar
no, no, ur right
07:12
At least from what I can see, the body in 0.7 is only the shape, the decoration on top of it is the marking
07:12
it's a simple overlay
07:13
so the code is correct no?
Avatar
Avatar
Sans
I was able to make it work like this function HSLAfromTWcode(twCode: number, hasAlpha?: boolean): [number, number, number, number] { const hsla: [number, number, number, number] = [0, 0, 0, 255]; if (hasAlpha) { hsla[3] = (twCode >> 24) & 0xff; twCode = twCode & 0x00ffffff; } hsla[0] = ((twCode >> 16) & 0xff) * (360 / 255); hsla[1] = ((twCode >> 8) & 0xff) * (100 / 255); hsla[2] = (twCode & 0xff) * (100 / 255); hsla[3] /= 255; return hsla; }
this works, yea
07:13
07:14
I only rendered the body here, I'd say it's close enough
07:14
tho maybe ever so slightly lighter
Avatar
what's causing that discrepancy
Avatar
I'm not sure tbh
07:15
possibly my function that takes care of coloring
Avatar
Im not aure if there is one, just diff background ans brain does rhings
Avatar
Avatar
Gumba
Im not aure if there is one, just diff background ans brain does rhings
could be that too
07:15
I thought of that xd
Avatar
no the rgb is definitely different
Avatar
ok, right one more bright?
this 1
Avatar
(126,34,143) left and (186,59,209) on the right yeah
Avatar
Avatar
deathgood
no the rgb is definitely different
This is how I'm converting function HSLToRGB(hsl: [number, number, number]): [number, number, number] { const [hue, saturation, lightness] = hsl; const chroma = (1 - Math.abs((2 * lightness) / 100 - 1)) * (saturation / 100); const huePrime = hue / 60; const secondComponent = chroma * (1 - Math.abs((huePrime % 2) - 1)); let red = 0; let green = 0; let blue = 0; const flHuePrime = Math.floor(huePrime); if (flHuePrime === 0) { red = chroma; green = secondComponent; blue = 0; } else if (flHuePrime === 1) { red = secondComponent; green = chroma; blue = 0; } else if (flHuePrime === 2) { red = 0; green = chroma; blue = secondComponent; } else if (flHuePrime === 3) { red = 0; green = secondComponent; blue = chroma; } else if (flHuePrime === 4) { red = secondComponent; green = 0; blue = chroma; } else if (flHuePrime === 5) { red = chroma; green = 0; blue = secondComponent; } const lightnessAdjustment = lightness / 100 - chroma / 2; red = Math.round((red + lightnessAdjustment) * 255); green = Math.round((green + lightnessAdjustment) * 255); blue = Math.round((blue + lightnessAdjustment) * 255); return [red, green, blue]; }
07:17
Mostly taken from TeeAssembler 2.0
Avatar
what even is that
Avatar
¯\_(ツ)_/¯
Avatar
before you analyze that code i'd just suggest getting whatever hsl output you'd normally get and putting it through an online converter
Avatar
This is what I get from the tw code [ 290.82352941176475, 61.96078431372549, 14.117647058823529, 1 ]
07:19
for the body color
Avatar
H S L ?
07:19
hsla actually
07:19
but if alpha doesnt exist i default to full opacity
Avatar
is hue in degrees?
Avatar
converter says degrees and i'm not even sure what that means for color
07:20
Avatar
I did 62 for saturation cuz it's .9
07:20
but yea it's about right
Avatar
i mean that's neither of the colors present in the image though
07:21
somewhat concerning
Avatar
function output is [ 51, 14, 58 ]
Avatar
no but like what's the rgb of the in-game skin
Avatar
no such thing, it's in hsl (edited)
Avatar
Avatar
Sans
function output is [ 51, 14, 58 ]
probably accurate just some rounding error
Avatar
Avatar
deathgood
probably accurate just some rounding error
yea the hue is 290.8 (edited)
07:23
if i round it it's the same as the function
Avatar
Avatar
Sans
no such thing, it's in hsl (edited)
i mean if you screenshot it
Avatar
the one in the bottom left is the color?
Avatar
(126,34,143)
Avatar
that doesnt look right
Avatar
Avatar
Sans
Click to see attachment 🖼️
did you put in the hsl here
07:25
says different values
Avatar
yea, it's the same thing
Avatar
what
Avatar
The color from the screenshot is correctly converted to hsl, the function that converts from that to rgb also works correctly
07:27
this is the tw code for that 13540900
Avatar
yeah but what about the discrepancy you showed me earlier?
Avatar
no idea where it comes from
07:31
it's close enough
07:31
😩
Avatar
chillerdragon: pro
09:46
21 open prs
09:47
chillerdragon: when will we do an anti german accent course to sound more professional?
Avatar
german is among the most professional accents imo
Avatar
i think i can talk with much less accent, but not in a good speed. e.g. if i sing i can sing pretty well in english, since i always say the same text
09:56
but with random sentences it's kinda hard at a good speed
Avatar
Avatar
Ewan
german is among the most professional accents imo
Where did this come from? 😄
Avatar
general American perception of germans
09:58
they’re all engineers n shit
09:58
kek
Avatar
einsteins accent was heavy lol
Avatar
that is a third effect. here your hook passes perfectly through the gap with the perfect angle (not what calculation allows this). this is not related to edgehooks or the usual hooking-through-corners
Avatar
The tooltip was not shown if the seekbar is the active item, i.e. when the first mouse button is held down and the seekbar is currently updating the demo player. The seekbar is immediately activated if the mouse button is held while moving the mouse over the seekbar, which is inconsistent with the general DoButtonLogic behavior. This is problematic on Android, where the first mouse button is always pressed while the mouse is being moved, causing the seekbar to steal focus immediately whe...
Avatar
Avatar
Jupstar ✪
einsteins accent was heavy lol
it sounds so great tho :D
Avatar
morning neovim users and others
Avatar
Avatar
Ryozuki
morning neovim users and others
morning non c users and @Ryozuki
12:09
also wtf morning
12:09
where do you live xddd
Avatar
Avatar
Ryozuki
morning neovim users and others
mornin rust enjoyers and what ever the hell Jupsti is doing
Avatar
chillerdragon BOT 2024-05-11 12:37:59Z
Yea most of them waiting for review -.- I usually solve nitpicks within 24 hours and then they get stale ._.
Replying to @Jupstar ✪ 21 open prs
12:40
That’s a thing? I know some dude born and raised on the other side of the world who moved to Germany as an adult. He speaks better German than I do. No accent. I could never tell he is not a native. That’s so impressive.
Replying to @Jupstar ✪ chillerdragon: when will we do an anti german accent course to sound mor…
Avatar
Avatar
Cellegen
0.7 moment
I think I nailed it
Avatar
Avatar
chillerdragon
That’s a thing? I know some dude born and raised on the other side of the world who moved to Germany as an adult. He speaks better German than I do. No accent. I could never tell he is not a native. That’s so impressive.
we found one ourself
Avatar
I think I fixed the color problem
13:42
also something seems off...
Avatar
what r u working on with 0.7 skins?
Avatar
his renderer
Avatar
but for what, just a skin renderer?
13:46
or a demo renderer
Avatar
literally for the hell of it, yea
Avatar
or whatver
13:46
i c
Avatar
its funny how weird feet replicates xd
Avatar
it's gonna end up in my package at some point, but for now im experimenting and trying to get it working right
Avatar
btw found out that i have a need for tui/cli only apps if i ever will use my laptop outside xdddd
13:48
just use a gui SunglassesSwagling
Avatar
it dies instantly in x session
Avatar
i didnt learn vulkan to use terminal apps
13:48
😏
Avatar
thanks to chiller i can play tw in terminal
Avatar
in the htop rendering engine? xdd
Avatar
i mean, there was this thing that would play a video of some random pc in a room in ur terminal
13:50
very pixelated, but quite enjoyable
Avatar
Avatar
Jupstar ✪
in the htop rendering engine? xdd
xd
13:51
i still have no money to buy a better laptop and NO BETTER LAPTOP IN STORES
13:52
official retail started to resell chinese small game consoles instead lmfao
Avatar
i watched dragonball in ascii art
13:52
13:52
little tutorial
13:52
for the enjoyers
Avatar
is there a cli command for this?
13:52
xd
Avatar
ok i think i used colored ascii art
Avatar
Avatar
zhn
is there a cli command for this?
i think yes
Avatar
Avatar
Jupstar ✪
Click to see attachment 🖼️
dude doesnt even use ani-cli smh
Avatar
The controller name is also shown if there is only exactly one controller connected, but the height was not increased for the additional row. Screenshots:
  • Before:
!screenshot_2024-05-11_17-04-57
  • After:
!screenshot_2024-05-11_17-04-52

Checklist

  • [X] Tested the change ingame
  • [X] Provided screenshots...
Avatar
Currently, it stores too much (probably uninitialized) data in the quad layer.

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 wit...
Avatar
@Ryozuki best tokenizer/lexer and best parser you know? in pure rust
Avatar
Create ridiculously fast Lexers. Contribute to maciejhirsz/logos development by creating an account on GitHub.
Avatar
looked into edlang, he uses that indeed
18:38
😬
Avatar
owo i know :)
18:38
im the biggest ryo simp on earth
18:38
fr
Avatar
yeah he said he ain't single anymore
18:38
please dont tell my wife.
Avatar
ah right, u were the one with kid already lmao
Avatar
how old r u even?
18:40
arent u like 27
Avatar
same age as ryu...
Avatar
wtf
18:40
was that kid planned?
18:40
xddd
Avatar
??? yes'nt
18:40
KEKW
Avatar
did u marry before or after
Avatar
before u knew it?
Avatar
justatest man...
Avatar
yeah yeah
18:41
i get my answers
18:41
catxplosion catxplosion catxplosion catxplosion catxplosion catxplosion catxplosion catxplosion catxplosion
Avatar
Avatar
Jupstar ✪
yeah yeah
jupsti get a job at roberts space industries and fix their damn vulkan renderer
18:43
ty <3
Avatar
wrf
18:44
give me job
18:44
overpaid
Avatar
https://robertsspaceindustries.com/roadmap/progress-tracker/deliverables/xctrxlu0xmq63 imagine you get a job like "Ocean Shader Improvements", you get a co-worker assigned and 20 weeks to complete (edited)
The Roberts Space Industries Star Citizen and Squadron 42 roadmaps.
18:46
now imagine you finish it within 3 months and you can just chill
Avatar
lmao
18:47
depends on salery if i'd speedrun i guess
18:47
and quality requirements
Avatar
send them this: https://github.com/ddnet/ddnet/pull/4687 and tell them you're qualified
This adds a Vulkan 1.0 backend and new features to the graphic settings to select the GPU(if multiple Vulkan GPUs are supported, and a new list for renderers (see screenshot below)) Mutleasy benchm...
Avatar
i wish that would be a convincing argument xd
Avatar
Before !image After !image

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 possi...
Avatar
good afternoon
Exported 202 message(s)