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 2025-01-04 00:00 and 2025-01-05 00:00
Avatar
GitHub BOT 2025-01-04 00:02
this adds a simple flake.nix to use with nix develop or direnv. nix run is borked - this issue seems to be nix's way of sandboxing, since we're patching rust-ffmpeg-sys it will fail. related discussion: https://discourse.nixos.org/t/rust-packaging-issue-unable-to-fetch-git-dependencies-correctly/46547 i dont really wanna create a PR just to update the .gitignore, so i'll keep it in mind if i actually do make a PR with more than 4 loc for that.
Avatar
Who ping
Avatar
chillerdragon: did we support for names longer than 16bytes. 0.7 has that right?
Avatar
GitHub BOT 2025-01-04 03:32
Accidentally deleting an image/sound that is used in many layers is a destructive action and is not undo-able, you have to go back and replace all the layer images/sounds !image

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 ...
06:09
imagine c++ having this level of error reporting
06:10
meanwhile c (edited)
gigachad 1
Avatar
MilkeeyCat 2025-01-04 06:12
For loop does have empty body
06:12
but its not enough context aware
06:13
it should suggest to remove it entirely cuz there is a {} after
Avatar
it gets formatted to int i, sum = 0; for(i = 0; i < 5; i++) ; { i += sum; } for me, I didn't even have to press the format hotkey but that also does it
06:15
it's actively impossible to write that code lol
Avatar
what?
06:16
not everyone uses a format on save xD
Avatar
ok only sane people
Avatar
i dont
06:16
it can be distracting, i just format manually
06:16
am i insane? justatest
Avatar
I have format on line end, whenver I type ; it formats the line
06:18
Avatar
the sponsor message lmao
06:19
are u awake at 7?
06:19
or u didnt sleep
06:19
im a degen and wake up at 7 on saturday
06:19
deen_star
Avatar
I'm in america
06:20
🔫
06:20
but u are american or german?
06:21
i default to german for devs, TIL xd
Avatar
american?
06:21
you're not the only one
Avatar
do u know gdin?
Avatar
zwelf asked me to go to teeworld developer meetup in germany
06:21
yesterday (edited)
Avatar
oh nice
Avatar
it must be expensive for u tho
06:22
its expensive for me from bcn already xD
Avatar
Avatar
Ryozuki
do u know gdin?
only a little bit
Avatar
but ill go
Avatar
not irl
Avatar
wow whos going
Avatar
for now most german devs and me xD
06:26
hope learath comes i need to see the C man
Avatar
gerdev
Avatar
Avatar
eidderFsT
gerdev
come
Avatar
Avatar
Ryozuki
hope learath comes i need to see the C man
This is me
Avatar
GitHub BOT 2025-01-04 09:11
This is my attempt to extend the name & clan to support 16/12 unicode characters, aligning with teeworlds 0.7. This "fixes" CJK names being limited to 5 characters, which isn't a lot, especially for Japanese. Clan's being limited to 4 characters are even worse.

Implementation

A crude string replacement is done to change every name / clan's char array length. The code compiles, but see TODOs below on parts that need to be double checked.

Client to server

