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 2023-05-01 00:00:00Z and 2023-05-02 00:00:00Z
Avatar
3 stages of making own client: 1. Wow, i want to make my own client, thats will be great 2. Fuck i have to learn c++ 3. Depression
Avatar
Not just cpp
00:34
Many concepts as well
Avatar
Avatar
Ewan
Many concepts as well
Yeah, indeed
Avatar
I tried also to remade the discord rcp
00:54
I did new classes but I got error to import my new class inside ddnet client
01:33
it's not like java man
Avatar
chillerdragon BOT 2023-05-01 01:36:22Z
Depends on the client. Some client projects could also be done in C#, rust, JavaScript, ruby or pythonUsing existing libraries made for teeworlds (@-StormAx)
3 stages of making own client: 1. Wow, i want to make my own client, thats will be great 2. Fuck i have to learn c++ 3. Depression
✅ 1
01:36
Or lua kek ath
Avatar
Avatar
chillerdragon
Depends on the client. Some client projects could also be done in C#, rust, JavaScript, ruby or pythonUsing existing libraries made for teeworlds (@-StormAx)
But headless kek
Avatar
Avatar
Jupstar ✪
@Robyt3 is this fade out indented to look so weird?
Yeah, I also noticed that at some point. Last time I just tried to change the text color of an error message to red, but the color gets blended with another color in the text renderer so you don't end up with the color you want
Avatar
text containers should™️ support what u want
08:49
since they have a render color
Avatar
ChillerDragon BOT 2023-05-01 08:49:11Z
yea most of the languages i mentioned are libs that do not offer a gui so you have to build your own. But rust and lua integrate into the gui clients
Avatar
Avatar
Jupstar ✪
text containers should™️ support what u want
in the end, almost all rendered text is a text container though
08:51
many are just one-time-use, but they use the same text container functions
Avatar
yeah, but i mean the interface for text containers
08:51
textex has the old interface
Avatar
yeah, I don't this stateful interface where you have to do SetTextColor(...);Text(...);SetTextColor(Old..); (edited)
Avatar
yeah, still surprising the alpha is ignored like that, but dunno the reason rn XD
08:53
ah text outline is probs completely ignored right?
Avatar
I don't even see any code that handles the broadcast alpha fading
08:55
at least in broadcast.cpp
08:55
it's still using TextEx though
Avatar
ah it want u changing it? 😄
Avatar
I don't think I changed anything with text color, so it was like this before the text renderer and IME changes (edited)
09:03
ah, it's not a broadcast, it's its own function in hud.cpp
Avatar
yeah, is actually pretty long in
09:03
weird that i just noticed it yesterday xd
Avatar
looks like this is the same bug I previously mentioned, the text color itself is also not faded to alpha 0 correctly
09:12
09:12
looks like it fades to grey instead
09:13
and text outline alpha is also not set currently
Avatar
Maybe an addition somewhere along the way?
Avatar
!a !b It looks like it fades to grey instead of transparent. The outline alpha is not currently set as well.
Avatar
Avatar
Ewan
it's not like java man
Cpp object oriented
Avatar
That doesn’t mean you can mingle classes like you can in Java??
Avatar
Avatar
-StormAx
3 stages of making own client: 1. Wow, i want to make my own client, thats will be great 2. Fuck i have to learn c++ 3. Depression
what's the problem that something not done with classes instances a new class and calls a method?
09:52
and then I did this a while ago but it seems to me that there were other things in the code done with classes
Avatar
The problem is lack of experience in programming, i learned a lot, but didn't used my knowledge in practice
Avatar
…height since the cursor height is simply the font size, but obv not all characters use the full font size, it must additionally make sure that this size isn't ignored in the y offset calculation (since it makes the characters render at the offset of the cursor height), so basically: 0 + FontSize == Character start CharacterHeight != FontSize that moves the character down. Also added back the render flags, i think it logically makes sense if they are there, since a character could ...
Avatar
June 2023 ends Ubuntu 18 LTS standard support, I think that was our deadline? ^^
justatest 2
Avatar
ChillerDragon BOT 2023-05-01 10:17:32Z
10:17
til git allows commit hashes as tag names for maximum troling
10:18
warning: refname '7a6e705e67297e45b7b744f92e5d9b705c5008a6' is ambiguous.
10:18
xd
10:19
on git checkout
Avatar
lol
Avatar
ChillerDragon BOT 2023-05-01 10:20:15Z
git tag master :trollface:
10:20
type that if you get your hands on a co workers device and they spend the day debugging git
Avatar
fixes #6550

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/#u...
Avatar
Avatar
Anime.pdf
Click to see attachment 🖼️
not fun in practice, the very first access to allocation is going to crash your program
Avatar
i think he knows
10:38
its a meme
Avatar
more fun would be something like return (unsigned char *)malloc(size) + (rand() < 100);
🤓 5
10:41
less likely to crash on the first invocation, much more fun to debug
Avatar
ChillerDragon BOT 2023-05-01 10:41:44Z
xd
Avatar
We have two labels, https://github.com/ddnet/ddnet/labels/discussion and https://github.com/ddnet/ddnet/labels/needs-discussion, which seem to be applied in the same way. The description of "discussion" says it's a meta-discussion, whatever that might mean. Merge the two labels?
Avatar
54e013f Fix alpha fading in hud - Jupeyy 0cb8488 Merge #6553 - bors[bot]
Avatar
ChillerDragon: do u still use gnome?
Avatar
ChillerDragon BOT 2023-05-01 13:03:30Z
da
Avatar
ChillerDragon: do you have weird mouse issues with latest DDNet with gnome?
Avatar
ChillerDragon BOT 2023-05-01 13:08:22Z
how latest?
13:08
i am 16 commits behind
13:08
leme remerge
Avatar
thats ok
13:09
u use arch right?
Avatar
ChillerDragon BOT 2023-05-01 13:09:16Z
yes BTW
Avatar
i just wonder why https://github.com/ddnet/ddnet/issues/6548 has problems
I cannot using my mouse to moving cursor. It's my self compile it. System is Ubuntu. But i still can click.
13:09
never heard of a bug like that
13:09
but he uses ubuntu 22
Avatar
ChillerDragon BOT 2023-05-01 13:09:50Z
i dropped to 10% skill and 1% game feels so i kinda feel like my internet and mouse is broken af since months but thats probably brain damage
13:10
oh that bad not just a bit wonkey
13:10
no no no such thing on my side
13:10
tell him to buy arch
13:10
maybe he uses wayland axaxax
13:11
X11 masterrace
13:11
wowo github ajax feels like live messenger
13:11
github issue comments are smoother than matrix chats ngl
13:12
!jup open this on 2nd screen and comment something lets try gh livechat https://github.com/ChillerDragon/github-meta/issues/5
Avatar
chillerbot BOT 2023-05-01 13:12:35Z
@Jupstar ✪
Avatar
i currently dont have a second screen xD
Avatar
ChillerDragon BOT 2023-05-01 13:13:02Z
ok watever
13:13
then main
Avatar
my last broke, bcs samsung is trash company
13:13
and then i actually found 1 screen quite nice
Avatar
ChillerDragon BOT 2023-05-01 13:13:23Z
write commento and write here
13:13
i wanna know delay xd
13:14
quality chat xxxxxxxxxxxD
13:17
i always kinda thought gh issues could be abused as live chat but now i know for sure
13:18
this is epic
13:18
sad that ill leave gh soon because ms crap and the new ui is sooo bad
Avatar
as long as ms doesnt make it harder for open source projects idc the good about github is, that it attracts more devs
Avatar
ChillerDragon BOT 2023-05-01 13:21:00Z
not for long
Avatar
i hate to have a extra account for freedesktop gitlab xd
Avatar
ChillerDragon BOT 2023-05-01 13:21:20Z
the performance decrease of the new code viewer is intense it feels so sluggish
13:21
might as well use bitbucket
13:21
i login to gitlab.com with github.com oauth xd
Avatar
i use gitlab for private hosting, its defs not made to use less resources xD
Avatar
ChillerDragon BOT 2023-05-01 13:22:07Z
to maximize damage when they finally ban me on github so i lose all backups too
13:22
ye selfhosting gitlab is bloat
13:22
i only selfhost bare repos
13:22
if i want proper backups and ui i want it to be managed by big corpo
Avatar
ChillerDragon, can you disconnect your bot on multeasymap please? We dont want to encourage blocking and its taking up a slot.
✅ 1
Avatar
ChillerDragon BOT 2023-05-01 13:28:27Z
its disconnected
13:28
if blocking is not encouraged why is there a dedicated area for it?
13:28
me counting only stats there encourages to not block in the race
Avatar
Just name the bot differently, then nobody notices it's u xd
Avatar
ChillerDragon BOT 2023-05-01 13:29:38Z
axaxax
13:29
as a language model i can not get involved in illegal activities
13:30
@Vy0x2 ^
13:31
eh yea jopsti verified with latest master my mouse is going strong still
Avatar
If it would just collect data i would rethink my request, but since its announcing killing sprees and stuff its kinda annoying.
Avatar
ChillerDragon BOT 2023-05-01 13:32:17Z
i can turn the mute mode on
13:32
nothing into public chat
Avatar
Hm if it will tell the personal statistics in whisper i think i dont have anything against that at the moment
Avatar
ChillerDragon BOT 2023-05-01 13:34:14Z
shit i need to adjust code
13:34
ok ill do and spin it up again
Avatar
I dont want to discourage you to create new stuff and contribute to the community, please keep it within bounds =)
Avatar
ChillerDragon BOT 2023-05-01 13:38:56Z
ye dw i was expecting a 4 week ban within the first 2h not a friendly note after weeks so im good :D
Avatar
i dont mind ur bot if its written in rust
13:42
gigachad
Avatar
In safe rust xdd
Avatar
Avatar
Ryozuki
i dont mind ur bot if its written in rust
Avatar
ChillerDragon BOT 2023-05-01 13:54:15Z
!rust
Avatar
chillerbot BOT 2023-05-01 13:54:15Z
@Ryozuki
Avatar
ChillerDragon BOT 2023-05-01 13:54:52Z
it has like 1% rust in it so im safe :D
Avatar
ChillerDragon BOT 2023-05-01 14:02:52Z
!jup sos i got sidetracked so hard rewriting bash in javascript my c++ looks like this now
Avatar
chillerbot BOT 2023-05-01 14:02:52Z
@Jupstar ✪
Avatar
ChillerDragon BOT 2023-05-01 14:03:02Z
Avatar
Uff
14:12
Enough js for the month i guess xdd
Avatar
ChillerDragon BOT 2023-05-01 14:12:10Z
ikr
14:12
but i gotta implement pipes in javascript
14:12
i just feel the urge
Avatar
@Ravie @Pipou What do you think about #6546?
Avatar
The entities and unused buttons are now in a new "Settings" menu. The border and goto buttons got moved to the "Tools" menu. Checklist Tested the change ingame Provided scr...
Avatar
Avatar
Robyt3
@Ravie @Pipou What do you think about #6546?
good idea to clean up the toolbar a little but I still think we can get rid of some of those buttons at all
Avatar
It's good
15:47
I don't know if anyone is using "Border" at all
15:47
Even "goto x/y" (edited)
15:47
I think those two could be removed
Avatar
Goto XY is useful for testing, when you share a position in the map
Avatar
I test a lot and I never needed that
15:48
Nobody ever gave me coordinates
Avatar
Some error messages that the server/client print might contain coordinates
Avatar
There are barely any gigantic maps that require the coordinates not to get lost
15:49
Oh
15:49
Some tool by Patiga do I think
Avatar
Was useful for #6489
Avatar
Ok then it's fine
Avatar
Maybe the info button and hex values buttons could also be moved to tools
15:50
Or another menu "View"
15:51
If we want to use similar names like in other programs
Avatar
The info button is very needed
Avatar
There's also a hotkey for it, or do you more often click the button?
Avatar
It can be moved to tools if there are shortcuts (keybinding)
15:52
(talking about the info button)
Avatar
Yeah, there is Ctrl+I for the info button and Ctrl+Shift+I for the Hex Values button
Avatar
I never used it 😮
15:54
What are the hex values for ?
15:54
I don't understand how it's supposed to help
Avatar
Someone said it's easier to read because the values are more aligned
15:55
#5938
Avatar
Add an option when the info button is selected, you can show the hexadecimal values for a tile rather than 1-255. This has some benefits, as it aligns in a perfect grid. Can help with making and te...
Avatar
It's more confusing to me than numbers
15:57
@Voxel
15:58
However I understand how some people might find it more comfortable (2 digits instead of up to 3)
15:58
It could be moved in the tools in that case
16:01
@Ravie What do you think of "Entities"
16:01
I think it could be moved elsewhere
16:01
It's rarely used
16:01
We mostly map and test DDRace in DDNet (edited)
Avatar
yeah never used that myself
Avatar
What about "Color"?
16:02
I never understood why it was there
16:05
What about the "Zoom" button, there is the 🔍 already (between - and +)
Avatar
@marmare_314 More possible editor changes discussed above
Avatar
can i bind the change of the resolution?
Avatar
Avatar
kio
can i bind the change of the resolution?
No, I think it doesn't update your screen size afterwards correctly
Avatar
I never use "Refocus" either, I don't think it's really necessary (it could be moved too)
Avatar
beacuse from linux the game idk why don't keep the stretched 4:3 and the text is all bugged
Avatar
Avatar
kio
beacuse from linux the game idk why don't keep the stretched 4:3 and the text is all bugged
You would have the restart the game after using the bind
Avatar
Avatar
Pipou
I never use "Refocus" either, I don't think it's really necessary (it could be moved too)
Yeah, maybe move "Refocus" and "Info" both into a new menu "View". With 3 buttons to select "Off", "Dec", "Hex" for info.
Avatar
Avatar
Robyt3
You would have the restart the game after using the bind
?
Avatar
@Ravie Do you agree on moving those buttons away ?
Avatar
Avatar
kio
?
You could use a bind to change the resolution, but you would have to restart the game for the setting to take effect
Avatar
I use Refocus but maybe there is a better place for it
Avatar
Avatar
Robyt3
You could use a bind to change the resolution, but you would have to restart the game for the setting to take effect
oh ok
16:13
but does anyone know the reason for these bugs that didn't fit on windows?
Avatar
The problem with refocus is that it only focuses the top left corner
Avatar
Avatar
kio
oh ok
bind ctrl+x "gfx_screen_width 1920; gfx_screen_height 1080; quit this will also quit immediately after using the bind, so you just have to start again
Avatar
Do you even know what's "Color" for @Ravie
Avatar
Avatar
Pipou
The problem with refocus is that it only focuses the top left corner
that's the world's origin
16:14
yeah it shows preview of colored layers on tile picker, I always turn that off xd
Avatar
Avatar
Ravie
that's the world's origin
Would be better if we could pick the center ourselves by clicking or entering coordinates
Avatar
Avatar
kio
but does anyone know the reason for these bugs that didn't fit on windows?
Can you open an issue on GitHub and describe exactly what the issue with, with screenshots if possible?
Avatar
Avatar
Pipou
However I understand how some people might find it more comfortable (2 digits instead of up to 3)
I just think it's convenient because it's a grid
Avatar
Avatar
Ravie
yeah it shows preview of colored layers on tile picker, I always turn that off xd
Oh yeah true, I never use that either, can still be helpful for some nonetheless
Avatar
Avatar
Voxel
I just think it's convenient because it's a grid
Oh ok, understandable. I'm just more used to look at those numbers
16:16
It's only a preference
Avatar
Avatar
Robyt3
Can you open an issue on GitHub and describe exactly what the issue with, with screenshots if possible?
i will write that with the stretched fullscreen the game do that or what
16:17
I don't have much other information
Avatar
Right. If there is a proper way to get XY coords for tiles in a tile layer, then I'm fine with removing hex values
Avatar
Avatar
Voxel
Right. If there is a proper way to get XY coords for tiles in a tile layer, then I'm fine with removing hex values
Aren't X and Y shown in the top right? Or is it not exact enough?
Avatar
They were? Since when?
Avatar
I'd expect always xD
Avatar
I can't test it, I'm away from my PC
16:27
I only question because there's a way to make automappers using code and it involves things like position [0, 0] of a mapres
Avatar
The X/Y in the top right seems wrong though if you enable grid
Avatar
@Robyt3 I think he means tile coord relative to the tileset inside tile picker, the top right coord is relative to the map
16:29
tho idk why he'd want that
Avatar
Ease of use for Rules++
16:29
Duhh
Avatar
It's easier to use coords than to remember 255 numbers for each tile
Avatar
you don't have to remember anything
Avatar
Avatar
Ravie
yeah it shows preview of colored layers on tile picker, I always turn that off xd
So color could probably also be moved into the settings menu?
Avatar
ChillerDragon BOT 2023-05-01 16:50:20Z
!jup btw back in da days i built some not very battle tested sdl version manager https://paste.zillyhuhn.com/sdlvm if you need to switch between sdl versions and compile from source but want it to feel like a package manager
Avatar
chillerbot BOT 2023-05-01 16:50:21Z
@Jupstar ✪
Avatar
Avatar
Robyt3
Yeah, maybe move "Refocus" and "Info" both into a new menu "View". With 3 buttons to select "Off", "Dec", "Hex" for info.
Im not sure about moving refocus into a menu, maybe it could be grouped together with the zoom buttons
Avatar
dont u need to use refocus for that autofiller thing
16:55
or it makes it easier
Avatar
Avatar
Pipou
We mostly map and test DDRace in DDNet (edited)
if u map other modes you use this
16:57
but yeah most of the top buttons cna be moved to other places
16:57
why not make submenus similar to other content editing documents like powerpoint etc
16:57
have diff buttons in different tabs
Avatar
Yes that's what I meant, it's useful but it should be placed somewhere else
Avatar
like have several tabs [View] [Tiles] [Graphics] or smth with each old button under those tabs
Avatar
Avatar
Ravie
you don't have to remember anything
what about jotting down square arrays for objects
17:16
that is going to take forever
Avatar
ChillerDragon: nais
17:18
u can also include sdl as submodule in github
Avatar
Avatar
ChillerDragon
if blocking is not encouraged why is there a dedicated area for it?
have same question xd
Avatar
@Ravie @Pipou what about the proof/proof menu buttons? they could also be moved into the view menu right?
Avatar
proof is very useful so not sure
Avatar
I just it often
17:34
Not sure either
Avatar
we shouldn't move ALL buttons to menus, just the rarely used ones
Avatar
Alright then they should only be joined
Avatar
no longer afk
18:02
whatd i miss
18:07
91a9555 Update frontpage video - murpii 72ab470 Merge pull request #250 from murpii/patch-3 - def-
Avatar
the best solution would be to make some buttons have shortcuts so people who use rhe editor for diff things can use them accordingly
18:49
would be to be able to add shortcuts*
Avatar
I do this xd This assert message is so strange
Avatar
chillerdragon BOT 2023-05-01 19:28:02Z
? What do you mean? Submodule in which repo why what xd (@Jupstar ✪)
u can also include sdl as submodule in github
Avatar
in ddnet repo
Avatar
chillerdragon BOT 2023-05-01 19:45:28Z
I should pr SDL code base into official ddnet repo? Xd I’m still totally in the dark what you on about jopsti
Avatar
it sounded like u wanted to make compiling sdl easier
Exported 264 message(s)