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-08 00:00 and 2025-01-09 00:00
Avatar
@Jupstar ✪ when direct merge
Avatar
what is the point of opening the pull request if you're jupstar? you can merge the branch directly into main after letting it run the CI right?
00:28
oh the branch isn't on ddnet/ddnet-rs I guess
Avatar
well prs also help for tracking features and such even if you're the only author
00:48
everything is much easier to discern in the commit history too because usually u can just click the pr # and get the change's explanation instantly
Avatar
commit descriptions exist
Avatar
it's hard to find discussions related to those commits just by the message
01:50
not if there's a pr
01:50
also it's a good indication of how many things you can put on your changelog etc
Avatar
its just jupeyy making and insta merging these, there are no discussions (edited)
Avatar
good for personally tracking as well
02:03
u can have a better description on some change with a pr
02:04
makes u look like a better programmer when u merge more pull requests
😂 2
Avatar
jupstar on his way trying to beat deen's contributions in 2025
Avatar
Koll Potato 2025-01-08 05:15
ChillerDragon: i used libtw2 just for compression map loading and snapshots, im not really satisfied with the api it gives so im going to make my own (edited)
Avatar
chillerdragon BOT 2025-01-08 07:33
What bothers you about it’s api?
07:35
You can’t beat deen. He is number 1 commit farmer. He gets every merge commit within seconds and even is the first to do the new year copyright commit. Give deen 2 years and he has more commits in ddnet-rs than jupstar
Replying to @meloƞ jupstar on his way trying to beat deen's contributions in 2025
07:36
GitHub commits have comments too
Replying to @Ewan it's hard to find discussions related to those commits just by the messa…
Avatar
how can I get the center of the screen
Avatar
ChillerDragon BOT 2025-01-08 08:14
i think ``Graphics()->ScreenWidth()
08:14
omg weechat pasting
08:14
Graphics()->ScreenWidth() / 2
Avatar
oh sry i mean the world position of screen center
Avatar
@Jupstar ✪
08:21
python xd
08:22
Avatar
its more efficient
08:34
trust me bro
Avatar
does the github bot not post opened issues here anymore?
Avatar
Avatar
Ryozuki
@Jupstar ✪
So if you have -1 and -2 in a dict as keys it's a guaranteed overlapping bucket
Avatar
Avatar
Ryozuki
@Jupstar ✪
Jupstar ✪ 2025-01-08 09:29
Lmao
Avatar
wtf lol
Avatar
Avatar
Hecta
@Jupstar ✪ when direct merge
Jupstar ✪ 2025-01-08 09:30
With a merge queue I could simply queue them and if ci fails I'd get a message about it
Avatar
Avatar
Tater
does the github bot not post opened issues here anymore?
oops, I changed that accidentally probably, checking
Avatar
it might just be down rn idk
Avatar
GitHub BOT 2025-01-08 10:36
1ba862e Add 65 € funding for Singapore by wik - def-
Avatar
Didn't know there was an std function for that when transplanting the bezier envelope code, feel free to make a PR to replace it
Avatar
GitHub BOT 2025-01-08 11:50

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
There is also probably possible uses of std::hypotin some places 😄
Avatar
ws-client BOT 2025-01-08 12:16
<ChillerDragon> @Pioooooo that position should be in the snapshot. If you have are in game it should be your characters position. And if you are spectating it should be in the spectator info. At least in vanilla teeworlds not sure if ddnet added anything on top.
Avatar
Avatar
Koll Potato
ChillerDragon: i used libtw2 just for compression map loading and snapshots, im not really satisfied with the api it gives so im going to make my own (edited)
you can just tweak libtw as i did, its not that hard and eats less time imo
Avatar
ws-client BOT 2025-01-08 12:18
<ChillerDragon> something like that it is untested code tho @Pioooooo https://paste.zillyhuhn.com/pf
12:19
<ChillerDragon> what did you do with libtw2? @zhn the econ stuff?
Avatar
0.5 0.6 0.7 bridge server
Avatar
ws-client BOT 2025-01-08 12:19
<ChillerDragon> woah
12:20
<ChillerDragon> cool send
Avatar
still wip
12:20
also i deleted half of the code eventually with no commit
Avatar
ws-client BOT 2025-01-08 12:20
<ChillerDragon> proprietary moment
Avatar
GitHub BOT 2025-01-08 12:21
usage 1: spawning confetti / big variant of confetti on tournament winners during a tournament live event usage 2: general trolling (fun)
Avatar
cyberfighter 2 2025-01-08 12:29
@louis why doe
12:29
at that point maybe just rcon command to spawn in anything (like projectiles) (edited)
Avatar
Avatar
cyberfighter 2
@louis why doe
i put two use cases in the issue description
Avatar
cyberfighter 2 2025-01-08 12:30
i guess first one makes sense but whens the last time ddnet had a tournament
Avatar
trust the process
Avatar
GitHub BOT 2025-01-08 12:37
c224cdd Update Turkish translations for 18.9 - GokturkTalha e2be8c7 Update Azerbaijani translations for 18.9 - GokturkTalha a518529 Merge pull request #9490 from GokturkTalha/master - def-
12:39
3d92e7e Don't scale nameplates with ingame ui. - Jupeyy ee57149 Merge pull request #46 from Jupeyy/pr_nameplate_scaling - Jupeyy
Avatar
Avatar
zhn
you can just tweak libtw as i did, its not that hard and eats less time imo
Koll Potato 2025-01-08 12:59
thats what i did already
12:59
boring af
Avatar
reimplementing tw protocol 101 time feels less boring i suppose xd
Avatar
Koll Potato 2025-01-08 13:07
yes
13:13
the goal is actually to learn rust
13:13
so i just do random stuff with a game i like and a language i want to learn
13:13
it's a win win
Avatar
I should also write a libtw, libtw4
14:25
ChillerDragon: Did you ever end up making a golang one?
Avatar
GitHub BOT 2025-01-08 14:47
2791c4f Better validation of images for potential UHD feature. - Jupeyy 7400b5f Merge pull request #47 from Jupeyy/pr_texture_size_scale - Jupeyy
Avatar
GitHub BOT 2025-01-08 15:08
d636c8e Use abs for anim times, since the time offset can be negative - Jupeyy d9a8550 Merge pull request #49 from Jupeyy/pr_abs_anim_time - Jupeyy
15:08
c334d59 Use Window for connecting ui to allow more dynmic sizes - Jupeyy ab8da38 Merge pull request #48 from Jupeyy/pr_connecting_ui_clipped - Jupeyy
Avatar
Avatar
Koll Potato
so i just do random stuff with a game i like and a language i want to learn
ah, ye
Avatar
Avatar
ws-client
<ChillerDragon> @Pioooooo that position should be in the snapshot. If you have are in game it should be your characters position. And if you are spectating it should be in the spectator info. At least in vanilla teeworlds not sure if ddnet added anything on top.
ChillerDragon: thanks, it's a bit hard to figure it out myself
Avatar
currently trying to improve the automap usability. here are my two ideas:
  • reference layer: you can set which layer the chosen layer will automap to. meaning that if you set it to the game layer it will automap based on that instead of itself
  • guide layer: an extra rule for checking if a tile on a different layer is something. EXTREMELY useful for if you want to do cross layer design. the layer chosen doesnt read it as a reference, but just as a guide for chosen rules
