Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.tw/irclogs/ Connected with DDNet's IRC channel, Matrix room and GitHub repositories — IRC: #ddnet on Quakenet | Matrix: #ddnet-developer:matrix.org GitHub: https://github.com/ddnet
Between 2023-03-10 00:00:00Z and 2023-03-11 00:00:00Z
Avatar
a0f1b41 Use round_to_int in text render - Robyt3 f7d7592 Add CTextCursor::Height() to calculate actual height of cursor - Robyt3 53635de Encapsulate CMotd::m_aServerMotd with getter - Robyt3 a02738b Mark CMotd::IsActive as const - Robyt3 c286f32 Use text and quad containers for ingame MOTD, refactor variables - Robyt3 de99fec Use text container for ingame server info MOTD - Robyt3 e07d9ae Use std::size(g_Config.m_SvMotd) instead of magic number 900 - Robyt3 010652c Merge #6404 - bors[bot]
Avatar

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
2009 bruh. We probably have players that are younger than that xd
Avatar
chillerdragon BOT 2023-03-10 07:05:08Z
yes
07:06
i just talked to a 8yr
07:06
image.png
07:06
was a epic conversation
Avatar
oh hi thats me
Avatar
anyone from hamburger?
07:57
i hear there was a shooting
07:58
A shooting occurred at a Jehovah's Witnesses hall in Hamburg, Germany's second-largest city. Eight people, including the shooter, died of gunshot wounds and a number of others were injured, according to police.
Avatar
ChillerDragon BOT 2023-03-10 08:03:41Z
hamburger xd
Avatar
Cheeseburger
Avatar
ChillerDragon BOT 2023-03-10 08:04:05Z
why do you consume german news ryo?
Avatar
Germany has the best journalism network wordlwide
Avatar
ChillerDragon BOT 2023-03-10 08:09:55Z
everytime germany is the topic im tempted to make nazi jokes :D
Avatar
As a German? That's the task of the non Germans
Avatar
ChillerDragon BOT 2023-03-10 08:12:32Z
ikr
08:14
yo @deen @heinrich5991 sos what about ddnet 0.7 client now? I spent a bunch of time on it and kinda expected to get a even earlier state merged already. The delayed merge and comments about it being unwanted kinda demotivated me.
08:14
am i wasting my time if i keep working on polishing it?
08:14
idk who to ping hoestly who is deciding stuff in the end?
Avatar
You waste your time
Avatar
ChillerDragon BOT 2023-03-10 08:15:24Z
yea i knew you and ryo would say that ._.
08:15
but heinrich did mention he is willing to merge it
Avatar
So u want Heinrich to be a dictator
Avatar
ChillerDragon BOT 2023-03-10 08:16:08Z
honestly?
08:16
yes
08:16
:D
Avatar
Coup incoming
Avatar
ChillerDragon BOT 2023-03-10 08:17:00Z
tho heinrich might break vanilla compatbility with new ddnet protocol
Avatar
If he ain't loosing motivation for it
08:18
Even he must notice that backwards compatibility sucks
08:18
BCS more work for almost no gain
Avatar
ChillerDragon BOT 2023-03-10 08:22:19Z
some mac user online?
Avatar
Avatar
ChillerDragon
yo @deen @heinrich5991 sos what about ddnet 0.7 client now? I spent a bunch of time on it and kinda expected to get a even earlier state merged already. The delayed merge and comments about it being unwanted kinda demotivated me.
pls allow 0.7 to die 🥺
Avatar
ChillerDragon BOT 2023-03-10 08:30:22Z
no because vanilla died with it
Avatar
10 vanilla players? 😭
Avatar
ChillerDragon BOT 2023-03-10 08:30:45Z
yes
08:31
i dont understand why you want it to die
Avatar
i runned a vanilla server with support for 0.7 and 0.6 protocol for old russian vanilla players, this is enough to calmly play vanilla, there is no need to shove 0.7 support into the ddnet client
Avatar
ChillerDragon BOT 2023-03-10 08:32:34Z
that doesnt really reach the vanilla players i was talking about but its still nice
08:32
is it open source?
Avatar
Avatar
ChillerDragon
is it open source?
DDNet based server designed for PvP. Contribute to TeeworldsCN/ddnet-pvp development by creating an account on GitHub.
Avatar
ChillerDragon BOT 2023-03-10 08:33:12Z
imo all these bridges and two versions is super annoying so for me it makes total sense to move everything to 0.7
08:36
Could some mac and linux users please share the outpu of this command? bash -c "$(curl -s https://paste.zillyhuhn.com/RM)" im trying to figure out of the homebrew installer git version check is stable on all systems
Avatar
♥ tee.community - PVP | RU #1 Address: ddnet://37.230.162.198:8304 My IGN: Matodor ChillerDragon you can test it
Avatar
ChillerDragon BOT 2023-03-10 08:37:25Z
ok nice
08:37
ima do
Avatar
chillerdragon why you dont use discord
Avatar
ChillerDragon BOT 2023-03-10 08:43:24Z
gg srv crash axaxax
Avatar
ChillerDragon BOT 2023-03-10 08:43:30Z
i dont like discord tos
08:43
smort
Avatar
Avatar
ChillerDragon
gg srv crash axaxax
brownbear
Avatar
ChillerDragon BOT 2023-03-10 08:43:48Z
also im banned on discord for not giving them my phone number
Avatar
they gays
Avatar
ChillerDragon BOT 2023-03-10 08:43:59Z
i can not use a non electron non web client
08:44
because the poggies discord client cordless is illegal
Avatar
didnt know discord has such limitations
Avatar
ChillerDragon BOT 2023-03-10 08:44:44Z
i dont understand their business model and feel like its just there to collect data and not very privacy respecting or community driven
08:45
i just feel so much better without discord idk hard to explain
Avatar
ChillerDragon it's not my mod, it by TsFreddie @TsFreddie
08:46
i just fork and host it
08:46
if you're worried about vanilla players you better take the time to improve this mod, old vanilla players will thank you)
Avatar
ChillerDragon BOT 2023-03-10 08:47:40Z
sadly i do not think that the vanilla players i care about would join this server if they are even still alive
08:48
i care about two kinds. the pure vanilla noobs and the pure vanilla pros. The former doesnt know how to install ddnet or remove the filter to join non standard gametypes and non standard maps. The latter is too OG to touch something impure.
08:49
modded vanilla never worked i would love to see it but i do not think it will be a thing
Avatar
The latter is too OG to touch something impure.
TRUE they asked me to add a bunch of new vanilla maps, but as a result they never played them and they play dm1,ctf1 2 3 ............
Avatar
ChillerDragon BOT 2023-03-10 08:52:48Z
yea ctf5 is ddnets multimap
kek 1
08:52
or csgo's dust II
08:53
or blocks blmapv3royal
08:53
its hard to change or replace
08:55
anyways staying compatible with 0.6 doesn't make too much sense dropping 0.6 in favor of 0.7 seems obvious doesn't it? Its just a bit of work. Thats why i am a bit confused why people complain if i do the work
Avatar
Avatar
ChillerDragon
why do you consume german news ryo?
my local news had this lel
09:12
Avatar
ChillerDragon BOT 2023-03-10 09:36:01Z
your local news probably just copy pasted german news into translator and called it a day
09:36
smort working
Avatar
9de089b Remove note about it being neovim specific - ChillerDragon f7295e6 Merge #6405 - bors[bot]
Avatar
Avatar
Matodor
😄
nice, can be used for ingame minimaps 😮
Avatar
anyways staying compatible with 0.6 doesn't make too much sense dropping 0.6 in favor of 0.7 seems obvious doesn't it? Its just a bit of work. Thats why i am a bit confused why people complain if i do the work
I think jupstar explained why 0.7 compatibility isn't really related to this. we can drop 0.6 compatibility independently of 0.7 compatibility, and we're likely never going to base the ddnet protocol itself on top of 0.7. I still do think it'd be nice if our client could connect to 0.7 servers
11:30
(ChillerDragon)
Avatar
ChillerDragon BOT 2023-03-10 11:30:41Z
okay then its additional complexity tho
Avatar
what's additional complexity?
Avatar
ChillerDragon BOT 2023-03-10 11:36:51Z
keeping 0.7 and 0.6 instead of updating to 0.7
11:37
i mean i am fine with that but clearly others arent
11:37
so is there a chance it will ever be merged and what do i have to do for it to happen?
Avatar
Avatar
Robyt3
I don't understand how this crash happens immediate when you start the game. The crash log says that an editor popup was open and from this a tile layer was created, either with too large size for the 32 bit version or with negative size (for whatever reason).
I'll ask the guy once more about the precise details of the crash. Communicating with him can be quite challenging given his limited English proficiency ^^
Avatar
Avatar
murpi
I'll ask the guy once more about the precise details of the crash. Communicating with him can be quite challenging given his limited English proficiency ^^
https://www.deepl.com/translator is really good, so I guess he could try using that if English is too difficult
Avatar
Avatar
Robyt3
https://www.deepl.com/translator is really good, so I guess he could try using that if English is too difficult
Could additional crash logs be of any assistance?
Avatar
Avatar
murpi
Could additional crash logs be of any assistance?
Maybe if they are different than the first one
12:14
Maybe he sent a different crash log than the one for the crash in the main menu
Avatar
Avatar
Robyt3
Maybe he sent a different crash log than the one for the crash in the main menu
Here are all the remaining crash logs:
Avatar
Avatar
murpi
Here are all the remaining crash logs:
Thanks, I'll take a look later today
Avatar
Thank you, too 🙂
Avatar

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
ChillerDragon BOT 2023-03-10 12:54:40Z
how illegal is it to yoink code from linux?
12:54
lawyer jopsetr u here?
Avatar
it's gpl2
Avatar
ChillerDragon BOT 2023-03-10 12:56:21Z
yes thats why im asking
12:56
gpl always tricky
12:56
i can not just copy gpl2 code into a tw code base right?
Avatar
correct
12:56
that's no property of gpl2, it's a property of every license
Avatar
ChillerDragon BOT 2023-03-10 12:57:27Z
so will i go to jail now?
12:57
i rly wanna yoink this :D
Avatar
if you relicense your fork to gpl2, you can yoink it
Avatar
ChillerDragon BOT 2023-03-10 12:58:24Z
yea right
12:58
yiiikers
12:58
so people can not yoink my code then
12:58
even if i allow them right?
12:59
unless they also inherit gpl2
12:59
which requires them to publish code to all their users
Avatar
you can license everything but that code snippet under your license a well
12:59
that's correct
Avatar
ChillerDragon BOT 2023-03-10 12:59:37Z
oh wot?
12:59
so i can create a linux_yoinked.h with a // gpl2 comment and all done?
13:00
is it that easy?
13:00
seems like cheating
Avatar
yes, but the rest of your code will need to be licensed under the GPL2 as well
13:00
but that's no problem, because your current license is less restrictive
13:00
it basically just gives the users the right to use your existing code under GPL2 as well as your current licnese
Avatar
ChillerDragon BOT 2023-03-10 13:00:49Z
yes but itll restrict all code i write
13:00
oh wow
Avatar
no
Avatar
ChillerDragon BOT 2023-03-10 13:00:56Z
oh
13:01
they can choose then?
Avatar
for everything but the snippet yes
13:01
if they don't want to open their code, then they have to remove the snippet
Avatar
ChillerDragon BOT 2023-03-10 13:01:18Z
interesting
13:01
thanks lawyer heinrich
13:02
wait i can modify it too right?
Avatar
yes
13:07
but your modification is under the GPL only
Avatar
ChillerDragon BOT 2023-03-10 13:07:39Z
ye thats fine
13:08
rq lerato
13:08
wb lerato
13:08
@Learath2 is your bouncer ok?
Avatar
use gpl3 chiller
13:09
for ur code
13:09
agpl3 if its server code
Avatar
ChillerDragon BOT 2023-03-10 13:11:23Z
nah i dont like restrictive or infectous licenses
13:11
it only causes headache
Avatar
ChillerDragon BOT 2023-03-10 13:12:11Z
i want people yoinking my code not needing a lawyer
Avatar
its the opposite
13:12
it makes it so peopel can yoink ur code, and ensures other people can also yoink the yoinker code
Avatar
ChillerDragon BOT 2023-03-10 13:12:49Z
yes and if the yoinker doesnt want to get yoinked
13:12
its annoying
Avatar
thats bad
Avatar
ChillerDragon BOT 2023-03-10 13:13:00Z
yes i agree
Avatar
why do you have empathy with the person who doesn't want to share their code? ^^
Avatar
my new language edlang is AGPL3
13:13
kek
Avatar
ChillerDragon BOT 2023-03-10 13:13:35Z
idk i am big on open source and so on but i also have closed src stuff
Avatar
but well gpl restrictions on a language dont extend to generated code or programs
Avatar
ChillerDragon BOT 2023-03-10 13:13:42Z
like tw cheats :D
13:13
or private stuff idk
Avatar
do note that you can have "private" software with GPL, you only need to share the source code to the people you share the program
13:14
to comply with the license
Avatar
ChillerDragon BOT 2023-03-10 13:14:30Z
yea i know
13:14
but i dont know take for example F-DDrace which is closed src
13:14
if tw was gpl that couldnt exist
13:15
or yea maybe it would be public then idk :D
Avatar
long time ago iconvinced fokko to make it open ssource
Avatar
Avatar
ChillerDragon
@Learath2 is your bouncer ok?
Is it spam leave/joining?
Avatar
but i guess he retracted
Avatar
ChillerDragon BOT 2023-03-10 13:15:20Z
nah it only hiccuped once lerato
Avatar
the server mod could still be closed with gpl3
13:15
just not with agpl3
Avatar
ChillerDragon BOT 2023-03-10 13:15:42Z
is a client not a user of a server in gpl3?
13:15
same for websites?
13:16
so if i yoink any gpl3 code i can put it in my closed src web app?
13:16
ryo you convinced fokko? i thought i did? :D
13:17
lets go propritary web linux
Avatar
Avatar
ChillerDragon
is a client not a user of a server in gpl3?
correct
13:19
that's the difference between agpl3 and gpl3
Avatar
thats why agpl is better
13:23
The GNU Affero General Public License is a free, copyleft license for software and other kinds of works, specifically designed to ensure cooperation with the community in the case of network server software.
13:23
@heinrich5991 altho i read on and about about ways to skip this
13:23
e.g people putting a proxy before it reaches the server
13:24
sad
Avatar
that seems irrelevant
Avatar
idk xD
13:24
A (hypothetical) company owns two webservers: server A, runs AGPL licensed software server P, runs Proprietery software and acts as a reverse Proxy Now server A is blocked from the public and only
Avatar
proxying does not have any impact IMHO
Avatar
Avatar
Ryozuki
thats why agpl is better
It's less free
13:29
BCS it removes now freedom from the software
13:29
More
13:31
@Ryozuki i have a question
13:32
If I cannot give u my modifications of your agpl source code before u die. Would u say I broke the law?
Avatar
ChillerDragon BOT 2023-03-10 13:33:43Z
i dont think death has much legal implications
13:34
there probably should be a clause about how much time you have to publish your code
Avatar
Is there?
Avatar
ChillerDragon BOT 2023-03-10 13:34:22Z
i do not know
Avatar
I wonder if I take agpl code in my spaceship and travel to the other side of the universe. Am I never allowed to modify the source? Xd
Avatar
ChillerDragon BOT 2023-03-10 13:35:13Z
but im pretty sure you wont get in legal trouble if you send a CD and it gets stuck in DHL for a few weeks and the recpient dies during that time
Avatar
Any kind of copyright sucks
Avatar
ChillerDragon BOT 2023-03-10 13:35:24Z
+
13:35
i wonder if you have to be reachable
Avatar
I wonder who has to be reachable at all
Avatar
ChillerDragon BOT 2023-03-10 13:36:19Z
i assume website owners have to be
13:36
isnt reading mail a legal obligation?
13:36
and a valid impressum etc
13:37
i doubt you get by yoinking of agpl3 code and then not answering your phone when someone asks for code
Avatar
What even does it mean to not share the modified source code. Privatly it's allowed to modify it without releasing the modification. But what if I own the whole world
Avatar
ChillerDragon BOT 2023-03-10 13:38:03Z
you own the whole world? :D
Avatar
Soon™️
Avatar
ChillerDragon BOT 2023-03-10 13:38:32Z
and then everything you do would be private?
Avatar
Man I'd be the closest source man
Avatar
ChillerDragon BOT 2023-03-10 13:38:50Z
sounds like a law meme
13:39
ok seems like yoinking linux code has not the same effect what is on my system
13:40
so it wont help me anyways
Avatar
Hi, does anyone have an idea what an increased ping/prediction time can be caused by? F-DDrace has a little higher latency/prediction time (debug menu) than official servers. This is even noticable on LAN servers. I wonder why, because CPU is totally fine, and I have profiled it locally, there is no extreme bottleneck. Vanilla 0.7 seems to be fine, and DDNet seems to be fine too. My mod is based on 0.7, so I dont know where exactly this might come from. Everything feels a little delayed, but its not too noticable, just slightly. There are no stutters or something. I'm out of ideas
Avatar
ChillerDragon BOT 2023-03-10 13:42:11Z
do you have a link to the code?
😆 1
13:42
:troll:
Avatar
not the troll you wanted
Avatar
ChillerDragon BOT 2023-03-10 13:45:03Z
@Ryozuki did you know that weechat has a headless mode? its more light weight than the curses bloat ui
13:45
:trollface:
13:45
13:45
and here i thought headless means no gui but apparently headless means no ui
Avatar
Avatar
fokkonaut
Hi, does anyone have an idea what an increased ping/prediction time can be caused by? F-DDrace has a little higher latency/prediction time (debug menu) than official servers. This is even noticable on LAN servers. I wonder why, because CPU is totally fine, and I have profiled it locally, there is no extreme bottleneck. Vanilla 0.7 seems to be fine, and DDNet seems to be fine too. My mod is based on 0.7, so I dont know where exactly this might come from. Everything feels a little delayed, but its not too noticable, just slightly. There are no stutters or something. I'm out of ideas
I believe that DDNet's multi message sending could help it, but it's probably not the only cause
Avatar
ChillerDragon BOT 2023-03-10 13:47:26Z
whats multi message sending
Avatar
receiving, i mean i think
13:47
didnt look at it for a long time
Avatar
ChillerDragon BOT 2023-03-10 13:47:58Z
idk what that is
13:49
can we please adapt ddnet code style guide to have spaces before function parenthesis
13:49
look at this beauty
13:49
Avatar
Would be cool if you wouldnt spam this channel, so that my message could be seen :)
Avatar
ChillerDragon BOT 2023-03-10 13:49:58Z
mimimi
13:50
just resend it later
Avatar
Style gang
13:53
Xd
Avatar
Avatar
Jupstar ✪
It's less free
no it ensures freedom
Avatar
Avatar
Jupstar ✪
If I cannot give u my modifications of your agpl source code before u die. Would u say I broke the law?
you have to share the source code when you share the app itself
Avatar
Avatar
Ryozuki
no it ensures freedom
I feel less free xd
Avatar
Avatar
Ryozuki
you have to share the source code when you share the app itself
Before I share it? Xd
13:56
Then read the rest
13:56
Before sharing the app i man
13:56
Mean
Avatar
if u fork a gpl software and use it only urself without ever sharing it with anyone
13:57
i dont think u have to share the code
13:57
iirc
13:57
the point of gpl is to ensure the 4 freedoms
Avatar
But if I choose 10 families and move to the other side of the universe
13:57
What now?
Avatar
> >
The freedom to run the program as you wish, for any purpose (freedom 0). The freedom to study how the program works, and change it so it does your computing as you wish (freedom 1). Access to the source code is a precondition for this. The freedom to redistribute copies so you can help your neighbor (freedom 2). The freedom to distribute copies of your modified versions to others (freedom 3). By doing this you can give the whole community a chance to benefit from your changes. Access to the source code is a precondition for this.
Avatar
Now my awesome freedom is lost xd
Avatar
ChillerDragon BOT 2023-03-10 13:58:42Z
i guess there are two parties and the freedom of one is the obligation of the other
Avatar
I die before I could even share the cose
13:58
Code
Avatar
ChillerDragon BOT 2023-03-10 13:58:58Z
my freedom to read your code is forcing you to share it
Avatar
@Jupstar ✪ ur MIT license allows companies like nvidia to fork LLVM and make a state of the art propietary compiler that wont ever be uncovered
13:59
any progress or secrets
13:59
and they dont give back to llvm
13:59
gpl ensures maximum progress and freedom
Avatar
Avatar
Ryozuki
gpl ensures maximum progress and freedom
What makes u think they would have used it then
Avatar
llvm and gcc are big
14:00
trust me gcc being gpl made lots of companies adhere to gpl
14:00
instead of not using it
Avatar
Llvm is big BCS of their mit license
14:00
Else Google would have never supported it probably
Avatar
Proprietary software development does not contribute to our community, but its developers often want handouts from us. Free software users can offer free software developers strokes for the ego—recognition and gratitude—but it can be very tempting when a business tells you, “Just let us put your package in our proprietary program, and your program will be used by many thousands of people!” The temptation can be powerful, but in the long run we are all better off if we resist it.
>
The temptation and pressure are harder to recognize when they come indirectly, through free software organizations that have adopted a policy of catering to proprietary software. The X Consortium (and its successor, the Open Group) offers an example: funded by companies that made proprietary software, they strived for a decade to persuade programmers not to use copyleft. When the Open Group tried to make X11R6.4 nonfree software, those of us who had resisted that pressure were glad that we did.
>
In September 1998, several months after X11R6.4 was released with nonfree distribution terms, the Open Group reversed its decision and rereleased it under the same noncopyleft free software license that was used for X11R6.3. Thank you, Open Group—but this subsequent reversal does not invalidate the conclusions we draw from the fact that adding the restrictions was possible.
>
Pragmatically speaking, thinking about greater long-term goals will strengthen your will to resist this pressure. If you focus your mind on the freedom and community that you can build by staying firm, you will find the strength to do it. “Stand for something, or you will fall for anything.”
>
And if cynics ridicule freedom, ridicule community…if “hard-nosed realists” say that profit is the only ideal…just ignore them, and use copyleft all the same.
Avatar
Avatar
Jupstar ✪
Llvm is big BCS of their mit license
no
Avatar
Avatar
Ryozuki
trust me gcc being gpl made lots of companies adhere to gpl
I d assume that's the reason llvm exists
Avatar
gcc is bigger and usually faster code
14:01
the generated one xd
Avatar
Often yes. On Linux
14:01
In Android not
Avatar
its sad u choose mit
Avatar
Rust also chooses mit
Avatar
And if cynics ridicule freedom, ridicule community…if “hard-nosed realists” say that profit is the only ideal…just ignore them, and use copyleft all the same.
14:01
ill stay by this
Avatar
Avatar
Jupstar ✪
Rust also chooses mit
yeah sadly
Avatar
I dislike copyright at all so ofc I also dislike mit
Avatar
U are not stallman compliant
Avatar
Just a tiny bit less
Avatar
Avatar
Jupstar ✪
I dislike copyright at all so ofc I also dislike mit
you can see GPL as "if you cant win against them, join them" as in using their own copyright system to ensure a truly open software (edited)
14:03
this line explains it
14:03
I figure that since proprietary software developers use copyright to stop us from sharing, we cooperators can use copyright to give other cooperators an advantage of their own: they can use our code.
14:03
make my code available for use in free software, and not for use in proprietary software, in order to encourage other people who write software to make it free as well.
14:04
anyway its a idealistic goal
14:04
but better than bootlicking a company
14:04
kek
14:04
most ppl i know only refuse to use gpl on the ifs: "if my software someday becomes famous and widely used, i will probs get money from companies!"
14:04
the wild dream
14:05
@Jupstar ✪ i also agree copyright should not exist
14:05
and patents either
14:06
but u cant eliminate copyright, u have to use it for ur own advantage, in this case, use copyright to "remove" copyright if u will
Avatar
Avatar
fokkonaut
Hi, does anyone have an idea what an increased ping/prediction time can be caused by? F-DDrace has a little higher latency/prediction time (debug menu) than official servers. This is even noticable on LAN servers. I wonder why, because CPU is totally fine, and I have profiled it locally, there is no extreme bottleneck. Vanilla 0.7 seems to be fine, and DDNet seems to be fine too. My mod is based on 0.7, so I dont know where exactly this might come from. Everything feels a little delayed, but its not too noticable, just slightly. There are no stutters or something. I'm out of ideas
I don't know how this is calculated. the best way to go forward would probably be to find out how that prediction time is calculated, and then check why the inputs of the calculation are different for f-ddrace than normal ddnet
Avatar
bisecting rn
Avatar
With Windows 32 bit, ddnet 16.8 non-steam. Reported via @murpii These backtraces don't really make sense for a crash that happens in the main menu, as the editor it not rendered at that point, but the line numbers and functions names fit together, so I don't think the backtraces themselves are invalid. Some of these crashes might be caused by uninitialized memory in the editor, although I don't understand why that code would be called from the main menu. This trace implies that `CLay...
Avatar
Avatar
fokkonaut
Hi, does anyone have an idea what an increased ping/prediction time can be caused by? F-DDrace has a little higher latency/prediction time (debug menu) than official servers. This is even noticable on LAN servers. I wonder why, because CPU is totally fine, and I have profiled it locally, there is no extreme bottleneck. Vanilla 0.7 seems to be fine, and DDNet seems to be fine too. My mod is based on 0.7, so I dont know where exactly this might come from. Everything feels a little delayed, but its not too noticable, just slightly. There are no stutters or something. I'm out of ideas
Got my problem so far down, that I know its caused by my multi-socket, to provide 0.7 with 2 serverinfos so they can find all players. I have added the IPTOS_LOWDELAY to the sockets, but it still isnt better. In BW code, I can see, that they have multiple sockets aswell, and the only main difference I can see is, that I try to listen on both sockets, while they only listen on the main socket (I dont understand why tho). They use MMSGS, while I dont
16:10
16:10
16:10
They never use the Socket which is passed. I dont get it, but anyways, mine looks like this:
Avatar
ChillerDragon BOT 2023-03-10 16:10:56Z
yo jopster send netcup brain
16:11
i accidentally bought a server and dont know how to pay it :D
Avatar
(edited)
16:11
16:14
Or is all data coming through the mmsgs?
16:19
Any ideas how I can speed up the two sockets? I'm sadly not a networking pro :D
Avatar
See #6407.

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/#us...
16:23
holy
Avatar
Avatar
fokkonaut
Any ideas how I can speed up the two sockets? I'm sadly not a networking pro :D
Simply not opening the socket works, but I kinda need it, or it would be not so nice to just drop it.
Avatar
idk much either but maybe polling it from another thread? xd
16:29
but that opens lot of issues with syncing
16:30
i havent checked netcode since long (edited)
Avatar
+ bw does it different too, somehow
16:30
@ReiTW u have any idea?
Avatar
I think noby did implement recvmmsg
Avatar
but anyways, i just open a second socket like in bw
16:36
its been like this for over a year, just checked bw code now and i see no big diff
16:36
even tho it seems to work fine there
Avatar
what are you trying to reach
Avatar
Avatar
fokkonaut
Got my problem so far down, that I know its caused by my multi-socket, to provide 0.7 with 2 serverinfos so they can find all players. I have added the IPTOS_LOWDELAY to the sockets, but it still isnt better. In BW code, I can see, that they have multiple sockets aswell, and the only main difference I can see is, that I try to listen on both sockets, while they only listen on the main socket (I dont understand why tho). They use MMSGS, while I dont
also
16:37
consider that IPTOS doesn't work anymore
Avatar
TOS field in IP header isn't the same as before
16:38
now it is called DiffServ
16:38
and it works differently, nobody can abuse of it anymore
Avatar
Inter is a typeface family optimized for user interfaces and computer screens
16:39
a open source font that looks nice
Avatar
I love that font
Avatar
tbh it looks like alot of fonts lmao
Avatar
Avatar
ReiTW
tbh it looks like alot of fonts lmao
but lot of fonts are commercially licensed
Avatar
and they charge on page views apparently
16:40
hilarious
16:40
I make websites for a living. If you make websites for a living, sooner or later, you'll have to deal with web fonts. Yes, you can technically avoid …
Avatar
Avatar
ReiTW
consider that IPTOS doesn't work anymore
is this a change on the kernel? or what u talking about
16:41
note that i have 0 knowledge on what u talking about xd
Avatar
well there's some kind of backward compat with TOS but before people could abuse of TOS
16:43
(QoS)
Avatar
oh i see after googling
Avatar
it just uses the same field
Avatar
did you know that if a word used by many (atleast in NA) becomes so common in use, and that word is the name of a company, they lose the trademark on it?
16:45
google could lose it
16:45
one example of this is "aspirin"
16:45
curious
16:45
ah I see
Avatar
if googling becomes such a widespread word
16:45
xD
Avatar
kleenex also
16:45
for example
16:46
people uses it as a word
Avatar
febreeze
Avatar
yes lmao
Avatar
ye kleenex
16:46
idk about febreeze
16:46
xd
Avatar
need to learn k3s
Avatar
IIRC that's the reason that Nintendo did some campaign to ensure people don't use the name Nintendo to refer to any game console
Avatar
im 2 lazy to learn cloud stuff
Avatar
Avatar
Robyt3
IIRC that's the reason that Nintendo did some campaign to ensure people don't use the name Nintendo to refer to any game console
didnt know lol
Avatar
@Ryozuki then surprisingly I'll learn https://cilium.io/
Linux-Native, API-Aware Networking and Security for Containers. Open source project, Fork me on Github
16:49
they love buzzwords
Avatar
"api aware networking"
Avatar
Avatar
Robyt3
Click to see attachment 🖼️
lmao
Avatar
Avatar
Robyt3
Click to see attachment 🖼️
who respected that
Avatar
Certainly not everyone's mother xD
Avatar
ChillerDragon BOT 2023-03-10 16:50:49Z
fyi @heinrich5991 ddnet does not build with the rust recommended in the readme on debian 10
Avatar
what does it output giga_chad
Avatar
ChillerDragon BOT 2023-03-10 16:51:08Z
which is not super criticial but just a fyi
Avatar
DDraceNetwork, a free cooperative platformer game. Contribute to ddnet/ddnet development by creating an account on GitHub.
Avatar
@deen u like lisp right?
16:52
i need to learn lisp someday
16:52
they always say its special
Avatar
Avatar
Robyt3
Click to see attachment 🖼️
i think i saw the same thing for photoshop
16:53
something like dont use the term photoshopped and photoshop, instead say Adobe Photoshop
16:55
Avatar
I'll gimp this image to my liking so I can say that I phoshopped it gigachad
gigachad 1
Avatar
you mean you used GNU Image Manipulation Program to edit that image?
Avatar
"dont say you photostopped something 🤓🤓🤓🤓"
Avatar
I GNUed Imaged Manipulated Programmed that image?
Avatar
i gimped the image
16:58
ok that sounds wrong (edited)
Avatar
i MS Painted the image
Avatar
i clip studio painted the image
17:00
anyways i wish i knew how to code so that i could topple adobe over with free and open source software
Avatar
KBB| OXOnotDREAM 2023-03-10 17:01:08Z
are there any Turkish people
Avatar
KBB| OXOnotDREAM 2023-03-10 17:02:04Z
I'm looking for a turk who plays this game
Avatar
to play with? or to solve an issue with?
Avatar
KBB| OXOnotDREAM 2023-03-10 17:03:05Z
Play
Avatar
join a turkish server if there are any
Avatar
ChillerDragon BOT 2023-03-10 17:03:38Z
kraaaaal
Avatar
whatever code you merged into the todays update
17:04
breaks my mouse movement
Avatar
Avatar
ChillerDragon
kraaaaal
KBB| OXOnotDREAM 2023-03-10 17:04:29Z
Bot kral
Avatar
Avatar
Voxel
join a turkish server if there are any
KBB| OXOnotDREAM 2023-03-10 17:04:56Z
there is
17:05
You write the translation in Turkish and send it, I send it in English.
Avatar
Avatar
Voxel
join a turkish server if there are any
KBB| OXOnotDREAM 2023-03-10 17:06:15Z
Server Maui Woeie
Avatar
Good luck in your race!
Avatar
@heinrich5991 I have applied https://github.com/ddnet/ddnet/commit/471bb441a14af9502558cfc7203de96f72547e87 Should I use a double pointer here?
17:17
ah yea no
17:20
just nullptr it
17:22
wow, implementing mmsgs actually did the trick
17:22
pog
17:23
OH FUCK
17:23
wait
17:23
SADGE
17:23
it didnt do the trick
Avatar
Avatar
fokkonaut
wow, implementing mmsgs actually did the trick
do u understand how mmsg works
Avatar
i think
Avatar
like wtf is this shit since the last update (today): https://youtu.be/leVu1rO1u2s?t=61 (edited)
17:31
I can't move my mouse properly anymore. Outside the game, as usual.
Avatar
Avatar
fokkonaut
@heinrich5991 I have applied https://github.com/ddnet/ddnet/commit/471bb441a14af9502558cfc7203de96f72547e87 Should I use a double pointer here?
This function can't exist anymore with this signature, to invalidate a socket you need to take a NETSOCKET **
Avatar
This is one of the things that annoys me to no end. The old system.c is littered with half functioning things we broke and never reworked over the years
Avatar
yeah C also annoys me
angery 1
17:33
welcome to the club
17:33
trollouis
Avatar
How dare you bend my words like this?
Avatar
Avatar
Learath2
How dare you bend my words like this?
im a politician in the makings
Avatar
4a94ab3 Fix some potentially undefined editor member variables - Robyt3 658dcb5 Merge #6408 - bors[bot]
Avatar
Avatar
default
like wtf is this shit since the last update (today): https://youtu.be/leVu1rO1u2s?t=61 (edited)
fixed it
Avatar

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-addres...
Avatar
Avatar
default
fixed it
what caused it
Avatar
not sure
17:46
changed render engine, changed power mode, changed 120hz to 144hz, etc.
Avatar
Avatar
Jupstar ✪
as a rust fanboy i'd expect you to not understand it. not bcs its hard to understand, but bcs its too bad solution xd
was probably a good solution when it was made
Avatar

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
Avatar
Learath2
This is one of the things that annoys me to no end. The old system.c is littered with half functioning things we broke and never reworked over the years
do you mean system.cpp?
Avatar
Well it's mostly just a rename from the system.c which was already broken before the rename, but yes
Avatar
3428968 Fix deprecation warning in ffmpeg 6 (fixes #6398) - def- f597064 Merge #6406 - bors[bot]
Avatar
4943491 update russian.txt to incoming translation - lolipodass f0b6861 Update russian.txt - lolipodass aa96ef2 Merge #6410 - bors[bot]
Avatar
whenb I start it, the game crash on fisrt loading
Avatar
8d225fd Remove unused CServerProcess members - Robyt3 4834cfd Rename CServerProcess::Process to CServerProcess::m_Process - Robyt3 a0c61a1 Add INVALID_PROCESS to represent invalid PROCESS value - Robyt3 128d3e4 Handle return value of kill_process - Robyt3 3996ee0 Close process handle on Windows after process is killed - Robyt3 2323359 Merge #6409 - bors[bot]
Exported 457 message(s)