Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.org/irclogs/ Connected with DDNet's IRC channel, Matrix room and GitHub repositories — IRC: #ddnet on Quakenet | Matrix: #ddnet-developer:matrix.org GitHub: https://github.com/ddnet
Between 2024-08-10 00:00 and 2024-08-11 00:00
Avatar
anyone knows what's happened?
02:53
I found that status.tw has updated
Avatar
#5781 can be closed
Avatar
are u not a collaborator on the repo? seems like a big oversight (edited)
Avatar
No, its fine
Avatar
Avatar
Ewan
struct S { char x : 3; // 3 bits int : 0; // "advance to int alignment boundary" char y : 3; // 3 bits }; this is how i know it behaves in cpp but i think c is the same in this regard (edited)
MilkeeyCat 2024-08-10 05:03
I've never used bit fields xd and I've seen somewhere that they're bad but idk
Avatar
Avatar
MilkeeyCat
I've never used bit fields xd and I've seen somewhere that they're bad but idk
They are pretty rarely used anyway. I wouldn't sweat over them
Avatar
MilkeeyCat 2024-08-10 06:09
is there a way to disable ctrl + w bind in firefox, every time i try to write code in godbolt, I try to delete a word and it closes a tab xd
Avatar
MilkeeyCat 2024-08-10 06:32
honestly, i barely understand what it generates from a quick look but as long as it spits out correct answer I think it works correctly
Avatar
ws-client BOT 2024-08-10 08:29
<ChillerDragon> lerato anti christ https://zillyhuhn.com/cs/.1723278566.png
Avatar
Dam, now I can't contribute ever again
Avatar
ws-client BOT 2024-08-10 08:30
<ChillerDragon> exactly
08:30
<ChillerDragon> time to change git email
08:31
<ChillerDragon> so #10 can finally surpas your rank
Avatar
I should commit 111 white space fix commits
Avatar
ws-client BOT 2024-08-10 08:33
<ChillerDragon> ez
08:35
<ChillerDragon> @MilkeeyCat yeet this into your js console window.onbeforeunload = (e) => e.preventDefault()
08:35
<ChillerDragon> you can also use extensions or bookmarklets to auto load js
Avatar
Avatar
ws-client
<ChillerDragon> @MilkeeyCat yeet this into your js console window.onbeforeunload = (e) => e.preventDefault()
MilkeeyCat 2024-08-10 08:37
it asked before closing a page, is that it? xd
Avatar
ws-client BOT 2024-08-10 08:37
<ChillerDragon> ye
08:38
<ChillerDragon> you can write a firefox extension in 5 lines of json and then include one line of js with this and tell it in the 5 lines of json to only be active on godbolt
Avatar
Avatar
murpi
No, its fine
Avatar
MilkeeyCat 2024-08-10 08:40
ah, ye that could work
Avatar
ws-client BOT 2024-08-10 08:41
<ChillerDragon> while at it you can also use js to let the ctrl+w do what you want it to do :D
Avatar
MilkeeyCat 2024-08-10 08:42
or install an extension which has terminal shortcuts xd
Avatar
ws-client BOT 2024-08-10 08:51
<ChillerDragon> So C structs have padding?
08:52
<ChillerDragon> meaning i can not trust the result of sizeof ?
Avatar
MilkeeyCat 2024-08-10 08:53
sizeof returns size with padding (edited)
Avatar
ws-client BOT 2024-08-10 08:54
<ChillerDragon> a
08:54
<ChillerDragon> So no need to ever worry about padding right?
08:54
<ChillerDragon> printf("distance=%ld size=%ld\n", (char *)&m_aNodes[1] - (char *)&m_aNodes[0], sizeof(m_aNodes[0])); this indeed prints 16 twice nice
08:55
<ChillerDragon> okay then there is a bug in my debug print again... classic
Avatar
Avatar
ws-client
<ChillerDragon> So no need to ever worry about padding right?
Unless you are worried about memory footprint. In that case it might matter
08:59
<ChillerDragon> oh no
09:00
<ChillerDragon> can i not count or is that the padding?
Avatar
MilkeeyCat 2024-08-10 09:01
is it C repl? justatest
Avatar
ws-client BOT 2024-08-10 09:01
<ChillerDragon> yes
09:01
<ChillerDragon> written in bash
09:01
<ChillerDragon> by me
09:01
<ChillerDragon> totally bug free xd
Avatar
MilkeeyCat 2024-08-10 09:01
how did I not think about it
Avatar
ws-client BOT 2024-08-10 09:01
<ChillerDragon> i use it quite often to test stuff
09:02
<ChillerDragon> so the struct has 2 unsigned ints (4+4) one array of two unsigned shorts (4) and one unsigned char (1) which should add up to 13 bytes right?
09:02
<ChillerDragon> but sizeof says its 16 byte
09:03
<ChillerDragon> i will just assume it is :D
09:03
<ChillerDragon> i would have never thought C introduces padding if I wouldn't have seen you guys talk about it
09:03
<ChillerDragon> #developer education
09:05
<ChillerDragon> @Learath2 idc memory i just need to debug my assembly code and i use the C implementation debug prints as reference and the offets were not adding up
09:06
<ChillerDragon> such bloated language this C who would even use it. Its close to machine code they say ...
Avatar
You can use the packed attribute to get rid of padding
Avatar
ws-client BOT 2024-08-10 09:06
<ChillerDragon> C pro
Avatar
MilkeeyCat 2024-08-10 09:06
+----+----+----+----+----+----+----+----+----+----+----+----+----+----+----+----+ | m_Bits | m_NumBits | short1 | short2 | sym| padding | +----+----+----+----+----+----+----+----+----+----+----+----+----+----+----+----+ i guess it should be 16 because it has to also aligned by biggest value in a struct which is unsigned, so by 4 bytes
09:07
maybe it's not true tho justatest
Avatar
ws-client BOT 2024-08-10 09:07
<ChillerDragon> thanks milkeey i will take your words as facts
09:08
<ChillerDragon> ill just add padding to my assembly struct and call it fixed
Avatar
MilkeeyCat 2024-08-10 09:08
lemme check in my language how it accesses the struct fields 😏
09:10
ah, nvm, i dont have 4 bytes ints xd
Avatar
Avatar
MilkeeyCat
ah, nvm, i dont have 4 bytes ints xd
?
09:10
:D
Avatar
MilkeeyCat 2024-08-10 09:11
i have only char and short
Avatar
Jupstar ✪ 2024-08-10 09:11
and ptr size
09:11
nice, u dont need more
Avatar
MilkeeyCat 2024-08-10 09:12
i think if i would need arrays when call C functions ill just add a bunch of shorts and pass a pointer to first one
Avatar
ws-client BOT 2024-08-10 09:12
<ChillerDragon> 4 byte ints are my favorite ints
Avatar
Jupstar ✪ 2024-08-10 09:14
ints suck
09:14
unsigned int ftw
Avatar
MilkeeyCat 2024-08-10 09:15
  • Can we have ints?
  • We have ints at home
Ints at home: struct u32 { u16 low; u16 high; }
(edited)
Avatar
ws-client BOT 2024-08-10 09:15
<ChillerDragon> @MilkeeyCat shouldn't that be over 1000 if it matches the biggest value?
09:15
<ChillerDragon> lgtm
Avatar
Avatar
MilkeeyCat
  • Can we have ints?
  • We have ints at home
Ints at home: struct u32 { u16 low; u16 high; }
(edited)
Jupstar ✪ 2024-08-10 09:15
iks de
Avatar
https://www.youtube.com/watch?v=iMwepyyaj8I :O (me seeing open hardware and daydreaming about making my own stuff ^^, just daydreaming tho)
Avatar
Jupstar ✪ 2024-08-10 09:16
@MilkeeyCat if u add 512bit ints, then you have more possibilities than there are atoms in the universe
09:16
do you not think that should be the default?
Avatar
MilkeeyCat 2024-08-10 09:17
all i need to be happy is u8
Avatar
ws-client BOT 2024-08-10 09:17
<ChillerDragon> u8 smol
Avatar
MilkeeyCat 2024-08-10 09:17
all those fancy shmancy 128s and 512s for nobos
09:18
ok, it's time to add 32/64 bit ints
Avatar
Jupstar ✪ 2024-08-10 09:18
u512
Avatar
MilkeeyCat 2024-08-10 09:19
what would you use it for? xd
Avatar
Jupstar ✪ 2024-08-10 09:19
femto second precision
09:19
count all atoms in the universe
09:20
count all atoms in the universe twice
09:20
😏
09:21
if u make it a f512
09:21
ddnet would finally work above 10000 units
09:21
no more precision problems
Avatar
Avatar
Jupstar ✪
if u make it a f512
MilkeeyCat 2024-08-10 09:22
i just looked how gcc handlers regular float and I think I don't need floats in my language
Avatar
Jupstar ✪ 2024-08-10 09:22
so fixed point numbers?
09:22
but PLSSS make them ez to use
09:22
that is so important
09:22
not even rust is good in that aspect
09:23
also adding sqrt support etc is not ez
Avatar
MilkeeyCat 2024-08-10 09:23
i saw something about fixed point numbers when I was checking Patiga's twmap crate or smth
Avatar
Jupstar ✪ 2024-08-10 09:23
so for such stuff i always have to convert between them to floats
09:23
suggs
Avatar
Avatar
MilkeeyCat
i saw something about fixed point numbers when I was checking Patiga's twmap crate or smth
Jupstar ✪ 2024-08-10 09:23
possible he uses it in some places
09:24
@Patiga what is your experience using them
Avatar
Native fixed point numbers lets goooooo
Avatar
Jupstar ✪ 2024-08-10 09:24
honest
Avatar
big integer numbers are practical for cryptography but idk what else
Avatar
Biggest issue with fixed precision numbers is accidentally losing precision. You need to bw careful
Avatar
if u have like a 512 bit prime u can have a field with it and do stuff
Avatar
Avatar
Ryozuki
big integer numbers are practical for cryptography but idk what else
What if you need to compute TREE(3)?
Avatar
what is tree
09:27
xd
Avatar
Very big number. Idk details
Avatar
in twmap, the importance of the fixed point numbers comes from representing the map values properly in types. simply because they are fixed point numbers everywhere in tw (also in snaps)
Avatar
Something about coloring a tree
Avatar
Avatar
Patiga
in twmap, the importance of the fixed point numbers comes from representing the map values properly in types. simply because they are fixed point numbers everywhere in tw (also in snaps)
Jupstar ✪ 2024-08-10 09:27
you mean the / 1024?
Avatar
yea, but also often / 32
09:28
sometimes / 2**15
09:28
/ 100 at one point, tho that can't be represented well
Avatar
Jupstar ✪ 2024-08-10 09:28
oke yeah makes sense
09:29
i also use them in my map format, but i use them properly, like colors are normalized fixed point numbers
09:29
and honestly i didnt really like working with it
09:29
i remember we talked about physics using them
09:29
not trivial enough i guess
09:29
also GPUs ofc expect f32
09:30
well you can use normalized fixed points there
09:30
but not custom formats i think
Avatar
I mean they have a couple of upsides over f32, such as no precision pitfalls and no NaN
Avatar
Jupstar ✪ 2024-08-10 09:30
tru
09:31
thats why i liked them for a format
Avatar
on the other hand they give you potential overflows
Avatar
Jupstar ✪ 2024-08-10 09:48
tja
Avatar
Avatar
Sedonya
Click to see attachment 🖼️
youtube thumbnails be like
brownbear 1
kek 1
Avatar
get a vps/root server
10:22
or the not recommended variant: open a port in your router and forward the port to your windows linux pc's port that the gameserver is listening on. (edited)
Avatar
Avatar
rutujek
Click to see attachment 🖼️
didn't u get vps already huh
Avatar
Jupstar ✪ 2024-08-10 10:41
he switched to windows
10:41
🤦‍♂️
Avatar
is it? was also my first thought
Avatar
Avatar
Jupstar ✪
he switched to windows
its vps
11:08
with windows
Avatar
the worst decision of yor life
Avatar
i dont know how to make in debian
Avatar
your
Avatar
i tried with readme
11:09
but there was error
11:09
tried google
11:09
and ai
11:09
didnt worked
Avatar
should continue to google
11:09
ai is shit if you don't know what you are doing
Avatar
ChillerDragon: where i can dm you?
Avatar
windows vps for teeworlds sounds fun
Avatar
it's not really that bad tbh just unnecessary
Avatar
GitHub BOT 2024-08-10 11:29
  • Remove readability-identifier-naming.StaticVariableIgnoredRegexp.
  • Mark static variables as const and use UPPER_CASE for names when possible.
  • Use local variables instead of static variables when possible.
  • Use member variables with correct name instead of static variables.
  • Pass output buffer for static function GetKeyBindModifiersName by argument instead of returning pointer to static buffer.

Checklist