15:56
maybe i could add in a modulo rule to make checker patterns much easier
15:57
@Souly @louis what are your thoughts
Avatar
@Assa and yours
Avatar
guide layer would allow for nice things but probably pretty complicated, not sure how youd design that
16:01
reference feature probably wont be used by me at least unless it can replicate autofiller functionality
Avatar
oh right! good point
16:04
maybe it will have an autofiller section when its set to game layer
Avatar
GitHub BOT 2025-01-08 16:09
Some moderators want to watch people without them noticing, to gather evidence. It'd be nice if they could do so while logged in. Maybe there could be a command that disables showing yourself as moderator even if you're logged in.
Avatar
Koll Potato 2025-01-08 16:35
sussy
16:36
mod can just login with a different username
Avatar
chillerdragon BOT 2025-01-08 16:38
They want to be logged in rcon while stalking
16:38
Which is a legitimate demand
16:38
Yes
Replying to @Learath2 ChillerDragon: Did you ever end up making a golang one?
Avatar
Koll Potato 2025-01-08 16:39
ahh right
16:39
the username becomes green when in rcon
Avatar
chillerdragon BOT 2025-01-08 16:39
It is powering the best client goofworlds @Learath2 https://github.com/teeworlds-go/goofworlds
Goofy ahh teeworlds client written in go. Contribute to teeworlds-go/goofworlds development by creating an account on GitHub.
KEKW 1
16:40
And the proxy that brings capitalism to china servers https://github.com/teeworlds-go/proxy
Simple sample teeworlds proxy intercepting chat messages - teeworlds-go/proxy
16:42
Did you make it work?
Replying to @Pioooooo ChillerDragon: thanks, it's a bit hard to figure it out myself
Avatar
GitHub BOT 2025-01-08 17:15
Make it easier to write new integration tests. The old integration test is kept as smoke_test. Also get rid of all sleeps in the integration tests, it now works off of log messages instead. This hopefully also enables Windows support, but I haven't tested it yet so it'll not work out of the box. I'll need to find a Windows box to test it.

Checklist

  • [x] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly re...
