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-07-02 00:00:00Z and 2022-07-03 00:00:00Z
Avatar
I mostly touched the code in the graphic part for array of 2 floats into vec2. For color, i replaced array of 4 floats with ColorRGBA where it made sense. I had to change the logic order in src/engine/client/graphics_threaded.cpp:1113 due to operator= from vec2 to vec3. I didn't see any visual change.

Checklist

  • [x] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Writt...
Avatar
Avatar
GitHub
Click to see attachment πŸ–ΌοΈ
what will this do exactly :o
Avatar
its just code quality stuff
Avatar
[quakenet] ChillerDragon BOT 2022-07-02 06:50:56Z
ye middle mouse is used
06:51
you do not need ctrl to release a tile so in theory ctrl+leftclick should not conflict
Avatar
Jupstar βœͺ 2022-07-02 06:51:47Z
on point
06:51
8h since ur last msg
06:52
truly a perfect bot
Avatar
I think i got almost all the misstyped name. I did let some because they made sense to me. I think, only generated code remains to be formatted (and src/base and websockets, but those seems to have an exception).

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 if it works standalone, system.c especially
  • [ ] Considered possible null point...
Avatar
Jupstar βœͺ 2022-07-02 07:14:28Z
@Chairn do u ever sleep? xd
07:14
im gonna soon πŸ˜„
Avatar
Jupstar βœͺ 2022-07-02 07:14:53Z
xD
Avatar
this last pr took me last 2 nights πŸ˜„
07:15
im procrastinating too hard maybe
Avatar
Jupstar βœͺ 2022-07-02 07:15:12Z
rip
07:15
we need tools for that anyway
Avatar
i use regex πŸ˜„
Avatar
Jupstar βœͺ 2022-07-02 07:15:33Z
else contributing gets hard ^^
Avatar
to find them, and then i use replace all reference
Avatar
Jupstar βœͺ 2022-07-02 07:15:49Z
ez
Avatar
i even put the regex i used in the commit message this time
07:16
clang-tidy freaking slow on my computer
Avatar
Jupstar βœͺ 2022-07-02 07:16:58Z
u can run in with multi core, but dont do auto fixes then
07:17
it doesnt "lock" headers
07:17
so it will write to the same header simultanously πŸ˜„
Avatar
im using the same run as CI, so it doesn't fix anything
Avatar
Jupstar βœͺ 2022-07-02 07:18:13Z
yeah looks like it also runs single threaded
Avatar
yeah, but ninja parallelize it
07:18
Load average: 8
07:18
on 4 cores πŸ˜„
Avatar
Jupstar βœͺ 2022-07-02 07:18:53Z
ok maybe not
07:18
ok
07:19
so its just slow xd
07:19
i mean its defs slower than a normal build, but thats obvious
07:20
maybe you can run it only on files u changed? but no idea how xD
Avatar
how the hell did ubuntu-latest compile??
Avatar
Avatar
louis
@AssassinTee do u know when the material layer will be finished?
No, for it to go into ddnet I need to refactor some things and redo the base PR. My Prototype is closed to be finished, while sounds and some animations are still missing
Avatar
there's a fucking typo in a variable name
07:26
doesn't ubuntu-latest uses sqlite?
Avatar
Jupstar βœͺ 2022-07-02 07:26:44Z
uhm maybe not, maybe it uses mysql directly?
Avatar
Jupstar βœͺ 2022-07-02 07:40:55Z
@Chairn can u explain again why the assignment from vec2 to vec3 was required?
07:41
or what exactly required the logic to be reordered?
07:41
i see both code paths as completly independent
Avatar
the function QuadsDrawTLImpl is a template class
07:41
it is called from 2 places
07:42
one where template was an old struct of yours with an operator= overload from vec2
07:42
i removed that struct as it was just a vec3 copy
07:42
but the assignment from vec2 to vec3 didn't touch last 3rd coordinate
07:43
so to mimic the final behavior, i switched for loop and QuadsDrawTLImpl
Avatar
Jupstar βœͺ 2022-07-02 07:43:35Z
ah yeah i see
07:44
if u want a case how to trigger the bad new behavior
07:44
load some huge map into the editor with GL 3.0+ (or vk) and zoom out far
07:44
it will probs render incorrectly then
Avatar
ok, thx for the feedback, i'll try later
07:49
ok, have a nice day, i'll go sleep ^^
Avatar
Jupstar βœͺ 2022-07-02 07:52:50Z
@fokkonaut btw can u also see the FPS drops in demos? if so maybe you can record a ~1min demo and send it to me?
Avatar
Jupstar βœͺ 2022-07-02 08:02:59Z
gn8
Avatar
[quakenet] ChillerDragon BOT 2022-07-02 08:23:00Z
gn8? its 10
08:23
AM
Avatar
Jupstar βœͺ 2022-07-02 08:24:54Z
ez
Avatar
good night πŸ˜‰
Avatar
Jupstar βœͺ 2022-07-02 08:48:43Z
ChillerDragon, do you have some nice ~1min demos? random team sizes, many particles, many entities whatever. I guess your server also abuses the physics to the limit, perfectly for what i want πŸ˜„
Avatar
ed544b6 Clean up builds dir first - def-
Avatar
[quakenet] ChillerDragon BOT 2022-07-02 09:38:41Z
just join a server and record some? xd
09:38
and omagawd the internet is offline
09:38
gitlab and github are down like watafak
09:39
when git.ddnet.tw for better uptime
09:39
.org *
Avatar
Jupstar βœͺ 2022-07-02 09:42:56Z
everytime i read about unicode and text rendering stuff i wonder again and again, why was it made so insanly hard ^^ https://github.com/orling/grapheme-splitter multiple unicode points for one visual
A JavaScript library that breaks strings into their individual user-perceived characters. - GitHub - orling/grapheme-splitter: A JavaScript library that breaks strings into their individual user-pe...
09:44
ChillerDragon pls send, i dont want to join ur server
Avatar
Avatar
Jupstar βœͺ
ChillerDragon, do you have some nice ~1min demos? random team sizes, many particles, many entities whatever. I guess your server also abuses the physics to the limit, perfectly for what i want πŸ˜„
I dont think his server does
Avatar
[quakenet] ChillerDragon BOT 2022-07-02 09:46:48Z
ok i can try to get something
09:47
but only because i love u jopstar
Avatar
Jupstar βœͺ 2022-07-02 09:47:10Z
ZΝ‘Ν«ΝƒAΝ«Ν—Μ΄LΝ¨Ν§Ν©GΜ‘Ν—ΜŽOΝ‚ΜŒΜŒ!ΜΏΜ‹Ν₯" lmao. this string is 145 bytes as c++ char array
Avatar
Avatar
fokkonaut
I dont think his server does
Jupstar βœͺ 2022-07-02 09:47:32Z
then u pls send demos xd
Avatar
and only browser technology can render it
Avatar
of what
Avatar
all other software will fail πŸ˜›
Avatar
Jupstar βœͺ 2022-07-02 09:47:54Z
yeah bcs nobody understands this xDD
09:47
like wtf
Avatar
@Jupstar βœͺ just join my server
09:49
no idea what u need
Avatar
Jupstar βœͺ 2022-07-02 09:53:04Z
just gimme any demo with bad performance as u mentioned
Avatar
well, its just that the general performance seems to be going down
09:54
nothing specific i can do
Avatar
you said that performance went down. have you checked whether it also went down in demos? if so, just send a demo you used to test this to Jupstar
Avatar
Jupstar βœͺ 2022-07-02 09:55:09Z
then give me general demo xd
Avatar
[quakenet] ChillerDragon BOT 2022-07-02 09:55:34Z
like this? @Jupstar βœͺ https://zillyhuhn.com/cs/.1656755720.png
Avatar
Jupstar βœͺ 2022-07-02 09:55:41Z
yeah
09:55
nice xd
Avatar
what the fuck? i cant use open gl 3.0.0 it seems. i get massive laggs when zooming out and when i checked it was set to 1.4.0
Avatar
Jupstar βœͺ 2022-07-02 09:56:09Z
are you on an intel GPU on windows rn?
Avatar
Jupstar βœͺ 2022-07-02 09:56:27Z
well use vulkan, intel drivers shipped with windows are still broken
Avatar
i always used gl 3.0 without problems
Avatar
Jupstar βœͺ 2022-07-02 09:56:47Z
but on nvidia 1060
Avatar
ah wait
09:56
i didnt select 3.3
09:57
bcs i had set it before, idk why it resetted to 1.4.0
Avatar
Jupstar βœͺ 2022-07-02 09:57:17Z
yeah weird
Avatar
[quakenet] ChillerDragon BOT 2022-07-02 09:57:19Z
Avatar
I think we blacklist some intel drivers on windows?
Avatar
Jupstar βœͺ 2022-07-02 09:57:36Z
yeah but fokko has an nvidia 1060
Avatar
that seemed to be it
Avatar
Jupstar βœͺ 2022-07-02 09:57:40Z
he is just confused
Avatar
3.3.0 works again, lol. why did it got reset to 1.4.0?! i did not change any setting
09:58
and yesterday when i checked and reported, i verified it was on 3.3
09:58
so i thoiught there was no change on my side
Avatar
Jupstar βœͺ 2022-07-02 09:59:08Z
i dunno, 1.4 is hard to trigger, u need to have a bug during your first start with the client and it must fail to render a tilemap with the new rendering method
09:59
else it never falls back, so you probs did it manually
09:59
or u uninstalled your driver or smth xd
Avatar
neither
Avatar
Jupstar βœͺ 2022-07-02 09:59:51Z
i think it rechecks everytime you do driver updates
Avatar
i guess it will stay a mystery
Avatar
Jupstar βœͺ 2022-07-02 10:01:42Z
so that was the problem with ur performance i guess?
10:01
gl 1.x does not batch any particles or whatever
Avatar
[quakenet] ChillerDragon BOT 2022-07-02 10:02:05Z
u need more jopstar?
Avatar
Jupstar βœͺ 2022-07-02 10:02:12Z
i take everything yes
Avatar
[quakenet] ChillerDragon BOT 2022-07-02 10:02:17Z
ok
Avatar
Jupstar βœͺ 2022-07-02 10:02:27Z
but not the same if possible, other particles or different entities
Avatar
[quakenet] ChillerDragon BOT 2022-07-02 10:02:32Z
yes
Avatar
Jupstar βœͺ 2022-07-02 10:02:38Z
i am collecting some weird edge cases πŸ˜„
Avatar
[quakenet] ChillerDragon BOT 2022-07-02 10:02:40Z
i can give you some shields
10:04
Avatar
[quakenet] ChillerDragon BOT 2022-07-02 10:11:58Z
i might have a finding for u jopstar
10:12
10:12
10:12
this is smooth af in game but the demo gets very gltichy :/
Avatar
Jupstar βœͺ 2022-07-02 10:14:09Z
lol πŸ˜„
10:14
looks funny
Avatar
[quakenet] ChillerDragon BOT 2022-07-02 10:14:18Z
ikr
10:14
made by timakro the legend
10:16
imagine the possibilitys if servers could send a laser color to the client o.O
Avatar
Jupstar βœͺ 2022-07-02 10:46:33Z
would already be nice to get the owner of the laser, does entityex have a field for that?
Avatar
Jupstar βœͺ 2022-07-02 11:55:51Z
now that we have extras.png, can we also move the new shields to extras.png? i many ppl use customized game.pngs so would be worth it
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 if it works standalone, system.c especially
  • [ ] 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-addresssanitizer--u...
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 if it works standalone, system.c especially
  • [ ] 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-addresssanitizer--u...