Didn't change much...
Avatar
Avatar
Learath2
This is me
you're an ai generated old man?
Avatar
GitHub BOT 2025-01-04 09:36
28f0d2d Editor: confirm deletion of images/sounds that are used in map layers, fix crash when nonexistent image is added thru history/redo - l-ouis 42228b0 Merge pull request #9475 from l-ouis/editor - def-
Avatar
@Robyt3 should methods like CEditor::AddSound also be not static then?
Avatar
Avatar
Hecta
you're an ai generated old man?
Aye
Avatar
Avatar
louis
@Robyt3 should methods like CEditor::AddSound also be not static then?
nvm
Avatar
hall effects were that recent? i feel like i remember them being around for some time
Avatar
Haven't these been around since forever?
Avatar
Avatar
louis
hall effects were that recent? i feel like i remember them being around for some time
At least in keyboards they're absolutely ancient
Avatar
They were around, console makers just haven’t been using them so they can sell more controllers when the pots start failing inevitably
10:55
Dreamcast had hall effect joysticks
Avatar
They also have the benefit of potentially being smoother yay
Avatar
GitHub BOT 2025-01-04 11:28
a6b5945 Add 20 € donation by ReD - def-
Avatar
@ReD Thanks!
🙂 1
Avatar
GitHub BOT 2025-01-04 11:37
Farewell.

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...
11:39

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...
poggers2 3
Avatar
Jupstar ✪ 2025-01-04 11:47
furo is back
Avatar
back to sleep
Avatar
Avatar
Tater
zwelf asked me to go to teeworld developer meetup in germany
Jupstar ✪ 2025-01-04 11:51
I sponsor you 50€ of your costs if you come xdd
Avatar
Avatar
eidderFsT
chillerdragon: did we support for names longer than 16bytes. 0.7 has that right?
Jupstar ✪ 2025-01-04 11:52
Ah nice you port that after all
Avatar
it wasn't really a port i think
11:53
i'm just trying, not sure if it'll work out tho, i feel like so many thing can go wrong
11:54
ghost already doesn't work, and i'm still not sure how to deal with that
Avatar
Avatar
eidderFsT
@Learath2 curious how the http reg is going
it builds it links, lets see if it crashes
Avatar
epic
Avatar
I think it works question mark
Avatar
did you register a server
Avatar
I can't really test it because can't open a port 😄
Avatar
NAT moment
Avatar
Well bigger issue is that idk the credentials to this modem
Avatar
I don't even have a public IP from ISP
Avatar
I made a pr with it, I'll pull it to some ddnet server, build and test it there
Avatar
ok
Avatar
hi from andorra
Avatar
@eidderFsT it works as far as I can see
12:45
I haven't tested all 256 slots though as idk how, you can mess around with it if you'd like, I gtg
Avatar
epic
12:46
ok
Avatar
GitHub BOT 2025-01-04 12:54
4628d38 teleport hook line (only when there is 1 possible exit) - art0007i 8bb8a17 Merge pull request #9459 from art0007i/hookline-teleport - Robyt3
Avatar
Jupstar ✪ 2025-01-04 13:59
Super cringe video for those who are interested: https://www.youtube.com/watch?v=DtyvpZKKuVA A text version of this video is in the video description
♿ 5
🫡 1
👍 1
🔥 3
Avatar
Koll Potato 2025-01-04 14:30
@Zwelf didnt see that in twgame at first lol
14:31
ah its empty
Avatar
yeah, I tried writing once, vut threw the code away. My first approach didn't work well.
Avatar
Koll Potato 2025-01-04 14:34
what exactly didnt work well
14:34
is it possible to see the code?
Avatar
Avatar
Jupstar ✪
Super cringe video for those who are interested: https://www.youtube.com/watch?v=DtyvpZKKuVA A text version of this video is in the video description
nice voice ddnet rs crashes when i switch desktops back and forth
Avatar
Koll Potato 2025-01-04 14:37
same
Avatar
Avatar
louis
nice voice ddnet rs crashes when i switch desktops back and forth
Jupstar ✪ 2025-01-04 14:37
yeah it's a wayland bug use WAYLAND_DISPLAY= ./ddnet-rs (edited)
14:37
as workaround
Avatar
also, i'm sort of confused with the direction you want to take ddnet-rs
Avatar
Avatar
Jupstar ✪
Super cringe video for those who are interested: https://www.youtube.com/watch?v=DtyvpZKKuVA A text version of this video is in the video description
bruh it took me too much time to figure some of those stuff out
14:41
and now i see a video that goes over the features
14:41
😭
14:41
ive spent like 20 minutes trying to figure out how thoses profile work lmao (edited)
Avatar
Jupstar ✪ 2025-01-04 14:43
Description Hello together, on wayland I experience a bug where when I change the cursor grab mode it crashes the client. This can be reproduced by going ingame (e.g. on a LAN server) and then tab ...
14:43
let's see how they respond
Avatar
Avatar
louis
also, i'm sort of confused with the direction you want to take ddnet-rs
Jupstar ✪ 2025-01-04 14:44
watcha mean exactly?
Avatar
is it supposed to exist alongside current ddnet or etc etc think_bot
Avatar
Jupstar ✪ 2025-01-04 14:46
The map & database, aswell as the ddnet physics are backward compatible. So it can coexist to the current ddnet without having any of its limitations
14:47
I don't aim to replace ddnet, but if in the long run more players like this version I also wouldn't prevent it from happening ^^
Avatar
do u plan to keep the map system or maybe implement a classic map type along a better maybe more dynamic map type?
Avatar
Avatar
louis
do u plan to keep the map system or maybe implement a classic map type along a better maybe more dynamic map type?
Jupstar ✪ 2025-01-04 14:49
generally speaking i designed the mod support so that you can use completely custom maps, with a completely different map format. (this however requires a render mod too) But I am open to also extend the current one to fix issues with the current format and maybe make it flexible in some regards (edited)
14:49
The good thing is that if you have the map in legacy format, you can always convert it to the new format
14:50
so breaking changes can be done a bit easier
Avatar
Avatar
Jupstar ✪
Super cringe video for those who are interested: https://www.youtube.com/watch?v=DtyvpZKKuVA A text version of this video is in the video description
"this will for example allow for moving tiles on cock"
14:53
xDD
14:56
"a sad prediction is done in physics"
Avatar
Avatar
Teero
"this will for example allow for moving tiles on cock"
Jupstar ✪ 2025-01-04 14:57
tja
14:57
i blame qshar
Avatar
Avatar
Teero
"a sad prediction is done in physics"
Jupstar ✪ 2025-01-04 14:59
15:00
Avatar
i thought you meant asset? xD
Avatar
Avatar
Teero
i thought you meant asset? xD
Jupstar ✪ 2025-01-04 15:02
dunno what timestamp is it even xd
Avatar
no idea
15:03
i finished
15:21
d711c49 Use CREATE TABLE IF NOT EXISTS to not fail on second setup - Jupeyy ea1d5ab Merge pull request #11 from Jupeyy/pr_create_if_not_exists - Jupeyy
♿ 1
Avatar
This command was not found.
15:53
cdf42d6 Fix query responses being silently dropped - Jupeyy 4a65901 Merge pull request #12 from Jupeyy/pr_fix_dropped_queries - Jupeyy
Avatar
ChillerDragon BOT 2025-01-04 17:40
@eidderFsT 0.7 name length support is broken at least in demos
17:41
but yes in theory 0.7 supports 16 utf8 characters
17:41
``MAX_NAME_LENGTH=16,
17:41
MAX_NAME_ARRAY_SIZE=MAX_NAME_LENGTH*UTF8_BYTE_LENGTH+1,
17:42
ddnet did not extend 0.6 as far as i know and is capped at 16 bytes
Avatar
chillerdragon: check my ddnet pr #9476
Avatar
ChillerDragon BOT 2025-01-04 17:45
@Ryozuki i agree manual formatting is much better
17:47
too lazy to check that huge pr sorry
Avatar
ChillerDragon BOT 2025-01-04 17:52
but i remember being annoyed by something name related. I think it really was the teeworlds 0.7 demos missing long name support.
Avatar
Avatar
ChillerDragon
but i remember being annoyed by something name related. I think it really was the teeworlds 0.7 demos missing long name support.
ye, so i avoided netmsg like a plague
Avatar
Koll Potato 2025-01-04 18:01
solution: redesign the whole protocol from scratch
Avatar
b-b-but the backwards compatability!!
Avatar
Koll Potato 2025-01-04 18:05
screw backwards compatibility
18:05
if it mattered ddnet would have supported teewars clients
Avatar
@chillerdragon i found your next project
Avatar
Koll Potato 2025-01-04 18:06
xD
Avatar
cyberfighter 2 2025-01-04 18:13
@eidderFsT can demos now show cursors in 18.9
18:14
i wanted to check but i forgot and im not home now
Avatar
does android client have the updater installed with it?
Avatar
Avatar
Hecta
does android client have the updater installed with it?
no, that's not supported
Avatar
Jupstar ✪ 2025-01-04 19:50
@meloƞ
Avatar
Avatar
Jupstar ✪
@meloƞ
baked can't wait
20:17
ce88b7c Implement some missing items in the mod macros - Jupeyy 1624c81 Merge pull request #13 from Jupeyy/pr_some_better_modding - Jupeyy
Avatar
GitHub BOT 2025-01-04 21:06
Add checks to ensure that:
  • The first storage path, i.e. the path of the designated user directory, is added to the storage successfully.
  • The folder of the user directory is created successfully (or already exists).
  • The default folders inside the user directory are created successfully (or already exist).
