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-06-13 00:00:00Z and 2022-06-14 00:00:00Z
Avatar
The version of Windows 11 is 22000.xxx ddnet.exe downloaded from both ddnet.tw/downloads and Steam is frequently unresponsive. And also to load Assets directory in Setting would report an unknown error but can still open it.
Avatar
Make monday the first day of the week and change "0 hour" to "0 hours". Made the day letters on the side just for the first and last day to avoid adding "Th" which didn't look good. !image
Avatar
Player hours graph doesn't look too nice on mobile. Don't know if that is worth a bug just wanted to share.
👍 1
Avatar
Avatar
Jupstar ✪
i think i never had non responsive computer since i have my 8 cores 😄
You never crashed your PC with a rogue C++ app? xD
Avatar
Avatar
louis
for the slime thing yeah we'd probably need a sound for bouncing + hooking it if it got added i offered to make it in one of the github issues, but shouldnt be too complicated so either of us could do it
I made a bouncy sound, but please ask pipou xD
07:24
Can I post it here?
07:25
Avatar
Avatar
P.J.
Player hours graph doesn't look too nice on mobile. Don't know if that is worth a bug just wanted to share.
thanks, will check later
Avatar
Avatar
AssassinTee
I made a bouncy sound, but please ask pipou xD
hes in here @Pipou
07:42
but i can give feedback too
07:42
i think its a bit too high frequency for smth bouncy
07:42
maybe try to get more low end to give it the 'smush' sound effect
07:44
oh and dampen the reverb a bit
Avatar
Avatar
deen
thanks, will check later
added a fix for it in my pr
08:29
2fabe53 Make monday the first day of the week - hus3h 0d40c07 Change "0 hour" to "0 hours" - hus3h dd73287 Make the hours graph scrollable for smaller screens - hus3h d3e5c83 Merge pull request #195 from hus3h/pr-hours-graph-improvements - def-
Avatar
Avatar
AssassinTee
You never crashed your PC with a rogue C++ app? xD
I think i only had GPU driver crashes yet
Avatar
I tried to compile ddnet and I got an error that it cannot find avcodec-59.dll, swscale-6.dll, avformat-59.dll
Avatar
how did you get the source code?
09:31
have you downloaded the ddnet-libs submodule?
Avatar
how do you compile ddnet?
Avatar
With this commands: mkdir build cd build cmake ..
Avatar
can you post the exact error message?
Avatar
Avatar
Jupstar ✪
I think i only had GPU driver crashes yet
it's very simple: make a thread start a synchronous and asynchronous version of itself (and forget the end condition 😢 )
Avatar
Avatar
heinrich5991
can you post the exact error message?
Avatar
so you have successfully compiled it, just running doesn't work?
Avatar
Avatar
heinrich5991
so you have successfully compiled it, just running doesn't work?
I launched it 1 time and the hereditary day does not start
Avatar
you could try copying over these libraries from ddnet-libs/ffmpeg/windows/lib64/
Avatar
when you include the wrong protocol.h and nothing compiles anymore xD
Avatar
I always find development bugs funny, so here is one for you: I used the wrong image and now my skid marks are emojis
Avatar
Avatar
heinrich5991
you could try copying over these libraries from ddnet-libs/ffmpeg/windows/lib64/
@и чо ^
Avatar
Avatar
и чо
Click to see attachment 🖼️
why does it look so photoshoped? xD
12:31
tbh it looks like tippex on the monitor
Avatar
@nouaa probably an app that recognizes text and makes it more readable
Avatar
was thinking 'bout that, but the font also seems weird xd
12:34
u're probably right
Avatar
Avatar
Patiga
@nouaa probably an app that recognizes text and makes it more readable
Hm, I was thinking it looked a lot like google translate
12:43
54b95b6 Fix skinpack download link - Jupeyy 5c03ae8 Merge pull request #194 from Jupeyy/pr_fix_skinpack_download_link - def-
Avatar
Avatar
nouaa
why does it look so photoshoped? xD
no it is translate
Avatar
Avatar
Learath2
Hm, I was thinking it looked a lot like google translate
@Learath2 huh didn't notice that the text might be odd, might be it I guess :)
Avatar
2710fe8 Add community skin option to client - Jupeyy 5f6e532 Merge #5397 - bors[bot]
Avatar
Avatar
и чо
no it is translate
oh ^^
Avatar
Avatar
Learath2
@deen https://ddnet.tw/maps/?json=Stronghold the json thing seems broken, haven't investigated though
thanks, fixed
Avatar
ffff443 Remove ui_scale: - Robyt3 5a7fa10 Merge #5393 - bors[bot]
Avatar
Avatar
cauldron
haha i could fix it with a linux tool called dos2unix. i think i even found some windows line endings in some files xd
do you want that I run fix style for you?
Avatar
Implement Ice based on #5313 Ice skids: !screenshot_2022-06-13_16-01-26 !screenshot_2022-06-13_16-01-29 Should be visually equal to my video: https://www.youtube.com/watch?v=WixRWjyqm1o

