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 2021-12-28 00:00:00Z and 2021-12-29 00:00:00Z
Avatar
Avatar
Iza
why is there no margin anymore right to the ping display?
let me check
Avatar
as reported by Izanagi Old: New:

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 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.co...
Avatar
happens in our default motd for example ![Uploading Screenshot 2021-12-28 at 01.14.16.png…]()
Avatar
bc184b7 Add margin for ping in server browser - def- aff34fc Merge #4540 - bors[bot]
Avatar
@Learath2 do you want to take a look at https://github.com/ddnet/ddnet/pull/4529 or should I merge it by eye-balling the changes? πŸ™‚
The old version would just open the file opener immediately which was quite confusing for new users. Also removed sqlite3 for mac and mysql entirely since they are not needed. Checklist Tested th...
Avatar
Avatar
Chairn
and i think there's some mistake (step is set depending on png format, but not pitch)
Yep that looks like a mistake to me, the loop at L234
Avatar
Avatar
heinrich5991
@Learath2 do you want to take a look at https://github.com/ddnet/ddnet/pull/4529 or should I merge it by eye-balling the changes? πŸ™‚
Took a look, but didn't test
Avatar
Avatar
Chairn
It looks like it's used to determine what base color is used when using custom color, but the code is quite obscure to me
It seems to turn the entire skin greyscale and re-weight it around rgb(192,192,192), Only thing I'm not certain of is how we end up coloring it
06:42
Whether use custom color is set or not the renderer is seemingly set to the given custom color
Avatar
Does anyone even know when the renderer uses the given colors or uses the texture colors?
Avatar
chiller u know how gravity works?
10:33
xd
Avatar
chillerdragon BOT 2021-12-28 10:33:20Z
no -.-
Avatar
u need to increase the velocity downwards
10:34
by x amount
10:34
every time
Avatar
chillerdragon BOT 2021-12-28 10:34:09Z
ok that much i know :D
Avatar
every second*
10:34
but ur not doing it?
10:34
ur velocity going down is constant
10:34
nobo
Avatar
chillerdragon BOT 2021-12-28 10:34:25Z
my code had buggo it was normalizing it to zero at the same time :D
10:34
i think i fixed it now but not sure if its fun gravity
Avatar
Avatar
chillerdragon
Cellegen | HU 2021-12-28 10:58:53Z
horizontal velocity should increase by a certain amount, when holding down any key which triggers the movement, making it slippery, but satisfying. When the key's released, thus no movement, what Teeworlds has: devide it's velocity by the amount you prefer. (from 0 -> no stopping to 1 -> instant stop. anything inbetween is gonna make the stooping motion fast or slow.)
11:05
Vertical velocity aka gravity should be like this: -if you are not on floor (no floor detection) -and nothing is interupting it, f.e Teeworlds dj: --add velocity to it every frame. the first one makes it, so that you cannot increase the force, while you are on floor, so you won't fall down extremely fast, when leaving platform. the second one is for priority. If you want to jump, but don't want your down velocity to affect your jump speed, you just deactivate gravity, until you hit (velocity <= 0.0), then you reactivate it. About jumping, I don't have a global solution for it right now.
11:06
Pro is, you can make almost every variable global, which will have better control over your preferences
11:06
Con is, idk how effective this solution is on C++ or Python
Avatar
chillerdragon BOT 2021-12-28 11:13:37Z
i just set negative y vel on jump not deactivating any gravity
11:13
not sure if i want dj
Avatar
a09487f Downgrade SDL2 2.0.18 -> 2.0.16 on Windows - def-
11:35

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...
11:35
d54ab71 Version 15.8 - def- e6e71b0 Actually remove gfx_asyncrender_old - def- 4a100e2 Don't overwrite player-set refresh rate - def- 87031f6 Update translation files - def- 77e73f6 Update German translation - def- e8d6a6a Add a hint for "Run on join" - def- 96a5b27 Update Chinese translations (by cheeser0613) - def- 613a68a Fix crash in GetSaves (fixes #4500) - def- d469cae Fix run_on_join being run on normal player again (fixes #4494) - def- f40722d Respect sv_chat_initial_delay (fixes #4496) - def- 7650421 Center cl_show_direction (fixes #4495) - def- 43d2dc8 Fix joining pw-protected server via Steam (fixes #4502) - def- de9a0c0 Swap: Also switch rescue tees for /r - def- 6c42be9 Revert "Use temporary file when saving editor file (fixes #4476)" - def- 42b036d Downgrade SDL 2.0.18 -> 2.0.16 on Windows (fixes #4537) - def- ce2fba5 Version 15.8.1 - def-
11:39
fb6f770 Remove sqlite3 on macOS since it's part of system - def- 2b721d4 Remove dysfunctional mysql libs - def- 78344c8 Merge pull request #22 from ddnet/pr-sqlite3-mac - def-
11:45
ceb5f4c Revert "Remove sqlite3 on macOS since it's part of system" - def-
11:45
97a5372 Revert "Revert "Remove sqlite3 on macOS since it's part of system"" - def-
11:45
[ddnet/ddnet-libs] New branch created: pr-sqlite2
11:46
9f58aeb Update ddnet-libs - def-
Avatar
Suggested by Nice on Discord Should be easy to implement, I'll take a look later.
12:14
0f0ecdd Don't make score test depend on specific timestamp - def-
12:17
Avatar
@deen updater failed
Avatar
@heinrich5991 would it be allowed to broadcast 2 servers that are both the same, but with different player lists so people can actually find people that are on my server when there are > 64 players online?
13:51
with redirecting traffic to the main port?
13:53
or finally show all players in serverinfo xd
Avatar
@fokkonaut would be allowed. fixing ddnet client would be nice as well πŸ™‚
Avatar
i am looking into it rn
14:00
dont have the time rn tho
Avatar
It doesn't do anything right now, all servers advertise a compatible version. It might become a compatibility hazard in the future, e.g. DDNet servers try to advertise a different version string to 0.6 than to 0.7 clients, because the compatible version filter on 0.6 insists that it starts with "0.6" and on 0.7 that it starts with "0.7", clearly incompatible.

