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-16 00:00 and 2025-01-17 00:00
Avatar
MilkeeyCat 2025-01-16 06:54
chillerdragon: I almost finished my kernel module, it can detect input packets, but it crashes the kernel when it tries to encode a packet xd
Avatar
GitHub BOT 2025-01-16 07:01
We could definitely add this info in the ingame server info menu below the number of players though.
Originally posted by @Robyt3 in https://github.com/ddnet/ddnet/issues/9413#issuecomment-2559409219

Checklist

  • [x] Tested the change ingame
-...
Avatar
chillerdragon BOT 2025-01-16 07:21
Yikes
Replying to @MilkeeyCat chillerdragon: I almost finished my kernel module, it can detect input p…
Avatar
MilkeeyCat 2025-01-16 07:24
I don't even know how to debug it xd
Avatar
chillerdragon BOT 2025-01-16 07:24
Same code doesn’t crash outside of the kernel?
Avatar
MilkeeyCat 2025-01-16 07:25
yup
Avatar
chillerdragon BOT 2025-01-16 07:25
Annoying
Avatar
MilkeeyCat 2025-01-16 07:25
I took a random packet from wireshark and it works fine
Avatar
chillerdragon BOT 2025-01-16 07:25
Write angry email to Linus saying his kernel is trash and has crashbugs
Avatar
MilkeeyCat 2025-01-16 07:27
It's time to use forbidden jutsu called "comment line by line to see where it stops crashing"
Avatar
Bisect instead
Avatar
hello
07:33
today is the day i started using fish
Avatar
MilkeeyCat 2025-01-16 07:33
because there's rust port?
Avatar
yeah
07:34
and cuz yes xd
Avatar
MilkeeyCat 2025-01-16 07:35
has anyone tried ghostty?
Avatar
overhyped terminal
07:36
i wanna try this shell someday https://www.nushell.sh/
A new type of shell.
Avatar
Avatar
MilkeeyCat
has anyone tried ghostty?
seems fitting xD
Avatar
Avatar
Ryozuki
today is the day i started using fish
awesome
07:43
u should get the async prompt and delimeter matching plugins
07:43
very ergonomic
07:43
fzf integration
Avatar
Avatar
Ryozuki
today is the day i started using fish
I tried using it but it broke all my conf/scripts so I switched back until I have time to switch properly
Avatar
#!/usr/bin/env bash
07:44
the shebang tells the shell what program to use
Avatar
yeah that's a good idea
07:44
although I also meant the .profile conf (for the shell)
Avatar
fish doesn’t touch your profile
07:45
you can’t source it directly without bass, a transpiling plugin
07:45
fish configs go in ~/.config/fish/conf.d or config.fish or whatever (edited)
Avatar
:O
Avatar
Avatar
Ryozuki
i wanna try this shell someday https://www.nushell.sh/
this looks interesting
Avatar
yeah I didn't research about it that much tbh 😅 and I didn't have the energy to rice the terminal (still haven't found the time)
Avatar
i never really riced
07:47
i only added a right side prompt to show the direnv dir name
07:47
in gray text
Avatar
oh I am prob using wrong term
07:48
ricing in my head is changing plus dotfiles
Avatar
lol fair
Avatar
so I intend to use tmux/change lf(terminal file manager/terminal editor(try out kakoune or smt) and make shortcuts and scripts for everything
07:52
btw do you have a good source/example of dotfiles for fish or in general to share?
Avatar
it’s more about seeking out features you want and then just pasting them in piecemeal
07:53
mine is basically nothing but aliases
07:53
and that
07:53
fzf and direnv hooks
07:54
my plugin stuff is handled automatically by nix but you’d load them from there typically (i assume fisher just appends to the generated config file)
Avatar
oh you use nixos?
07:55
well
Avatar
i just run fish at end of bashrc
Avatar
and mac
Avatar
gentoo wiki
Avatar
Avatar
Ryozuki
i just run fish at end of bashrc
makes sense
07:55
do u exec
Avatar
it also said bass as option
Avatar
what you’re doing is probably better
07:56
though envvars in fish work fairly differently
Avatar
# keep this line at the bottom of ~/.bashrc [ -x /bin/fish ] && SHELL=/bin/fish exec fish
😃 1
👍 1
Avatar
you should read abt exported vs global vars
07:56
they slightly confusing compared to bash
Avatar
Avatar
Ewan
you should read abt exported vs global vars
and universal and local
07:59
more like (local|global|universal) (export)
Avatar
Avatar
Ewan
u should get the async prompt and delimeter matching plugins
wat thisndo
Avatar
universal variables are really nice
Avatar
Avatar
Ryozuki
wat thisndo
async prompt lets you type in while the command is terminating ig
08:00
idk exactly how it works but it’s free time savings basically because if you need it then you’re always gonna be spending that time typing anyway (edited)
08:01
makes it snappier
08:01
and then the other one just adds closing quotes and parens and stuff (edited)
08:05
i sleep now. good luck in your fish journey
Avatar
MilkeeyCat 2025-01-16 08:05
gn
Avatar
gn
Avatar
cyberfighter 2 2025-01-16 08:56
fym gm?
08:57
arent you in america? xd
Avatar
gm @cyberfighter 2
Avatar
Koll Potato 2025-01-16 09:09
guten morgen
Avatar
Avatar
Jupstar ✪
Found a solution for your problem?
yeaaa, the distance muzzle <-> gun was too big, and I spent an embarassing amount of time to realize that the position of the muzzle isn't off, but the size of the muzzle ^^
Avatar
Avatar
cyberfighter 2
arent you in america? xd
yes
09:48
pepeW
09:48
i woke up at 3 am
Avatar
Абобус на мясо 2025-01-16 09:52
hallo me game dont active привет у меня игра не запускается помогите
Avatar
Avatar
GitHub
Click to see attachment 🖼️
♂S1mple♂ 2025-01-16 10:26
Uh oh, this ain't good justatest
Avatar
hi. where can I apply to the ban account?
Avatar
♂S1mple♂ 2025-01-16 10:26
Did hoster kicked us again? (edited)
Avatar
there is still RUS2-6 listed
Avatar
♂S1mple♂ 2025-01-16 10:27
Aren't rus4 and 6 block ones (edited)
Avatar
imagine having a dedicated block server
Avatar
Avatar
♂S1mple♂
Aren't rus4 and 6 block ones (edited)
♂S1mple♂ 2025-01-16 10:31
Yeah they are
Avatar
Avatar
frizzing
hi. where can I apply to the ban account?
Jupstar ✪ 2025-01-16 10:37
#✉-create-a-ticket
Avatar
Avatar
♂S1mple♂
Did hoster kicked us again? (edited)
They didn't kick us out, but whenever there is a DoS attack the server becomes unreachable for new players
11:10
so I didn't prolong the server
11:11
There is still RUS2/3/5 and player numbers haven't increased recently anyway
Avatar
MilkeeyCat 2025-01-16 12:34
chillerdragon: It was crashing because I forgot to initialize a packer lol
justatest 1
Avatar
ddnet-rs PR's arent sent anymore? @Jupstar ✪ :(
Avatar
i was so happy doing the 69'th PR man
Avatar
Avatar
meloƞ
ddnet-rs PR's arent sent anymore? @Jupstar ✪ :(
Jupstar ✪ 2025-01-16 14:29
what?
Avatar
maybe you&#39;re able to find a better value that makes this even more visible - i played around with the values a bit but i couldnt get it just right may create a merge conflict with #68 depen...
Avatar
Jupstar ✪ 2025-01-16 14:29
ah
14:29
only when merged
Avatar
ah i see
Avatar
Jupstar ✪ 2025-01-16 14:37
lol my github design suddenly changed
14:37
they added so much space to everything 😮
14:37
maybe bit too much tbh xD
Avatar
i hacked your browser
Avatar
Jupstar ✪ 2025-01-16 14:38
the issue suddenly is double in height
justatest 1
Avatar
it can get worse btw - 1 sec.
14:40
ah yes.
14:41
no idea what they did but holy is it ugly kekw
14:41
Is it changing realtime? xd
Avatar
you can now drag and drop listboxes - [ ]
14:42
you can also escalate issues from each via the context menu on the right now
Avatar
Avatar
Teero
Is it changing realtime? xd
always has been
Avatar
GitHub BOT 2025-01-16 14:54
7b878fe Add a proper error msg to the notifications if the server sends one. - Jupeyy 590fd98 Add ctrl + s to save map. - Jupeyy d0f09ac Fix string data items (version, credits etc.). - Jupeyy 46f7cb1 Basic tab support - Jupeyy 94d6f45 Make tile selection bg white - Jupeyy 96eba44 Add visual feedback to tile selection (tile selector) - Jupeyy f346388 Small refactor for hosting & joining maps - Jupeyy 23eb5eb Small refactor of network events, add client props - Jupeyy 2b69521 Add redo & undo button. - Jupeyy bc8d3a2 Use action merge logic - Jupeyy eb8ff98 Show current mappers in tab - Jupeyy 8fcd527 Add basic cursor from other mappers support. - Jupeyy ad855cd Merge pull request #68 from Jupeyy/pr_editor_fixes2 - Jupeyy
poggers2 1
Avatar
Jupstar ✪ 2025-01-16 14:57
@meloƞ do you not use any rustfmt?
Avatar
rustfmt should run on save :o - isnt it formatted? kek
14:57
let me format and fix the conflict myself then
Avatar
Jupstar ✪ 2025-01-16 14:57
alright
Avatar
Avatar
meloƞ
rustfmt should run on save :o - isnt it formatted? kek
Jupstar ✪ 2025-01-16 15:11
can you also fix your clippy warning then xd
15:11
my workspace isnt setup correctly - got it! kekw
Avatar
Jupstar ✪ 2025-01-16 15:11
you could have used the workspace in misc 😉
15:13
actually seems like clippy is missing in the workspace, seems like i changed that globally
Avatar
GitHub BOT 2025-01-16 15:21
6137251 Add clippy as check command - Jupeyy 4906058 Merge pull request #6 from Jupeyy/pr_add_clippy - Jupeyy
Avatar
@Jupstar ✪ i swear to god i just made 3 git mistakes in a row - can you quickly resolve my stuff? kekw
Avatar
Jupstar ✪ 2025-01-16 15:22
looks correct to me or not?
Avatar
i fucked up a merge, then i fucked up a rebase, then i force pushed the WRONG rebase, and now i reverted everything back
Avatar
Jupstar ✪ 2025-01-16 15:23
i wait for the ci pr and then i rebase it 😄
justatest 1
Avatar
peepoCute tanks
Avatar
i am NOT a developer stop pinging me
what 1
Avatar
A reverse-proxy that serves diassociated-press style reimaginings of your upstream pages, poisoning any LLMs that scrape your content.
Avatar
GitHub BOT 2025-01-16 15:45
1c02046 Add clippy & rustfmt to CI - Jupeyy 3750f62 Merge pull request #71 from Jupeyy/pr_add_clippy_and_format_ci - Jupeyy
Avatar
Jupstar ✪ 2025-01-16 15:48
@meloƞ can u please git fetch --all, git reset --hard origin/checker-tile-selector and then git commit --amend --reset-author (edited)
15:48
no idea why, but it just reset the author to me lol
Avatar
lol sure
15:53
watdahell
Avatar
Jupstar ✪ 2025-01-16 15:54
thanks, i hope u didn't change any code afterwards that i removed now
Avatar
i didnt modify it further - i think
Avatar
Jupstar ✪ 2025-01-16 15:54
your force pushes showed u once fixed the .clone but then added it again
15:54
lol
Avatar
°-°
15:54
HuH
15:55
man just cherry pick my changes and PR it yourself - wtf kek
15:55
git hard
Avatar
Jupstar ✪ 2025-01-16 15:55
but i swear it almost looks like a git bug
15:55
e.g. u reverted a commit from me, but the code editor showed it's all fine
15:56
i kinda have the feeling github swapped the commits here
Avatar
i am utter confusion
Avatar
Jupstar ✪ 2025-01-16 15:56
tja, weird af
Avatar
@meloƞ Can you please remind me which file contains the GAMETYPENAME of the Server, that is, DDRace , and TestDDR?
15:58
1 coder and I are preparing an interesting project.
Avatar
Avatar
meloƞ
ah yes.
This picture is where I would say that the spacing is a tiny bit larger
Avatar
Avatar
Evelyn.
@meloƞ Can you please remind me which file contains the GAMETYPENAME of the Server, that is, DDRace , and TestDDR?
IIRC it's a variable you set look for SvGametype
Avatar
Thx
Avatar
GitHub BOT 2025-01-16 16:14
57fa49c Add checkerbox background to tile selector - BlaiZephyr fdc3980 Merge pull request #69 from BlaiZephyr/checker-tile-selector - Jupeyy
feelsamazingman 1
heartw 1
Avatar
this part is a scam how do i even do this
16:19
@Jupstar ✪ why does my fps drop so hard when i open scoreboard or console
16:19
is it because of the whole blur effect?
Avatar
Avatar
Souly
@Jupstar ✪ why does my fps drop so hard when i open scoreboard or console
Jupstar ✪ 2025-01-16 16:20
how hard is hard?
Avatar
i get 300 fps when having scoreboard or console opened
Avatar
Jupstar ✪ 2025-01-16 16:20
yes the blur effect isn't really the cheapest, dunno if it can be achieved with less rendering xd
Avatar
and 200 fps when both opened at once lmao
Avatar
Avatar
Souly
this part is a scam how do i even do this
Jupstar ✪ 2025-01-16 16:21
is that a solo map? xd
Avatar
its 1of4 from rust ddrace lmao
16:22
looks like laser is missing on the left
Avatar
Jupstar ✪ 2025-01-16 16:23
oh interesting
Avatar
oh and
16:24
@Jupstar ✪ how do i bind anything lmao
Avatar
Jupstar ✪ 2025-01-16 16:24
front layer i see
Avatar
i remember struggling with that
Avatar
Avatar
Souly
@Jupstar ✪ how do i bind anything lmao
Jupstar ✪ 2025-01-16 16:24
what's the problem
Avatar
for example how do i bind dummy toggle to a key
16:25
or how do i change my mouse distance from console
16:25
oh wait mouse distance was easy nvm
Avatar
Jupstar ✪ 2025-01-16 16:25
bind f toggle_dummy
Avatar
bruh last time i was searching for it real hard
16:27
and got confused because cl_dummy just showed that list of all dummy settings
16:27
grouping settings together is kinda cool tho ngl
Avatar
Jupstar ✪ 2025-01-16 16:27
you mean this?
16:28
yeah toggle_dummy is not a conf var anymore
16:28
it's a proper command
16:28
bcs there is also change_dummy if u want more than 1 dummy
16:28
but currently adding more dummies is hidden under dbg.app true 😛
Avatar
what do yall even know about ddracing
16:51
i didnt know how to get dummy hammerfly to work so i just used +dummy.fire on the entire thing
16:51
had to do some quick switches and spins in midair
Avatar
Jupstar ✪ 2025-01-16 16:52
there is also +dummy.aim_on_char
16:52
or similar
16:52
then u have basically deepfly
Avatar
it just looks my way
16:54
but doesnt hammer
Avatar
Jupstar ✪ 2025-01-16 16:54
well combined with dummy.+fire
16:54
+dummy.fire
Avatar
how do i even combine binds
Avatar
Jupstar ✪ 2025-01-16 16:54
simply add a semicolon
Avatar
oh and how do those rgb settings work
16:54
like anything color related
Avatar
Jupstar ✪ 2025-01-16 16:54
bind mouse_left +fire;+dummy.fire;+dummy.aim_character
Avatar
Avatar
Souly
oh and how do those rgb settings work
Jupstar ✪ 2025-01-16 16:54
html or css tags
16:54
so #ffffff or rgb(20,20,20) (edited)
Avatar
@Jupstar ✪ to upload skins, you gotta go to the teedata discord?
16:57
for ddnet-rs specifically?
Avatar
Jupstar ✪ 2025-01-16 16:58
you gotta send them to me xd
Avatar
i think i already did send them to you
Avatar
Jupstar ✪ 2025-01-16 16:58
ah your robot?
Avatar
Jupstar ✪ 2025-01-16 16:58
robot + weapons, anything else?
Avatar
thats it for now
Avatar
Avatar
Souly
what do yall even know about ddracing
Is it already playable now?
16:59
Connect to existing DDNet servers?
Avatar
Avatar
Jupstar ✪
html or css tags
thx
Avatar
Avatar
Pioooooo
Connect to existing DDNet servers?
theres only one test ddrace server
Avatar
Oh then I guess it won't be located in China
Avatar
watching people from far away with dummy preview feels like some five night at freddies thing
17:29
finally caught the crash log 🔥
Avatar
Koll Potato 2025-01-16 17:30
panic is the worst rust feature xD
Avatar
Avatar
Koll Potato
panic is the worst rust feature xD
Jupstar ✪ 2025-01-16 17:33
what else should it do?
Avatar
Avatar
Hecta
Click to see attachment 🖼️
Jupstar ✪ 2025-01-16 17:33
mhh, did you join any team?
Avatar
Avatar
Jupstar ✪
what else should it do?
Koll Potato 2025-01-16 17:33
just return result
17:33
and handle it without uwnraps
Avatar
Avatar
Hecta
thats it for now
Jupstar ✪ 2025-01-16 17:34
i added them, but sadly needs a fix in code too: https://github.com/ddnet/ddnet-rs/pull/72
Avatar
Avatar
Koll Potato
and handle it without uwnraps
Jupstar ✪ 2025-01-16 17:34
mh can't agree tbh. Sometimes handling the result is worse
Avatar
Avatar
Jupstar ✪
mhh, did you join any team?
i think i made my own and then asked someone else to join it
17:34
and then it randomly crashed LOL
Avatar
Jupstar ✪ 2025-01-16 17:34
bcs u create weird incsonsitent states
Avatar
Koll Potato 2025-01-16 17:36
oh no the rust guru is typing
Avatar
@Ewan apparently if i set [ -x /bin/fish ] && SHELL=/bin/fish exec fish at end of bashrc, when i login it doesnt run startx xinit stuff
17:36
my login is bare, no gui
Avatar
Avatar
Jupstar ✪
bcs u create weird incsonsitent states
Koll Potato 2025-01-16 17:36
what about validating the state?
17:37
but yeah i get you i think
17:37
sometimes u want the app to crash
17:37
if u have done something silly
Avatar
Jupstar ✪ 2025-01-16 17:38
i think a good rule of thumb is. if somewhere in your function you set someting to a mutable variable. then you should better crash
17:38
if you rely on RAII you can return as long u never assign anything to a mutable state
Avatar
MilkeeyCat 2025-01-16 17:39
chillerdragon: i dided it xd
17:39
(sorry for slide show :\) (edited)
17:40
when i try to join a map
Avatar
Avatar
Hecta
Click to see attachment 🖼️
Jupstar ✪ 2025-01-16 17:42
ouch
Avatar
[terminal] shell = { program = "/bin/fish", args = ["-l"] } [env] SHELL = "/bin/fish" @Ewan i just set it on alacritty and done
😃 1
Avatar
Jupstar ✪ 2025-01-16 17:46
@meloƞ
Avatar
HAHAHA
Avatar
Avatar
Hecta
Click to see attachment 🖼️
Jupstar ✪ 2025-01-16 17:54
mh yeah this is defs a problem, but i think i found the issue while joining
Avatar
GitHub BOT 2025-01-16 17:59
991ea72 Fix tar should ignore dirs itself - Jupeyy 3407f1c Merge pull request #72 from Jupeyy/pr_tar_fix_dir - Jupeyy
Avatar
Jupstar ✪ 2025-01-16 18:01
fixed it, but i saw u could already join ^^
Avatar
Koll Potato 2025-01-16 18:12
@Jupstar ✪ i forgor how to fix that wayland bug
18:12
can u explain it again
Avatar
Avatar
Koll Potato
@Jupstar ✪ i forgor how to fix that wayland bug
Jupstar ✪ 2025-01-16 18:12
WAYLAND_DISPLAY=
18:12
but do you even still have it?
Avatar
Koll Potato 2025-01-16 18:13
yea i do
Avatar
Jupstar ✪ 2025-01-16 18:13
since i reworked the cursor lock i dont have it anymore lol
18:13
well i also updated kde
18:13
maybe they fixed it lol
Avatar
Koll Potato 2025-01-16 18:13
idk maybe i didnt update the cloned repo
18:13
i did git pull
18:13
i think it is enough
18:15
now i must join the collaborative map editor
18:15
and troll a bit
Avatar
@Learath2
Avatar
Avatar
Ryozuki
@Learath2
This stuff is indeed all a huge mess
18:34
You really need to be careful and know all pieces of "hidden global state" if you rely on it
Avatar
Koll Potato 2025-01-16 18:48
@Jupstar ✪ you are crazy justatest
18:48
all that work in solo
Avatar
don't look at the backend_vulkan.cpp file then 😄
Avatar
Avatar
Koll Potato
@Jupstar ✪ you are crazy justatest
Jupstar ✪ 2025-01-16 18:52
yeah it's a lot already, but also took me over 2 years so
😃 1
Avatar
Koll Potato 2025-01-16 18:53
it was worth it right
Avatar
jupstar is a RiiR white knight
18:53
but chad cuz he did it
Avatar
Avatar
Koll Potato
it was worth it right
Jupstar ✪ 2025-01-16 18:56
i had fun, so yeah. but sometimes i also felt like it was a waste of time xd
Avatar
Koll Potato 2025-01-16 18:58
yeah i also think about that with the teeworlds server i code in rust
18:58
but i still continue
18:58
then i give up
18:58
and the cycle repeats
Avatar
Avatar
Koll Potato
it was worth it right
i think it was definitely worth it
Avatar
Avatar
Ryozuki
jupstar is a RiiR white knight
RiiR ?
Avatar
rewrite it in rust
Avatar
RiiTNAPL
Avatar
the nerdy ass programming language goes hard
Avatar
GitHub BOT 2025-01-16 19:24

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-addresss...
Avatar
85.215.138.194:8307 is not a DDraceNetwork or Community server.
poggers2 1
Avatar
@Jupstar ✪ the comment is confusing me - is it actually placed correctly? kek
20:09
how has the used color anything to do with the backend vsync value
20:09
Avatar
Jupstar ✪ 2025-01-16 20:09
no that commend seems out of place xD
20:10
move it one layer up
Avatar
Avatar
meloƞ
how has the used color anything to do with the backend vsync value
Koll Potato 2025-01-16 20:10
how shall you blame the rust genius
Avatar
Jupstar ✪ 2025-01-16 20:10
say CRITICAL BUG FIX
😂 1
Avatar
Koll Potato 2025-01-16 20:10
comment contributor
Avatar
ey i contributed code!
Avatar
Koll Potato 2025-01-16 20:13
i can refactor one constant in the ddnet source
20:13
should i make a pr for that
Avatar
Jupstar ✪ 2025-01-16 20:14
yes
20:14
i takeeverything
Avatar
Koll Potato 2025-01-16 20:14
i mean ddnet
20:14
not ddnet-rs
20:14
sorry
20:15
cammo
Avatar
Replace every 32 with CCollision::BLOCK_SIZE justatest
justatest 1
Avatar
Koll Potato 2025-01-16 20:16
why not xD
20:16
@Jupstar ✪ my brain is hurting from this
20:16
i dont understand shit
20:16
even more string types
Avatar
you're looking at the worst code of ddnet-rs man kek
Avatar
Koll Potato 2025-01-16 20:17
i mean if he can explain why its necessary then its not bad
Avatar
its easier if you know what you want to know - just reading it like that will make your brain go boom
Avatar
Avatar
Koll Potato
@Jupstar ✪ my brain is hurting from this
Avatar
Koll Potato 2025-01-16 20:18
xD
Avatar
Avatar
Koll Potato
@Jupstar ✪ my brain is hurting from this
Jupstar ✪ 2025-01-16 20:18
well the network strings are basically just strings with char limit
20:18
but that logic will be even worse in future
Avatar
Koll Potato 2025-01-16 20:18
have you thought about using stack strings?
20:18
like arraystring
20:18
stack is faster
20:18
probably
Avatar
Jupstar ✪ 2025-01-16 20:18
thought yes, but i use pool mostly
20:18
pool is as fast as stack
Avatar
Koll Potato 2025-01-16 20:19
does pool mean strings will be reused?
Avatar
Jupstar ✪ 2025-01-16 20:19
well most of the time xd
Avatar
Avatar
Koll Potato
does pool mean strings will be reused?
Jupstar ✪ 2025-01-16 20:19
yes
Avatar
Koll Potato 2025-01-16 20:19
omg
20:19
im smart
20:19
wtfff
Avatar
Jupstar ✪ 2025-01-16 20:19
insane
Avatar
Koll Potato 2025-01-16 20:19
yea
20:19
i dont know how they are reused though
20:19
but who cares right
Avatar
Avatar
Koll Potato
im smart
congrats! you now have ownership of ddnet
Avatar
Koll Potato 2025-01-16 20:20
gonna ban the people who blocked me 6 months ago
20:20
revenge is real
Avatar
MilkeeyCat 2025-01-16 20:28
@Robyt3 could you send the server ip you were testing on?
Avatar
Avatar
MilkeeyCat
@Robyt3 could you send the server ip you were testing on?
tw-0.7+udp://45.142.178.158:8704
👍 1
Avatar
45.142.178.158:8704 is not a DDraceNetwork or Community server.
Avatar
Avatar
Robyt3
Replace every 32 with CCollision::BLOCK_SIZE justatest
Koll Potato 2025-01-16 20:34
soooo should i do it or not
20:34
where do i put the constant
Avatar
Avatar
Koll Potato
soooo should i do it or not
I wouldn't, you'd have to go through almost every file and it would cause a lot of conflicts
Avatar
Koll Potato 2025-01-16 20:36
yeah i thought about conflicts too
Avatar
roby thinking if they should really give Koll this task - scared it will break them mentally and physically
Avatar
Koll Potato 2025-01-16 20:36
cammo
20:37
yeah
20:37
i will break ddnet
20:37
accidentally
Avatar
been there, done that
Avatar
Koll Potato 2025-01-16 20:37
really?
Avatar
i managed to break CI - confusing me and 3 other people! kek
Avatar
Koll Potato 2025-01-16 20:38
then i can make one pr with this change
20:38
and break the whole protocol
20:39
yippe
Avatar
Avatar
meloƞ
i managed to break CI - confusing me and 3 other people! kek
Koll Potato 2025-01-16 20:39
well it aint that scary
20:39
servers still worked right
Avatar
i dont really PR changes that are able to break anything in ddnet, most of my PR's are typos and refactors
20:40
afair every feature i tried PR'ing was closed Sadge
Avatar
Koll Potato 2025-01-16 20:40
well refactoring can break stuff
Avatar
Avatar
meloƞ
afair every feature i tried PR'ing was closed Sadge
Koll Potato 2025-01-16 20:40
damn
20:41
my condolences
Avatar
chillerdragon BOT 2025-01-16 20:41
Not sure what’s happening
Replying to @MilkeeyCat chillerdragon: i dided it xd
Avatar
Avatar
meloƞ
Click to see attachment 🖼️
Koll Potato 2025-01-16 20:41
i still remember that time when u suggested me implementing a better config parser
Avatar
Avatar
chillerdragon
Not sure what’s happening
MilkeeyCat 2025-01-16 20:41
the dummy's movement inversed
Avatar
Koll Potato 2025-01-16 20:42
the string parser
Avatar
MilkeeyCat 2025-01-16 20:42
a is d, d is a
Avatar
Koll Potato 2025-01-16 20:42
i could not do it though
20:42
might try again
Avatar
MilkeeyCat 2025-01-16 20:42
chillerdragon: you can always test it on your machine santatrollet
Avatar
chillerdragon BOT 2025-01-16 20:43
It’s used in ddrace.cpp not sure if it is still defined there
Replying to @Evelyn. BlaiZephyr | meloƞ Can you please remind me which file contains the GAM…
20:44
How is one supposed to see that in the video lol
Replying to @MilkeeyCat the dummy's movement inversed
20:44
I am pro dummies lol
Replying to @MilkeeyCat chillerdragon: you can always test it on your machine
20:45
But cool stuff!
20:45
Is the lib already that useful? I thought too much is missing still
Avatar
Avatar
chillerdragon
How is one supposed to see that in the video lol
MilkeeyCat 2025-01-16 20:45
arrow above the tee points to the opposite direction to dummy's movement :p
Avatar
Avatar
chillerdragon
Is the lib already that useful? I thought too much is missing still
MilkeeyCat 2025-01-16 20:46
i added one more "message" which is used for messages which are not handled yet, it saves raw bytes
20:47
and I added input message
20:47
it's on hack branch in the lib repo
Avatar
chillerdragon BOT 2025-01-16 20:47
sus
Avatar
MilkeeyCat 2025-01-16 20:47
hack is like hacky solution
Avatar
chillerdragon BOT 2025-01-16 20:48
Ye I get it
Avatar
MilkeeyCat 2025-01-16 20:48
pepeH
20:49
I've spent so much time trying to debug why a tee simply couldn't move, in the end I realized I was overwriting ethernet frame bytes pepeW
Avatar
chillerdragon BOT 2025-01-16 20:50
Kernel moment
Avatar
MilkeeyCat 2025-01-16 20:50
i changed the offset 10 times until it worked xd
Avatar
chillerdragon BOT 2025-01-16 20:51
So you are done?
Avatar
MilkeeyCat 2025-01-16 20:51
ye
20:51
I'll test it on my machine, to see if it's not too laggy
Avatar
chillerdragon BOT 2025-01-16 20:51
Next project is to use ddnet_protocol for ddnet-rs bridge! Thanks.
20:52
there's no reason to do it actually
Avatar
MilkeeyCat 2025-01-16 20:53
writing without lsp was so weird
Avatar
i'm fine with a way for ddnet-rs to connect to ddnet when it doesnt require a single codechange on ddnet-rs kekw dont want a new project to need a full compatibility layer a month after it's launch (edited)
20:53
i'm enjoying the encapsulation rn kek
Avatar
Avatar
meloƞ
i'm fine with a way for ddnet-rs to connect to ddnet when it doesnt require a single codechange on ddnet-rs kekw dont want a new project to need a full compatibility layer a month after it's launch (edited)
Koll Potato 2025-01-16 20:54
wait so ddnet-rs can connect to ddnet servers or not
Avatar
Avatar
Koll Potato
wait so ddnet-rs can connect to ddnet servers or not
no
Avatar
Avatar
Koll Potato
wait so ddnet-rs can connect to ddnet servers or not
no
Avatar
chillerdragon BOT 2025-01-16 20:54
You are hooked! Time to switch back to nano
Replying to @MilkeeyCat writing without lsp was so weird
Avatar
me 🤝 zhn
Avatar
i mean i can understand adding ddnet rs support to current ddnet but no vice versa
20:55
theoretically ddnet rs offers more
Avatar
Koll Potato 2025-01-16 20:55
ddnet-nerdy-ass-programming-language
Avatar
Avatar
chillerdragon
You are hooked! Time to switch back to nano
MilkeeyCat 2025-01-16 20:55
my next project will be written in ed
Avatar
Avatar
Koll Potato
ddnet-nerdy-ass-programming-language
hecta just had an orgasm hearing you say that
Avatar
Avatar
Koll Potato
ddnet-nerdy-ass-programming-language
did you finish your protocol thingie?
Avatar
Avatar
zhn
did you finish your protocol thingie?
Koll Potato 2025-01-16 20:56
rewriting it from scratch for the 3rd or 4th already
20:56
👍
Avatar
Avatar
Koll Potato
rewriting it from scratch for the 3rd or 4th already
nice, did the same xd
Avatar
Koll Potato 2025-01-16 20:56
i like reinventing the wheel
Avatar
i did the same*
Avatar
Koll Potato 2025-01-16 20:56
i considered writing my own stack string
20:56
but ig thats too much
Avatar
no its not
20:56
but its implemented already
Avatar
Koll Potato 2025-01-16 20:56
yea
20:57
why is string length always 32 bits
20:57
why not make ShortArrayString
Avatar
gerdoe since i'm busy helping jupsti create the best mapping tool anyone has ever seen, how about you start actually creating a proper community on ddnet-rs to game on??????
Avatar
Koll Potato 2025-01-16 20:57
with 8 bits for length
Avatar
we need battlefield, zombies, alivefng, zcatch, ddrace, kog, city, ...
Avatar
Avatar
meloƞ
gerdoe since i'm busy helping jupsti create the best mapping tool anyone has ever seen, how about you start actually creating a proper community on ddnet-rs to game on??????
vanilla old farts barely move from 0.7 to ddnet, i got no chance to actually move it xd
Avatar
also since speedtime makes his own ranking system based on 0.6 theres less chances
Avatar
Koll Potato 2025-01-16 20:59
@zhn when will 0.8 come out
KEKW 1
Avatar
never, oy left us
Avatar
Koll Potato 2025-01-16 20:59
not but like i have seen comments
20:59
TODO: 0.8
Avatar
they were TODO: 0.5
Avatar
Koll Potato 2025-01-16 20:59
xD
Avatar
and TODO: 0.6 and so on
21:00
current teeworlds codebase is really pretty though
Avatar
can't wait for 1.0 to drop 2055 (edited)
Avatar
1.0 beta alpha 1838.rc
justatest 1
Avatar
Avatar
meloƞ
can't wait for 1.0 to drop 2055 (edited)
Koll Potato 2025-01-16 21:00
i would add 20 more years again
21:00
0.6 is like 15 years old right
21:01
i still want to see old fat 0.5 strings
21:01
and to remove this clan field actually xd
Avatar
Koll Potato 2025-01-16 21:06
we team up with chiller and make 0.8 protocol
Avatar
always BOT 2025-01-16 21:08
hi guys
Avatar
worked
Avatar
Koll Potato 2025-01-16 21:09
u fat
Avatar
always BOT 2025-01-16 21:09
nou
Avatar
Jupstar ✪ BOT 2025-01-16 21:09
hai
Replying to @always always: hi guys
Avatar
always BOT 2025-01-16 21:12
haii :3
Avatar
GitHub BOT 2025-01-16 21:12
74ed8d8 change clear_color's default value to grey - BlaiZephyr 169e64d Merge pull request #73 from BlaiZephyr/clear_color_default - Jupeyy
Avatar
Jupstar ✪ 2025-01-16 21:16
WTF WAS THIS?
21:16
i never had that before lmao (edited)
21:16
how do i restore my branch xD
Avatar
did it delete your branch?
Avatar
Jupstar ✪ 2025-01-16 21:18
i did literally nothing than a rebase and force push
21:18
and github randomly closed the pr
Avatar
well you closed it it says..
Avatar
it closes the pr when theres no changes
Avatar
oh dam
Avatar
Avatar
Koll Potato
we team up with chiller and make 0.8 protocol
we call it ddnet-rs protocol
Avatar
Avatar
kebs
it closes the pr when theres no changes
Jupstar ✪ 2025-01-16 21:21
ah interesting
21:21
dunno what virus executed git reset here lmao my history says i did a rebase xdd
Avatar
Avatar
zhn
we call it ddnet-rs protocol
Koll Potato 2025-01-16 21:32
yea
21:32
and we remove the uuids!!!!
21:32
and difference between game and system messages (edited)
21:32
which is one bit
21:32
in the id
Avatar
yo that's when u search for ddnet-rs 💀
Avatar
Koll Potato 2025-01-16 21:34
oh shit
Avatar
Jupstar ✪ 2025-01-16 21:34
oh no
Avatar
Koll Potato 2025-01-16 21:35
wtf i wanted to see if ddnet.ru is taken
21:35
its a cheat client page
Avatar
Smetanolub 2025-01-16 21:35
does that new function of seeing crosshairs in /pause eat fps?
Avatar
Jupstar ✪ 2025-01-16 21:36
at most 1
21:36
why do you assume so
Avatar
Avatar
Koll Potato
its a cheat client page
Smetanolub 2025-01-16 21:36
Thats not a cheat client
Avatar
Avatar
Jupstar ✪
why do you assume so
Smetanolub 2025-01-16 21:36
Cuz idk how it works
Avatar
Avatar
Smetanolub
Thats not a cheat client
Koll Potato 2025-01-16 21:36
how do you know that
Avatar
Smetanolub 2025-01-16 21:37
Its old client
21:37
And it has almost nothing in it
Avatar
what new function
Avatar
Smetanolub 2025-01-16 21:38
Avatar
Avatar
Jupstar ✪
and github randomly closed the pr
HAH I HAVE A STORY FOR YOU
Avatar
Smetanolub 2025-01-16 21:38
U can see ppl crosshairs xdd
Avatar
@Jupstar ✪ happened to me aswell kekw - guess their new feature is just bugged
Avatar
Jupstar ✪ 2025-01-16 21:39
lol
Avatar
all changes gone, had to cherrypick and force push aswell
21:39
so it wasnt my skill issue!
Avatar
Jupstar ✪ 2025-01-16 21:39
wtf
21:40
why does it have control over my local git client tho
21:40
with a rebase
21:40
that sounds like a massive bug in git
Avatar
kek - yeah that absolutely shouldnt happen
Avatar
GitHub BOT 2025-01-16 21:42
aa6ebdb Fix popups (color picker) closing all the time - Jupeyy 28f877a Very basic chat functionality (shift + enter) - Jupeyy ee20af5 Push events back if new map is about to be loaded. - Jupeyy d85232c Add limit for actions history (undo redo) - Jupeyy f3e8d0b Add basic editor-server cli - Jupeyy a8146eb Save last editor join props - Jupeyy daaf522 Merge pull request #74 from Jupeyy/pr_editor_fixes4 - Jupeyy
Avatar
Koll Potato 2025-01-16 21:50
no way more than 2 commits per pr
Avatar
good way to prevent spamming this channel
Avatar
Avatar
murpi
@Jupstar ✪ Implement a pencil weapon and allow people to draw on map backgrounds
already exists 😄 (edited)
Avatar
Avatar
ReiTW
yo that's when u search for ddnet-rs 💀
cyberfighter 2 2025-01-16 22:00
SERBIAAAAAAA
Avatar
Avatar
Swarfey
already exists 😄 (edited)
*
22:01
how to summon cyberfighter in 2 seconds
Avatar
Koll Potato 2025-01-16 22:01
this looks sus
Avatar
eggedy eggbutt
Avatar
omfg jupstar added an old version
22:08
of the robot skin
justatest 1
22:08
to the database
22:08
im gonna strangle him
Avatar
someone plz tell me how does the client know SvTeam
22:11
22:11
it's driving me crazy
22:13
Avatar
i dont think it does, it just sends warnings when client does smth wrong
22:14
for forced solo server just sets solo for client
Avatar
it does know mandatory though
Avatar
src/game/server/ddracechat:140
Avatar
not what i mean i think
22:16
context #9542
Avatar
We could definitely add this info in the ingame server info menu below the number of players though. Originally posted by @Robyt3 in #9413 (comment) Before (stolen from Improve ingame server info...
22:18
here Config()->m_SvTeam == SV_TEAM_MANDATORY is true for team-required maps
22:18
but I cannot find where it is assigned
22:19
for solo servers it is not SV_TEAM_FORCED_SOLO but instead default value SV_TEAM_ALLOWED
Avatar
GitHub BOT 2025-01-16 22:20
4845fc8 Fix console scrolling with touch input being too slow - Robyt3 2b1cc28 Merge pull request #9543 from Robyt3/Client-Touch-Console-Scroll-Fix - def-
Avatar
it's a server setting sent by the map basically
Avatar
so the client also read the map settings?
22:20
let me check..
Avatar
Avatar
Pioooooo
so the client also read the map settings?
yes thats why theres server settings button in map editor
22:25
sv_solo_server for solo map
Avatar
i just thought of this idea
22:29
then i forgot it
22:29
i am so smart
22:29
i was thinking i can develop it (edited)
22:29
but i dont even know what it is
Avatar
this was gonna change ddnet
22:29
but i guess not today
Avatar
i guess this is the case
22:30
why do we need SV_TEAM_FORCED_SOLO tho
Avatar
ohh i just remembered
22:30
a command to read your saves
Avatar
https://github.com/ddnet/ddnet/pull/7314 this utilizes SV_TEAM_FORCED_SOLO for example
Now it will only disable practice when using kill, I only added this to SV_TEAM_FORCED_SOLO because it&#39;s already possible to keep practice on death in team by not touching the startline. Cl...
Avatar
on the map you are
22:30
idk where it would be tho
22:31
i want the ddnet-saves.txt to be readable in the game without opening the file
22:31
idk where ingame tho
Avatar
f6 to open ddnet-saves.txt (edited)
22:32
kekw
Avatar
Avatar
meloƞ
https://github.com/ddnet/ddnet/pull/7314 this utilizes SV_TEAM_FORCED_SOLO for example
I mean why not just use m_SvSoloServer
Avatar
Avatar
meloƞ
f6 to open ddnet-saves.txt (edited)
truee
22:33
i was thinking a command
22:33
but that doesnt work
22:33
because its on the server
22:33
aint it
22:33
or something
22:33
no clientsided commands
Avatar
well the only problem with that is that some moderators need to utilize the f keys, since these are the only keys that work in the serverbrowser
Avatar
fuck the moderators
troll 1
22:34
i want to open the ddnetsaves
22:34
where would i even put the code for this i have never developed in the ddnet codebase before
22:35
ive built before just never actually wrote anything
Avatar
send shortcut to desktop
Avatar
Avatar
Pioooooo
send shortcut to desktop
i have my desktop icons off
Avatar
properly opening a file for all systems (windows, linux, mac) isn't that easy btw kek - you need to handle a lot of edge cases, add proper text rendering with a scroll region etc. my own client that i developed just had a single "open ddnet-saves" button in the DDNet tab which was neat (edited)
Avatar
yeah
22:36
thats what i was thinking
22:36
for my client
22:36
you can only use windows
22:36
unix not supported
22:36
posix only
Avatar
Koll Potato 2025-01-16 22:36
query language for saves when
22:37
select from saves where map = "lonear"
justatest 2
Avatar
Sql?
Avatar
Koll Potato 2025-01-16 22:37
yeas
Avatar
its called ctrl+f in any text editor and it's great.
poggers2 1
Avatar
Koll Potato 2025-01-16 22:38
no way
Avatar
Avatar
meloƞ
its called ctrl+f in any text editor and it's great.
what text editor tho..
Avatar
Koll Potato 2025-01-16 22:38
vim obviously
justatest 1
Avatar
Avatar
meloƞ
its called ctrl+f in any text editor and it's great.
hmm??
Avatar
Koll Potato 2025-01-16 22:38
the real text editor
Avatar
It's / in any sane editor
Avatar
Avatar
always
yeah
settings->general->settings file
22:38
opens a file
22:38
can do same for saves
Avatar
yeah
22:38
would be nice
Avatar
Avatar
Teero
hmm??
okay sorry. :Telescope live_grep
Avatar
Koll Potato 2025-01-16 22:39
im so sleepy i read saves as slaves
Avatar
im guessing its cross platform since its already in ddnet
Avatar
i was thinking something like a command in chat and it tells you what saves you have for the map
22:39
and you can load from that
Avatar
Avatar
kebs
settings->general->settings file
ima try make it
Avatar
Avatar
meloƞ
okay sorry. :Telescope live_grep
better
Avatar
should be simple.. right?
Avatar
Koll Potato 2025-01-16 22:42
no
22:42
you will end up regretting it
22:42
i found where it is
Avatar
Koll Potato 2025-01-16 22:42
nice
22:42
gl
Avatar
i got this
Avatar
Koll Potato 2025-01-16 22:42
with nerdy ass programming language
Avatar
dont forget to do your ddnet-rs contributions for 2025 people!
22:44
👎 1
Avatar
where is the saves file defined
22:45
i assumed it would be SAVES_FILE or something
Avatar
Avatar
meloƞ
https://github.com/ddnet/ddnet-rs/issues/67 still a lot of stuff open! owo
I will open #69
Avatar
it is not
Avatar
Would be nice to have an icon for the sources as they are currently visualized by a pink quad
Avatar
you can search in codespace
22:46
search the path
Avatar
Avatar
Teero
I will open #69
sorry - yoinked that
Avatar
Avatar
Pioooooo
you can search in codespace
in visual studio?
22:46
ok
Avatar
\ddnet\src\game\client\components\chat.cpp(579):#define SAVES_FILE "ddnet-saves.txt"
Avatar
thanks
Avatar
Avatar
meloƞ
sorry - yoinked that
okay im making 351 prs
Avatar
if you use visual studio should be ctrl+shift+f
Avatar
this happened because jupsti erased the git history like 378239 times by forcepushing kekw
Avatar
Avatar
Teero
okay im making 351 prs
good choice
Avatar
should i include the chat.h in menus_settings.cpp or is that bad
justatest 1
Avatar
seems it's already included
22:50
gigachad
Avatar
i did it
22:53
but not in a good way
22:54
monkalaugh 1
22:55
if i just move #define SAVES_FILE "ddnet-saves.txt" to chat.h it should be fine right?
22:57
pr coming soon guys dont worry
Avatar
GitHub BOT 2025-01-16 23:09

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
  • [x] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addr...
Avatar
ready to get flamed
Avatar
its alright
23:10
feel like it fits under settings file more but other than that is ok
Avatar
i can move it
Avatar
Avatar
kebs
feel like it fits under settings file more but other than that is ok
yea true
23:12
i thought it would be below it
23:12
but then i realised it wasnt
23:12
and then i forgot
23:13
i thought it would because its below the code
23:13
of the settings file but ig not
Exported 638 message(s)
Timezone: UTC+0