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-25 00:00:00Z and 2019-04-26 00:00:00Z
Avatar
ab8b807 Shorten strings correctly (fixes #1652) - def- aa5458b Version 12.3.1 - def-
06:40
Avatar
is there a way to use a key instead of "Enter" for sending messages?
Avatar
ChillerDragon 2019-04-25 07:09:56Z
another key for chat messages?
Avatar
i think no]
Avatar
ChillerDragon 2019-04-25 07:10:03Z
you can bind a whole message
Avatar
but i could be wrong
Avatar
ChillerDragon 2019-04-25 07:10:12Z
bind x say foo
Avatar
my friend's enter is broken he cant bind XD
Avatar
ChillerDragon 2019-04-25 07:10:59Z
you dont need enter to bind xd
07:11
but if his enter is broken i would remap it in the os not in teh applicatiopn
Avatar
both return and enter should work
Avatar
ChillerDragon 2019-04-25 07:11:35Z
sacrafire the f3 nobody needs it anyways
Avatar
if theyre separate keys
Avatar
i see , thanks
Avatar
My first tweet. A sweet XSS in Google main page and almost every subdomain. =)
Retweets
470
Likes
1660
07:56
lel
Avatar
another one bites the dust
Avatar
ChillerDragon 2019-04-25 08:16:15Z
How does he get so much attention without any proof? I mean it is censored so it could be faked in paint. Also a fresh twitter profile as far as i can tell.
Avatar
thought about it too, but i hope no one would do such boring thing
Avatar
DEPENDS: #1654 A better way to fix #1581 possibly deprecates #1597
Avatar
the game lags really hard when you use aimbind on the server im on right now
12:36
is it some kind of bug?
Avatar
what/who is an aimbind?
Avatar
to aim straight up/right etc
12:39
changes mouse max distance
Avatar
it sets mouse max distance to 1 so you can only aim in 45° angles
Avatar
hmm, it doesn't "lag" for me
12:44
but it doesn't work too well either, but I have no idea how it's supposed to work to begin with 😛
Avatar
i thought people were chatting ultra quickly instead of binds
Avatar
@Learath2 it also slows down your mousesens to a minimum so you can do it precisely
Avatar
How can i fix a problem when ddnet settings are resetting all the time i start it?
Avatar
@raNYnight you should look what the file "ddnet_settings.cfg" does . It should save your settings when you change something and load it again when you launch the client again.
Avatar
yeah i know
13:29
but it doesnt exist
Avatar
where are you looking for it
Avatar
in game direction and in /appdata/roaming/teeworlds
Avatar
ChillerDragon 2019-04-25 13:30:43Z
does your log show some errors @raNYnight ?
13:31
@Learath2 you know that you can simply click apply somehwere on github to get the suggested fixes instead of downing it agian ur self locally -.-
Avatar
I don't like committing online
Avatar
ChillerDragon 2019-04-25 13:31:51Z
its best 😃
Avatar
it desync's my local copy
Avatar
how to check log?
Avatar
ChillerDragon 2019-04-25 13:31:59Z
git pull
Avatar
but at that point i was already working on something
Avatar
ChillerDragon 2019-04-25 13:32:10Z
start client form commandline @raNYnight
Avatar
so that git pull wouldn't have gone as smoothly as you imagined
Avatar
ChillerDragon 2019-04-25 13:32:24Z
git stash pop rebranch
13:32
ez
13:32
xd
13:32
rebase
13:32
interactive
13:32
wizard 1337
Avatar
at that point i might just stash, checkout, fix, push, pop
Avatar
not everyone is as good in git as you chiller
Avatar
ChillerDragon 2019-04-25 13:33:03Z
ikr i sometimes forget troll
lol 1
13:33
tbh i just need the fame from githubs credits
Avatar
@Learath2 why not use c as prefix for color arguments?
Avatar
i will
13:37
that patch only does player_color_body and player_color_feet, those are config variables
Avatar
why only these?
13:38
at least do dummy_color_x too then xd
Avatar
ChillerDragon 2019-04-25 13:40:23Z
and when you close clien
13:40
what does it say at the end?
13:40
any error saving the settings file?
Avatar
nothing
Avatar
ChillerDragon 2019-04-25 13:41:05Z
hmm
13:41
if you edit the settings manually? does it load it?
Avatar
can you show the full output
Avatar
ChillerDragon 2019-04-25 13:42:30Z
paste it in irc pls troll
lol 1
Avatar
if i edit i cfg
13:45
it saves
Avatar
ChillerDragon 2019-04-25 13:47:20Z
oke so it seems like the writing fails. So there could/should be some error while closing the client i guess..
Avatar
ChillerDragon 2019-04-25 13:53:31Z
uhm
13:53
that doesnt look comeplete to me
13:54
i usually get a [2019-04-25 15:54:12][client]: disconnecting. reason='unknown' on closing the client
13:54
no matter if i am ingame or not
Avatar
|[2019-04-25 16:49:55][console]: executing 'settings_ddnet.cfg' [2019-04-25 16:49:55][console]: No such command: cl_confirm_disconnect.| mb its a cause ? (edited)
Avatar
the command is cl_confirm_disconnect_time
Avatar
ChillerDragon 2019-04-25 13:58:25Z
ya after the update it changed and the old version didnt disappear magically
13:58
but that doesnt break anything
13:58
k
Avatar
ChillerDragon 2019-04-25 13:58:41Z
ikuk
13:59
it was only one small version with the command being that
Avatar
ChillerDragon 2019-04-25 13:59:33Z
oh btw fokko if you edit storage.cfg it is a custom cfg ... thats what editing means it is customizing it
Avatar
ChillerDragon 2019-04-25 13:59:53Z
releated to my ddnet issue
14:00
didnt want to spamm more useless comments
14:00
ofc it is customazition
Avatar
ChillerDragon 2019-04-25 14:00:19Z
yes
Avatar
why did you tell me thatxd
Avatar
ChillerDragon 2019-04-25 14:00:51Z
Especially on windows it is too much stuff there. Can we hide the dlls in a dependency folder? And the dilate, map_diff etc in a tools folder? And maybe even put both folders into data. For new use...
14:01
your last comment sounded to me like you wanted to proof me wrong that you need the storage.cfg there how it is because you use the default one
Avatar
why is it bad to provide it by default
14:01
how else would people know it's a thing
Avatar
dlls must be in the folder of the exe u can close the issue now
Avatar
ChillerDragon 2019-04-25 14:03:50Z
thought so
14:03
but its not only about dlls
14:04
wow windows is cancer xd
Avatar
so many useless issues
Avatar
ChillerDragon 2019-04-25 14:04:42Z
does nobody agree with me that the folder which you expect to hold a client and server binary and nothing else is a bit spammed?
14:04
every single app in windows does this
14:05
14:05
close the issue
Avatar
ChillerDragon 2019-04-25 14:05:54Z
what about tools?
14:06
these .exes
Avatar
and if i delete a teeworlds folder from /appdata , ddnet-setting file did not appear
Avatar
they require dlls too?
Avatar
ChillerDragon 2019-04-25 14:06:59Z
do they?
Avatar
ChillerDragon 2019-04-25 14:07:12Z
ah fak that would mean duplicated ddlls if you put them into another folder
14:07
but dont think so
Avatar
its a stupid thing the one ur complaining about
14:07
just take 2 secs to find the exe
14:07
or simply use a symlink
Avatar
ChillerDragon 2019-04-25 14:08:04Z
it could use a symlink to hide the dlls in abin folder
Avatar
gotttt
14:08
bye
Avatar
@ChillerDragon u should facepalm urself https://github.com/ddnet/ddnet/issues/1677 and also pls think before doing issues and if they are useful at all
First screenshot is 12.3 from website and second is latest master self compiled. Only vanilla servers are affected as far as I can tell.
14:17
and why did u do a pr if u think urself its bad too? https://github.com/ddnet/ddnet/pull/1674
Just a sample draft... I don't think the scoreboard is a good place for this. I would prefer showing a weapon above the tee on change in freeze. Or as suggested by @fokkonaut put it to the ...
Avatar
ChillerDragon 2019-04-25 14:23:39Z
@Ryozuki this issue is clearly a personal problem i have and not bringing too much value probably. But i didnt know there is a quality minimum for issues. I thought they can be used for personal bug reports and solutions as well. So if others also get this problems they know how to fix it. Or maybe it could even be fixed in the repo.
14:24
the pr was as i mentioned already to open i discussion. As a proof of concept to see what is possible. And i decided to started and test it the way it was suggested.
Avatar
" proof of concept to see what is possible" we already know we can render anywere on the client, what were u trying to proof?
Avatar
ChillerDragon 2019-04-25 14:25:18Z
proof it to me because i nveer rendered anything and i also realized that it is tricky to get the current weapon in freeze
Avatar
about issue quality, i think its quite obvius they should bring something valuable if its a feature request
Avatar
ChillerDragon 2019-04-25 14:25:41Z
my HUD issue is not a feature request
Avatar
u wanted to proof us u can render on the client???
14:25
i mean, why
Avatar
chiller ur hud issue is invalid
14:26
that wasn't on a vanilla server
Avatar
ChillerDragon 2019-04-25 14:26:14Z
how do you define a vanilla server?
14:26
did u see my response?
Avatar
urs is clearly not a vanilla sv
Avatar
u can see the killingspree message
Avatar
you should best know what is vanilla
Avatar
ChillerDragon 2019-04-25 14:26:32Z
the server binary is offical 0.6.3
Avatar
u vanilla fanboy
14:26
u dont even know what vanilla means
Avatar
the official server doesn't have any stats features
Avatar
nor killingspreees
Avatar
ChillerDragon 2019-04-25 14:27:10Z
this is an admin using rcon say and broadcast
Avatar
or kill spree
14:27
ye sure
14:27
lol
Avatar
ChillerDragon 2019-04-25 14:27:26Z
it is
14:27
automated tho
14:27
but the server vbinary is vanilla
14:27
no code changed
Avatar
we cant reproduce it anyway
14:28
and that admin is stupid
Avatar
ChillerDragon 2019-04-25 14:28:07Z
true
14:28
i will look into it and maybe try to find something if i dont find the solution i might close it anyway if it annoys u all im sorri
Avatar
yeah vanilla issues on ddnet client annoy me
Avatar
ChillerDragon 2019-04-25 14:29:14Z
uff
Avatar
did u try to debug it if u can reproduce it
Avatar
ChillerDragon 2019-04-25 14:29:45Z
as i said if i will find time i will look into it didnt had time yet
Avatar
my client cant download ddnet info?
15:11
(i dont get the update 12.2/3)
Avatar
ChillerDragon 2019-04-25 15:17:22Z
also no news?
15:20
i get this [2019-04-25 17:19:50][fetcher]: task failed. libcurl error: error setting certificate verify locations: CAfile: data/ca-ddnet.pem CApath: /etc/ssl/certs [2019-04-25 17:19:50][ddnet-info]: download failed maybe some outdated cert idk?
Avatar
maybe bcs i deleted that file some time ago xd
15:21
i will redownload it
Avatar
ChillerDragon 2019-04-25 15:21:53Z
ya thats probably why it broke for me aswell
15:21
stop deleting the internet fokko
15:24
ddnet.tw down?
15:24
cant reach
15:24
i just use the file from my local ddnet repo
15:24
still doesnt work
15:26
[2019-04-25 17:26:29][http]: task failed. libcurl error: Connection timed out after 2000 milliseconds [2019-04-25 17:26:29][ddnet-info]: download failed
15:26
oki, is ddnet bcs i cant reach it atm
Avatar
ChillerDragon 2019-04-25 15:26:55Z
meh
15:27
can u reach https://info.ddnet.tw/info from browser?
Avatar
ofc not
15:27
if i cant reach ddnet.tw xd
Avatar
ChillerDragon 2019-04-25 15:27:15Z
i can lol
Avatar
yes u
Avatar
ChillerDragon 2019-04-25 15:27:20Z
u
Avatar
probably ddos and my provider got blocked again >.<
Avatar
ChillerDragon 2019-04-25 15:27:45Z
i use vpn and im not blocked lel
Avatar
yay autoupdate works
16:17
can reach ddnet.tw again
16:19
@trml freeze prediction doesnt work if antiping is off
Avatar
[quakenet] <Learath2> heinrich5991 || deen: can you give me a hand with c++ being a pita? :P
16:59
[quakenet] <deen> ?
17:01
[quakenet] <Learath2> ColorRGBA::ColorRGBA() is implicitly deleted because the default definition would be ill-formed:
17:01
[quakenet] <Learath2> I don't think I've ever seen that one before
17:02
[quakenet] <deen> then just define it yourself instead of default-defining it
17:02
[quakenet] <deen> I saw that just today at work :D
17:06
[quakenet] <Learath2> deen: can you take a look at my color pr? just color.h for now, I don't write a lot of OOP code not really sure of the structure I chose
Avatar
why can't microsoft do something half decent every once in a while?...
17:09
why does their preprocessor behave like it's the exact one ritchie and kernighan used back in bell labs?...........
Avatar
anyone familiar with the mess that is MSVC, please help me macro
Avatar
[quakenet] <deen> sure
17:13
[quakenet] <deen> what's wrong with it?
17:13
[quakenet] <deen> I wrote lots of standard compliant macros :D
17:14
compiles on anything else I've tried it on
Avatar
[quakenet] <deen> yes, msvc is pretty strict
17:15
[quakenet] <deen> and clang of course immitates gcc
Avatar
@deen I'm guessing it has sth to do with #define MACRO_CONFIG_COL(...) MACRO_CONFIG_INT(__VA_ARGS__)
17:17
Probably it's taking the standard very literally e.g. VA_ARGS is one entire token
Avatar
Consider this code: #define F(x, ...) X = x and VAARGS = _VA_ARGS #define G(...) F(VA_ARGS) F(1, 2, 3) G(1, 2, 3) The expected output is X = 1 and VA_ARGS = 2, 3 for both macros, and that's
17:17
[quakenet] <deen> exactly, you need this to do it
17:18
[quakenet] <deen> we had the same thing in our code at work as a helper
17:18
[quakenet] <Learath2> deen: do you think maybe I should just write the parameters out?
17:18
[quakenet] <deen> and it's an "alternative interpretation" of the standard
17:18
[quakenet] <deen> yes, that would be much clearer
17:18
[quakenet] <deen> only use VA_ARGS if you really need it
17:18
[quakenet] <deen> for overloaded macros
17:19
[quakenet] <Learath2> I don't understand why they would stick to their guns on this...
17:19
[quakenet] <deen> doesn't matter much. anyone that uses variadic macros has this expand trick in their code base by now anyway
17:20
[quakenet] <deen> I'd really prefer the colors to have proper types
17:20
[quakenet] <deen> instead of just passing around vec4 everywhere
17:21
[quakenet] <Learath2> deen: that's exactly what I did :P
17:21
[quakenet] <Learath2> ColorHSLA and ColorRGBA
17:21
[quakenet] <deen> but you also added the h, s, l accessors to vec3
17:24
[quakenet] <Learath2> I can drop them all, i added them because it looked better and i inherited from vec3
17:24
[quakenet] <Learath2> I could just not inherit from that
17:24
[quakenet] <deen> well, it's ok
17:24
[quakenet] <Learath2> that's why i asked if you could take a look at my color.h, I'm not really sure if the structure is good
17:25
[quakenet] <deen> but stuff like HslToRgb doesn't use the types
17:25
[quakenet] <deen> all just vec3
17:27
[quakenet] <Learath2> Those will be replaced, I just kept them for a while so I could compile and test
Avatar
ChillerDragon 2019-04-25 17:28:10Z
17:28
i dont know how to debug
17:28
all my print messages get called
17:28
but i still dont see the score in menu
Avatar
what u tryn to do
Avatar
[quakenet] <Learath2> deen: do you think it's a better idea to not inherit from vectors at all?
17:46
[quakenet] <deen> not sure, do they have some nice methods you need?
17:47
[quakenet] <Learath2> nope
17:47
[quakenet] <deen> Then I don't see much use in deriving from vec
17:48
[quakenet] <Learath2> the templates, I really don't remember what I was doing :P
17:48
[quakenet] <Learath2> think I was just trying out template specialization, not much use when there isn't a definition for the generic case
Avatar
[quakenet] <Learath2> deen: I think I'll derive from vec to keep that union mess out of color.h I couldn't really figure out a decent way to do it
18:08
[quakenet] <deen> ok
18:08
[quakenet] <Learath2> e.g. ColorRGBA inherits from color4_base, color4_base should have the 4 components already
18:08
[quakenet] <Learath2> afaik there is no way to rename and expose a parents members
Avatar
[quakenet] <deen> just don't inherit :D
18:17
[quakenet] <deen> and ColorRGBA has r, g, b, a as members
18:18
[quakenet] <Learath2> deen: but then I have to write constructors for each, and Pack() functions for each
18:18
[quakenet] <Ryozuki> anyone else using termite as their terminal emulator?
Avatar
how to debug sound on tshi game
19:02
52d51d8 set make -j to use actual number of threads - Ryozuki fd6d8fe Update README.md - Ryozuki 4e3099d Merge pull request #1679 from Ryozuki/patch-4 - def-
19:04
  • cl_predict_freeze is only acitve when antiping is on (dont know if that is correct?)
  • the weapon switch is delayed and not immediately aswell as the fire animation of the weapon
Avatar
[quakenet] <Learath2> deen: remembered why I used templates, "functions that differ only in their return type cannot be overloaded"
Avatar
ChillerDragon 2019-04-25 22:43:10Z
@fokkonaut my score is not rendering the bottom right thing
Exported 262 message(s)