Checklist

  • [ ] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combinat...
Avatar
Avatar
fokkonaut
@deen updater failed
?
Avatar
I cant update to .8
19:07
update how?
19:07
what console output on failure?
Avatar
Ingame updater
Avatar
what operating system?
Avatar
Windows 10 xd
19:08
i didnt check the console and didnt find any log file
Avatar
then download fresh version from ddnet.tw
Avatar
good fix
Avatar
did you run a server while trying to update?
19:08
that is expected to fail
19:09
I can check console tomorrow
Avatar
Avatar
fokkonaut
good fix
Can't fix with a bugreport that doesn't have anything except "updater failed". So unless you can reproduce it, we are kinda stuck πŸ˜›
Avatar
I was updating from .7 or so to .8.1
Avatar
Avatar
Learath2
Can't fix with a bugreport that doesn't have anything except "updater failed". So unless you can reproduce it, we are kinda stuck πŸ˜›
Well, it is pretty common that this thing breaks so i thought just a small reminder is enough
Avatar
I'm trying to install wine on macos, let's see if I can repro
Avatar
usually deen comes around with an "ah"
19:11
maybe because i didnt update from 15.8
19:11
but from 15.7.(?)
19:11
latest .7
19:11
i think it was just 15.7
Avatar
that should be supported
19:12
I don't see any reason why it should fail, nothing special changed
Avatar
I will see tomorrow
Avatar
works for me in Wine
Avatar
Discord electron app just randomly starts using 3 of my cores at 100% for a couple dozen seconds then stops
19:35
My new years wish for this year is that companies will relearn the value of making actual programs as opposed to webapps pretending to be programs
Avatar
Avatar
Learath2
It seems to turn the entire skin greyscale and re-weight it around rgb(192,192,192), Only thing I'm not certain of is how we end up coloring it
I dont get the last 2 loops and the one after the 'find most common frequence', although i guess this one finds the maximum
Avatar
most common frequence is the most common grey in the skin
19:52
the last reorder loop seems to re-scale the greys to make the most common 192 for some reason
19:52
Now that I'm not completely sure of, I guess it's just a random value that was deemed to look good
19:55
vanilla doesn't seem to do the re weighting step anymore
19:55
but it uses skin parts, so different parts can have different averages which will achieve the same effect
Avatar
im doing python script to see what it does exactly
Avatar
Well it makes the skin grey and it re-weights it as I said πŸ˜„
20:14
But maybe you can make the script and play with the 192 value to see how it changes the result
Avatar
Avatar
Learath2
Discord electron app just randomly starts using 3 of my cores at 100% for a couple dozen seconds then stops
That reminds me, every few hours Discord (in Firefox) stops sending messages for me and I have to refresh the page
21:42
not sure if it's just me, but happens on at least 3 devices
Avatar
It happens in electron too, I either have to restart the app, or I have to wait it out
Avatar
Good to know, so not a problem of my network
Avatar
doesnt happen to me
Avatar
228125d Remove compatible version filter - heinrich5991 75930ae Remove "Compatible version" string - heinrich5991 20b4904 Merge #4544 - bors[bot]
Avatar
In 2010, EFF launched its campaign to encrypt the entire webβ€”that is, move all websites from non-secure HTTP to the more secure HTTPS protocol. Over 10 years later, 2021 has brought us even closer to achieving that goal. With various measurement sources reporting over 90% of web traffic encrypted,...
22:33
bluekitty
Avatar
14163_ (edited)
Exported 103 message(s)