On failure, the client/server will quit immediately on launch. The client will quit with an error message popup showing the log messages of the failed storage initialization. Cl...
Avatar
ddnet spitball idea: crates and batteries
  • Crates have already been thought of
  • Draggable entities that have the same physics as a tee. hammer throwing, hooking and dragging all apply
    • Batteries are like crates except when you shoot or hammer it it sends out an electrical charge, basically hammering you. Useful for things like hammerflying or cool solo maps
Avatar
draggable stuff would be cool and probably possible to do, but backwards compatibility 🙄
Avatar
GitHub BOT 2025-01-04 21:33
3168a47 Update Swedish translations for 18.9 - furo321 ff373f0 Merge pull request #9478 from furo321/swedish-18.9 - def-
21:37
73ea690 Update Ukrainian l10n (18.9) - EGYT5453 16fb284 Merge pull request #9477 from EGYT5453/ua-18.9 - def-
21:38
If a redirect packet is received in the dummy session (with the dummy session TOKEN), it will redirect both sessions without taking the TOKEN into consideration Summary of the packets: !image Redirect packet: !image Causing disconnection (redirect) of both sessions: ![image](https://github.com/user-attachments/a...
Avatar
Jupstar ✪ 2025-01-04 21:46
A simple fng mod using the patching approach:
Avatar
MilkeeyCat 2025-01-04 21:46
Is there already an issue on gh about the editor where if you select some tiles, and you have a brush, then if you select other layer, your brush will still show tiles from the previous layer but if you try to draw, the tiles will be different?
Avatar
Jupstar ✪ 2025-01-04 21:46
@meloƞ chillerdragon:
Avatar
MilkeeyCat 2025-01-04 21:46
why didn't you stream it feelsbadman
Avatar
OMG I HAVE SOMETHING TO ANNOY MY WIFE WITH IN BED, LETS GOOO
Avatar
Avatar
MilkeeyCat
why didn't you stream it feelsbadman
Jupstar ✪ 2025-01-04 21:47
Soz
21:47
But see it takes 2h even tho I have some cuts in it
21:47
xd
Avatar
Avatar
kebs
draggable stuff would be cool and probably possible to do, but backwards compatibility 🙄
dude you know that random - symbol in game.png? just send that for any backwards compatability texture
HUH 1
21:51
this one
Avatar
GitHub BOT 2025-01-04 22:22
26b669b Add CMemoryLogger - Robyt3 cd6c099 Remove unused path argument of IStorage::OpenFile usage - Robyt3 a30c3f7 Refactor IStorage::OpenFile function - Robyt3 62c9ed4 Improve storage initialization and error handling, refactoring - Robyt3 43524b9 Merge pull request #9479 from Robyt3/Storage-Error-Handling - def-
Avatar
chillerdragon BOT 2025-01-04 22:27
Im sure someone’s workflow depends on it
Replying to @MilkeeyCat Is there already an issue on gh about the editor where if you select som…
22:27
Nice I did not expect it so soon. Added to watch later.
Replying to @Jupstar ✪ BlaiZephyr | meloƞ chillerdragon:
Avatar
Avatar
kebs
draggable stuff would be cool and probably possible to do, but backwards compatibility 🙄
Server side dummies with special skin for old clients?
22:50
Pred would be weird for collisions but that's already the case for a number of things
22:50
(assuming we want crates to be, you know, square)
Avatar
Avatar
Hecta
dude you know that random - symbol in game.png? just send that for any backwards compatability texture
I mean if you really want nice graphics you can send patched map files with extra textures and then have a quad using that texture, animated server side Personally I would consider that overkill
22:55
(is this how KoG moving tiles work?)
Avatar
Avatar
risu
Server side dummies with special skin for old clients?
maybe
23:10
just debug dummies for older clients
Avatar
Avatar
Hecta
dude you know that random - symbol in game.png? just send that for any backwards compatability texture
i meant not just texture, but displaying it and mechanics
Avatar
i guess so
23:14
i mean wouldnt there be a way to recieve extra velocity data and render a tee on the server
Avatar
Avatar
Hecta
i mean wouldnt there be a way to recieve extra velocity data and render a tee on the server
probably, but 64 tee limit
Avatar
Should crates be jumpable like tiles or like doors?
Avatar
yea, would make for fun map ideas
Avatar
Prop fly moment
Avatar
some things to think about is: how would making and destroying crates work? is there a limit? how easy is it to break a map with too many crates?
Avatar
GitHub BOT 2025-01-04 23:22
8fb68de Add 44 € funding for RUS5 by BratOK - def-
Avatar
@BratOK Thanks! (im deen guys trust me)
Avatar
Koll Potato 2025-01-04 23:28
big sigma
Avatar
that is really cool, tho i wonder what is the point behind it? is it just a hobby project or does this aim to replace ddnet as a whole sometime?
Avatar
i hope it does replace ddnet so much potential with a new framework
23:43
I’m always glad to support this game and community
Avatar
Avatar
Hecta
i hope it does replace ddnet so much potential with a new framework
yeah it would be really cool if there would be some protocol changes but i fear all the old cool mods that will be dead forever
23:44
and i believe the ddnet staff is quite conservative when it comes to such things, trying to keep backwards compatibility at all times
Avatar
Avatar
Swarfey
that is really cool, tho i wonder what is the point behind it? is it just a hobby project or does this aim to replace ddnet as a whole sometime?
Jupstar ✪ 2025-01-04 23:45
I dunno if it could replace ddnet, but I do hope that it some day can connect to the official database. Making it an actual alternative. It's fair to say it's just a hobby project yet tho. Since it's still pretty unfinished
Avatar
Avatar
Swarfey
yeah it would be really cool if there would be some protocol changes but i fear all the old cool mods that will be dead forever
Jupstar ✪ 2025-01-04 23:46
I'd counter argue that modding now allows creating higher quality mods and potentially motivating modders again ^^
Avatar
Avatar
Jupstar ✪
I'd counter argue that modding now allows creating higher quality mods and potentially motivating modders again ^^
i agree, i'd for sure be down to port my mod to ddnet-rs
23:47
(if it becomes a thing)
Avatar
Jupstar ✪ 2025-01-04 23:47
Fair
Avatar
but i'll play with it sometime, new framework sounds rly interesting
Exported 224 message(s)
Timezone: UTC+0