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 2022-09-16 00:00:00Z and 2022-09-17 00:00:00Z
00:02
31cf68c Fix mismatched bound warning in map_replace_area and map_create_pixelart - def- ef174a5 Fix TSA warnings in Clang 15 (fixes #5548) - def- c65b468 Merge #5836 - bors[bot]
Avatar
90dde64 Tell new devs not to feel intimidated - def- 330ddb3 Merge #5837 - bors[bot]
Avatar
9a2835c Update translations via script, new German translations - def- e5fc394 Merge #5835 - bors[bot]
Avatar
ae8b991 Editor: added a goto button - archimede67 d81f151 Use int for coordinates - archimede67 e52e443 Editor: used max int value for goto min and max coordinates - archimede67 68e2f51 Merge #5756 - bors[bot]
Avatar
@heinrich5991 Alright, I hopefully fixed all the nitpicks and everything on #5802 . It should be ready to be squashed.
Avatar
Added in two more animation states, for running at a fast enough speed and for when you're AFK. Both of these states are bi-directional, and actually mirror very well inside the code. The runni...
Avatar
Anyways, I'll fix the menu really quickly, because apparently the spacing got messed up. Also I'm thinking about adding a button that makes all the colors match the current rifle laser color. (edited)
04:22
And maybe a Reset all button to make it less tedious?
Avatar
@Voxel can i add the commit images to the wiki
06:22
for preservation purposes ofc
06:24
xD
06:27
@Voxel do u wanna license this as ccbysa 4 or not?
06:27
BASED you can be more based
06:27
(the wiki allows to choose what license it uses)
Avatar
yea that sounds fair
06:33
bluekitty
Avatar
Now we wait for the stalking to begin 😉 Tees featured ChillerDragon.*
Avatar
@sone learning rust will make u a better dev
09:04
BASED
09:04
I dont think its any more complicated than c++
09:04
You just use the brain power at the start, not when hitting the segfaults
Avatar
C++ is already too complicated
09:07
Rust is complicated because it solves complicated problems
Avatar
Its true tho
09:08
How much c do you know?
09:08
Did you do multithreaded programs?
Avatar
My brother knows a lot of C.
Avatar
How many segfaults u had
Avatar
justatest I had over 100 in school
09:09
in one day, at once
Avatar
Avatar
sone
My brother knows a lot of C.
cool story xD
Avatar
Are you guys afraid of segfaults?
09:09
xD
Avatar
ahm, if you don't know wtf are you doing, yeah you should
09:10
otherwise, just trying out different methods are fine
Avatar
Avatar
sone
Are you guys afraid of segfaults?
Afraid? Its not a matter of being afraid
09:10
Segfaults crash the program, bad user experience
09:10
Also they are a security issue
Avatar
Memory errors are semantics errors
Avatar
well once you get memory errors, it's difficult to recover data from that
Avatar
otherwise the engine can predict an outcome and apply the different result
Avatar
A program can have arithmetic errors with no memory errors
Avatar
arithmetic? hm
Avatar
Semantics comes first
Avatar
I think so, first semntics, then arithmetic, then everything else which covers up rendering
Avatar
The purpose is to reach to a program that works correctly.
Avatar
sounds fun if you want to debug
09:14
justatest
Avatar
You mean you only care it does the business logic correctly?
09:14
In my book a program that relies on UB or has memory unsafetyness / data races is not a program that works correctly
09:14
But to each their own
Avatar
bus goes br
Avatar
Relying on UB sounds funny.
Avatar
if I would be a software engineer, I would say: Yeah it is funny, until it isn't
Avatar
I think the point I am trying to get across is that I like C more than Rust and GDScript. It's what my brain understands better so that's what I use.
Avatar
gdscript is made with C++ with a bit of python adaptation
Avatar
I could use gdscript extensively but it's slower than GDNative
Avatar
doesn't matter, if you have great optimization techniques, like signal refreshes and better memory storage
Avatar
What I don't like about Rust is that it makes too many abstractions.
Avatar
I can make better optimization on a character node, using setget functions for variables, which needs update each time it's changing
09:20
and won't ruin performance, let alone only makes the code run smoother
Avatar
Avatar
sone
What I don't like about Rust is that it makes too many abstractions.
that's what I'm afraid to interact with, it seems like rust has most of their stuff done within memory dumping
09:21
and "borrowing" memory data (edited)
09:22
and applying that to almost every script I have is tedious
Avatar
No offense cellegen but it just looks like you spit out random buzz words without knowing what you are saying
09:24
justatest
Avatar
Avatar
sone
What I don't like about Rust is that it makes too many abstractions.
Go deeper with c, do more complex stuff
09:25
Then you will find why rust is good
09:25
Also you probs are having UB without knowing it (edited)
Avatar
Avatar
Ryozuki
No offense cellegen but it just looks like you spit out random buzz words without knowing what you are saying
I just assume this is how rust works kek
09:27
but about optimization, I know pretty much what I'm talking about, since using setget on godot has it's own advantages for optimizing code
09:27
not just run it every frame like usual
Avatar
C is kinda easy to learn, for me what makes it hard is all of that low level stuff & how people write their code But as a C "developer for fun" since some years I can guarantee that switching to Rust is like switching from Hell to Heaven
Avatar
Avatar
Ryozuki
Then you will find why rust is good
C is good too. OpenBSD (which heavilly cares about security) uses it for example.
Avatar
@ReiTW ignorance is bliss, when you dont know what you are missing you think what you got is good
09:28
xD
Avatar
seriously @sone
09:28
you should take a look at all the stuff going around Rust
09:29
everyone is just switching on it for "simplicity" and security purpose
09:29
even the Linux kernel will implement few parts
Avatar
And i dont like rust cuz its name, i like rust cuz it implements novel stuff
09:29
Thats actually useful
09:29
thats all you need to know
Avatar
If another lang does it better ill switch
Avatar
Discord switched from Go to Rust, Cloudflare now said they'll power all of their new applications using Rust, Linux kernel, etc....
09:30
so many
Avatar
thonk what about microsoft's new language Carbon?
Avatar
It has no reason to live
Avatar
will it be competitive? kekw
Avatar
you'll find out that way more than 50% of the people are like "lmao tf is this, nobody cares cuz there's nothing new & special about it"
Avatar
It seems that most people use Rust because they find it hard to program in C.
Avatar
And this is where you're wrong @sone (edited)
Avatar
Avatar
ReiTW
you'll find out that way more than 50% of the people are like "lmao tf is this, nobody cares cuz there's nothing new & special about it"
and in the end, there really isn't
Avatar
So rust helps them program, that's good but does not make C less good
Avatar
wouldn't be the reason that it's just easier to work with, than on C?
09:33
which I believe it's true considering how much of a pain C can be
Avatar
I mean if you can work with C and you like it more then why not work with it.
Avatar
everybody prefers different language, whatever works best for one
09:35
for me gdscript is really good for game development, i wouldn't use anything else tbh
Avatar
for sure Rust makes it easier than C, but that's definetly not the main reason why people uses Rust over C
Avatar
Avatar
sone
It seems that most people use Rust because they find it hard to program in C.
Its not that one finds it hard to program in C, complex stuff such as threading, memory safety etc is hard, extremely hard even for seasoned devs
09:35
You just havent been there yet
Avatar
so like, shitting on the language cuz you heard it's hard might be the reason to start learning it in the first place, to see if you are wrong or not
Avatar
Avatar
Cellegen
thonk what about microsoft's new language Carbon?
Its made by google not microsoft, and they recommend rust in the readme
Avatar
oh yeah my bad, even tho microsoft sort of own google, it's not the same company
Avatar
Avatar
Ryozuki
You just havent been there yet
Yes, I have not.
Avatar
What are you even saying cellegen
Avatar
An example @sone look at all the vulnerabilities around very popular & very well used libs on linux for example that are memory related Rust ensure memory safety at compile + no garbage collector
Avatar
i said sort of, as in partially
Avatar
less pain
Avatar
Microsoft doesnt own any part of google
09:38
What drugs u using
09:38
i mean no
09:38
justatest
Avatar
Avatar
Cellegen
oh yeah my bad, even tho microsoft sort of own google, it's not the same company
since when lmao
09:38
They never owned even 1% of it
09:40
Google is "owned" by Alphabet tho
Avatar
wtf they are rivals (microsoft and google) (edited)
09:40
k dude, never hurts to learn a bit
Avatar
Alphabet is google ye
Avatar
So, Rust is most useful when it comes to multi-threading?
09:46
Anyway I'd be up to rewrite it in Rust instead of C if enough ppl are gathered but as a solo I prefer C. (TeeClones I mean)
Avatar
Not just multuthreading
09:47
For example, in rust you dont have null values
09:48
It also forces you to explicitly handle all code paths / errors
09:48
I like the last line tho
Avatar
Making ur program more resilient and correct
09:49
Pattern matching is awesome
09:49
That seems to be written with bad english xD
Avatar
ferriswag
09:52
check this
09:53
I've already read it but it won't hurt to re-read it
09:56
Seems like Rust is designed so that the compiler knows more about the program than the programmer, whereas in C the programmer is in control and responsible
Avatar
It prevents you from doing wrong stuff
09:59
You have to define what you mean by control
Avatar
Control of the machine
Avatar
you are in control of the machine in rust. you think about what happens. you can write exactly the same programs as in C. in some cases you shouldn't because rust provides better abstractions
10:04
but in the end, if you absolutely want to, you can shoot yourself in the foot as much as in C. I wouldn't recommend it though; it hurts 😛
10:04
(refer to unsafe)
Avatar
I feel like Rust's abstractions are getting in the way.
Avatar
Examples?
Avatar
I don't remember anything in particular (it's been a long since I last tried coding in Rust) but it was too hard to get an idea of what the compiler will do.
10:16
It felt like magic . Typing the magic functions-types would do the trick, but I felt I had no idea of what was happening.
Avatar
Avatar
heinrich5991
(refer to unsafe)
Barring unsafe some things are a little more annoying, but honestly the advantages far outweigh the annoyances
10:41
No self referential structs without unsafe is a pretty annoying one
Avatar
I think uncan do them with safe
10:43
But yeah it makes them hard
10:43
Maybe someday they find how to make it easier
Avatar
Avatar
Ryozuki
But yeah it makes them hard
Honestly, you can usually just design around it. It's like learning a functional programming language, you just need to change your approach to some things
10:46
this is the go to crate for self ref structs
Avatar
7317088 Update translation status - def-
Avatar
if you want it done
Avatar
Avatar
Learath2
Honestly, you can usually just design around it. It's like learning a functional programming language, you just need to change your approach to some things
Indeed
10:47
I always try to avoid self ref structs
10:47
So far i havent needed them
Avatar
In my experience if you find yourself needing them, there is a high chance your struct is too big of a monoblock
Avatar
In the end, we all can agree that probably the best programming language is Dart
Avatar
Avatar
Ravie Senpai
In the end, we all can agree that probably the best programming language is Dart
No it's Scratch
Avatar
Avatar
Learath2
No it's Scratch
justatest
Avatar
I seen scratch in scratch
Avatar
Scratch is cool
10:50
I made a house with it
Avatar
fb15a7c Running and AFK anim. states - VoxelDoesCode b3f8e37 Merge #5802 - bors[bot]
Avatar
I honestly dont enjoy highly ideological languages. The only reason Rust is bearable for me is it's very strong lifetime elision rules
10:52
its*
Avatar
ffdb340 Update frontpage video - def-
Avatar
wdym by ideological
10:53
I think its pretty sensible the tradeoffs rust takes to solve such complex problems
10:54
And i dont think rust devs add complexity for the sake of it
10:54
The RFC process is smth i like
10:54
C++ progress seems very closed and done by highly elite white bearss
10:54
Beards
Avatar
Avatar
Ryozuki
wdym by ideological
Languages that have goals beyond being ergonomic
Avatar
Rust not being stuck forever like C++ and C is pretty nice
10:56
Though it does seem extremely slow to me. The 2 years I was away none of the features I've been eyeing in experimental landed in stable
Avatar
Avatar
Learath2
Though it does seem extremely slow to me. The 2 years I was away none of the features I've been eyeing in experimental landed in stable
rust?
10:59
there are lot of new things
Avatar
Avatar
Ryozuki
rust?
Yes, still no try_blocks, no drain_filter, no async traits
Avatar
edition 2021 being one
Avatar
Avatar
Learath2
Yes, still no try_blocks, no drain_filter, no async traits
yeah
11:00
its complex
11:00
GATs may be coming soon
11:00
needed for async traits
Avatar
The extensive high quality community alternatives are appreciated but honestly 5 years for a drain_filter is a little out there 😄
Avatar
i wonder why
11:02
They must have a reason xd
Avatar
Even wg21 is less scared of standardizing something not perfect. You can just deprecate it and expose a new one with a new name later
Avatar
Avatar
Learath2
I honestly dont enjoy highly ideological languages. The only reason Rust is bearable for me is it's very strong lifetime elision rules
Let's start a project in chicken then music
Avatar
Avatar
Ryozuki
They must have a reason xd
Last I checked they were arguing about naming and some small technical details remaining like what happens if the user errors in the predicate
11:04
once_cell would be nice too, I have lazy_static in every one of my projects
Avatar
I think u can avoid lazy static now that mutex is const
11:06
If u used a mutex
Avatar
I think mostly I had mutexes or regexes
Avatar
[ddnet/ddnet-web] New branch created: pr-16.4
11:12
DDNet 16.4 is supposed to release in 1 week, assuming no bad bugs are found. Please test the Release Candidate to prevent problems being only discovered after release. Report bugs in the #bugs channel on DDNet Discord or directly on Github:
11:14
fece84c Add Voxel to contributors - def-
Avatar
Can we maybe use a CHARACTERFLAG for sitting instead of making it rely on the afk flag?
11:43
would be cool for modding.
Avatar
[quakenet] ChillerDragon BOT 2022-09-16 12:12:02Z
@Mr.Gh0s7 what stalking? xd did you follow me on github today or what?
12:12
if yes nice to see you found my svgs useful
Avatar
xD nice did you also see the ai repo?
Avatar
Avatar
[quakenet] ChillerDragon
@Mr.Gh0s7 what stalking? xd did you follow me on github today or what?
was a joke sry if it was a bad one
Avatar
[quakenet] ChillerDragon BOT 2022-09-16 12:18:29Z
nono all good i indeed did stalk you a bit this morning :D
Avatar
[quakenet] ChillerDragon BOT 2022-09-16 12:18:56Z
i didnt checkout the AI repo due to a missing ddnet/teeworlds clickbait
Avatar
I see
Avatar
[quakenet] ChillerDragon BOT 2022-09-16 12:19:06Z
12:19
gotta improve your marketing here
12:19
oh wait
Avatar
[quakenet] ChillerDragon BOT 2022-09-16 12:19:22Z
KoG as in king of gores?
12:19
yea didnt get that xd
Avatar
[quakenet] ChillerDragon BOT 2022-09-16 12:19:48Z
could also be Ko GAI
12:20
gotta add a description
12:20
saying "KoG AI"
12:20
u get 200% more clicks
Avatar
xD I don't really want ppl seeing it and then blaming me for destroying kog
Avatar
[quakenet] ChillerDragon BOT 2022-09-16 12:20:51Z
but ye looks rly cool
Avatar
it's unfished tho
12:21
I don't have a dgpu
Avatar
[quakenet] ChillerDragon BOT 2022-09-16 12:21:31Z
how did the python hook in
12:21
i dont find it
12:21
controls via fifo=
Avatar
The client gives data through fifos to a python script that trains and sends input through fifo again
Avatar
[quakenet] ChillerDragon BOT 2022-09-16 12:22:28Z
ah ye i see u added controls via fifo
Avatar
It even supports pararel clients
Avatar
[quakenet] ChillerDragon BOT 2022-09-16 12:22:40Z
how is the latency?
Avatar
it's pretty good I runned the server locally but I can't promise much cause I can't train it (no dgpu)
Avatar
[quakenet] ChillerDragon BOT 2022-09-16 12:23:32Z
latency from py to client via fifo shouldnt matter where the server is right?
12:23
i also thought about adding fifo controls once but thought it will be too sluggish
Avatar
I think it runs fine
12:24
I would guess it is almost instant
Avatar
[quakenet] ChillerDragon BOT 2022-09-16 12:25:21Z
id say there is a difference on how a chat/console feels instant and keyboard inputs for gaming :D
12:26
UwU
Avatar
[quakenet] MrGh0s7 BOT 2022-09-16 12:26:22Z
Hehehaw!
Avatar
[quakenet] ChillerDragon BOT 2022-09-16 12:26:26Z
welcome to irc but ima go afk now :p
Avatar
[quakenet] MrGh0s7 BOT 2022-09-16 12:26:44Z
xD k ping me if you want to continue the conv later
Avatar
TIL about atomic consume ordering
12:57
Only makes guarantees to operations that have a dependency on the value
12:57
If i understood correctly
12:58
So other stuff can be reordered?
12:58
I guess
Avatar
@Voxel i kinda liked the older running animation where the front part of the stride had the foot a bit further
13:01
i think it could look a bit more natural
13:03
btw good job on the prs, basically half the update is by you
Avatar
yeah good job
13:03
ddnet
Avatar
Otherwise it downloads 250mb of data you probably don't want.
Avatar
Q: What do you people use as your terminal font? I've been using dejavu sans mono for a long time now, but it's lacking some glyphs and the project looks very much abandoned
Avatar
Avatar
Ryozuki
TIL about atomic consume ordering
https://gcc.gnu.org/wiki/Atomic/GCCMM/AtomicSync I think I linked this before, but this document was what finally made it all click for me
Avatar
Oh nice
13:32
It looks well explained
13:33
Atomic semantics rly can be confusing
13:33
And i often gotta reread
Avatar
Well honestly most of the time seq cst or relaxed are what you are looking for
13:34
And spamming seq cst everywhere when you really dont want to think too much about it 😄
Avatar
Thats true for x86
13:34
Cuz strong
13:34
But on arm using consume properly instead of acquire
13:34
Can give serious perf boost
Avatar
Definitely, but usually there are lower hanging fruit for optimization
13:35
True
13:35
Weird hearing that for u
13:36
Given u latelly cares about it all
13:36
Cared
13:36
greenthing
Avatar
I prefer writing code properly from the start but I recognize that I'm a dying breed. It's all about rapid iteration and linear search now
Avatar
I mean i agree
13:37
But sometimes u gotta get smth working first
Avatar
True. Perfect is the enemy of good afterall
13:39
Anyway, terminal fonts, anyone?
Avatar
I use jetbrains mono
13:39
But i fancy pixel perfect ones
Avatar
Pixel perfect ones? As in bitmap fonts?
13:41
The ones that dont use antialiaa
13:41
Terminus?
Avatar
I used Tamzen for a bit. Bitmap fonts do have a unique look, but the jagged edges can get a bit annoying
13:42
Jetbrains mono is rly good
Avatar
Added to the list of fonts to try. So far I have Noto Sans Mono, IBM Plex Mono and Jetbrains Mono
Avatar
I rly wanna try replacing the entire gui with imgui
13:53
I think we could rly get so much usability
13:53
Maybe ill do it just as an experiment
13:55
ImDDNet client
Avatar
is there a theme that doesnt look like trash for imgui?
Avatar
I love the default look
13:57
Idk why
13:57
looks like win95 tbh (edited)
Avatar
Ye i like the dark
Avatar
Avatar
Jupstar ✪
looks like win95 tbh (edited)
What? Which fork of win95 did you use? 😄
13:58
Avatar
Avatar
Learath2
What? Which fork of win95 did you use? 😄
but srsly, do u like it too?
13:58
i think it looks really cheap
Avatar
It's not a good look for a game UI imho. But I love it for tooling UI'
Avatar
theming colors is ez
13:58
I have decided to include a few better color themes in the default packaging, perhaps as soon as next release (1.50). The reasoning is that I want to do it to reduce the like-hood of people actuall...
Avatar
well i dunno
13:59
checkboxes, dropdowns
13:59
they all look shit imo xD
Avatar
is there some real theming?
Avatar
We have a CSound::Shutdown that is just not called...
Avatar
U sure
14:01
This reminds me of a meme
14:01
About removing unused stuff and breaking everything
Avatar
I put a dbg_break() in it, it doesn't ever get called, neither on regular shutdown nor on abrupt shutdown
14:03
Its true
14:03
Its not called
14:03
Maybe it should?
14:03
It closes sdl stuff
Avatar
I'll wire it up properly along with the shutdown for the http stuff
14:05
This PR gets bigger and bigger because I can't hold myself from fixing non-uniformity in larger systems
Avatar
then no one will be able to review the PR
14:07
make the small fix separately in another PR
Avatar
Problem is mine won't work without a proper shutdown
14:07
Actually good idea. I'll make an ugly http specific shutdown call for this pr. Then I'll hook it up properly in the next pr
Avatar
Yes, so fix the shutdown first, then make your PR depend on the other one
14:08
No need to add ugly workarounds
Avatar
Shouldnt be hard to call shutdown right?
14:08
And yeah small prs better
14:08
Easier to review
Avatar
Avatar
Ryozuki
Shouldnt be hard to call shutdown right?
Order of things might matter
Avatar
717b7df Update server scripts, /status/ uses http master now - def-
Avatar
Can you run godbolt locally?
14:12
It would be cool to check the entire ddnet
14:12
And try stuff
Avatar
Avatar
Ryozuki
Can you run godbolt locally?
I actually talked about that IRL yesterday
14:14
apparently there are two vim plugins that do something like that
Avatar
Avatar
Voxel
Anyways, I'll fix the menu really quickly, because apparently the spacing got messed up. Also I'm thinking about adding a button that makes all the colors match the current rifle laser color. (edited)
bump
Avatar
Avatar
Learath2
No self referential structs without unsafe is a pretty annoying one
you can do that with a crate. but they're also fundamentally very bad-bad ^^
Avatar
It was just a few days ago that Godot 4.0 Alpha 17 was released while also announcing that W4 Games as the start-up created by Godot Engine developers has raised $8.5M USD to advance the open-source Godot ecosystem
14:28
i could swear we just talked about the alpha yesterday xd
Avatar
Godot rocks!
Avatar
they already working on it since 2019
14:29
uff
Avatar
Avatar
Ryozuki
Only makes guarantees to operations that have a dependency on the value
Avatar
Avatar
Voxel
bump
sounds good 🙂
Avatar
Avatar
heinrich5991
you can do that with a crate. but they're also fundamentally very bad-bad ^^
Hm, isn't that just a consequence of Rust wanting the ability to move everything around? I see no harm in it for a pinned struct
Avatar
Just noticed gameworld uses a linked list for entities
Avatar
yea, then it's back to "only safety" guarnatees of rust that are incompatible with it
14:35
because you wouldn't be allowed to modify the pointed-to member, this is not expressible in rust currently
Avatar
I wonder if polonius could help
Avatar
Minor cleanup in preparation for the replacement I'll push for #5092.

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...
Avatar
Avatar
Ryozuki
I wonder if polonius could help
don't think so
Avatar
!image I hadn't thought about it at all. We talked about the default laser color for shotgun, and I like it. The default laser color for the rifle shouldn't change, probably. Are the default colors for doors (turquoise) and freeze (red) a good choice? I think the red for freeze doesn't look like something that will freeze you, red is usually not used for freeze. Grey would probabl...
Avatar
f91a306 Let CKernel clean-up. Use unused CSound::Shutdown - Learath2 aace029 Merge #5840 - bors[bot]
Avatar
I'm slowly understanding why every project except ours is using boost 😄
15:49
The intrusive stuff in boost is just so good
Avatar
factorio moved away from boost ^^
Avatar
They also have great engineers that are capable of implementing whatever they'd need from boost
15:50
We do have people smart enough, we don't have time for it though 😄
Avatar
Whats boost?
Avatar
a huge c++ library
15:52
it's basically an extension of the standard library
Avatar
It's a compliment to the standard library, C++ really doesn't have the best standard library
Avatar
from time to time, features leak from boost to the C++ standard
Avatar
Avatar
heinrich5991
a huge c++ library
Heard it's pretty modular now
Avatar
I wonder how much will change if we start using it
Avatar
we'd have regex without exceptions
15:54
if that doesnt convince u xd
Avatar
boost::intrusive should really leak into the standard sooner than later, it's so useful
Avatar
Avatar
Voxel
I wonder how much will change if we start using it
all the static vectors/strings etc would e.g. be useful
15:56
often u can estimate the size u want
Avatar
that's cool
Avatar
boost::intrusive_ptr is a 10/10 idea
15:57
A ref-counted object that doesn't need an external pointer managing it
16:23
Heh thats what i suggested u the other day
16:23
BASED
16:24
(intrusive)
Avatar
[quakenet] Silur BOT 2022-09-16 16:26:22Z
I have a question about ddnet on the server side, does anyone know how to predict an "effect / cosmetic"? because on teeworlds when I want to create some kind of effects with particules (also with lasers) they look good (no lags, it's smooth), but on ddnet it's ugly (laggy and not smooth) so I guess teeworlds predicts everything but not ddnet?
Avatar
try antiping, without antiping ddnet looks laggy for me too
Avatar
[quakenet] Silur_ BOT 2022-09-16 16:32:27Z
same
Avatar
i life in cologne germany and i cant join ger 10 server to week conecton i have 30 ping (edited)
16:40
can some one tell me why
Avatar
btw also good visible when recording
Avatar
You need to disable Antiping. Antiping predicts it falsely.
Avatar
dummy jitters around af
Avatar
Avatar
fokkonaut
You need to disable Antiping. Antiping predicts it falsely.
antiping looks smooth, without it looks like crap
Avatar
I mean the cosmetic guy
Avatar
ah ok
Avatar
i dont use antiping
16:42
but i have 16.1 for old layout
Avatar
Do you try it on vanilla 0.7?
Avatar
Avatar
Ğ0®!||Æ
i life in cologne germany and i cant join ger 10 server to week conecton i have 30 ping (edited)
#questions is best for these questions
16:42
Its a developer question
16:42
oh sorry
16:42
i thought it was that other guy lol
Avatar
[quakenet] Silur_ BOT 2022-09-16 16:43:59Z
fokkonaut: the thing is that on some servers (it includes yours) I don't have to disable antiping, everything looks already smooth
Avatar
On my server most stuff is broken with antiping ON, which is to be expected
16:45
Well, talking about the effects
Avatar
[quakenet] Silur_ BOT 2022-09-16 16:46:13Z
btw also on the new copy love box server it looks great
Avatar
@Voxel would you be interested about making an icon for /saved maps (like finished ones in the serverbrowser)?
Avatar
You mean, like, at the side in the server browser?
16:49
right there
16:50
i don't see anything wrong about adding this? what do u think about it?
Avatar
bookmark in the solid style. Make a bold statement, even in small sizes. Available now in Font Awesome 6.
16:51
Maybe this symbol?
Avatar
hmm looks good
Avatar
Avatar
Ğ0®!||Æ
can some one tell me why
Try opening http://ger10.ddnet.tw in browser
Avatar
Avatar
deen
Try opening http://ger10.ddnet.tw in browser
ty
Avatar
The release of the new filter is planned for the 05/10/2022
Avatar
cant wait!
17:18
(if thats a good thing)
Avatar
Avatar
Jupstar ✪
btw also good visible when recording
1440 fps, did you forget the dot in 1.440fps ?
Avatar
in german a dot is just a seperator^^
17:23
i used to have 144hz, so this was 10 times the refresh rate
17:23
but now i'd have to use 2400fps, thats bit overkill xd
17:23
Mike Blumenkrantz has been working under contract for Valve on the open-source Zink OpenGL-on-Vulkan implementation for Mesa but that work has carried over into the Mesa Vulkan drivers too where there is common overlap
17:23
maybe i can reach 15k fps now xd
17:24
should try it out actually 😄
Avatar
Avatar
Jupstar ✪
in german a dot is just a seperator^^
i meant 1 fps + 0.440 fps based on your video 😄
17:27
in french, comma is the separator which is awful when you have excel set in french and you try to open or export CSV file...
Avatar
Supersedes #5092, I am still not very sure about this structure either, but I think it's time someone else takes a look. Remaining concerns:
  • [ ] Should errors in the http module just be fatal?
  • [ ] Is this really better than #5092's approach of turning http into a kernel interface?
  • [ ] Changes in serverbrowser and register
I think @heinrich5991 might be able to come up with better fixes for the serverbrowser and the register component.

Checklist

  • [x] Tested the change ...
Avatar
So many hours and I still don't like it 😄
Avatar
😮 such a huge pr
17:30
whats the tldr?
17:30
i mean does it improve something significantly, just wondeirng?
Avatar
Yes, it makes register requests use http2 properly, with easy requests we had threading issues when trying to share the persistent connection
Avatar
poggers
Avatar
nice
Avatar
Avatar
[quakenet] Silur
I have a question about ddnet on the server side, does anyone know how to predict an "effect / cosmetic"? because on teeworlds when I want to create some kind of effects with particules (also with lasers) they look good (no lags, it's smooth), but on ddnet it's ugly (laggy and not smooth) so I guess teeworlds predicts everything but not ddnet?
If they lag behind the player it can't be fixed without turning off player prediction, since particles (or laser, ninja particles, etc) are not predicted, but if they are unsmooth it might be an entirely different problem (hard to say without seeing it)
Avatar
The runner idea is also going to be used in the future when we get a gRPC runner for management
17:37
Honestly this entire structure with jobs and stuff feel like we are just reinventing promises. Maybe IEngineRunnable should have been a wrapper for std::promise
Avatar
does std::promise work already?
Avatar
Avatar
Learath2
Honestly this entire structure with jobs and stuff feel like we are just reinventing promises. Maybe IEngineRunnable should have been a wrapper for std::promise
maybe just make a async runtime
17:46
xd
Avatar
oh what, std::promise is C++11? ^^
Avatar
Lost my yubikey AnyaSob
18:25
@heinrich5991 could you update the curl stub for me?
Avatar
sure
18:30
(but not right now)
Avatar
Avatar
Learath2
Lost my yubikey AnyaSob
Sad, do you need a new one?
Avatar
Avatar
Learath2
Lost my yubikey AnyaSob
any account where it's your only login option? (edited)
Avatar
Avatar
heinrich5991
any account where it's your only login option? (edited)
thankfully not
Avatar
Avatar
Davide
The release of the new filter is planned for the 05/10/2022
Anything we can help with?
Avatar
Avatar
Learath2
Anything we can help with?
Nah 😅 I'm just really busy in these days
19:30
The new filter will be really innovative
Avatar
Avatar
Davide
Nah 😅 I'm just really busy in these days
Thus the offer, more hands more better
Avatar
Avatar
Learath2
Thus the offer, more hands more better
Well, are you a C dev?🤔 (edited)
Avatar
you're in the right neighbourhood 😉
Avatar
It's by far the language I know best
19:53
asking learath that
19:53
BASED
Avatar
Avatar
heinrich5991
you're in the right neighbourhood 😉
🤣
Avatar
learath is the C priest
Avatar
Avatar
Ryozuki
learath is the C priest
no
20:46
to be a C priest you have to get the nerd look
20:47
ithink we all nerds here
20:47
so no need for that (edited)
Avatar
Avatar
heinrich5991
https://www.youtube.com/watch?v=IuJuGamUtNA cool video istanbul's metro
The same channel also has a video about the tram trains I took to school and university for half of my life: https://www.youtube.com/watch?v=9sGHqsD0DRM
Avatar
Avatar
heinrich5991
https://www.youtube.com/watch?v=IuJuGamUtNA cool video istanbul's metro
Honestly after Istanbul the only transit system that impressed me was Tokyo and Paris. I'm spoiled for transit 😄
Avatar
what impressed you in Paris?
Avatar
i thought the one in korea was good when i lived there😅
21:31
but i never experienced any other transit systems ig
Avatar
@Ryozuki I wonder if that could be possible to make some scripting with Rust
21:31
like lua scripting or v8 engine
Avatar
oh you definetely can, just reimplement lua in rust 🙂
Avatar
Avatar
ReiTW
@Ryozuki I wonder if that could be possible to make some scripting with Rust
there is
21:33
rhai
21:33
Embedded scripting language and engine for Rust. A small, fast, easy-to-use scripting language and evaluation engine that integrates tightly with Rust. Builds for most common targets including no-std and WASM.
21:34
imagine ddnet having scripting features, which allows you to write custom stuff & just reload all scripts ingame
Avatar
indeed
21:36
rust is the future
21:36
BASED
Avatar
iron is the future
Avatar
very far far away future though
Avatar
i wish we had a new lang with even more modern features than rust
21:37
actually rust type theory is from the past decade (edited)
21:37
not the latest new fresh stuff
21:37
but tech always advances slowly
21:37
atleast the useful one
Avatar
i will make a new language
Avatar
nouis language
nouis 1
Avatar
In mathematics, logic, and computer science, a type theory is the formal presentation of a specific type system, and in general type theory is the academic study of type systems. Some type theories serve as alternatives to set theory as a foundation of mathematics. Two influential type theories that were proposed as foundations are Alonzo Church...
Avatar
Is this a better color for freeze lasers? (edited)
Avatar
I like it better, but I don't know if it's always on light background ^^
Avatar
ah 🙂
21:54
is that the same color
21:54
?
21:54
Just on a dark background
Avatar
funny, optic illusion
21:54
it looks lighter in the bottom image
Avatar
True LOL Alright I'll code this into the game, and submit the fixes.
Avatar
gun doesnt show for my sitting animation
Avatar
Does it? What direction are you facing?
Avatar
oh its cus spec goes into the ground
22:02
gun doesnt change anymore, it just points to where you point
Avatar
werent weapons supposed to go on th back
Avatar
That was decided against
Avatar
Oh, then the screenshot is out of date
Avatar
damn eBPF on freebsd, imagine being able to use XDP on proprietary routers like Juniper etc..
Avatar
Avatar
Voxel
Is this a better color for freeze lasers? (edited)
maybe lighter
22:07
but dont mind me
Avatar
i kinda liked this
22:08
looks like he has an anti missile array on his back
Avatar
i love the new afk animation
Avatar
Avatar
Ryozuki
maybe lighter
Got it
22:10
Is this better?
Avatar
fixes #5841 !image

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 affe...
22:32
Most notably in the settings tabs, if there's a color picker square, and you repeatedly select and deselect it, the given swatch will slowly shift more and more black. You can see the little picker drive down to the bottom right.
Avatar
Avatar
louis
i kinda liked this
okay but this would look epic if the gun was on backwards
22:34
that just looks like its misaligned and he is looking up
Avatar
github is slow again
Avatar
Avatar
GitHub
Click to see attachment 🖼️
Anyways, if I were to add a Reset All button to this, How would I properly handle this? Would I just set all the values to the default string in the cl_ commands? Or would I need to set them from converted RGBA values?
Avatar
From the default seems better
Avatar
Hey i have a weird bug by a project im doing by myself. i used others entities "unused" and i built triggers for it but i found out that the triggers only work if a wall is next to them. but i dont understand why.. I built the trigger into entities/character.cpp in the function HandleTiles() is this the right space to put it in?
Avatar
Avatar
Chairn
what impressed you in Paris?
The size of the network, almost everywhere you'd want to go to is easily reachable within 1, max 2 transfers
Avatar
Hmm. I think I need a better way to calculate RGB values. Because how I'm doing it, I just input the CL value, split the given HEX code into separate R, G, and B channels and divide those by 255 and make it only a 6 long decimal. But for some reason that's enough for the values to not go as plan when implementing it.
23:17
Avatar
It won't be exactly accurate, we have 1 byte 0-255 for hue which goes from 0-360
23:17
So hue gets compressed down
23:18
You can try doing cl_laser_rifle_inner_color $<hex color code rgb>.
23:18
Then you can cl_laser_rifle_inner_color see what the conversion code in the client can get
Avatar
idk, I might just brute-force my program to make the color RGBs actually match, since I think the code in DDNet rounds it down (edited)
Avatar
Just take the code we have in ddnet if you want it to exactly match. We have to round one direction or the other, as I said 1 byte is not enough for even every degree of hue
23:23
I think the best we can do is 1.5 degrees of hue per step
23:24
It's a limitation of having to support old teeworlds colors. I'd have stored them as rgb if I were allowed to break peoples old colors
Avatar
F*ck stuborn old people
Exported 576 message(s)