  • [X] Tested the change ingame
  • [ ] Provided scree...
Avatar
TRACTOR
Avatar
chillerdragon BOT 2024-08-10 11:55
@zillyhuhn on wire. Or chillerdragon@gmail.com on mail. Usually also on irc and in game but not too much this year.
Replying to @Matodor ChillerDragon: where i can dm you?
11:57
Oh or on matrix idk my nick xd chillerdragon
11:57
chillerdragon:matrix.org or something like that
12:04
2fa4c1f Remove clang-tidy static variable name exceptions - Robyt3 3a84cfe Merge pull request #8705 from Robyt3/Clang-Tidy-Static-Name-Fixes - def-
Avatar
ChillerDragon: chat zillyhuhn has private channels?
Avatar
chillerdragon BOT 2024-08-10 12:12
Not yet. Sometimes I think about it but not sure if it’s worth the effort
Avatar
or maybe channel that not bridge'd with discord?
Avatar
MilkeeyCat 2024-08-10 12:14
chat zillyhuhn has voice channels?
Avatar
chillerdragon BOT 2024-08-10 12:14
@Matodor: yes #off-topic is not bridged messages there will probably be red by less than 2 people
12:14
Jopsti and milkeey
Avatar
give me register token 😄
Avatar
chillerdragon BOT 2024-08-10 12:15
Forgot it
12:15
It’s in the discord history of this channel
12:16
There is two secrets. One is the token which allows you to sign up. And the other is the universal password that lets you login in to any username without account xd
Avatar
both in chat history? 😄
Avatar
chillerdragon BOT 2024-08-10 12:18
I think so
12:18
That’s the universal pw I think
Replying to chillerdragon vulkanGaming69 is guest password
12:19
I’ll get my laptop sec
Avatar
ws-client BOT 2024-08-10 12:20
<ChillerDragon> ah lmao
12:20
<ChillerDragon> the sign up token is nimrocks
12:20
<matodor> gigachad
12:21
<ChillerDragon> elo
Avatar
Jupstar ✪ 2024-08-10 12:28
chiller the person of trust
Avatar
@fokkonaut Are you looking into the rest for https://github.com/ddnet/ddnet/pull/8542 ?
Hey, this Pull Request will add support for 128 (n) clients at the same time. Good for t0 maps, Multeasy, modders, etc. It&#39;s based on my implementation in F-DDrace, where it works pretty fl...
Avatar
ws-client BOT 2024-08-10 12:42
<ChillerDragon> @deen Are you looking into the rest for https://github.com/ddnet/ddnet/pull/5949
While keeping 0.6 fully working and untouched this adds the option to connect via 0.7. The server browser now lists also 0.7 servers. The 0.7 skin system is only active for 0.7 connections and the ...
😅 1
kek 1
Avatar
Avatar
ws-client
<ChillerDragon> @deen Are you looking into the rest for https://github.com/ddnet/ddnet/pull/5949
no, why would I?
Avatar
ws-client BOT 2024-08-10 12:46
<ChillerDragon> :c if not you who else?
Avatar
I probably missed the part of why we are doing 0.7 support. Is anyone using TW 0.7?
Avatar
ws-client BOT 2024-08-10 12:47
<ChillerDragon> Not a lot because ddnet does not support it
12:47
<ChillerDragon> this pr fixes that
Avatar
Probably too late to bring that up after you made a 6000 line PR
12:47
Or because Vanilla Teeworlds gets boring after a while?
Avatar
ws-client BOT 2024-08-10 12:48
<ChillerDragon> the pr did not start with 6k lines
12:48
<ChillerDragon> lots of it is json files but yes it took me a while
Avatar
Hm, I thought the direction we wanted to go was to split further from Teeworlds, not go back to it
Avatar
ws-client BOT 2024-08-10 12:48
<ChillerDragon> So you are against supporting 0.7?
Avatar
ws-client BOT 2024-08-10 12:49
<ChillerDragon> oof
12:49
<ChillerDragon> thats unexpected now since you did not mention that and even said you will merge it at some point
Avatar
This is so much effort to support playing with the 20 people playing TW 0.7 :/
Avatar
ws-client BOT 2024-08-10 12:49
<ChillerDragon> But its me who did the effort no?
Avatar
Yes, but now this PR can break all the existing 0.6 support in subtle ways
12:51
and we have to maintain it in the future
Avatar
ws-client BOT 2024-08-10 12:51
<ChillerDragon> I am not going anywhere
12:51
<ChillerDragon> In january i will be doing less development but i will stay here and play the game. If you need 0.7 maintenance you can ping me
12:52
<ChillerDragon> holy sh*t
12:54
<matodor> wish all your love for 07 could be used to develop APIs for mods heartw
12:54
<ChillerDragon> I would have fixed the conflict my self if id knew you merge it woah
Avatar
CHILLER
12:57
YOU DID IT
Avatar
Jupstar ✪ 2024-08-10 12:57
the worst day in my life
Avatar
Avatar
Jupstar ✪
the worst day in my life
KEKW
Avatar
ws-client BOT 2024-08-10 12:58
<ChillerDragon> 0.7 support by deen -.-
12:58
<ChillerDragon> sori jopsti
Avatar
Jupstar ✪ 2024-08-10 12:59
time to rq
Avatar
ws-client BOT 2024-08-10 12:59
<ChillerDragon> nono
12:59
<ChillerDragon> dw
12:59
<ChillerDragon> when heinrich returns from afk he will send revert pr
Avatar
the effort to support 0.7 is already done. Just merge it :0
13:02
press the button
Avatar
Avatar
ws-client
<ChillerDragon> when heinrich returns from afk he will send revert pr
justatest
Avatar
ws-client BOT 2024-08-10 13:02
<ChillerDragon> he did @jxsl13
Avatar
he did D:?
13:02
what
Avatar
ws-client BOT 2024-08-10 13:02
<ChillerDragon> ikr
Avatar
the hell's going on
13:03
sick move
13:03
party time, I guess
13:03
🥳
Avatar
Avatar
ws-client
<ChillerDragon> 0.7 support by deen -.-
holy shit
13:06
best salesman ever
13:09
chiller breaking shit in real time
Avatar
ws-client BOT 2024-08-10 13:10
<ChillerDragon> yea i can't believe i aborted the merge
13:10
<ChillerDragon> my ego got in the way i had to merge the conflict my self
Avatar
TIL u cant push after it's been added to the merge queue
Avatar
ws-client BOT 2024-08-10 13:10
<ChillerDragon> it stops the merge queue
Avatar
or ig u can
13:10
just not if u want it merged
13:10
xddd
Avatar
Pepew. One more piece of code we have to maintain forever for the deadforkcompat
Avatar
MilkeeyCat 2024-08-10 13:17
maybe chiller will stop contributing to ddnet one day and the you will be able to drop 0.7 xd
🔨 2
Avatar
ws-client BOT 2024-08-10 13:21
<ChillerDragon> heinrich is working on some translation layer thingy that should make it easier to maintain and also easier to drop
Avatar
Oh? But then we probably shouldn't merge that already, should we?
Avatar
ws-client BOT 2024-08-10 13:22
<ChillerDragon> well he did not say we should wait or that he will finish or that it conflicts
13:22
<ChillerDragon> he told me to ask another maintainer if i want it merged
13:22
<ChillerDragon> so i assume he is okay with it but we can also wait for him to return @deen i just think if we don't merge now nothing will happen
13:23
<ChillerDragon> by now i don't mean "now" but in the next few weeks
Avatar
GitHub BOT 2024-08-10 13:26
bae37ab Add 0.7 client support - ChillerDragon fe99a34 Improve 0.7 skins - Kaffeine 093a784 Add custom ddnet 0.7 skin greensward - ChillerDragon be67622 Resend 0.7 skin change if it got filtered by the server - ChillerDragon 8903f49 Render skins in 0.7 demos - ChillerDragon 399075c Display 0.7 skins in chat - ChillerDragon 53b0186 Remove netversion from demo editor init - ChillerDragon e0bc98e Add alpha support for 0.7 skins - ChillerDragon afd1bd9 Merge pull request #5949 from ChillerDragon/pr_07_client - def-
Avatar
Mergus maximus
Avatar
🍷 gg
Avatar
ws-client BOT 2024-08-10 13:29
<ChillerDragon> brownbear
Avatar
@ChillerDragon Is it intentional that you can't change the Tee 0.7 settings without joining a 0.7 server?
Avatar
ws-client BOT 2024-08-10 13:30
<ChillerDragon> yes its a feature i suggested and heinrich and jopsti appreciated
13:30
<ChillerDragon> originally it showed both menus at all times
13:31
<ChillerDragon> the 0.7 is hidden away to avoid confusion why 0.7 dont show
13:31
<ChillerDragon> 0.7 skins don't show*
Avatar
yes, makes sense, ok for me
Avatar
ws-client BOT 2024-08-10 13:33
<ChillerDragon> amazing thanks for the merge @deen this was the most emotional merge for me it feels unreal ngl
Avatar
unrelated but is there any reason u can fathom why my build would fail here? [ 54%] Building CXX object CMakeFiles/game-client.dir/src/game/generated/checksum.cpp.o /home/ewan/ddnet/ddnet/build/src/game/generated/checksum.cpp:1:10: fatal error: engine/client/checksum.h: No such file or directory 1 | #include <engine/client/checksum.h> | ^~~~~~~~~~~~~~~~~~~~~~~~~~ as long as src is added in target_/include_directories this should be impossible
Avatar
ws-client BOT 2024-08-10 13:33
<ChillerDragon> unedited ddnet code base?
Avatar
Avatar
ws-client
<ChillerDragon> amazing thanks for the merge @deen this was the most emotional merge for me it feels unreal ngl
ya i think it has been a long time in the making
13:34
very excited for u
Avatar
Avatar
ws-client
<ChillerDragon> unedited ddnet code base?
essentially
13:34
o can u see replies on irc
Avatar
ws-client BOT 2024-08-10 13:34
<ChillerDragon> i got better at guessing
Avatar
ws-client BOT 2024-08-10 13:34
<ChillerDragon> what does essentially mean? does it work for unedited ddnet?
13:34
<ChillerDragon> can you try to delete the build cache?
13:35
<ChillerDragon> the checksum depends on some pyson scripts
Avatar
it's failing in a new and exciting way
Avatar
Avatar
ws-client
<ChillerDragon> amazing thanks for the merge @deen this was the most emotional merge for me it feels unreal ngl
Thanks for the feature, it seems to work great from what I tried
Avatar
ws-client BOT 2024-08-10 13:37
<ChillerDragon> yes thanks to all the people who tested it and reported bugs
Avatar
Avatar
Ewan
unrelated but is there any reason u can fathom why my build would fail here? [ 54%] Building CXX object CMakeFiles/game-client.dir/src/game/generated/checksum.cpp.o /home/ewan/ddnet/ddnet/build/src/game/generated/checksum.cpp:1:10: fatal error: engine/client/checksum.h: No such file or directory 1 | #include <engine/client/checksum.h> | ^~~~~~~~~~~~~~~~~~~~~~~~~~ as long as src is added in target_/include_directories this should be impossible
idk
Avatar
Odd question But did you try a Clean rebuild and it still fails there ?
Avatar
kek its mostly the easy Things
Avatar
the real q here is what kind of shell are using when deving ddnet
13:40
mine busted
13:45
{ pkgs ? import <nixpkgs> { } }: let name = "ddnet"; in ( pkgs.mkShell { name = name; nativeBuildInputs = with pkgs;[ gcc mold buildPackages.cmake ninja pkg-config rustc cargo rustPlatform.cargoSetupHook ]; nativeCheckInputs = with pkgs; [ gtest ]; buildInputs = with pkgs; [ fish SDL2.dev zlib.dev freetype.dev libnotify.dev xorg.libX11.dev glew libGL.dev libGLU.dev curl pcre python3 sqlite libogg opusfile wavpack # optional dependencies: video recorder ffmpeg_7 x264 # optional dependencies: Vulkan support vulkan-loader.dev vulkan-headers glslang spirv-tools ]; #runScript = "${pkgs.lib.getExe pkgs.fish}"; shellHook = '' exec ${pkgs.lib.getExe pkgs.fish} -iC ' function fish_right_prompt set_color $fish_color_cwd printf "*${name}" set_color normal end' ''; } )
Avatar
HE USES NIX
Avatar
and cmake -B build -S . -DCMAKE_CXX_FLAGS="-Wno-format-security" -DCMAKE_EXE_LINKER_FLAGS="-fuse-ld=mold" -DCMAKE_SHARED_LINKER_FLAGS="-fuse-ld=mold" && cmake --build build --parallel
Avatar
Letsgoooooo
Avatar
Use inputsFrom = [ ddnet ]
13:47
Easier than to define all deps, espacially when the actual Thing is packaged (edited)
Avatar
i wrote it based off the default.nix on nixpkgs but many of those pkgs were not found when i was using buildFHSEnv
13:48
i had it compiling earlier but it couldnt load freetype .so
13:49
and others
13:49
dont remember what it was when it "worked" (edited)
Avatar
Avatar
Ewan
i had it compiling earlier but it couldnt load freetype .so
Also is there a reason to specify Fish there ? Yeah you can do inputsFrom to get the stuff from the actual package, for development and stuff you can then Just include them seperately with buildInputs
Avatar
im using fish
Avatar
Try zsh gigachad
Avatar
ws-client BOT 2024-08-10 13:50
<ChillerDragon> bash best
Avatar
No Idea why it fails, lgtm
Avatar
i can use right side prompt w fish
Avatar
outputs = { nixpkgs, ...} : let system = "x86_64-linux"; pkgs = nixpkgs.legacyPackages.${system}; in { devShells.${system}.default = pkgs.mkShell { inputsFrom = [pkgs.ddnet]; packages = [ pkgs.libmysqlclient.dev ]; Thats my flake.nix, since you're using shell.nix No real Idea why its Not working
13:51
They Look basically the same, im Not Home atm so i cant reproduce, If youre still stuck in an hour i can (edited)
13:52
hmm *
13:52
i could use a flake
Avatar
The best Dev Environments with nix are Direnv + flake Loading the deps in your nix Store once, and yeeting them Off when Clearing it. Godsent
13:54
Imo
13:55
Also direnv loads the Shell automatically when Entering the directory
13:55
Also has IDE integration
13:55
how does direnv work
Avatar
It loads the Environment based on an .envrc File (e.g flake.nix or shell.nix) when you enter the directory with a flake.nix with an existing .envrc
13:57
So you dont have to worry about using nix develop
Avatar
Are you using clang?
Avatar
Ah yes i'm blind
14:00
xd
Avatar
Try Out my flake and See If that does the Trick for you
14:00
Dump the mysqlclient ofc ( doesnt Work anyway, cant Run MySQL on User Level monkaStop ) (edited)
14:02
working identically to my shell.nix rn justatest
Avatar
only god knows
14:06
im either sleepy or hungry
14:06
so ill be back at some point
Avatar
Wait
Avatar
it was cut off
Avatar
That Looks Like a Rust issue
14:07
ya could be
Avatar
Engine_shared
14:12
Can you try this?: RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}"; (edited)
Avatar
i won i think
Avatar
i did this { outputs = { nixpkgs , ... }: let system = "x86_64-linux"; pkgs = nixpkgs.legacyPackages.${system}; in { devShells.${system}.default = pkgs.mkShell.override { stdenv = pkgs.stdenvAdapters.useMoldLinker pkgs.clangStdenv; # ^ the money } { inputsFrom = [ pkgs.ddnet ]; packages = [ pkgs.fish ]; shellHook = '' exec ${pkgs.lib.getExe pkgs.fish} -iC ' function fish_right_prompt set_color $fish_color_cwd printf "*ddnet" set_color normal end' ''; }; }; } (edited)
Avatar
Griffith🖤 2024-08-10 14:14
тут есть русские?
Avatar
rus #off-topic
Avatar
xd i was Just LOOKING at it when you edited
Avatar
wrong channel
Avatar
Avatar
meloƞ
xd i was Just LOOKING at it when you edited
Avatar
Avatar
Ewan
rus #off-topic
Griffith🖤 2024-08-10 14:15
thank
Avatar
now i will play some 0.7 on ddnet.
Avatar
check out zCatch
14:15
now it's time for world domination
Avatar
Avatar
Ewan
now i will play some 0.7 on ddnet.
Letsgoooooo
Avatar
my time has come
Avatar
hey this is the first time ddnet has worked in fullscreen for me on native wayland
Avatar
CHILLER goated dev confirmed
🛹 1
14:18
hmm
14:18
i cant get it to vulkan
14:19
2024-08-10 08:19:14 I gfx: Created Vulkan 1.1 context. ... 2024-08-10 08:19:15 I vulkan: vulkan warning: A shader file could not load correctly. 2024-08-10 08:19:15 I vulkan: vulkan warning: A shader file could not load correctly. 2024-08-10 08:19:15 I vulkan: vulkan warning: A shader file could not load correctly. 2024-08-10 08:19:15 I vulkan: vulkan warning: A shader file could not load correctly. 2024-08-10 08:19:15 I vulkan: vulkan warning: A shader file could not load correctly. 2024-08-10 08:19:15 I vulkan: vulkan warning: A shader file could not load correctly. ... 2024-08-10 08:19:15 I Warning: Could not initialize Vulkan: A shader file could not load correctly. Could not initialize the given graphics backend, reverting to the default backend now.
14:21
4500 FPS XD
14:21
10x what i got on windows
14:21
2x what i get on xwayland
Avatar
need vulkan for 4600...
14:27
wish the error was a bit more descriptive
14:27
not sure where to start
Avatar
Avatar
Ewan
{ pkgs ? import <nixpkgs> { } }: let name = "ddnet"; in ( pkgs.mkShell { name = name; nativeBuildInputs = with pkgs;[ gcc mold buildPackages.cmake ninja pkg-config rustc cargo rustPlatform.cargoSetupHook ]; nativeCheckInputs = with pkgs; [ gtest ]; buildInputs = with pkgs; [ fish SDL2.dev zlib.dev freetype.dev libnotify.dev xorg.libX11.dev glew libGL.dev libGLU.dev curl pcre python3 sqlite libogg opusfile wavpack # optional dependencies: video recorder ffmpeg_7 x264 # optional dependencies: Vulkan support vulkan-loader.dev vulkan-headers glslang spirv-tools ]; #runScript = "${pkgs.lib.getExe pkgs.fish}"; shellHook = '' exec ${pkgs.lib.getExe pkgs.fish} -iC ' function fish_right_prompt set_color $fish_color_cwd printf "*${name}" set_color normal end' ''; } )
and they tell me that bam is ugly smh
Avatar
Avatar
zhn
and they tell me that bam is ugly smh
KEKW you saw my nix stuff on bw ? Its beautiful (edited)
justatest 1
14:32
Espacially my Rust flake
Avatar
the scoreboard is a great example of why immediate mode UI sucks
Avatar
ChillerDragon: Should I open an issue for various 0.7 skin settings TODOs or do you already have a list? Doesn't seem like saving/deleting is implemented yet for example. Also, the skins7 folder is not created automatically and should we really use a separate folder than 0.7?
Avatar
wtf, please remove this nouis image many projects will need to implement support for 2 skin systems ChillerDragon: what 0.7 teeworlds users (~20 ppl) will see if i join with 0.6 skin on 0.7 vanilla server?
Avatar
what to do if i got banned in ddnet and it says i will get un banned august
15:34
10
15:34
when it is august 10 !!!
Avatar
chillerdragon BOT 2024-08-10 15:36
@goat: does it say you use vpn? Maybe #open-ticket is your best option
15:37
The only skin todo I have is this one https://github.com/ChillerDragon/ddnet/issues/17 if you have various things could you maybe open multiple issues instead of one big one? It’s nicer to work with imo. Feel free to ping and assign me
Replying to @Robyt3 ChillerDragon: Should I open an issue for various 0.7 skin settings TODO…
Avatar
Avatar
goat
when it is august 10 !!!
it works in utc
Avatar
chillerdragon BOT 2024-08-10 15:38
I don’t remember naming it skins7 I also think sharing the same path with vanilla makes sense. Either I did that while testing and forgot about it or kaffeine named it skins7
Avatar
Avatar
chillerdragon
@goat: does it say you use vpn? Maybe #open-ticket is your best option
where is ticket
Avatar
chillerdragon BOT 2024-08-10 15:39
You can’t join with a 0.6 skin on a 0.7 server
Replying to @Matodor wtf, please remove this image many projects will need to implement supp…
Avatar
chillerdragon BOT 2024-08-10 15:39
On discord
Replying to @goat where is ticket
Avatar
Avatar
goat
where is ticket
#✉-create-a-ticket
Avatar
chillerdragon BOT 2024-08-10 15:40
Yeah btw robsti thanks again for your reviews on the 0.7 pr you also put a lot of time into it!
Avatar
where do i check my name
15:43
in dnet
Avatar
chillerdragon BOT 2024-08-10 15:43
F1
Avatar
chillerdragon BOT 2024-08-10 15:43
player_name
Avatar
i answered all the question and they didnt react
Avatar
chillerdragon BOT 2024-08-10 15:50
Is the vpn situation planned to stay like that?
15:50
How bad is it when people are allowed to use vpns?
Avatar
i dont have vpn
Avatar
chillerdragon BOT 2024-08-10 15:54
Yes I know
15:54
But the vpn protection bans people because of false positives. And I am questioning the need of the vpn protection.
Avatar
how do i turn it off ?
Avatar
chillerdragon BOT 2024-08-10 15:56
Turn what off?
Avatar
how do I unban myself????
15:56
ok but what time does it say ur ban expires
Avatar
the vpn protection
Avatar
Avatar
goat
the vpn protection
you don't
Avatar
chillerdragon BOT 2024-08-10 15:57
You can’t. Neither can I. We can only ask the admins to do so
Avatar
Avatar
Ewan
ok but what time does it say ur ban expires
it doesnt
Avatar
chillerdragon BOT 2024-08-10 15:57
Which I just did
15:57
Pls turn it off. Thank.
Avatar
Avatar
chillerdragon
Pls turn it off. Thank.
i dont now how toooooooo
Avatar
chillerdragon BOT 2024-08-10 15:57
The trolls using vpns can’t be that bad.
Avatar
what talking anout
15:58
i didnt
Avatar
Avatar
goat
i dont now how toooooooo
it's enabled on the server's side
Avatar
so hpow i get unnn bammmed\
Avatar
Avatar
chillerdragon
Which I just did
did what
Avatar
Avatar
chillerdragon
The trolls using vpns can’t be that bad.
oh my sweet summer child...
Avatar
chillerdragon BOT 2024-08-10 16:01
Im serious
16:02
Did you see something happen that would require banning vpns? @meloƞ
Avatar
ban evasion resulting in toxicity overload for example
Avatar
GitHub BOT 2024-08-10 16:02
  • Only log successful log messages when debug is enabled, consistent with logging for regular skins.
  • Use IsImageFormatRgba to check for RGBA image format, so this also shows a warning popup.
  • Remove redundant logic for non-RGBA image data.
  • Use CheckImageDivisibility instead of enforcing exact size of xmas hat and bot decoration images to allow higher resolution images.
  • Fix image data not being freed if it has the wrong format or ratio.
  • Fix potential integer overflow when c...
Avatar
chillerdragon BOT 2024-08-10 16:04
Toxicity overload does not sound bad. And does for sure not sound bad enough to justify excluding innocents from playing the game.
Replying to @meloƞ ban evasion resulting in toxicity overload for example
16:04
What is toxicity overload even? Bad words in chat? Every client has a mute feature.
16:05
Ban evasion can be fixed with another ban. Switching vpn is way more annoying than pressing f3 I don’t think that’s an actual problem.
16:10
Well I have to admit my opinions don’t align with the mainstream or the ddnet rules. I don’t think banning is something that should be done in the first place. So evading it does not sound bad to me. But I think we can all agree on the current situation being unacceptable. Innocents being unable to play. The people that manage to find their way to discord have to wait for an unban and the others just stop playing ddnet. While causing lots of manual work for the moderation team. (edited)
Avatar
chillerdragon: why you implemented 0.7 support? 0.6/0.7 vanila servers with bridge support not enough? (edited)
Avatar
Avatar
chillerdragon
Well I have to admit my opinions don’t align with the mainstream or the ddnet rules. I don’t think banning is something that should be done in the first place. So evading it does not sound bad to me. But I think we can all agree on the current situation being unacceptable. Innocents being unable to play. The people that manage to find their way to discord have to wait for an unban and the others just stop playing ddnet. While causing lots of manual work for the moderation team. (edited)
i can accept your disagreement but me having to handle both blockworlds and now also ddnet toxicity as part of their moderation teams vpn bans help, the day when the known insert fitting insult for these toxic .. somethings.. in here are all rangebanned to the point where they literally can't play anymore, i agree with you to turn it off (edited)
16:30
we have religious propaganda, doxxing, hatemail and literal death threads prevented by vpn bans
Avatar
chillerdragon BOT 2024-08-10 16:34
Bridge in the client is better so it can join vanilla 0.7 servers not only custom bridge servers. So one can play CTF with the 0.7 players
Replying to @Matodor chillerdragon: why you implemented 0.7 support? 0.6/0.7 severs with brid…
Avatar
but you can play with 0.7 ctf players on bridge server
Avatar
chillerdragon BOT 2024-08-10 16:35
They usually don’t play there
16:35
The OG Players play on aeon server
16:35
06.08.2024
16:35
bridge server 😄
Avatar
chillerdragon BOT 2024-08-10 16:36
Oh yea that’s a new development
16:36
That bridge was built after I already finished 0.7 support in the client
16:37
It’s jsaurus bridge right?
16:37
now
16:38
some old players from [POLICE]
Avatar
chillerdragon BOT 2024-08-10 16:38
That’s very Pog that they are still around
Avatar
very pog is confuse new players using two skin systems 😵
Avatar
chillerdragon BOT 2024-08-10 16:42
What’s to confuse
16:42
It shows the skins from the current settings and new players will play kobra anyways
16:43
And yes I think server side bridge is not enough. If it’s also in the client you can join all 0.7 only servers with ddnet which is pretty cool for me personally as someone who plays exclusively with ddnet client but is interested in all servers
16:44
Including pure 0.7 servers and stuff like 0.7 zCatch
16:44
jiggsel mentioned
Avatar
hello
Avatar
chillerdragon BOT 2024-08-10 16:46
Imo none of these things a ban worthy. This all sounds like chat usage. If you really can’t handle text then just mute instead of ban. But even then I am cursious if it is that bad in reality. Because I don’t see such stuff happening. And I also play on servers where there is no ban police such as fokkos BlmapChill
Replying to @meloƞ we have religious propaganda, doxxing, hatemail and literal death thread…
Avatar
If it’s also in the client you can join all 0.7 only
just download 0.7 client and play with this 20 people )
Avatar
chillerdragon BOT 2024-08-10 16:46
No
16:47
I play with ddnet client
Avatar
okey, if i want join to 0.5 servers from ddnet, can i implement 0.5 support and merge it to ddnet?
Avatar
chillerdragon BOT 2024-08-10 16:48
I think I said everything I cared about multiple times now. Your turn @Matodor I don’t understand how 0.7 causes you problems
16:49
I have no problem with that. Not sure if there is much going on in 0.5 that was before my time. But not sure if deen would merge that
Replying to @Matodor okey, if i want join to 0.5 servers from ddnet, can i implement 0.5 supp…
Avatar
Avatar
chillerdragon
Imo none of these things a ban worthy. This all sounds like chat usage. If you really can’t handle text then just mute instead of ban. But even then I am cursious if it is that bad in reality. Because I don’t see such stuff happening. And I also play on servers where there is no ban police such as fokkos BlmapChill
and i still completly disagree :P - guess we just have different ideologíes of freedom in videogames then.
Avatar
im pretty sure most of the heinous trolls can bypass the vps detection anyways
16:52
vpn* -- iirc some of them have vpns that just aren't detected
Avatar
chillerdragon BOT 2024-08-10 16:52
What religious propaganda did you see?
Replying to @meloƞ we have religious propaganda, doxxing, hatemail and literal death thread…
Avatar
did you miss the hamas topic?
16:53
it was painful
16:53
people cheering the death of children
Avatar
chillerdragon BOT 2024-08-10 16:53
Death threads might be even against German law but let’s be real here. Threads in video game chats are usually a joke.
Avatar
there are people on ddnet that have been actually doxxed
Avatar
chillerdragon BOT 2024-08-10 16:54
I did miss the hamas topic what happened
16:54
And vpn bans fixed the dox?
Avatar
they prevent people from using free and cheap vpn services to bypass to keep on pushing
Avatar
Avatar
chillerdragon
I did miss the hamas topic what happened
Hamas - Nachrichten und Information: An 365 Tagen im Jahr, rund um die Uhr aktualisiert, die wichtigsten News auf tagesschau.de
Avatar
chillerdragon BOT 2024-08-10 16:55
I mean in teeworlds not in general
16:55
What happend in tw chat?
Avatar
Avatar
meloƞ
people cheering the death of children
.
Avatar
chillerdragon BOT 2024-08-10 16:56
a
Avatar
wishing death on israelis and the other way around etc
Avatar
chillerdragon BOT 2024-08-10 16:56
Yea that’s not nice
Avatar
these people dont deserve just a mute, they deserve their doors kicked in and dragged out
Avatar
chillerdragon BOT 2024-08-10 16:56
Disagree
Avatar
alright i'm getting angry at this (not at you) - so i'm yoinking myself out of here
Avatar
chillerdragon BOT 2024-08-10 16:58
Yea I also don’t appreciate that those things happen. But I just prefer decentralized moderation.
16:58
I don’t think there should be one admin having the power to decide who can say what. But every user should be able to decide who to mute in their client.
Avatar
any docs on econ?
Avatar
chillerdragon BOT 2024-08-10 16:59
Not much I think what do you need
Avatar
just connecting externaly
Avatar
chillerdragon BOT 2024-08-10 16:59
bind the ip with the config
Avatar
yea i did the server config but how do i actually connect to it?
Avatar
chillerdragon BOT 2024-08-10 16:59
ec_bindaddr or something like that
16:59
It’s tcp
17:00
With your favorite tcp client
Avatar
ah okay
Avatar
chillerdragon BOT 2024-08-10 17:00
Such as Telnet or netcat
Avatar
❤️
17:01
can a server have multiple econ connections at the same time?
Avatar
chillerdragon BOT 2024-08-10 17:01
Yes
17:02
We really need to submit the irclogs to Microsoft
17:02
gtp5 could be ddnet assistant
Avatar
Avatar
chillerdragon
gtp5 could be ddnet assistant
it would be biased towards linux xD (edited)
Avatar
chillerdragon BOT 2024-08-10 17:03
I see no problem here
Avatar
idk if microsoft wants that lol
Avatar
chillerdragon BOT 2024-08-10 17:03
They use Linux them self’s
Avatar
Avatar
chillerdragon
We really need to submit the irclogs to Microsoft
u can do it without microsoft
17:20
well idk actually, i dont think theres enough power in chatgpt4 extensions
17:20
maybe thru some trickery with ollama
Avatar
Avatar
meloƞ
alright i'm getting angry at this (not at you) - so i'm yoinking myself out of here
First week as mod and you are already bowing out damn
17:28
Don't take memerdragons stance on absolute freespeech too seriously. Only a handful of people take such an absolutist stance
Avatar
chillerdragon BOT 2024-08-10 17:30
Ye but too lazy. But would be cool
Replying to @louis u can do it without microsoft
Avatar
Avatar
Learath2
First week as mod and you are already bowing out damn
no worries - i wont quit :D
Avatar
in editor, why i cant select other tiles while menu is invisible?
18:27
do smth, bb (edited)
Avatar
Avatar
Matodor
Click to see attachment 🖼️
а с нами не идешь >:(
Avatar
Avatar
Matodor
okey, if i want join to 0.5 servers from ddnet, can i implement 0.5 support and merge it to ddnet?
0.5 protocol is not safe
18:57
id host 0.5 bridge server already :P
Avatar
Avatar
Teero
yea i did the server config but how do i actually connect to it?
as heinrich told me: TcpStream::connect("127.0.0.1:8369") - that's all u need
Avatar
Avatar
zhn
as heinrich told me: TcpStream::connect("127.0.0.1:8369") - that's all u need
what language? xD
Avatar
of course it had to be rust
Avatar
ye because i implemented some econ wrapper in rust
19:02
even twice xd
19:02
both suck ass though
19:40
19:40
i switched to debian 11 again
19:41
wait
19:41
i didnt readed that error xd
19:41
this version of Cargo is older than the 2021 edition, and only supports 2015 and 2018 editions.
19:41
xd
Avatar
Debian 12 released like a year ago
Replying to @rutujek i switched to debian 11 again
Avatar
Avatar
egyt
Debian 12 released like a year ago
but i have only debian 10 and 11
19:42
on vps
19:42
to choose
19:42
and ubuntu
19:42
18
19:42
20
19:42
if i remember good 24 or 22 (edited)
19:42
arch
19:43
and cent os or something like this (edited)
Avatar
👀
Replying to @rutujek on vps
Avatar
chillerdragon BOT 2024-08-10 19:46
I recommend updating to Debian 12 even if you can’t choose it as a base image you can still manually update
Avatar
Avatar
rutujek
this version of Cargo is older than the 2021 edition, and only supports 2015 and 2018 editions.
can someone pls help me (do tutorial for me) pls🥹🙏
Avatar
chillerdragon BOT 2024-08-10 19:47
You can use rustup to install latest rust on Debian
19:48
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Avatar
Avatar
chillerdragon
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
i have rust
Avatar
chillerdragon BOT 2024-08-10 19:49
Okay then delete your build directory and try again
Avatar
Avatar
chillerdragon
Okay then delete your build directory and try again
its building
19:52
♥
Avatar
I think the curl is also older in debian 11 so I think u can't use both ipv6 and ipv4 for the server
20:05
20:05
guys
Avatar
Update curl
Avatar
how
Avatar
Ah wait, Just add: sv_register ipv4
Avatar
Avatar
rutujek
Click to see attachment 🖼️
.
Avatar
Avatar
meloƞ
gg
😭
Avatar
Read wiki on how to Upgrade your Debian system
Avatar
chillerdragon BOT 2024-08-10 20:19
@rutujek: do you define sv_register maybe more than once in your config?
20:19
The screenshot does not show the entire config
Avatar
Avatar
chillerdragon
@rutujek: do you define sv_register maybe more than once in your config?
its only one
20:20
and im upgrading to 12
Avatar
chillerdragon BOT 2024-08-10 20:20
Ok sounds good then don’t worry about the register thing it will solve it self with deb 12
20:22
what should i choose?
Avatar
chillerdragon BOT 2024-08-10 20:22
Doesn’t matter too much
Avatar
Avatar
chillerdragon
Doesn’t matter too much
too much
20:22
but what do you prefer?
Avatar
chillerdragon BOT 2024-08-10 20:23
Idk what your provider is and what they need. But I assume you did not change the file.
20:23
It depends on what you want
20:23
Just pick the first
20:23
Or flip a coin between first and second haha
Avatar
Avatar
rutujek
Click to see attachment 🖼️
keep current
20:54
Avatar
Perhaps you're using some kind of firewall? like ufw?
Avatar
Add am exception for DDNet's Port udp within your vps, they Most likely have a Page that explains it
Avatar
me dumb
21:14
you mean this?
Avatar
Avatar
meloƞ
Add am exception for DDNet's Port udp within your vps, they Most likely have a Page that explains it
.
Avatar
If your problem isn't solved yet maybe try this: sudo iptables -A INPUT -p udp --dport 8301 -j ACCEPT (edited)
Avatar
Avatar
rutujek
me dumb
that is tcp, you have to allow udp
Avatar
Avatar
HamidReza
If your problem isn't solved yet maybe try this: sudo iptables -A INPUT -p udp --dport 8301 -j ACCEPT (edited)
i will try later (edited)
👍 1
Avatar
can I get feedback on this PR, do people like it? https://github.com/ddnet/ddnet/pull/8703 (edited)
22:48
👍 5
Avatar
Congrats on 0.7 support @ChillerDragon
Avatar
Avatar
Tater
can I get feedback on this PR, do people like it? https://github.com/ddnet/ddnet/pull/8703 (edited)
matodors suggestion is kinda what id expect from any interactive gui (it shouldn't overlap though xd)
23:18
also it would be handful for mobile version
Avatar
Avatar
zhn
matodors suggestion is kinda what id expect from any interactive gui (it shouldn't overlap though xd)
yeah I will ensure no overlap
Avatar
Avatar
Tater
Click to see attachment 🖼️
maybe post in showroom? only 6 people are active in #developer lol
Avatar
good change
Exported 587 message(s)
Timezone: UTC+0