12:37
8ee821c Remove unused #include <windows.h> in engine client - Robyt3 d0af85d Merge #5546 - bors[bot]
Avatar
So many clang warnings lately:
  • OpenSSL 3 deprecation warnings
  • thread-safety-analysis
``` [13/82] Building CXX object CMakeFiles/engine-shared.dir/Unity/unity_5_cxx.cxx.o In file included from build_tmp/CMakeFiles/engine-shared.dir/Unity/unity_5_cxx.cxx:17: src/base/hash_openssl.cpp:6:2: warning: 'SHA256_Init' is deprecated [-Wdeprecated-declarations] SHA256_Init(ctxt); ^ /usr/include/openssl/sha.h:73:1: note: 'SHA256_Init' has been explicitly marked deprecat...
Avatar
50f8653 Minor tweaks to keep ODR across translation units - Jupeyy 7250be6 Rename typedef - Jupeyy b79bb7e Merge #5547 - bors[bot]
Avatar
Avatar
Jupstar βœͺ
ask fokkonaut, he abuses all these flags xd
i abuse everything in this game to all extends
Avatar
Avatar
[quakenet] ChillerDragon
Click to see attachment πŸ–ΌοΈ
monkaS
Avatar
Avatar
fokkonaut
i abuse everything in this game to all extends
thatβ€˜s not bad. my main job is abusing databases to find bugs happy
Avatar
interesting
f3 2
Avatar
Jupstar βœͺ 2022-07-02 18:26:20Z
sounds fun indeed
Avatar
some time i ago i saw this https://www.edgedb.com/
EdgeDB is an open-source database designed as a spiritual successor to SQL and the relational paradigm.
20:07
looked interesting
20:07
built on top of psql
20:09
Avatar
Avatar
Ryozuki
Click to see attachment πŸ–ΌοΈ
That is intriguing, it'd be even cuter if it compiled to SQL98 instead of trying to invent a new db engine
Avatar
it compiles to psql
23:41
honestly
23:41
sql can do well with a rewrite
Avatar
Oh so the underlying db is psql?
23:42
the queries are turned into psql queries
Avatar
That's actually nice. I might give this a go in some small project sometime
23:43
I've always found writing SQL a little too tedious
Exported 167 message(s)