Checklist

  • [x] Tested the change ingame
  • [x] Provided screenshots if it is a...
Avatar
@c0d3d3v Is it possible to give me a branch on ddnet? My Latest PR is based on another one and the code looks inflated. This could make reviewing easier
Avatar
It doesn't hurt since tunings after the last one are simply ignored. This also stops future coders from introducing more and more cases in this if chain.

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 ...
Avatar
Avatar
AssassinTee
@c0d3d3v Is it possible to give me a branch on ddnet? My Latest PR is based on another one and the code looks inflated. This could make reviewing easier
you can just make a branch on your fork. git checkout -b your_branch_name
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--undef...
Avatar
where can I find the skin db code?
Avatar
thanks
Avatar
lets just allow indexed rgb
15:08
nobody cares about old clients
Avatar
I kinda do
Avatar
nobody - you
15:09
or +
15:09
indexed rgbs are smaller, so why prevent useful stuff
Avatar
I wanted to explore that
15:10
how much smaller are indexed rgbs, does it justify the skin db no longer working for older clients
Avatar
it still works
15:10
just not the indexed RGB skins
Avatar
does it justify the skin db no longer working for the indexed rgb skins for old clients
Avatar
How I can add custom sprite for my client?
Avatar
https://github.com/ddnet/ddnet/pull/5404 @heinrich5991 this would leed to overflow in old clients. Do you want this? Do we want to drop support for old clients? becuase of https://github.com/ddnet/ddnet/blob/master/src/game/client/gameclient.cpp#L700
It doesn't hurt since tunings after the last one are simply ignored. This also stops future coders from introducing more and more cases in this if chain. Checklist Tested the change ingame P...
DDraceNetwork, a cooperative racing mod of Teeworlds - ddnet/gameclient.cpp at master · ddnet/ddnet
Avatar
left non indexed right indexed
15:16
on Ablush NeoN.png
Avatar
thanks, you were way faster than me on that one 🙂
Avatar
if u want to reproduce: changed type in gimp ran zopfli on both
Avatar
Avatar
c0d3d3v
https://github.com/ddnet/ddnet/pull/5404 @heinrich5991 this would leed to overflow in old clients. Do you want this? Do we want to drop support for old clients? becuase of https://github.com/ddnet/ddnet/blob/master/src/game/client/gameclient.cpp#L700
as far as I can tell, this doesn't lead to any overflow, clients only read as many tune params as they know: https://github.com/ddnet/ddnet/blob/5a7fa108a6ab735f6c7a9fe061245297ca6367c4/src/game/client/gameclient.cpp#L692-L701
DDraceNetwork, a cooperative racing mod of Teeworlds - ddnet/gameclient.cpp at 5a7fa108a6ab735f6c7a9fe061245297ca6367c4 · ddnet/ddnet
Avatar
Avatar
c0d3d3v
you can just make a branch on your fork. git checkout -b your_branch_name
This is not what I meant, I just wanted reviews for you easier (edited)
Avatar
if you still see an overflow, please point me to it
Avatar
Avatar
AssassinTee
This is not what I meant, I just wanted reviews for you easier (edited)
I think it's fine to just base your PRs on top of others. we can look at just the new commits
Avatar
Avatar
heinrich5991
if you still see an overflow, please point me to it
mh I see
Avatar
It might get messy at some point when I modify the base PR more and start merging it back in
Avatar
try rebasing instead ^^
Avatar
All of this is a bit of trial and error unfortunatly
15:19
hmm okay
Avatar
(instead of merging back)
👍 1
Avatar
that's the first time I see why rebasing is useful
15:21
now it clicked on me why it's named rebasing (edited)
Avatar
also, not a large issue, but for future pull requests, you could consider squashing commits like https://github.com/ddnet/ddnet/pull/5313/commits/0c5f98a41e10e7863c5336173fd803bcfe4460dc
Avatar
Avatar
AssassinTee
This is not what I meant, I just wanted reviews for you easier (edited)
ah sorry 😄 I forgot that you are AssassinTee ... Now I understand
Avatar
not much information is added by having that as a separate commit. if we only have commits that correspond to semantic changes, it eases git-blaming
Avatar
Avatar
c0d3d3v
ah sorry 😄 I forgot that you are AssassinTee ... Now I understand
can you rename me here? I would do it myself but the server doesn't allow it <.<
Avatar
@AssassinTee since the last two commits became superfluous, you could practice rebasing by doing a git rebase -i upstream/master keeping the first commit, squashing the second one into the first one and deleting the other two of this pull request: https://github.com/ddnet/ddnet/pull/5398
Avatar
Makes it easier to only change a single value when changing skin properties
15:28
8a31a4d Remove ddnet.tw stats - def-
Avatar
@Jupstar ✪ I guess the question boils down to: do we want to support old clients for the skin db
15:30
if we want to do that, we need to ensure compatibility
Avatar
then i vote no xd
15:31
idc about outdated software
Avatar
Avatar
heinrich5991
@AssassinTee since the last two commits became superfluous, you could practice rebasing by doing a git rebase -i upstream/master keeping the first commit, squashing the second one into the first one and deleting the other two of this pull request: https://github.com/ddnet/ddnet/pull/5398
What does deleting do?
Avatar
if we don't, sooner or later indexed rgb skins will get added, or people might get the idea that indexed rgba skins are smaller and can thus be replaced
Avatar
sounds like a good step to me 😄
Avatar
Avatar
AssassinTee
What does deleting do?
I think the delete command is called "drop" in git rebase -i
15:32
it just removes the commit and its changes
Avatar
next drop vanilla support and add map images as PNG instead of zlib
15:32
ok its more about old clients actually
15:32
since 0.7 have own map files
Avatar
Avatar
Jupstar ✪
sounds like a good step to me 😄
with that in mind, I can see why my comments are seen as unnecssary burden ^^
Avatar
cant we add a warning in next release to update the client and trigger it in exactly 1 year
15:33
then we have some spearroom
Avatar
I wouldn't intentionally make old software not work, but I guess one could say that adding a warning doesn't make the software not work
Avatar
is this a good way to get mod type in the hud or whats the best source?
Avatar
mhh depends
Avatar
bcs i didnt see it how to get the ggametype out of this at the first glance
Avatar
are entities always related to the hud
15:36
could probs argue yes, but maybe also no
15:36
dunno
15:36
ask fokkonaut, he abuses all these flags xd
Avatar
if you have another idea pls tell me
15:37
ok, yeah sounds like abuse or hacky way
Avatar
i am also not the right person to ask network questions xd
Avatar
cause entities rely on gametype so why not go to the "root source"
15:37
ok
Avatar
and deleting the other two of this pull request
15:37
this was requested by codedev 😮
Avatar
yes, I think he was mistaken
Avatar
Avatar
c0d3d3v
mh I see
see here
15:38
@cauldron you can add another flag if you want
15:38
alternatively, why not hide that part of the score board if it's empty? @cauldron
Avatar
@Learath2 if it makes u happy, the skin database runs better on firefox than chrome, firefox seems to struggle less creating the 600 skins table
Avatar
can anyone here write something for the discord bot? just to autoadd reactions in the new skin submission channel
Avatar
I have no experience with the discord bot, I don't know anyone who does
15:41
maybe Learath2
Avatar
yeah i asked learath as well
Avatar
Avatar
cauldron
i don't get it, it asks which entities are there and then decides it's the corresponding gametype?
I already linked you to the gameinfo in your PR... just add a flag there
Avatar
Avatar
Jupstar ✪
@Learath2 if it makes u happy, the skin database runs better on firefox than chrome, firefox seems to struggle less creating the 600 skins table
Can we maybe just render the ones on screen? 600 is a lot
15:43
or paginate it
Avatar
yeah could do lots of stuff xd lets see if the performance hit comes from the tee.js
Avatar
@heinrich5991 dev just added a commit 2 minutes ago and now I overwrote history 🙈 is he here?
Avatar
Avatar
Jupstar ✪
@Learath2 if it makes u happy, the skin database runs better on firefox than chrome, firefox seems to struggle less creating the 600 skins table
Firefox supremacy
Avatar
Avatar
AssassinTee
@heinrich5991 dev just added a commit 2 minutes ago and now I overwrote history 🙈 is he here?
If you mean def-, that's me
Avatar
Avatar
louis
can anyone here write something for the discord bot? just to autoadd reactions in the new skin submission channel
mh I really don't feel like it, what does it need to do?
Avatar
Avatar
deen
If you mean def-, that's me
then I mean you, I didn't know your github name 😄
Avatar
Avatar
Learath2
mh I really don't feel like it, what does it need to do?
can you see #📬submit-skins
Avatar
it needs to add 2 reactions to any messages in there with a skin file and the correct name
15:46
i think you should be able to copy/paste a lot from map_submissions.py
Avatar
Avatar
deen
or paginate it
do we have plugins for that on the website alraedy? there is a javascript library: datatables, but it requires jquery, dunno if that bloats stuff too much
Avatar
@Jupstar ✪ hm, it's too fast for me to detect any slowdown, how did you figure chrome fared worse than firefox?
Avatar
no plugins
15:49
maybe jquery supports it, we use some jquery stuff
15:49
for me it doesn'T even load all skins
Avatar
Avatar
cauldron
off
DDraceNetwork, a cooperative racing mod of Teeworlds - ddnet/gameclient.cpp at ae1876d1414cb013554db3ed839425a9647a4fc2 · ddnet/ddnet
Avatar
Avatar
louis
can you see #📬submit-skins
i don't see it
Avatar
every time I refresh a different subset of skins is shown
Avatar
Hm, if I clear the cache while reloading I do get some missing too
15:52
but if I refresh again since the skin images are cached it renders all just fine
15:52
I haven't taken a look at the code btw, so dunno why the GET request for the image ending late causes this
Avatar
It didn't have a clear role, it just acted as a distinguisher between two functions with the same name. Rename tw::time_get to time_get_nanoseconds and delete the old time_get_nanoseconds. Move CCmdlineFix and the typed net_socket_read_wait function to the global namespace.

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 ...
Avatar
ah yeah the tee.js thing is weird it should trigger only when the image is actually shown
Avatar
Doing so adds some complexity with #5385, as skins with indexed RGBA might get added to the skin DB accidentally or on purpose for size reduction. Possible solutions: 1. Move to a new skin DB URL to allow indexed RGBA skins, retaining the older one for compatibility. 2. Disallow using indexed RGBA skins so everyone sees the same skins, new and old clients. 3. Display a warning when an indexed RGBA file is loaded. 2 and 3 might come with a feature flag from info.json so that we can add...
Avatar
Avatar
Jupstar ✪
ah yeah the tee.js thing is weird it should trigger only when the image is actually shown
The intersection observer api could probably be used there, or maybe lazy loading combined with the onload event? I might take a look in a couple hours
Avatar
@AssassinTee now you combined the two later commits into the first one, instead of dropping them. do you want me to fix it or do you want to try yourself?
Avatar
Avatar
Learath2
The intersection observer api could probably be used there, or maybe lazy loading combined with the onload event? I might take a look in a couple hours
ah good to know, i dunno all dom events
16:07
else i gonna just create a image map
16:07
might be faster anyway
Avatar
please fix it, I also clashed with @deen there
Avatar
and doesnt create this weird flashing
Avatar
@AssassinTee done. it seems your git identity isn't connected to github btw
16:12
you might want to add your git email address to your profile
Avatar
My account is really really old, this might be the reason why. I fixed it. And thank you ofc ❤️ (edited)
Avatar
Github also provides a noreply forwarding email if you'd rather not have your email public
Avatar
I connected my spam email address, which is 13 years old and already got hacked twice
Avatar
Actually calling it "noreply" is very wrong. It's just a forwarding email :D
Avatar
now that I modified the PR, can someone else merge it? https://github.com/ddnet/ddnet/pull/5398
16:18
ah, maybe hold off of it for a moment, there might be identity issues ^^
Avatar
Uff, new physics, I don't feel comfortable merging it without reviewing it myself anyway
Avatar
hehe
16:21
@Learath2 identity issues solved
❤️ 1
Avatar
I'm busy for atleast an hour. I've been putting off studying since the morning, I'll feel bad if I don't atleast study some italian
Avatar
ti amo @Learath2 (and that's all the Italian I learned)
Avatar
I can say "ciao"
Avatar
Buonissimo
16:24
I'm learning the wonderful world of italian prepositions and how they lack all rhyme and reason
16:25
You just memorize what preposition is supposed to be used with what noun
Avatar
sounds like most languages 😛
16:26
to be operated on something
16:26
to think of
Avatar
How do I dilate images again?
Avatar
Avatar
Jupstar ✪
drag it into dilate tool
hm
Avatar
drag the file into dilate.exe
16:34
(same directory as ddnet.exe is in)
👍 1
Avatar
(yeah had to build it first)
Avatar
@heinrich5991 did you test the bouncyness ingame or do you just trust me?
Avatar
I trust you
16:39
the changes looked sane and I think I've experimented with the already built-in bounciness before
Avatar
you can break it with values > 1.0 and < -1.0, that's why I am asking (edited)
Avatar
hmmm ^^
16:40
break with >1.0 because you get faster and faster?
16:40
what happens with <-1.0?
Avatar
yes, make a 1 tile gab with bouncy walls and see how your acceleration clips you through walls with elasticity_x > 1.0 (edited)
Avatar
[quakenet] ChillerDragon BOT 2022-06-13 16:41:05Z
btw i squashes @heinrich
Avatar
Avatar
heinrich5991
what happens with <-1.0?
with exactly -1.0 walls get sticky, it's actually a funny effect, because walls try to pull you into them. If you make this value higher, you get more and more accelerated into the wall clipping through it in the process
Avatar
hmmm
16:42
ChillerDragon ?
Avatar
[quakenet] ChillerDragon BOT 2022-06-13 16:42:59Z
da
Avatar
wdym?
Avatar
[quakenet] ChillerDragon BOT 2022-06-13 16:43:19Z
u asked me to squash the nullptr pr
16:43
i just did
Avatar
ah
Avatar
[quakenet] ChillerDragon BOT 2022-06-13 16:45:36Z
road to -Weverything :D
Avatar
-Weverything isn't useful
16:45
except maybe learning more warnings to enable
Avatar
[quakenet] ChillerDragon BOT 2022-06-13 16:46:05Z
yea iv seen u write tha
16:46
but i think it would be cool to pass Weverything
Avatar
some warnings aren't applicable to our code
Avatar
if you like a -Wall of text, sure :p
Avatar
fixing them for the sake of passing -Weverything doesn't sound beneficial
Avatar
[quakenet] ChillerDragon BOT 2022-06-13 16:47:02Z
hrmpf
Avatar
-Wall actually means "activate a conservative, always useful set of warnings"
16:47
-Wextra means "activate a usually useful set of warnings" ^^
Avatar
that's -Wonderful :p
Avatar
[quakenet] ChillerDragon BOT 2022-06-13 16:48:02Z
lul
Avatar
e.g. -Wpadded "Warn if padding is included in a structure"
Avatar
[quakenet] ChillerDragon BOT 2022-06-13 16:48:18Z
and wats Weverything? activate as much as u can no matter the usefulness
Avatar
doesn't sound useful to forbid entirely
16:48
-Weverything is "enable literally all warnings, even those that aren't actually useful for anyone"
Avatar
[quakenet] ChillerDragon BOT 2022-06-13 16:49:09Z
well ill try to fix the nullptr thing and then if im still motivate ill check if others are cool or not
Avatar
@AssassinTee should I stop the merge or should it be fixed in a followup PR?
Avatar
how can we fix that, aren't all tuning values broken at some point? Do we have limits somewhere or do I need to clamp that every time I use it?
Avatar
could theoretically clamp it in MoveBox I guess
Avatar
I once made a PR to put sane limits on all tuning values, but it wasn’t accepted iirc
Avatar
stop the merge, I'll clamp them
Avatar
done
Avatar
how can I pull your changes of this branch?
Avatar
do you have your own branch currently checked out?
Avatar
yes
Avatar
git fetch origin
16:56
and no local changes?
16:56
git reset --hard origin/features/elasticity-tuning
Avatar
$ git reset --hard origin/feature/elasticity-tuning fatal: ambiguous argument 'origin/feature/elasticity-tuning': unknown revision or path not in the working tree.
Avatar
can you show me the output of git remote -v (or tell me how you call your github.com/AssassinTee/ddnet remote)?
Avatar
ah, this remote is named upstream (to add to my own confusion). I just fetched the branch with git fetch origin pull/5398/head:BRANCHNAME and see, that the commit hashes are identical now
Avatar
great 🙂
17:04
(upstream is usually the thing not controlled by you btw ^^)
17:04
it's "further up the stream"
Avatar
I know, but swapping them was too much effort 😢
Avatar
git remote rename origin temp; git remote rename upstream origin; git remote rename temp upstream
👍 1
Avatar
Avatar
[quakenet] ChillerDragon
well ill try to fix the nullptr thing and then if im still motivate ill check if others are cool or not
i was going to do it if you don't want to use regex to fasten it
Avatar
@heinrich5991 when I pull the PR I get hash 2435c72, which is right according to https://github.com/ddnet/ddnet/pull/5398/commits, however if I take a look at collision.cpp the changes are gone (edited)
Avatar
what's the output of git rev-parse HEAD?
Avatar
Okay I searched for elasticity and was in MovePoint and not in MoveBox 🤦‍♂️
Avatar
great 🙂
Avatar
3667061 Use nullptr in generated and editor - ChillerDragon 5729cfe Merge #5399 - bors[bot]
Avatar
is this a bug? xD
17:24
185.11.142.197:8314 if someone want to try
17:24
wrong channel btw, sorry
Avatar
@heinrich5991 done 😅
Avatar
@nouaa good old sp someone trick
Avatar
Today I learned that my IDE has a "Resolve Simple Conflicts" button when rebasing. Best feature ever.
Avatar
is the hours played based on actual hours or just finishes?
Avatar
hours played in any teeworlds server
18:03
u get that with teehistorian or a new thing?
18:03
missed a lot of stuff poggers
Avatar
apparently from master stats
Avatar
so its accurate down to 5 seconds of error
Avatar
i wonder what would be the math way to calculate the min and max possible hours
18:06
given that
18:06
xD
Avatar
min (rather infimum) = 0 secs
18:06
max (rather supremum) = all the time
Avatar
is it possible to miss all the checks if u are all the time on?
18:07
isnt that paradoxical
18:07
xd
Avatar
yes, you only leave for a very short time frame around the report
18:08
and you can also do the reverse
18:08
only join for an arbitrarily short time frame around the report
Avatar
When cut doesn't cut it. Contribute to riquito/tuc development by creating an account on GitHub.
18:16
soon we will have all the tools in rust and modernized
18:16
we just need new distros to ship them by default
18:16
BASED
18:44
github added a badge for prs
Avatar
oof
18:47
too much gamification
Avatar
@Learath2 can you explain me wtf is happening here? i can select it for 1 frame, then it disappears its not even electron xD
18:59
after reload it works again xd
19:00
is this bcs webkit sucks? ^^
Avatar
Avatar
nouaa
is this a bug? xD
nah
19:02
weird solo
19:02
nothing more
Avatar
Avatar
Jupstar ✪
is this bcs webkit sucks? ^^
It's because discord in general sucks
Avatar
Avatar
Jupstar ✪
is this bcs webkit sucks? ^^
it's because web is an absolute mess, no rhyme or reason to it, it's just a mishmash of badly interacting features
19:04
Wait until we get CSS4 with it's Selectors Level 4 spec
Avatar
@Learath2 what do u think about react or nextjs?
19:05
besides bloat
Avatar
Which part of it? I don't like it's very rigid way of doing things
Avatar
like hooks?
Avatar
I do like the idea of a virtual dom to avoid the inefficiency of the web
Avatar
why is a virtual dom more efficient than a real dom?
19:08
naively, it sounds like doubled work
Avatar
well its javascript vs javascript
19:10
not javascript vs other stuff
19:11
react hooks forces you do only rerender stuff if the state actually changes
19:11
that's why its often considered more elegant
19:11
but i dont have benchmarks to back me up 😄
19:13
but i assume since react with typescript and JSX has a compiler and no textual DOM changes, it might also optimize stuff better
Avatar
What is the configuration of a fng server? Is there a forum where everything is marked?
Avatar
u dont do stuff like innerHTML += "<iamhtmlstringxd />"
Avatar
Avatar
badoumed
What is the configuration of a fng server? Is there a forum where everything is marked?
own server?
19:14
i explained most stuff in the config in my fng version https://github.com/Jupeyy/teeworlds-fng2-mod/blob/fng_06/fng.cfg
Avatar
Thanks u pro
Avatar
Avatar
Jupstar ✪
own server?
KeoS told me about a command that allows the fng server to be more fluid, you see what he is talking about
Avatar
sv_high_bandwidth 1
Avatar
wtf i wrote "off" once, then i put my phone in pocket. now i see lots of offs
Avatar
Avatar
heinrich5991
alternatively, why not hide that part of the score board if it's empty? @cauldron
i just used the first approach that came into my mind. but i dont know how to do this. as i understand the hud its just things rendered on top of eachother. i have no adhoc idea how to know in the renderspechud() function if the "goalshud" is empty.
Avatar
@cauldron check the RenderGoals function. it only renders something if specific conditions are met
Avatar
if i just hide the goalshud the spechud doesnt resize. ill have to put those conditions there too to resize. checking gamemod is less thinking. but i dont know whats better (edited)
Avatar
Closes #5365.

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-addres...
Avatar
@Jupstar ✪ for the skin license stuff
20:23
do you want us to encourage people to add a license?
Avatar
was patigas idea, i think licenses are useless stuff
Avatar
okay i will give the option to include it i guess
20:28
849c569 Load current skin values on change - Jupeyy a3672df Improve skin rendering - Jupeyy e843c55 Count UHD skins for zipped downloads - Jupeyy 4a86606 Merge pull request #197 from Jupeyy/pr_skin_improvement - def-
Avatar
this
20:28
lol
20:28
was searching discord, focuses this chat bar
Avatar
i think adding skin is broken in db
Avatar
useless webkit
20:29
thats all that shows
Avatar
mhh
20:29
i only tested it on php 8
20:29
hope that isnt a problem
20:30
i think the whole website is broken rn
20:30
ah nvm i have outdated site again
20:30
thanks cloudflare
20:31
btw @louis someone suggested to sort by release date default, do you agree?
20:31
or keep alphabet
Avatar
just keep alphabet imo, cause you can always click on release date to see newest
Avatar
ok
20:33
@deen are the permissions correct? as said in the pr it now uses php for everything instead of .sh scripts
20:33
or can u enable php error output?
20:34
this is how it should look like
Avatar
try again
Avatar
@louis ^
Avatar
could it be that i'm entering my skin db password incorrectly?
20:37
i still get nothing
Avatar
nah
20:38
if u see the site u entered it correct
20:38
hopefully its not some php8 thing
Avatar
Avatar
louis
i still get nothing
how do u add it btw?
Avatar
Lets the logger have its own loglevel, which is set by the server and client initially after loading the config and when the loglevel config variable changes. The default logger loglevel is LEVEL_INFO, so this fixes the log output not working when the config is not initialized (in tools). Closes #5349. Supersedes #5350.

Checklist

  • [X] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration ...
20:39
like that
Avatar
ok looks correct
20:42
well i cannot help here sry, can just tell localhost works fine, no idea whats wrong :/
Avatar
@louis what is the issue?
Avatar
Avatar
louis
Click to see attachment 🖼️
after i click add skin it goes to this page
20:46
with no script output
Avatar
ac543de Remove cl_nameplates_ha and cl_nameplates_ha_size - Robyt3 7f5ca20 Merge #5409 - bors[bot]
Avatar
Uncaught Error: Call to undefined function str_ends_with() in /var/www/skins/edit/modify_skin.php:136 321892 Stack trace: 321893 #0 /var/www/skins/edit/modify_skin.php(359): DoSkinAction() could this be it?
20:51
Yep, we have php7.4 that function is php8
20:51
@deen could we feasibly upgrade to php8 or should I replace the str_ends_with?
20:54
@louis try again pls
Avatar
still doesn't output anything
Avatar
Ah thanks for debugging
Avatar
Another php8 function 😄 let me shim that too
20:58
str_contains
Avatar
I just had the php manual open didn't think about versioning
Avatar
@louis can you give it one more go pls
21:01
I'd want to bump up to php8 but not sure if the forum will explode
21:02
no output now
Avatar
@louis soz, missed a ')' should work now
Avatar
still no script output
21:02
maybe another php8 function hiding kek
Avatar
Why are str functions even php8 xd
Avatar
@louis once more pls, also lmk if you get bored
Avatar
Avatar
Jupstar ✪
Why are str functions even php8 xd
php is an old ass language that used to believe "if there is a way to do it, there is no need to add a nicer name for it"
Avatar
ok it works
Avatar
Avatar
Learath2
php is an old ass language that used to believe "if there is a way to do it, there is no need to add a nicer name for it"
Xd
Avatar
str_contains is basically just strpos, str_ends_with is basically substr_compare
Avatar
at least i think it does
Avatar
U might have to use Ctrl shift r
21:08
On the site
Avatar
@Jupstar ✪ uhhh when i add a UHD skin
21:08
does it need to have a different name
Avatar
No same
Avatar
We should probably use something like composer and get symfony/polyfills if we have to stick to php7.4
21:09
cauase the script said
21:09
21:09
removing old skin with same name
21:09
so i thought it replaced it
21:09
but i guess it didn't
Avatar
@Learath2 i think php8.1 depends on libc6 2.33 but debian bullseye only has 2.31
Avatar
Avatar
louis
so i thought it replaced it
It replaced the uhd false state to true
Avatar
skin renderer dieded
Avatar
Warnings generally can be ignored in the script. They are just to highlight what's important
Avatar
yep, skin renderer did dieded
Avatar
Avatar
murpi
skin renderer dieded
Probably cloud flare
21:12
For some reason it aggressively caches tee.js
Avatar
fine now
Avatar
status is death too
21:13
I didn't touch that
Avatar
Nor do I really know how status even works
Avatar
seems status fixed itself
Avatar
92699de Add log_set_loglevel instead of depending on engine config - Robyt3 1f4aa60 Merge #5410 - bors[bot]
Avatar
I fixed status
22:12
forgot the adapt the ip in status clients on servers
22:30
cedb3a9 Only re-send tunings for old versions - heinrich5991 bc1d293 Always send all tunings - heinrich5991 28ce480 Merge #5404 - bors[bot]
22:32
0.7 does
Avatar
135577b mastersrv: Small convenience function - heinrich5991 bbc447a Merge #5405 - bors[bot]
Avatar
@Jupstar ✪ I think the nanoseconds change causes these issues on spectre vulnerable cpus when client mispredicts with <10 prediction margin https://cdn.discordapp.com/attachments/295908390956433410/985973341888331836/2022-06-13_20-20-33.mp4 https://discord.com/channels/252358080522747904/295908390956433410/985973342869782538 (edited)
Avatar
I didn't expect spectre-related bugs in DDNet 😄
Exported 449 message(s)