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 2018-06-24 00:00:00Z and 2018-06-25 00:00:00Z
Avatar
@Deleted User Que fais-tu ici !
Avatar
@Gabee jésépo
08:58
Current state of Teeworlds Dear oy, dear developers, Teeworlds, DDNet, This issue will not address any bug whatsoever. It is only about the community & the game itself. Please take the time to ...
Avatar
english please
Avatar
@Deleted User En gros j'ai proposé aux deux (tw & ddnet) de se réunir pour garder le jeu intact mais avec des améliorations: patches, fix bugs etc..
08:59
@Deleted User Jette un coup d'œil si tu veux!
08:59
@heinrich5991 entschuldigung kennen wir französisch sprechen? 😦
Avatar
meh. ok
09:00
but don't make it regular, please
09:00
not everyone speaks french
Avatar
It was just for Rei, I won't
09:00
[11:00 AM] heinrich5991: not everyone speaks french YET***
09:00
this issue won't change anything it seems
Avatar
even some contributors think "ddnet killed teeworlds"
09:02
Just like "libreoffice killed open office"
Avatar
Ouais j'avais vu
Avatar
maybe because it's better?
Avatar
I don't think ddnet code should be merged into tw. tw accepting more outside contributions might be nice though
09:03
the vanilla should focus on fixing bugs etc
09:03
and changing as little as possible (edited)
Avatar
Libreoffice killed office :')
Avatar
yes. but the issue seems to have gone in the direction of vanilla should just take ddnet code and make it official. that's not gonna happen, and that's also not what I'd like to see
09:04
which unfortunately also means that oy's answer is likely to be "merging ddnet code into vanilla? never" and thus not adressing the actual problem
Avatar
Somehow that's a good idea to be able to manage both
Avatar
@heinrich5991 https://ddnet.tw/maps/?map=Stellar this renders quads, maybe you can see how it’s done there
Avatar
zoom out – where should the quad go?
10:17
it's a conceptual problem, not a code problem
Avatar
I‘m not sure, it looks like the background there stays the same always
Avatar
if you zoom out, the background gets smaller and stays in the middle of the map
10:21
the background doesn't stand out this much on that map, but on others it'd look weird, I think
10:21
when there's map everywhere and a small background quad in the middle of the map
Avatar
that’s possible with a 0/0 para quad?
Avatar
if it’s not 0/0 para, don’t render it
Avatar
it seems the background stays the same here, regardless of zoom level
10:23
so I could do that, I guess
10:23
like it stays the same size
Avatar
ye that should be good
Avatar
When Teewars became Teeworlds, was it the same team behind?
Avatar
yes
10:25
@jao want to open an issue or shall I?
Avatar
you can do it 😛
Avatar
ChillerDragon 2018-06-24 10:26:16Z
what issue?
10:26
i want to do it xd
Avatar
see chat above
10:26
10:27
is the repo
Avatar
ChillerDragon 2018-06-24 10:27:23Z
i checked chat above i dont get it
10:27
oh the issue is about poara
10:27
not about teewars post
10:27
pls can i do it
Avatar
it's about rendering quads at all
Avatar
ChillerDragon 2018-06-24 10:28:03Z
i need it really
Avatar
sure
Avatar
ChillerDragon 2018-06-24 10:28:15Z
im in very big struggle rn
thonkery 1
10:28
im on vacation for 3 days
10:28
and i need 3 contributsa a day
10:28
can i do it tomorrow @heinrich5991 ? c:
Avatar
what are todays three contributes
10:28
lol
Avatar
if you remember it tomrrow :<
Avatar
ChillerDragon 2018-06-24 10:28:56Z
i will
Avatar
but its still early in the morning
Avatar
will you buy me some ice cream if you don't? 🙂 (edited)
Avatar
ChillerDragon 2018-06-24 10:29:38Z
yes
Avatar
Avatar
ChillerDragon 2018-06-24 10:30:15Z
the issue descrption wont be too expertize and long i guess but u know what to do
10:30
ill add it on the todo
Avatar
@heinrich5991 offtopic but if it helps: 12:29 +bridge ∷ [ddnet] <heinrich5991> will you buy me an ice cream if you don't? 🙂 12:29 +bridge ∷ [ddnet] <heinrich5991> will you buy me some ice cream if you don't? 🙂 Both are correct
10:30
An ice cream as in an italian ice cream
Avatar
I thought ice cream was uncountable
Avatar
That you can count
10:31
And then you have the ice cream you can't count, just like milk in a box
10:31
same way you ask for "a water please" at the bar
10:31
rules != use (edited)
10:31
😄
Avatar
ice cream often comes in countable servings tho
Avatar
ChillerDragon 2018-06-24 10:32:27Z
any ideas how to get 9 conrtributions from my smartphone in the next 3 days on github? .-.
Avatar
I'm not a native english speaker, correct me if I'm wrong, but yeah
10:32
@ChillerDragon you are forced to contribute?
Avatar
@ChillerDragon add bot detection
Avatar
ChillerDragon 2018-06-24 10:32:53Z
yes @Gabee
Avatar
ddnet realy needs it
Avatar
ChillerDragon 2018-06-24 10:33:02Z
from my iphone what cant do shit @noby
Avatar
@ChillerDragon are you getting paid for it?
Avatar
ChillerDragon 2018-06-24 10:33:13Z
no @Gabee
Avatar
What if you don't?
Avatar
yes from ur iphone
Avatar
ChillerDragon 2018-06-24 10:33:22Z
i do it to spread love
Avatar
or to fake your calendar
10:33
😄
Avatar
@Gabee oxford dictionary agrees with you
10:33
ice cream [U, C]
10:33
countable and uncountable 🙂
10:34
sadly sometimes dictionaries are very limited
Avatar
i didnt know that type of thing would show in a dictionary
Avatar
not in my experience
Avatar
but I'm glad they notice it
10:34
Ye you're right
10:34
but in France it's a disaster
Avatar
@ChillerDragon add something that prints in chat when someones using a known cheat client version
Avatar
The dictionaries are independent, and recognize words that are forbidden by the académie française, so you would never encounter them in schools, but everyone use them
Avatar
yea, but french people are elitist wrt. their language
Avatar
damn I'm a pro-offtopic-er
Avatar
not so much the english people
Avatar
if they have 708 say "player x is using baumalein client!" etc
Avatar
@heinrich5991 Well, we want to be, we look like we are, it seems like it, but we're wrong and far from it
10:35
@heinrich5991 3 years of linguistics got rid of these fake thoughts about the french language
Avatar
ChillerDragon 2018-06-24 10:35:59Z
@noby i cant do that from my smaprtphone bro
10:36
what can u do from it then
Avatar
ChillerDragon 2018-06-24 10:36:11Z
it is too bad to use the edit function in web
10:36
and i cant test compile
Avatar
@ChillerDragon laptop + 3G/tethering?
Avatar
ChillerDragon 2018-06-24 10:36:23Z
@noby i cann merge pullrequests and open issues xd
10:36
or do tethering
Avatar
ChillerDragon 2018-06-24 10:36:39Z
i cant take my laptop with there @Gabee
Avatar
how about you give me your account and I'll do it for you
👼 1
Avatar
ChillerDragon 2018-06-24 10:36:49Z
heueueu
10:36
u just want my github followers
10:36
xd
Avatar
I swear I won't send nudes on PR
Avatar
ChillerDragon 2018-06-24 10:37:03Z
#GithubFame
10:37
xd
Avatar
you can have followers on github?
Avatar
ChillerDragon 2018-06-24 10:37:48Z
sure
Avatar
but its not the main purpose of the site
Avatar
ChillerDragon 2018-06-24 10:37:53Z
it is
Avatar
ChillerDragon 2018-06-24 10:38:10Z
most people think cool kids hangout on insagram or snapchat
10:38
but real social media shit is github
10:38
with comments
10:38
emojies and rections
😃 1
Avatar
the main purpose for me is to sync/backup code from home to server
Avatar
ChillerDragon 2018-06-24 10:38:31Z
followers
10:38
thats what most people think
10:38
but github replaces 9/10 social media sites
Avatar
good luck finding your girlfriend through github
Avatar
ChillerDragon 2018-06-24 10:39:45Z
xd
10:39
"we pushed the same code Q.Q"
10:40
"We have so much in common"
10:40
"Do… do you wanna host my tw server? 😢 "
10:40
nah sorry @ChillerDragon
Avatar
ChillerDragon 2018-06-24 10:40:29Z
xxxxxxd
10:40
single forever lul
Avatar
no u find people to host for u ingame lol
Avatar
ChillerDragon 2018-06-24 10:41:54Z
@noby ik u wont but i would buy u an ice cream too if u create an pr with the client version thing
10:42
even if its only a proof of conecept
10:42
anything i can merge on vacation
Avatar
i already have it on my server
Avatar
ChillerDragon 2018-06-24 10:42:18Z
ik
10:42
@noby help to spread love ❤
Avatar
just replace the autoban code with chat message
Avatar
ChillerDragon 2018-06-24 10:42:50Z
i cant do it
10:43
i need to merge something tomorrow from my phone
Avatar
making prs is so much work
10:43
oh
10:43
tomorrow isnt for another 19 hours
Avatar
I don't think you can merge pull requests ddnet repo, @ChillerDragon
Avatar
ChillerDragon 2018-06-24 10:46:09Z
ddnet sux lol
10:46
i merge prs in the ddnet++ repo
Avatar
@Dev why is only one master server actually responding (62.210.136.156)
Avatar
i think there is a problem. i saw some chatting about it another day
11:22
irclinkBOT - Last Friday at 5:38 AM [teeworlds] <Nibiru> Sup with masterservers? DoS again? irclinkBOT - Last Friday at 9:10 AM [quakenet] <deen> Nibiru: Yes, spam of server registrations from spoofed ips on all master servers, thus real servers get dropped
Avatar
[ddnet/ddnet] New branch created: staging.tmp
Avatar
@heinrich5991 are you okay with me merging #1157?
14:04
bors is making quite a hit on my github activity 😛
Avatar
yes, please merge that 🙂
14:04
This comes at the cost of one allocation per started thread. This should be okay because we're about to invoke a syscall anyway.
14:05
(we even have tests covering thread creation, so you can feel a little better merging that 😉 )
Avatar
[quakenet] <Learath2> I didn't understand that btw :P
14:06
[quakenet] <Learath2> what was the warning?
14:07
[quakenet] <heinrich5991> casting incompatible function pointers
14:07
[quakenet] <heinrich5991> (void ()(void*))threadfunc
14:07
[quakenet] <heinrich5991> (void *(*)(void*))threadfunc
14:07
[quakenet] <heinrich5991> but
14:07
[quakenet] <heinrich5991> void (*threadfunc)(void *)
14:08
[quakenet] <heinrich5991> i.e. it's casting a function returning void to a function returning void *
14:08
[quakenet] <Learath2> ? which function expects one returning void *?
14:08
[quakenet] <heinrich5991> which works on x86 on current compilers etc, but not according to the C standard
14:08
[quakenet] <heinrich5991> pthread_create
14:09
[quakenet] <Learath2> what does it do with the return?
14:09
[quakenet] <heinrich5991> save it and give it to the user if they're calling pthread_wait
14:09
[quakenet] <heinrich5991> i.e. essentially nothing for us
14:10
[quakenet] <Learath2> so essentially you just wrapped function
14:10
[quakenet] <heinrich5991> yes
14:11
[quakenet] <heinrich5991> so the types agree
14:11
[quakenet] <Learath2> I need to re-polish my type reading skills, (void ()(void*)) confused me for a while
Avatar
cdffd76 More style fixes - heinrich5991 a4833dd Merge #1168 - bors[bot]
14:12
[ddnet/ddnet] New branch created: staging.tmp
Avatar
[quakenet] <Learath2> merged
14:13
[quakenet] <heinrich5991> COOL
14:13
[quakenet] <heinrich5991> we can witness the merge batching :)
14:13
[quakenet] <heinrich5991> it tries to merge both pull requests at once
14:14
[quakenet] <heinrich5991> see bottom of https://github.com/ddnet/ddnet/pull/1160
This comes at the cost of one allocation per started thread. This should be okay because we're about to invoke a syscall anyway.
14:14
[quakenet] <heinrich5991> Learath2: ^
14:14
[quakenet] <Learath2> yeah
14:15
[quakenet] <Learath2> oh, apparently i fell asleep before sending my review on #1136
14:15
[quakenet] <Learath2> good thing github saves those drafts
14:20
[quakenet] <heinrich5991> good review
14:20
[quakenet] <heinrich5991> dunno how I missed that
Avatar
36694d3 Add a way to call for external moderator help - heinrich5991 33acd36 Add shebang line to the modhelp script (thanks @ChillerDragon) - heinrich5991 1b4a162 Fix warning about incompatible function pointers - heinrich5991 187b9ab Revert accidental .travis.yml change - heinrich5991 56876c7 Add information about whether a moderator is present to the /modhelp POST - heinrich5991 e5e0508 Make port and client ID integers on /modhelp POST - heinrich5991 57e2645 Unify spelling of Modhelp - heinrich5991 7b76208 Use m_ModhelpTick to store the last modhelp action - heinrich5991 ebb9481 Merge #1157 #1160 - bors[bot]
Avatar
ChillerDragon 2018-06-24 14:34:23Z
lul
14:34
did we merge the modhelp stuff
Avatar
yes
14:34
@Learath2 did
Avatar
ChillerDragon 2018-06-24 14:35:12Z
yay
14:35
i still didnt test it
14:35
xd
14:36
having this test_heinrich_noob_code folder lying on my desktop
14:36
guess ima delete it now xd
Avatar
@heinrich5991
14:49
in roles
Avatar
ty
Avatar
SHA256 was chosen because it is reasonably standard, the file names don't explode in length (this rules out SHA512) and it is supported by basically all versions of OpenSSL (this rules out SHA5...
Avatar
@Dev ip 31.186.251.128 has been sending my server ~150-200 bps of data for hours, why?
16:29
its one of the master servers
16:30
registered as ddnet.tw
Avatar
@noby do you try to register there?
Avatar
i blocked the ip for like an hour as a test and it recorded ~90 outgoing packets and ~5000 incoming
16:36
it uses a different master to register
16:36
and people who can see it are still playing on it
Avatar
@noby was it SYN packets?
16:40
port 8301
Avatar
@noby local port 8301 or remote?
16:44
coming from 8301 going to server port num
Avatar
@noby can you check what packets those are?
Avatar
14 bytes: a0f0 0ffb ffff ffff 6677 3f3f 0000 0000
Avatar
is that the UDP payload?
Avatar
what's your server's IP address?
Avatar
how often are these packets sent, @noby ?
Avatar
about 2 per second
Avatar
so if I listen for 5 seconds, I should get some. let's see
Avatar
@noby I don't see any
17:04
might it be that these packets are spoofed?
Avatar
based on that and that^ message yea
17:05
maybe that kid is spoofing packets
Avatar
that packet looks useless though
Avatar
gosh this is the fw?? packet everything ok xd
Avatar
it has too few ff's for that
Avatar
@noby you mean me? no I'm only laughing cuz you cry for a very small amount of packets
Avatar
im reporting a possible problem with one of the master servers
Avatar
so you should think before use the word "kid" 😃
Avatar
do you feel addressed when someone says 'kid' or what?
Avatar
@heinrich5991 actually he talked about me
Avatar
aha
Avatar
well what am i supposed to think when someone known for ddosing posts nothing but an emote in reply to what i said
Avatar
again with 5th world countries allowing spoofed packets to escape their networks
Avatar
I'm not known for teeworlds based packets (edited)
Avatar
tcpdump on usa.ddnet.tw seems to report very wrong reverse dns results
Avatar
@Deleted User haha come on
Avatar
lol i wouldnt know which method u use
Avatar
@Gabee shht xD
Avatar
I vote we remove countries that refuse to implement source ip checks from the internet until they do
Avatar
heh? xD
17:13
@Learath2 but what if they do not care of how a lil community is reacting o:
Avatar
the internet – little community?
Avatar
ho, if you use that word no
Avatar
@Learath2 countries != networks??
Avatar
thought he was mentioning tw directly
Avatar
[quakenet] <Learath2> it's mostly countries that are igonring it rather then telecom giants
17:15
[quakenet] <Learath2> state owned telecom networks in countries that just don't care
Avatar
[quakenet] <Gabee> Ah yeah, that true
17:25
[quakenet] <Gabee> but then the people in these countries will be held hostages
Avatar
what countries we talking about?
Avatar
idk, but a lot of countries "allows" spoofing so
Avatar
[quakenet] <Gabee> they do in france?
Avatar
yeap xD
Avatar
which providers allow this?
18:15
or ISP
Avatar
free
18:15
xD
Avatar
7a29f38 Added Mariac to helpers - gdin
Avatar
/usr/bin/c++ -DCONF_DEBUG -DGLEW_STATIC -I/usr/include/freetype2 -I../src/engine/external/glew -I/usr/include/ogg -I/usr/include/opus -I../src/engine/external/pnglite -I/usr/include/SDL2 -I../src/engine/external/wavpack -Isrc -I../src -I../src/engine/external/zlib -g -fstack-protector-all -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -std=gnu++11 -MD -MT CMakeFiles/DDNet.dir/src/engine/client/client.cpp.o -MF CMakeFiles/DDNet.dir/src/engine/client/client.cpp.o.d -o CMakeFiles/DDNet.dir/src/engine/client/client.cpp.o -c ../src/engine/client/client.cpp In file included from /usr/include/c++/8.1.1/x86_64-pc-linux-gnu/bits/c++allocator.h:33, from /usr/include/c++/8.1.1/bits/allocator.h:46, from /usr/include/c++/8.1.1/bits/stl_tree.h:64, from /usr/include/c++/8.1.1/map:60, from ../src/game/gamecore.h:9, from ../src/game/client/gameclient.h:11, from ../src/game/client/component.h:7, from ../src/game/client/components/menus.h:13, from ../src/engine/client/client.cpp:18: /usr/include/c++/8.1.1/ext/new_allocator.h: In instantiation of ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = CGetFile; _Args = {IStorage*, char (&)[256], char (&)[256], IStorage::<unnamed enum>, bool&, bool}; _Tp = CGetFile]’: /usr/include/c++/8.1.1/bits/alloc_traits.h:475:4: required from ‘static void std::allocator_traits<std::allocator<_Tp> >::construct(std::allocator_traits<std::allocator<_Tp> >::allocator_type&, _Up*, _Args&& ...) [with _Up = CGetFile; _Args = {IStorage*, char (&)[256], char (&)[256], IStorage::<unnamed enum>, bool&, bool}; _Tp = CGetFile; std::allocator_traits<std::allocator<_Tp> >::allocator_type = std::allocator<CGetFile>]’
21:44
/usr/include/c++/8.1.1/bits/shared_ptr_base.h:662:4: required from ‘std::__shared_count<_Lp>::__shared_count(std::_Sp_make_shared_tag, _Tp*, const _Alloc&, _Args&& ...) [with _Tp = CGetFile; _Alloc = std::allocator<CGetFile>; _Args = {IStorage*, char (&)[256], char (&)[256], IStorage::<unnamed enum>, bool&, bool}; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’ /usr/include/c++/8.1.1/bits/shared_ptr_base.h:1328:35: required from ‘std::__shared_ptr<_Tp, _Lp>::__shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<CGetFile>; _Args = {IStorage*, char (&)[256], char (&)[256], IStorage::<unnamed enum>, bool&, bool}; _Tp = CGetFile; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2]’ /usr/include/c++/8.1.1/bits/shared_ptr.h:360:64: required from ‘std::shared_ptr<_Tp>::shared_ptr(std::_Sp_make_shared_tag, const _Alloc&, _Args&& ...) [with _Alloc = std::allocator<CGetFile>; _Args = {IStorage*, char (&)[256], char (&)[256], IStorage::<unnamed enum>, bool&, bool}; _Tp = CGetFile]’ /usr/include/c++/8.1.1/bits/shared_ptr.h:706:14: required from ‘std::shared_ptr<_Tp> std::allocate_shared(const _Alloc&, _Args&& ...) [with _Tp = CGetFile; _Alloc = std::allocator<CGetFile>; _Args = {IStorage*, char (&)[256], char (&)[256], IStorage::<unnamed enum>, bool&, bool}]’ /usr/include/c++/8.1.1/bits/shared_ptr.h:722:39: required from ‘std::shared_ptr<_Tp> std::make_shared(_Args&& ...) [with _Tp = CGetFile; _Args = {IStorage*, char (&)[256], char (&)[256], IStorage::<unnamed enum>, bool&, bool}]’ ../src/engine/client/client.cpp:1524:133: required from here /usr/include/c++/8.1.1/ext/new_allocator.h:136:4: error: no matching function for call to ‘CGetFile::CGetFile(IStorage*, char [256], char [256], IStorage::<unnamed enum>, bool&, bool)’ { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
21:44
In file included from ../src/engine/client/client.cpp:43: ../src/engine/shared/fetcher.h:84:2: note: candidate: ‘CGetFile::CGetFile(IStorage*, const char*, const char*, int, bool)’ CGetFile(IStorage *pStorage, const char *pUrl, const char *pDest, int StorageType = -2, bool CanTimeout = true); ^~~~~~~~ ../src/engine/shared/fetcher.h:84:2: note: candidate expects 5 arguments, 6 provided ninja: build stopped: subcommand failed.
21:45
succinct errors – thanks c++ templates 🙂
Avatar
ChillerDragon 2018-06-24 22:05:20Z
@heinrich5991 i will add the issue tomrrow oke?
22:05
@heinrich5991 since im today still awake and i can create some real github traffic from my pc
22:05
but i promise i will do it tomorrow
22:06
(dont get confused: tomorrow isnt after sleeping in german time it is after the next 00:00 xd)
Avatar
I use tomorrow as "after sleep" in german as well
Avatar
ChillerDragon 2018-06-24 22:18:03Z
ye we tend to do it
22:18
but github doesnt so i dont xd
22:19
i released libtw3 in shell
22:19
but my github fanbase already knows xd
22:19
TwPasswdSniffer - Sniffing and filtering correct and wrong passwords attempts of teeworlds servers
22:19
xd
22:19
brand new stuff
22:19
like and subscribe!
Avatar
@heinrich5991 its only ddnet ger that cant find Stellar in its db is that the 1 you checked?
Avatar
@ZombieToad indeed, that one doesn't have it
22:26
mh. replication broken
22:26
@Learath2 ^
Avatar
[quakenet] <Learath2> why?
22:27
[quakenet] <Learath2> I really would rather not deal with this right now
Avatar
are the map release scripts open source?
Avatar
where
Avatar
ddnet/ddnet-scripts
Avatar
https://github.com/ddnet/ddnet-scripts/blob/master/map-release what part adds the points and map type to the sql?
ddnet-scripts - The magic scripts that make DDNet run
Exported 328 message(s)