17:21
4490f6d Don't filter by dummy attribute, already filtered by inactive - Jupeyy a9101c3 Merge pull request #50 from Jupeyy/pr_dont_filter_dummies - Jupeyy
Avatar
Avatar
zhn
@Assa and yours
??? Sorry I don't understand what you are talking about, did I miss some context?
Avatar
Avatar
Hecta
currently trying to improve the automap usability. here are my two ideas:
  • reference layer: you can set which layer the chosen layer will automap to. meaning that if you set it to the game layer it will automap based on that instead of itself
  • guide layer: an extra rule for checking if a tile on a different layer is something. EXTREMELY useful for if you want to do cross layer design. the layer chosen doesnt read it as a reference, but just as a guide for chosen rules
I guess you are limited by the group you are in. Paras can be different otherwise, but I guess this is possible
17:43
You could add a new keyword after INDEX like LAYER
17:50
oh god imagine POS 0 -1 FULL LAYER GAME
Avatar
Avatar
Assa
I guess you are limited by the group you are in. Paras can be different otherwise, but I guess this is possible
sad :(
Avatar
Jupstar ✪ 2025-01-08 18:00
"Approaching" lol
Avatar
Avatar
Assa
I guess you are limited by the group you are in. Paras can be different otherwise, but I guess this is possible
i think that game tiles feature ignores parallax and offsets so this could be done the same way
Avatar
Avatar
Hecta
@Souly @louis what are your thoughts
my honest reaction: poggers2
Avatar
okay who fucked up naming a file VERSION in the ffmpeg lib
Avatar
Jupstar ✪ 2025-01-08 18:33
saves one byte.. very efficient
Avatar
アリヂン 2025-01-08 19:30
is the photoshoot server down? I've been getting "no answer from the server yet" any time I tried last few days
no 1
Avatar
GitHub BOT 2025-01-08 19:31
70cab6f Rename image crate to image_utils for less confusion. - Jupeyy 4ba58b4 Merge pull request #51 from Jupeyy/pr_fix_individual_crates - Jupeyy
Avatar
ws-client BOT 2025-01-08 20:02
<ChillerDragon> @Faulty sos i spawn frozen on Unstable what happend?
Avatar
GitHub BOT 2025-01-08 20:03

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 valgrind's memcheck](https://github.com/ddnet/ddnet/#using-ad...
Avatar
ws-client BOT 2025-01-08 20:04
<ChillerDragon> ah its my auto login i assume seems like someone locked my account ._.
Avatar
GitHub BOT 2025-01-08 20:42
0666d4c Replace Cubicroot function with std::cbrt - Chairn 694b1d8 Merge pull request #9494 from Chairn/pr_cbrt - Robyt3
Avatar
rip chiller
Avatar
“There is a cult of ignorance in the United States, and there has always been. The strain of anti-intellectualism has been a constant thread winding its way through our political and cultural life, nurtured by the false notion that democracy means that 'my ignorance is just as good as your knowledge.”
Isaac Asimov
20:52
justatest
20:53
@Ewan trump wants canada now
Avatar
accurate
20:56
i’ll call him and tell him to stop
20:56
kek
Avatar
Jupstar ✪ 2025-01-08 20:56
thanks mister ewan
Avatar
Avatar
ws-client
<ChillerDragon> @Faulty sos i spawn frozen on Unstable what happend?
Does it write "bad client" in chat?
Avatar
On the client side the per-character tuning as-is works acceptable as long as AntiPing is off (infclass uses per-player tuning for many years). Turning on the AntiPing ruins the UX in some cases. (...
Avatar
GitHub BOT 2025-01-08 21:49
See commit messages.

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 valgrind's memcheck](https://github.com/ddnet...
Avatar
Avatar
Assa
??? Sorry I don't understand what you are talking about, did I miss some context?
1 message above i suppose xd
Avatar
cyberfighter 2 2025-01-08 22:05
o yes i want that
Avatar
@heinrich5991 can you review #8959
Avatar
On the client side the per-character tuning as-is works acceptable as long as AntiPing is off (infclass uses per-player tuning for many years). Turning on the AntiPing ruins the UX in some cases. (...
22:28
cd73fec Fix incorrect default 0.7 skin parts being used - Robyt3 197f3f2 Use ColorRGBA::WithAlpha function for 0.7 skin rendering - Robyt3 3a95bbe Remove temporary variable and simplify SetColor usage - Robyt3 f4d0758 Add CSkins7::IsSpecialSkin function - Robyt3 0ad732f Merge pull request #9495 from Robyt3/Client-Skins7-Various-Refactoring - def-
22:31
9fb80d7 Check item_size explicitly. - Jupeyy 9243547 Merge pull request #52 from Jupeyy/pr_mapitem_fix - Jupeyy
Avatar
chillerdragon BOT 2025-01-08 22:45
No chat was pretty empty. It didn’t even show my login message I think. And if I connect with the same client again it works as if the first client logged into the frozen account already.
Replying to @Faulty Does it write "bad client" in chat?
22:46
If you don’t know what happend maybe I am not the only case. I connected to the server because of the unusually low player count.
Exported 133 message(s)
Timezone: UTC+0