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 2017-09-16 00:00:00Z and 2017-09-17 00:00:00Z
09:16
71a15f3 Tidy up circle.yml, test artifact collection - Learath2 9543b05 Fix globbing mistake, install xz-utils - Learath2 4619588 Update cmake before building - Learath2 f4c51d4 Use curl instead of wget - Learath2 1e869c0 Test packaging and artifact collection on AppVeyor - Learath2
09:18
05f136f Unify icons for gcc and MSVC, fix server icon - heinrich5991 f60eb56 Merge pull request #836 from heinrich5991/pr_dd... - def-
09:19
4d96090 Fix MSVS warnings - heinrich5991 e86edcd Add /WX to CI on Windows (equivalent of -Werror) - heinrich5991 43d0299 Merge branch 'master' into pr_ddnet_fix_msvs_wa... - def- 81f7045 Merge pull request #857 from heinrich5991/pr_dd... - def-
Avatar
ChillerDragon 2017-09-16 09:21:29Z
does any1 know why my serverside dummys i implemented in ddnet9.0.2 don't work in the new ddnet? They timeout instantly on connection.
Avatar
75d3eea Try linking against security framework on macosx - def-
Avatar
same as scripts/make_release.py, right now it spits out tgz and txz
Avatar
But they are Windows-specific, so errors get thrown: ``` In file included from /ddnet-master/src/engine/client/backend_sdl.cpp:13: /ddnet-master/ddnet-libs/sdl/include/SDL_syswm.h:58:21: error: windows.h: No such file or directory In file included from /ddnet-master/src/engine/client/backend_sdl.cpp:13: /ddnet-master/ddnet-libs/sdl/include/SDL_syswm.h:142: error: ‘HWND’ does not name a type /ddnet-master/ddnet-libs/sdl/include/SDL_syswm.h:143: error: ‘UINT’ does not name a type /ddnet-...
Avatar
This reverts commit 03faa51e2898409d84260395fc59e7704f9a5f8d. Dividing floats by zero isn't undefined behavior and results in +inf or -inf depending on the sign of the first operand. int main() { PRINT(1.0 / 0.0); PRINT(-1.0 / 0.0); PRINT(atanf(1.0 / 0.0)); PRINT(atanf(-1.0 / 0.0)); return 0; } prints 1.0 / 0.0 = inf -1.0 / 0.0 = -inf atanf(1.0 / 0.0) = 1.570796 atanf(-1.0 / 0.0) = -1.570796 The changed function was problematic for values like ...
Avatar
@ChillerDragon github source code?
Avatar
ChillerDragon 2017-09-16 15:49:38Z
@deen the working old version https://github.com/ChillerDragon/ddnet-9.0.2-dummys and the broken new one https://github.com/ChillerDragon/ddnet-10.8.6-dummys use ingame chat commands '/dummy (num)' to connect (num) dummys and '/dcdummys' to disconnect all
ddnet-10.8.6-dummys - ddnet version 10.8.6 with server side dummys
ddnet-9.0.2-dummys - ddnet version 9.0.2 with server side dummys
16:34
imo, you should fork ddnet and then upload your changes
16:34
to see what you did
16:47
you can see all changes here
Avatar
9911759 Revert "Don't divide by 0" - heinrich5991 42934fe Remove statically detectable float divisions by... - heinrich5991 7a2bd36 Merge pull request #868 from heinrich5991/pr_dd... - def-
Avatar
This PR fixes a lot of issues with the ghost and race recorder, introduces a new ghost file format and implements some pretty useful features. A quick overview:
  • When you cross the start line multiple times, both (ghost and recorder) will only restart if it is a non-solo server
  • If available, both will use the race timer to recognize the start instead of searching for the start line
  • Fastcap support for both
  • The recorder immediately starts when the Tee spawns, so the prepa...
Avatar
The missing bounds check in the int packing functions makes it possible, to at least crash the client with prepared snapshots. Malicious demo files could also be a problem.
Avatar
deen there is noticable lag on ger
17:39
(atleast on the FUN server)
Avatar
GER is using more and more RAM
19:07
and I don't know why
Avatar
memleak?
19:08
or just bigger maps?
Avatar
all looks pretty normal, just a bit more of everything
19:08
so why is it just on GER?
19:10
oh, Fun server is killing cpu
19:10
it uses 30%
19:10
that might also explain the lags independent of ram usage
19:13
i don't understand what's special about GER so that only it has this ram effect
19:14
updated all servers to debian 9 in the exact same way
Avatar
maybe more players - more memleak?
Avatar
then i would at least expect SOME noticeable memleak on others
19:14
chile is still 40% of GER
Avatar
so it seems like the ddnet game servers take more memory on GER
19:24
anonymous and heap mem
Avatar
what is anonymous?
Avatar
not mapped to a file i think
19:25
malloc basically
19:25
not sure what heap is then though
19:27
it's possible that GER had zram previously and they disabled it with the upgrade
19:28
I'll ask nfoservers support if they changed anything
Avatar
nope, nothing
Avatar
I might try rebooting the server if I catch it empty
20:13
maybe this was some fuck up with the lto compilation or some other random effect
20:13
other than that I doubled swap for now :/
20:14
@ChillerDragon I hoped for something more easy to go through your changes
20:15
can't really help with this
Avatar
maybe make announce: "GER servers will be restarted in one hour, make sure you saved your gamestate" ?
Avatar
ChillerDragon 2017-09-16 20:33:18Z
more easy?
20:33
there is one clean commit will a changes
20:33
idk hot it could be more easy ._.
Avatar
maybe like, fork ddnet, then add small changes
20:37
to code? 😄
20:37
with good description
Avatar
ChillerDragon 2017-09-16 20:40:46Z
what does a fork improve?
Avatar
history of ddnet
20:41
anyway, just more commits would be clearer i think
Avatar
ChillerDragon 2017-09-16 20:42:20Z
for the dummys?
20:42
i am not a coder i cant explain what i dont understand
20:42
the code isnt written by me
Avatar
I would do it that way. It could self-documenting (code should do it as well, but it depends)
20:43
woah, the who did it ?
Avatar
ChillerDragon 2017-09-16 20:48:50Z
im not allowed to tell ._.
Avatar
Was it reported ?
21:23
that the gun shows wrong possition ?
Avatar
@heinrich5991 ^
Avatar
It's only when you aim pretty close to center, so maybe
21:26
it can't be fixable
Avatar
it was just changed
21:26
do you have most recent version?
Avatar
are you sure?
Avatar
10.8.6
Avatar
this behaviour changed twice today
21:27
? 😄
Avatar
you compile your own from git?
21:27
use 7a2bd361a668eae093e43f4d18cff12f3172f56d
Avatar
it's not yet
21:27
published?
21:27
then i will try
21:27
sec
Avatar
I bet, the commit called "dividing by 0"
21:29
or float divisions Clippy
Avatar
I didn't change anything but how the arrows are shown @deen
21:30
(I restored the function to the original code)
21:31
the arrows of the player input thing
Avatar
so, if you didn't fix that, then should I make issue? Or it's that much inrelevant
21:33
😄
Avatar
is it still broken with the newest version?
21:34
but it looks like, a bit smaller gap
21:34
i don't know
21:35
nevermind, it changes
21:35
sometimes bigger sometimes smaller gap
Avatar
@Savander try it with an older version too
Avatar
in older version it was
21:37
im sure
21:37
cause, i saw it a long time ago
21:37
but forgot about it (edited)
21:37
commit 7a2bd361a668eae093e43f4d18cff12f3172f56d (HEAD -> master, origin/master, origin/HEAD) (edited)
21:38
it's latest i guess
Avatar
that happens since a long time, using a bind that sets max mouse distance to 2
22:04
used for perfect grenade up
22:05
and 45º hooks (edited)
Avatar
ger looks like
23:38
overused
23:38
lagging
Exported 122 message(s)