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 2019-04-15 00:00:00Z and 2019-04-16 00:00:00Z
Avatar
Where are the configs stored when using config_store.exe + config_retrieve.exe? When DDNet/Teeworlds files are deleted (including config_directory), DDNet recalls the previous settings somehow. I'm trying to reset the whole thing.
02:19
It seems like these two files came with one of the more recent patches
Avatar
@Pathos inside of the map file
06:14
@Pathos also, don't ask the same thing twice in different places, then people will also have to respond twice
Avatar
@deen What map file?
11:00
And sorry about duplicate question
11:02
Also regarding your post on this, I just wanted to ask if you were affected by the patch changing the mouse sens. Who else? I know one player that was affected by this and I would like to do some more investigation/polling -- seems to affect very few people. For a fix, I suggested to delete settings.cfg and settings_ddnet.cfg, but deleting them would not reset anything and would just get old settings back somehow. That's why I asked the question on what the two files config_store.exe and config_retrieve.exe do. No luck (edited)
This is a reworked attempt at a rewrite of the prediction code (#464), to allow for more client side prediction. It doesn't fix the duplication of server code, but the client code should otherw...
Avatar
I am not affected, I will try some stuff to find the problem. @Pathos, which client did you use when the problem occured? On which client was it okay? Can I have your settings_ddnet file?
Avatar
I wasn't affected. It was another player Water (WATER OG DAWG 69) here. He said his mousesens was drastically lowered.
11:07
But it seems that recent patch is affecting some people, according to that Github issue post.
Avatar
So 12.1 is affected?
Avatar
@fokkonaut Personally, I'm not entirely sure -- I didn't ask him specifically, but my (decent) guess is that he updated to the latest from several versions ago (a month to a couple months old, not sure which patch) knowing his real life situation a bit.
Avatar
There seems to be a bug with the mouse somewhere since 12.1
Avatar
Yeah, kind of strange (edited)
Avatar
i dont have any problem
Avatar
Me neither
Avatar
Very few people are affected, so I'm trying to poll more people to investigate
11:25
Please send them my way if you know anyone that's affected! I'll ask questions on their system etc. to see if I can find a pattern
Avatar
Its probably just a config var
Avatar
Yeah that's what I was thinking too
11:26
We chatted over this and test if inp_mousesens and inp_mousesens_old, but not sure what other vars are avail that would affect mousesens
11:29
Also, where can I get nightly builds?
11:32
But deen stopped the auto building
11:32
the current nightly build is from the antiping rework
Avatar
Oh wow, last nightly build was in 2015, ok
11:48
I see
11:51
Wait, is the nightly build with new antiping up?
11:52
It says 2015
11:54
Ok, so since it seems that those files have to do with maps, then how do you reset client configs (like controls)? I tried telling Water to delete settings.cfg and settings_ddnet.cfg, but somehow, the settings just came right back without any changes.
Avatar
you can check out the appveyor build
Avatar
@Learath2 thanks -- where is that?
Avatar
@fokkonaut He said it's either 11,4 or 11,9
Avatar
https://ddnet.tw/players/P-228-thos For "Favorite Server" -- how is this determined? Most played during lifetime or more recent data?
Avatar
[quakenet] <deen> lifetime
Avatar
This will require for the client to tell the server its zoom level. Right now the CPU usage when using /showall 1 can increase from 20% to 70% on a full server.
  • Reduces network load
  • Can no longer watch any tee on map in demo
Maybe instead we should just make the client not render tees further away than the current zoom level? I think that would help with the CPU load and keep the ability to watch any tee in demo.
Avatar
ChillerDragon 2019-04-15 18:17:54Z
im sure @noby will love that cleints send the server that they are zoozing xd
Avatar
o yeah i like that idea
Avatar
banhammer 🔭
Avatar
ChillerDragon 2019-04-15 18:24:31Z
thats wrong direction zooz xd
18:24
oh wait doeskonsti zoozes in all the time ? xd
Avatar
9dddb29 File score: Implement negative top5 (fixes #1631) - def- 01560b1 Merge #1639 - bors[bot]
Avatar
ChillerDragon 2019-04-15 18:42:57Z
18:43
boiiii my client keeps spamming that
18:43
hard
Avatar
grep -r "invalidated index" src
Avatar
ChillerDragon 2019-04-15 18:43:48Z
ikr
18:43
but lazy
18:43
xd
18:43
i no -nri btw
18:43
best flags
Avatar
just use ripgrep if you care enough
18:44
rg "invalidated index". faster, needs less options
Avatar
ChillerDragon 2019-04-15 18:44:30Z
somebody latley recommended me something else forgot name
Avatar
ChillerDragon 2019-04-15 18:44:33Z
ag or something like this
Avatar
ag is slow though
18:44
slower than grep
Avatar
ChillerDragon 2019-04-15 18:44:51Z
whats ripgrep
18:44
different defualts but still grep?
Avatar
not grep, no, reimplemented to be faster
Avatar
ChillerDragon 2019-04-15 18:45:15Z
cool
18:45
meh im on windows rn so i only have grep -.-
18:46
guress there is no package mangaer for the windows shell unix thingy
18:46
this git bash mingw shell always forget thename
Avatar
ChillerDragon 2019-04-15 18:46:53Z
invalidated index
18:46
woops wrong window -.-
Avatar
@ChillerDragon can be downloaded here: https://github.com/BurntSushi/ripgrep/releases/tag/0.10.0
ripgrep recursively searches directories for a regex pattern - BurntSushi/ripgrep
Avatar
ChillerDragon 2019-04-15 18:48:22Z
oh cool runs on windows
18:48
i never installed any programms on windows xd
18:48
18:48
gameclient.cpp
18:50
didnt stop yet btw but idk whatthis code thes
18:50
does*
Avatar
it even has comments 😛
Avatar
ChillerDragon 2019-04-15 18:51:35Z
..
Avatar
@ChillerDragon 4 bytes, feels like the new netobj I added
Avatar
ChillerDragon 2019-04-15 18:59:33Z
u!
18:59
thought nobody useses debug
Avatar
@heinrich5991 why does type end up -1? it should turn up as 0 no?
Avatar
ChillerDragon 2019-04-15 18:59:42Z
hehe
Avatar
ChillerDragon 2019-04-15 19:00:46Z
hi!
19:03
I will be top 1 first in my map lol (edited)
Avatar
ChillerDragon 2019-04-15 19:05:00Z
hax
Avatar
87f588d Editor: Don't jump to first entry in file list when editing - def- 598c8cf Editor: Left align "New folder" button in save menu - def- f1cf222 Editor: Don't enter directory name in filename in save menu - def- 091e412 Merge #1635 - bors[bot]
Avatar
ChillerDragon 2019-04-15 19:13:47Z
19:13
my fpds drop to 2-3 while fastfordwaring demos
19:14
not in debug mode btw
19:14
guess thats caused by this network bug
19:14
it ripped mi whole demo
Avatar
``` [2019-04-15 21:16:23][game]: invalidated index=161 type=-1 ((out of range)) size=4 id=52 [2019-04-15 21:16:23][game]: invalidated index=164 type=-1 ((out of range)) size=4 id=53 [2019-04-15 21:16:23][game]: invalidated index=167 type=-1 ((out of range)) size=4 id=54 [2019-04-15 21:16:23][game]: invalidated index=170 type=-1 ((out of range)) size=4 id=55 [2019-04-15 21:16:23][game]: invalidated index=173 type=-1 ((out of range)) size=4 id=56 [2019-04-15 21:16:23][game]: invalidated i...
Avatar
ChillerDragon 2019-04-15 19:21:41Z
might be related to the cpu issue @deen
Avatar
6e88064 Add some demo player shortcuts - 12pm de59705 Merge #1642 - bors[bot]
23:13
this is unsafe code
23:13
pls fix
23:15
@heinrich5991
Avatar
@noby lol what is that even?
Avatar
it tries to access array[strlen(array)-9] and stuff like this
23:27
without first checking that the index isnt negative
Avatar
yeah it's a mess
23:28
I'll fix it
Avatar
Some cleaning up, wasn't really insecure but at least this is more readable. Reported by noby on Discord
Exported 119 message(s)