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-29 00:00:00Z and 2019-04-30 00:00:00Z
Avatar
when 0.7 port, dont like ddos
05:34
tbh we should really port it
05:40
and pls ddnet client 0.7 xD i cant play with this shit client
06:10
dont play then
06:10
0.7 can be ddosed too btw, just no one cares about it
Avatar
ad7a2cd Remove unused vanilla code (closed #1658) - ChillerDragon 70b3f1d Merge #1675 - bors[bot]
Avatar
Ah yes the unddosable 0.7 how did we not think of it
Avatar
ChillerDragon 2019-04-29 09:03:51Z
oh btw ddos. As far as i know servercompass.com has a very stable ddos protection i cant remember what the response was when i mentioned it last time. Any reason we dont have it?
09:04
@deen @Learath2 GWpingSock
Avatar
ChillerDragon 2019-04-29 09:16:12Z
people keep complaining to me lol why i dont do something agianst ddos as a mod lel
Avatar
how dare you to do nothing
feelsbadman 1
👍 1
Avatar
just ban the ddos duh
Avatar
@ChillerDragon why don't you do something against ddos? You are a mod! Just ban ddos its so easy. omg, Chiller lazy mod.
troll 1
Avatar
Someone told me to contact @Mr_Anderson since he runs TeeCloud and they apparently are DDoS-secured. Unfortunately got no answer yet.
Avatar
ChillerDragon 2019-04-29 10:41:49Z
ya he is the person and he just told me he is very busy but i pushed him so he should respond in the near future
Avatar
Wow, never heared of them before. The website looks cool
Avatar
ChillerDragon 2019-04-29 10:42:00Z
you dont know teecloud?
10:42
its pretty famous
10:42
and servercompass is a very nice hoster by far the best from the zillion hosters i tried in the last 8 years
Avatar
teecloud is good
Avatar
bad idea
Avatar
@ChillerDragon are you a moderator in DDNet now?
Avatar
@qshar no, but I am
11:44
@qshar gimme mod on KoG, im the best mod
Avatar
@deen just contact @Mr_Anderson on discord, very active
Avatar
@fokkonaut i did a few weeks ago, still waiting
Avatar
do it again :)
Avatar
ChillerDragon 2019-04-29 12:50:35Z
he promiesed to take time this evening
12:51
@qshar yes im only one step away from ddnet admin feelsamazingman
Avatar
Wow nice ddnet
Avatar
ChillerDragon 2019-04-29 13:25:59Z
do we have any regex magic functions in the codebase?
13:26
didnt find something ._.
Avatar
@ChillerDragon so there will be no more bans in DDNet?
Avatar
@ChillerDragon make regex bans
Avatar
ChillerDragon 2019-04-29 13:51:25Z
im trying @qshar 😃
13:51
but dont tell anyone or i loose my rank
13:52
@jao ikr best idea but im actually working on a chillerbot
Avatar
why do you need regex in a bot
Avatar
ChillerDragon 2019-04-29 13:56:12Z
because i am nobo and dont understand code so i need hacky solutions for chillerbot-ng to filter duplicated messages from console
Avatar
why do you need regex for duplicated messages
Avatar
ChillerDragon 2019-04-29 13:56:43Z
either i get no output from rcon or everythign else duplicated
13:56
i was thinking of regexing some timestamp
13:57
used regex.c didnt work either i sukk i guess i will just not fix it today
13:58
regex.h *
Avatar
cc36af7 Cleanup colors - Learath2 5e5def3 Add tests - Learath2 6b815b2 Work on compound binds - Learath2 c0c79c6 Fix output - Learath2 1da935f Fix stuck input - Learath2 66c89ea Allow binding with modifiers in settings - Learath2 2975d69 Block ctrl+shift+ binds. Fixes #1490 - Learath2 6a1ef1a Can't access a siblings protected members? - Learath2 d8964ce Merge #1654 #1685 - bors[bot]
Avatar
@Learath2 nice spam👌
Avatar
Shoulda squashed that one :P
Avatar
DDNet client repeatably crashes with "Unhandled exception at 0x0000000000559C70 in DDNet.exe: 0xC0000005: Access violation reading location 0x0000000017E56000" On News tab opening (edited)
Avatar
spam is fokko asking for 0.7 not commits
Avatar
@BannZay use gdb
16:18
with debug info
Avatar
that doesnt tell anything
Avatar
what is gdb?
Avatar
@Ryozuki can I use visual studio for debugging it?
Avatar
@BannZay if you are on windows visual studio would also do in a pinch
16:20
if u ask me, not
Avatar
The backtrace should appear on the bottom right half with the default
Avatar
but if u ask another maybe
16:20
xd
Avatar
Ryozuki has a shrine to stallman in his house
Avatar
stallman is my jesus christ
Avatar
vs tells u where it fails too
Avatar
@Learath2 sadly by using discord im against his sayings :(((((((((8
Avatar
[quakenet] <Ryozuki> hehe
Avatar
what the difference between x32 and x64 on downloads page? Is there x64 build configuration?
Avatar
just build
16:29
cmake uses ur system which is probs 64
Avatar
cmake defaulted to 32 bit for me even tho I have 64
Avatar
@jao because that's your default compiler probably
Avatar
in order to reproduce crash I need to attach debugger but binary does not match src to aa5458b81d5f6e28ac6a6feb7669ba4e9b8c41dc. What am I doing wrong?
Avatar
@BannZay run the executable you actually built?
Avatar
@deen can not reproduce it on built one but downloaded one from website
Avatar
[quakenet] <Ryozuki> did u checkout
16:31
[quakenet] <Ryozuki> 13.1
16:31
[quakenet] <Ryozuki> or wathever version
16:31
[quakenet] <Ryozuki> maybe its fixed now
Avatar
updated to latest and checkouted latest
Avatar
@BannZay try checking out the release version
16:31
git checkout 12.3.1
16:32
and then build
Avatar
[quakenet] <Ryozuki> git version is further from release downlaods
Avatar
but maybe the crash depends on compiler
Avatar
[quakenet] <Ryozuki> msvc evil!
Avatar
@BannZay you can tell me the steps to reproduce it?
16:32
then I can try with valgrind
Avatar
[quakenet] <Ryozuki> i think he said it crashes when he visits news page
Avatar
@deen switch between any tab and News, try it after game reload
Avatar
what is "game reload?
Avatar
@deen close/open game -> try again
Avatar
[quakenet] <Ryozuki> thats rly weird
Avatar
@deen also I face a huge mouse lags(for about a second) after refreshing servers list on DDNet tab for the first time
Avatar
[quakenet] <Ryozuki> is ur pc good
16:35
[quakenet] <Ryozuki> btw debug build is slower
Avatar
@BannZay weird, do you have debugging activated?
Avatar
on release, yes pc is okay for sure
16:36
@deen the lags happens on client loaded from website. Same happens for other few players (have asked ppl)
Avatar
[quakenet] <Ryozuki> client loaded from website?
16:36
[quakenet] <Ryozuki> teewebs? xd
16:37
[quakenet] <Ryozuki> i never noticed lags updating it, but i have a fairly gud pc
Avatar
@deen I can make video if you want to
Avatar
I see some invalid variable access when going to news menu
16:38
so that would explain it and why it's compiler dependent
Avatar
[quakenet] <Ryozuki> and why it doesnt happen on master?
Avatar
GitHub Gist: instantly share code, notes, and snippets.
16:39
because he's using a different compiler
16:39
so the variable might luckily be initialized correctly, just by chance
16:41
Hm, I don't understand why that's invalid though
Avatar
git checkout 12.3.1
didnt helped. Using Release configuration. DDNet.exe still does not match
Avatar
f0651e8 Update settings&commands - def-
Avatar
@BannZay thanks a lot for r eporting this btw
17:18
we have some huge problems there with one thread writing and another reading at the same time
Avatar
@deen always welcome
Avatar
@deen The compound binds work fine for me in the ui aswell
Avatar
Arch Linux wiht SDL 2.0.9-1 here
Avatar
macOS Mojave is all I have access to right now
17:25
two questions, does it work if you bind from the console?
Avatar
I think it didn't get merged 😄
Avatar
the second one is would you mind adding a small dbg_msg
Avatar
debian 10 sdl 2.0.9+dfsg1-1 monkaS
Avatar
ah no, bors put two merges together
17:26
@Ryozuki works for you?
Avatar
ima test
17:26
is it merged
Avatar
it looks merged to me on master
Avatar
@Learath2 on show others i can bind shift s and control v
17:28
on
17:28
converse
17:28
i cant bind control v
17:28
or shift s
17:28
it sets it to v
Avatar
oh I see
17:29
I don't see the bug but I can reproduce it atleast
17:35
oh it's the stuck input thing I applied
17:36
I took it directly from oy, i'm not sure what bug it fixes
17:42
Essentially you arent supposed to be able to bind things that start with +
17:44
I just tested the windows 64bit rc and i realized that the inputs get stuck very often. Sometimes i am not able too hook then it keeps hooking and shooting even if i press nothing. I downloaded it ...
17:44
Working as intended apparently. If we can think of a better fix i'll do that
Avatar
Can't really get it fixed, the first issue here is sporadic, the rest deterministic: ``` [2019-04-29 19:10:31][gameclient]: initialisation finished after 10578.75ms [2019-04-29 19:10:31][client]: version 0.6 626fce9a778df4d4 [2019-04-29 19:10:31][http]: http https://info.ddnet.tw/info?name=deen [2019-04-29 19:10:32][http]: task done https://info.ddnet.tw/info?name=deen ==7943== Thread 1: ==7943== Invalid read of size 1 ==7943== at 0x21453D: str_byte_next (system.c:3041) ==7943==...
Avatar
Could you try the build from this @BannZay ? I can provide you with a nightly build.
Avatar
@deen can show_ips be persistent on map changes?
Avatar
@deen if I'm reading the code correctly, it will never overread before returning a 0 code point
Avatar
@heinrich5991 what if utf8_bytes_needed > 0?
19:35
well, probably it only happens when the string changes while str_utf8_decode is running
19:35
so we should fix that
Avatar
utf8_lower_boundary is always greater than 0
20:55
strspn/strcspn don't take strings accept/reject but instead they are considered as bytes. So the delimiter is not a delimiter string but a list of chars where each of them delimits. Also strspn causes multiple of the delimiters to be skipped. I tried splitting by string using the str_next_token, but maybe that's not the way to go? https://github.com/ddnet/ddnet/pull/1692
Avatar
yeah, i wasn't too sure about that token function either
Exported 166 message(s)