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-07-14 00:00:00Z and 2019-07-15 00:00:00Z
Avatar
wat
Avatar
for this you just have to fold all the finishes on all your finished maps
06:24
btw, why
Avatar
I think I'll start again with the http masters
07:51
I keep ending up with a design I don't really like
Avatar
ChillerDragon 2019-07-14 08:10:29Z
so what happend to the donation?
08:12
can we get an official ddnet statment or can i blindly trust konstis statement?
Avatar
I don't even know what konsti said
Avatar
ChillerDragon 2019-07-14 08:14:55Z
that jao convinced deen to not accept the money and ban konsti again
08:15
because he is biggest troll
Avatar
It was @heinrich5991 who was against taking it and not @jao
08:16
I think it's a fair decision, paying for an unban shouldn't really be a thing
08:16
anyways, I've been trying to link this god damn json library for the last 2 hours and i've had enough of it
Avatar
ChillerDragon 2019-07-14 08:17:30Z
no paying for a unban is wrong. But you know what is also wrong. Banning konsti in the first place. He is a valuable member of the community. Also nobody forced you to unban him only because he paid.
Avatar
I'm replacing it with nlohmann/json or Tencent/rapidjson asap
08:18
I knew you'd be like this @ChillerDragon, fortunately I don't care much for this "everyone should be able to do whateverthefuck they want"
08:18
you can't go around spouting racist bs and get away with it
Avatar
ChillerDragon 2019-07-14 08:19:22Z
yes it is unlucky that such a nice person doesnt fit the current anti racist mindset
Avatar
Well but i do agree with both of you guys here. But you didn't have to unban him.
Avatar
anti racist mindset?
08:19
Are you on drugs @ChillerDragon?
08:19
When was racism ever okay?
Avatar
ChillerDragon 2019-07-14 08:20:03Z
racism was nevre okay but hating against it is hmm
Avatar
Normal
08:20
You consume way too much reddit
Avatar
ChillerDragon 2019-07-14 08:20:36Z
i prefer to not exclude racist people and let them in their bubble. But rather see their good parts and then hang out with them and try to talk with them.
Avatar
I'm all for not making this a "safespace" doesn't mean I'll tolerate racism
Avatar
ChillerDragon 2019-07-14 08:20:48Z
i spend like 20min on reddit...
Avatar
Each hour xd
Avatar
ChillerDragon 2019-07-14 08:21:24Z
some of his racism sounds like jokes and its not like 24/7
Avatar
We tolerated it for so long, because they seemed like jokes
Avatar
Didn't saw racist joke for a month
Avatar
ChillerDragon 2019-07-14 08:21:51Z
rather improve ddnet bot and censor racist messages than excluding a person. Its not that konsti choose to be racist @Learath2
Avatar
but after banning the guy for what, 50 times now, he still didn't stop
Avatar
ChillerDragon 2019-07-14 08:22:14Z
do you think he decided to become racist just to be evil
Avatar
@ChillerDragon It's not a choice to be racist?
Avatar
ChillerDragon 2019-07-14 08:22:20Z
i dont think so
Avatar
Hi, I have a way to fix Tune zones, so that the projectiles of players inside another tune zone dont look buggy to you anymore. The only disadvantage is, that the projectiles would disappear every 4th tick (not noticalbe in normal gameplay). Is it worht it? I guess no?
Avatar
ChillerDragon 2019-07-14 08:22:31Z
i also dont think its a choice to be hompophoic etc
Avatar
It most definitely is a choice @ChillerDragon
Avatar
ChillerDragon 2019-07-14 08:22:58Z
if you want to be really tolerant you have to tolerant the people who arent
08:23
or you re not any better
Avatar
@fokkonaut hmm, maybe we could fix it properly with ddnet
Avatar
But only in ddnet
Avatar
@ChillerDragon No, this is just insane, you don't tolerate things that are unacceptable
Avatar
ChillerDragon 2019-07-14 08:23:46Z
konsti excludes peopkle for being muslems and we exclude him for being racist
08:23
who says we are better now
Avatar
Chillerdragon would help an terrorist with blowing shit up because it was his legacy😬
Avatar
Are you all right @ChillerDragon?
Avatar
ChillerDragon 2019-07-14 08:24:14Z
did konsti harm any one on this discord?
Avatar
Would you support ISIS spreading their agenda just so they have "free speech"?
Avatar
ChillerDragon 2019-07-14 08:24:39Z
i dont know i have no contact to ISIS
08:24
i only hacve contact to konsti and i think things went wrong here
Avatar
yeah easy way out for the libertarian
08:24
"Idk that faction"
Avatar
@ChillerDragon thats why you aint admin
Avatar
ChillerDragon 2019-07-14 08:25:37Z
i guess
Avatar
I don't feel like escalating this right now, but I'll just say that I find your position completely insane and borderline the problem with society nowadays
08:26
It is necessary to draw lines in the sand on some things, not everything can be FREE
Avatar
ChillerDragon 2019-07-14 08:26:09Z
sure
Avatar
I still agree with banning this guy, but it should not be a lifetime.
Avatar
ChillerDragon 2019-07-14 08:26:18Z
and i am happy you are against my position
08:26
because you should be allowed to 😃
Avatar
@n000b what's the point of unbanning him every 10 days?
Avatar
Well 10 days is too short, but what is the problem giving new chances even if it is already his 100th.
Avatar
@ChillerDragon I'm very familiar with that video, while it is insane, I find it no surprise that you'd link me that
Avatar
ChillerDragon 2019-07-14 08:28:33Z
i want say that i am not like this xd
Avatar
He knows what is gonna happen and maybe he think that being able to talk is more worth than getting banned sooner or later.
Avatar
@n000b do you think he changed? @ChillerDragon thinks he shouldn't need to change, atleast he has a clear position on the issue
08:29
If you think he changed, you also have a valid position
08:30
If you think he didn't change then my argument is that "He will just get banned again thus there is no point of unbanning him"
08:31
@ChillerDragon you aren't like the guys in that video obv
Avatar
ChillerDragon 2019-07-14 08:32:12Z
maybe the one with trhe glasses xd
Avatar
Point is, konsti got banned a handful of times and he didn't change, a donation shouldn't get him an unban
Avatar
ChillerDragon 2019-07-14 08:32:30Z
i fully agree that money for unban is fucked
08:32
even if it could fill ddnet pockets xd
Avatar
people also offer money for name change
Avatar
ChillerDragon 2019-07-14 08:33:26Z
yea no thats not the way to go i think
Avatar
that's a little better than for an unban
08:33
as long as we can verify that a name belongs to someone, we can do a name change
Avatar
ChillerDragon 2019-07-14 08:34:09Z
paid namechanges could pay the admins time invloived in changing it
08:34
but thats a different topic i guess
Avatar
it's just some work, so the donation is like covering for the work
Avatar
ChillerDragon 2019-07-14 08:34:34Z
same thoughts @Learath2
Avatar
paying for an unban is like paying so the rules don't apply to you
Avatar
ChillerDragon 2019-07-14 08:35:09Z
sounds like trump
08:35
i think konsti is big trump fanboi
Avatar
But why dont we accept the gift and keep him banned? (edited)
Avatar
ChillerDragon 2019-07-14 08:35:28Z
agree on that
08:35
and still honor him
Avatar
he told me he didnt donate for unban
Avatar
He sent the donation with the expectation to be unbanned
08:35
we returned it because we didn't unban him
Avatar
he was already sponsoring chile while banned
Avatar
he donated because he supports ddnet, where did he say it had anything to do with being unbanned..
Avatar
I'm sure @deen and @heinrich5991 wouldn't have a problem with accepting it if he sends it again
Avatar
ChillerDragon 2019-07-14 08:36:23Z
i dont think he expected a unban
Avatar
@noby he literally came up to me ingame and said 500e for unban lmao
Avatar
doesnt mean he said it seriously
Avatar
ChillerDragon 2019-07-14 08:36:47Z
that was probably a mix of jokje and hope but he cant expect that
Avatar
im sure he wanted unban but that doesnt mean he actually seriously means its dependant on that
Avatar
you give him too much or too little credit
Avatar
and the excuse of saying it attracts ddosers
08:37
i find it a bit silly
08:37
hey but its not my problem, i dont pay the servers, up to u
Avatar
@Learath2 if an unban isbworth so much money, don't you think he would care and try to follow the rules instead of getting banned within 2 weeks?
Avatar
anyways, I don't think anyone would have a problem with taking his money no strings attached
Avatar
there were n ostrings attached
Avatar
@Ryozuki it was implied that he wanted to pay 500e for an unban, then he paid the 500, there were implied strings imho
08:39
08:39
u just assumed it
08:39
he sent the money without u telling them ok
08:39
he never expected
08:39
a unban
08:39
ur just plain dumb
Avatar
The guy literally came up to me and asked if I'd unban if he donated 500
08:39
How much clearer can it get?
Avatar
HE IS TROLL OFC HE WOULD DO THAT
08:39
but did u ever agreed with him? NO
Avatar
in #general deen just said that he asked right after the donation for unban
Avatar
THERE ARE NO STRINGS ATTACHED
Avatar
WHY ARE YOU DEFENDING HIS EVERY ACTION WTF?
Avatar
ChillerDragon 2019-07-14 08:40:12Z
only integers
08:40
(sorri)
Avatar
Does he need to sign a fucking contract for things he says to be serious?
Avatar
im not defending his action, im making evidence of how dumb of u for returing 500€
Avatar
@Ryozuki he is a troll so ofcourse he would say it wasn't for an inban
08:40
Same logic
Avatar
At this rate he was never racist, nor was he ever breaking any rules, it was just jokes and memes, so we should unban him anyway
f3 3
Avatar
ur making shit up now
08:41
i never said he is not a nazi
08:41
if a nazi sent me money the last i would do is return it lmao
yes 2
Avatar
You are telling me what he said to me point blank was not serious
08:42
How am I supposed to ever verify what he says if even his words themselves can't be trusted?
Avatar
u dont
Avatar
why do u have to verify anything
Avatar
u shut up and take the money
Avatar
to accept money
08:42
ye exactly
Avatar
No he trolled ryozuki by saying it wasn't for an inban
Avatar
Look, it was courtesy to return his donation when he didn't get what we think he expected
Avatar
ye courtesy
08:43
more like looking ridiculous in front of everyone
Avatar
but its openly visible that he donated a lot of money. soy ou cant just tak eit and shut up about it
Avatar
and it will still be visible that he doanted lot of money even if u return it
Avatar
And it was a reasonable assumption on our part that he expected an unban (given he literally told me that)
Avatar
@Im 'corneum finaly someone with a brain
Avatar
but u dont have to comply with that
Avatar
So if he wants to send it regardless, atleast I wouldn't have a problem with it
Avatar
a donation is implied that there is nothing on retunr
08:44
eveyrone would be ok with that
08:44
with u not unbaning
Avatar
Well I don't really want to talk for others
Avatar
Conclusion both side got good arguments, if he wants he can send the money again. Discussion closed.
Avatar
It's not that far stretched that after taking any money from him, people would think that if he ever gets unbanned it'd be because his money "made us relax the rules"
08:46
I personally don't think that
08:46
But I can see someone taking that position
Avatar
ChillerDragon 2019-07-14 08:48:13Z
08:48
😃
Avatar
bitcoins?
Avatar
ChillerDragon 2019-07-14 08:48:27Z
yy
Avatar
0.039 bitcoins
08:48
isnt that a lot
Avatar
of money
Avatar
what are you buying @ChillerDragon
Avatar
ChillerDragon 2019-07-14 08:48:51Z
more 300 but 500 would be funny
08:48
ddnet donation troll
Avatar
buying weapons on black market
08:49
troll
Avatar
oh wow it's actually a ddnet donation?
troll 2
pepeH 2
Avatar
ChillerDragon 2019-07-14 08:50:40Z
in case i get banned for supporting nazis troll
Avatar
time to reject it
Avatar
ChillerDragon 2019-07-14 08:51:15Z
i guess rejecting btc is waste of money cuz fees
Avatar
@Ryozuki are you being intentionally dense like always or are you just joking? I can't tell today
Avatar
how can he know its u chiller
08:51
im just joking
Avatar
ChillerDragon 2019-07-14 08:51:46Z
i donated with same adddress already
Avatar
@ChillerDragon well since the network is very unbusy nowadays you can send with minimal fees troll
Avatar
ChillerDragon 2019-07-14 08:52:15Z
do you know how much?
Avatar
is bitcoin ded?
Avatar
ChillerDragon 2019-07-14 08:52:20Z
nah
08:52
its increasing in price
08:52
probably stupid of me to give it away
Avatar
where to buy bitcoin @Learath2
Avatar
ChillerDragon 2019-07-14 08:52:48Z
ask my mom
08:52
she has sone
Avatar
I think fstd even got a 3 spb transaction through
08:53
@ChillerDragon I usually put 5 satoshi per byte
Avatar
ChillerDragon 2019-07-14 08:53:16Z
u chill with fstd still?
Avatar
takes like half an hour to get through though
Avatar
ChillerDragon 2019-07-14 08:53:44Z
idk my wallet decides i guess
Avatar
sometimes tho it's like 10 mins 😛
Avatar
@ChillerDragon wat wallet u using
Avatar
ChillerDragon 2019-07-14 08:54:02Z
exodus
Avatar
@Ryozuki I usually get btc from coinbase or localbitcoins
Avatar
@Learath2 and u?
08:54
is exodus made with electron
08:54
looks like
Avatar
ChillerDragon 2019-07-14 08:54:39Z
i think so
Avatar
Electrum
Avatar
ChillerDragon 2019-07-14 08:54:49Z
looks slick
Avatar
ChillerDragon 2019-07-14 08:55:00Z
nice light theme
Avatar
I used to have an entire node
Avatar
exodus has more crypto currencies than bitcoin right
Avatar
Then some patch broke syncing, I didnt have a backup and I didnt want to download all that shit again
Avatar
@Learath2 whats bitcoin cash?
Avatar
It's a fork of btc
Avatar
ChillerDragon 2019-07-14 08:56:16Z
08:56
xd
Avatar
is it better
Avatar
acd62b5 Remove bitcoin address - def-
Avatar
ChillerDragon 2019-07-14 08:56:28Z
xxxd
08:56
nani
Avatar
ChillerDragon 2019-07-14 08:56:39Z
haha
Avatar
Different players can have different tunings for projectiles now, without them looking buggy. The projectile will reset every 4th tick. I changed the VERSION_DDNET_ANTIPING_PROJECTILE, because we need a clientside prediction for this now, which will then be that version, so they dont reset for new ddnet clients.
Avatar
Yeah idk about that
08:56
@deen y?
Avatar
ChillerDragon 2019-07-14 08:56:59Z
to much donations
08:57
oo
08:57
xd
Avatar
See that's what he always does @Ryozuki
08:57
Damned if you do, damned if you don't
Avatar
well i dont care anymore do whathever lmao
08:58
i agree with him being banned if he is racist and a nazi
08:58
but why remove the bitcoin address
Avatar
Yeah I want to know that one aswell :P
08:58
Too much bitcoin?
Avatar
Because it's way too much work to pay out
Avatar
@deen might aswell keep it as btc?
Avatar
might go down to 0 € though
Avatar
Might go up to 20k again ○/
08:59
Think of it as an investment for ddnets future
08:59
We could have proper ddos protection
Avatar
Anyways, I don't mind cashing it out if you don't want to bother
09:01
Or could remove the address I guess
Avatar
lol i just realized you could buy a new laptop
Avatar
I went back and got my laptop @Im 'corneum
Avatar
ah
Avatar
It ended up cheaper then a new one :D
Avatar
ChillerDragon 2019-07-14 09:02:39Z
didnt u just say there is no need for a stable future @deen? So if you don rely on that money and you are too lazy. Then ye see it as an investment. Its not even your money.
Avatar
I think I'll host another GER2 experiment soon
Avatar
ChillerDragon 2019-07-14 09:03:07Z
btc was a nice dontation method :c
Avatar
@ChillerDragon do you only have btc? or did you invest in other coins aswell?
Avatar
ChillerDragon 2019-07-14 09:05:49Z
i invested in iota but i think i lost the coins in trhe void
Avatar
I keep some monero, ethereum and bitcoin
09:05
iota :((
Avatar
ChillerDragon 2019-07-14 09:06:01Z
i was pretty early
Avatar
the money I lost on iota keeps me up at nights
Avatar
ChillerDragon 2019-07-14 09:06:24Z
i never was able to sell it i think i lost my seed or the wallet was broken idk
Avatar
anyways, does anyone have a problem with me replacing the json library?
Avatar
ChillerDragon 2019-07-14 09:07:28Z
what r u talkin about xd
09:07
in ddnet?
Avatar
ChillerDragon 2019-07-14 09:07:41Z
idc
Avatar
@Learath2 damn coinbase wants to know all about me, nope
Avatar
@Ryozuki yeah no anonymity there
09:11
if you want to identify yourself as little as possible localbitcoins is the way to go
09:12
but even there most sellers wont deal with you if you haven't done the id verification
Avatar
I'll sell you bitcoins with a 10% markup if you want 😛
Avatar
If no player was found, it should say 'x is not ranked', instead it says 'Several players were found', that is because if the result is -1, it will say that. With the default result being -2, it can no longer say that, instead it will say that the player is not ranked.
Avatar
great, so first I have to send the btcs to another address, wait a few hours and then I can pay them out
Avatar
ChillerDragon 2019-07-14 09:37:00Z
i actually asked you if it is okay to donate btc but you keept ignoring me as mostly
Avatar
nah, I was eating breakfast
Avatar
ChillerDragon 2019-07-14 09:41:05Z
if you would communicate that and responde to any of the pms im sending you since 20.06.2019 that would be nice.
09:41
and not ignore me in pms and complain in public abaut the donation.
Avatar
there were no questions
Avatar
@deen wait a few hours?
Avatar
yeah, first to verify my id, which takes 5 days apparently
Avatar
you don't already have an account at an exchange?
Avatar
and then wait a few hours for the blockchain to realize that I wanted to transfer money
09:43
I have about 10 accounts but none of them can get out money immediately
09:43
always have to transfer to another address first
Avatar
well a block is out every 10 minutes, you usually get your transaction through in 3 blocks, so 30 mins to transfer to the exchange does sound reasonable
09:44
huh, does actually take a while now that i think about it 😄
09:44
and no exchange in their right minds would just accept confirmations and not wait for the transaction to actually get in a block
Avatar
Meh, spent nearly one hour trying to figure this out now
09:45
way too complicated, but sending the money back also doesn't work
Avatar
it's usually just one bitcoin transaction to an exchange wallet
Avatar
yes, but why am I supposed to that? It's expensive
Avatar
even at 10 satoshi per byte that would come out to sth like 0.3$
09:47
go crazy and make it 50 satoshi per byte and you are still supposed to be paying less then 2$ on transaction fees
09:48
it's usually the exchanges rate that's worse then the average rate that gets you
09:49
If you'd rather not bother with the extra transaction you could always put up a bitcoin address to one of your exchange wallets
09:53
you can also always just send it to me and I'll redonate it through paypal 😛
Avatar
I have decided I don't like cmake
10:09
@heinrich5991 lets go back to bam pls
10:11
or maybe autohell
Avatar
lets ddos paypal by sending money around
Avatar
Bojidar Marinov 2019-07-14 10:23:38Z
if you are going to switch buildsystems again, why not switch to something like meson or tup?
Avatar
we wont switch lol
Avatar
i still can't connect to the ddnet servers, why lmao
10:24
even client switched
Avatar
#general
10:24
why u keep asking this everyday
Avatar
is it still ddosing?
Avatar
okay, shit
Avatar
I suggest running your own server and playing there with your friends
10:25
and not making it public
Avatar
who is ddosing nowadays I wonder
Avatar
ChillerDragon 2019-07-14 10:25:57Z
its even save to make it public small servers usually dont get attacked
Avatar
I guess it's a good time to run a GER2 while they are attacking
Avatar
Is there a way to use a function from CServer inside of CConsole?
Avatar
@fokkonaut hmm, not really, doesn't sound like it'd be appropriate either
10:30
what are you trying to do?
Avatar
I added a paramter to command registration, which defines the access level. I only want to show specific commands in /cmdlist, not only USER accessables, if logged in to rcon, also chat commands that only admins can use
10:31
Therefore I need GetAuthedState() from CServer :D
Avatar
@fokkonaut there is a reason we didn't add the access level as a parameter to register back in the day 😄
Avatar
Why?
10:32
because of this?
Avatar
It leads to this issue
Avatar
i will find a way
10:32
xd
10:32
Well, probably noz
10:32
not*
Avatar
ofc there is a way, it'll just create a lot of spaghetti code
Avatar
Well I have an idea
Avatar
Tell me
Avatar
@Learath2 well, then you probably pay paypal transaction fees additionally
Avatar
actually no, the way we implemented chat commands doesn't allow it @fokkonaut :/
Avatar
we set the console command level low before executing chat commands
10:35
so the access level information is lost
10:36
oh actually that seems fixed
10:37
@fokkonaut in ConUserCommandStatus instead of calling access_status with IConsole::ACCESS_LEVEL_USER, call it with m_AccessLevel
10:38
CGameContext::OnMessage seems to be setting it properly before executing chat commands
Avatar
Dope
10:39
Thanks, lol
Avatar
doesitwork? 😛
Avatar
one problem I see is that admins should be able to execute any rcon command from chat
10:40
but I distinctly remember it not working 😄
Avatar
No, not working
10:40
only if I add the CFGFLAG_CHAT to the commands
Avatar
I wonder where it gets stuck
Avatar
oh we flag it
10:41
Console()->SetFlagMask(CFGFLAG_CHAT);
10:42
CONSOLE_COMMAND("super", "?v[id]", CFGFLAG_SERVER|CFGFLAG_CHAT|CMDFLAG_TEST, ConSuper, this, "Makes player v super", AUTHED_ADMIN)
10:42
this would allow admins to use super as /super in chat
Avatar
if you do add access level to register, make sure you set it properly as default
Avatar
if no access level is passed, set it to a reasonable default, like ACCESS_LEVEL_ADMIN
Avatar
I wont allow no argument
Avatar
Well then you'd have to go and replace every call to Register without introducing any behavioral changes
10:44
might aswell let the compiler do the work 😛
Avatar
i just did xD
10:45
It is not too much
Avatar
I can't get anything to link for the life of me
10:53
I give up, I'll fix another issue 😛
Avatar
Or look at my pull requests
10:53
:)
Avatar
a312247 Add 355 € donation by ChillerDragon - def-
Avatar
@Learath2
10:56
xD
Avatar
@ChillerDragon ehre
❤ 1
Avatar
errornous client id
11:06
love it
11:07
trying to get dbg_dummies to work again without them crashing the server xD
Avatar
ChillerDragon 2019-07-14 11:07:57Z
oh i had that latley
11:08
when spamming too much helath and armor
11:08
?
Avatar
ChillerDragon 2019-07-14 11:08:22Z
th erronous client id thing yy
Avatar
why should it come from too much armor
Avatar
ChillerDragon 2019-07-14 11:08:40Z
idk maybe the get ids
11:08
that has nothing to do with client ids
Avatar
ChillerDragon 2019-07-14 11:09:02Z
ah nvm
11:09
it was "id erro"
11:09
[19-07-11 18:24:38][chat]: *** 'ykz.iNtox[y]' entered and joined the game [19-07-11 18:24:38][game]: team_join player='5:ykz.iNtox[y]' team=0 [Thread 0x7fffeeeb9700 ...
11:09
mi nobo
11:09
ya dbg dummies could be usefull for circleci
11:10
if we had a sleep command as well ...
Avatar
Based on DDraceNetwork by deen & contributors (www.ddnet.tw) which is based on the great game teeworlds (www.teeworlds.com). - DDNetPP/DDNetPP
11:10
why are you gay
Avatar
ChillerDragon 2019-07-14 11:10:19Z
didnt u plan something there @Learath2
Avatar
just read log
Avatar
ChillerDragon 2019-07-14 11:10:24Z
oh no it was some await comnmand
11:10
who says im gay?
Avatar
you are gay
no 1
🇺 1
Avatar
ChillerDragon 2019-07-14 11:10:46Z
xxxd
11:10
WTF
Avatar
I looked into it @ChillerDragon
11:10
Not too easy
Avatar
ChillerDragon 2019-07-14 11:11:00Z
hm sad
11:11
what about good ol sleep
Avatar
The console is very much single threaded :D
Avatar
ChillerDragon 2019-07-14 11:11:31Z
imagien this in circleci ./DDNet-Server "gdb_dummies 32;sleep 20;shutdown"
Avatar
@ChillerDragon if you spawn too many entities, it makes sense that there are no free ids xD
Avatar
ChillerDragon 2019-07-14 11:11:41Z
mimimi
11:11
issue is closed already onbo
11:11
you are gay
no 1
🇺 1
11:11
that nice
Avatar
lol, you were literally trying to spawn 999999999999 hearts
Avatar
ChillerDragon 2019-07-14 11:12:00Z
ddnet bot no u xxxd
Avatar
Then who is gay?
11:16
m_TrailProjs[i]->m_Pos += (m_TrailHistory[HistoryPos + 1].m_Pos - m_TrailProjs[i]->m_Pos)*(AdditionalLength / NextDist); why does this line crash in latest ddnet but not in ddnet 9.0.2
Avatar
whoknows
Avatar
yea, i dont
11:17
thats why i am asking
Avatar
depends on how it crashes
Avatar
with a nice popup
11:18
Debug Assertion Failed, deque subscript out of range
Avatar
well there are two subscripts there so either i or HistoryPos + 1 is going out of range 😄
Avatar
I wonder why it doesnt crash in 9.0.2
Avatar
I've never hated anything as much as trying to work with json in c++
Avatar
fabdc73 Fix 'several players were found' on /rank - fokkonaut d3c6f1b Merge #1823 - bors[bot]
Avatar
@Learath2 sorry for asking again, but why is string formatting not enough for building json?
Avatar
I need to iterate over players
11:35
it quickly leads to a very ugly format string
Avatar
hm okay
Avatar
I mean I did have a workaround planned
11:35
still don't want to commit ugly code
Avatar
@heinrich5991 send help, can't find the issue for my problem xd
Avatar
@fokkonaut use gdb
Avatar
@heinrich5991 I have another problem though, I'm having trouble designing a nice architecture in the code
Avatar
i am using visual studio
Avatar
use its debugger
11:36
and ignore @Learath2 next line
11:36
😛
11:37
@heinrich5991 I'm having trouble getting it clean, I have a class that maintains a connection to the masterservers
Avatar
like the old CRegister?
11:37
I had another class to represent an HTTP server info
11:37
with a serialize and unserialize function
Avatar
like the oldIMasterServer
Avatar
okay
Avatar
It's hard to talk without a reference
11:38
DDraceNetwork, a cooperative racing mod of Teeworlds - ddnet/ddnet
11:39
I'm not very pleased about the interface to GetServerList
11:39
And RegisterUpdate is borderline legal 😛
11:39
It's code that shouldn't ever be on the client
Avatar
@Learath2 I don't actually think you need to share code between server/client beyond "get the contents of hmasters.cfg"
11:46
on server side we have register.cpp, on client side we have serverbrowser.cpp
Avatar
I wanted to have a CHRegister that handles that stuff, but then it'd need access to the internals of CHMasterServer
11:47
I don't think serverbrowser.cpp should be handling the specifics of the protocol tbh, even the current pieces look ugly
Avatar
hm, okay
Avatar
Maybe a CHClientMaster and a CHServerMaster that implement the same interface?
Avatar
hm.
Avatar
and a base class that implements the common part
Avatar
I mean CMasterServer before was just involved with doing a DNS lookup for the master servers
11:48
if we'd keep things the same way, we could make it a pretty interface to a list of strings in hmasters.cfg
Avatar
Currently CHMasterserver reads a hmasters, checks that the masters are valid, and keeps checking a couple times
11:49
if a master is live its marked with STATE_LIVE
11:49
that's all I want it to do tbh
Avatar
what is that for?
Avatar
So the other parts are simpler
11:51
e.g. Register knows for sure that the LIVE masters are working so it can just query those
11:51
if a master dies otherwise we'd keep sending it messages
Avatar
I think you should lower the interval in which you're sending updates to masters that 1) have banned you or 2) return errors on your requests
11:53
i.e. register has to deal with that anyway, it's just one of the failure cases(?)
Avatar
I was thinking of letting the client and the server parts mark the master servers ERROR, so the common part tries a couple times, and if they still wont respond mark them INVALID
11:55
I basically want to keep all the code involved in new classes so that we can test it independently
11:56
So hooks into the existing code needs to be kept small
Avatar
yep, I'm in favor of that
11:56
but that doesn't imply sharing code between server and client
Avatar
That's why I didnt really want to make serverbrowser.cpp aware of the protocol
Avatar
then let's maybe create a new file
11:57
call it foobar.cpp until we figure out a name 😛
Avatar
But the problem is that the server and client need to share some code and definitely not share other code
Avatar
(I feel like having another status endpoint just increases complexity)
11:58
okay, so currently it's status endpoint and reading hmasters.cfg
Avatar
Yed, the status endpoint can be removed, but I think it's nice to have
12:00
I can inagine using it
12:02
Even without that we still need it to read hmasters.cfg
Avatar
yep
12:02
but that can be nicely contained
12:02
it'd essentially be a glorified list with a storage backend and a default 😄
Avatar
I mean even if we share that code there is some common part, as soon as you have a common part its not that hard to add more
Avatar
what common part is there beyond this?
Avatar
I mean if you leave it just handling hmasters its still a common part
Avatar
yes. but that's a nice clean interface, one can do the rest in the respective client/server source
Avatar
Thats 2 more source files
Avatar
yes
Avatar
Also its not that clean
12:08
As both the server part and the client part will need to keep a list of masters
12:08
Essentially doubling up code
Avatar
I don't follow
Avatar
Its what we have now
12:09
Cregister and cserverbrowser both keep states for the masters on their own
12:09
So I guess state handling should also be common code
Avatar
hmm
Avatar
Maybe with a better interface it'd look acceptable, but the current interface is very much meh
12:13
All the getters and setters
Avatar
I guess you'd need to keep state per masterserver in the register code anyway
Avatar
You'd also need to keep state in the client code
Avatar
I'd keep the state in the client/server code then
12:25
since otherwise you'd share weird stuff
Avatar
I'll give it another go, but I dont see if itll fit together nicely
Avatar
@deen @ano also seems to get the certificate thing, I wonder if its not isolated to china
12:51
We should be able to hook in with CURLOPT_SSL_CTX_FUNCTION and print the cert out
Avatar
@Learath2 do they also see the correct certificate in the browser?
Avatar
c8198cc Annotate str_timestamp_format with format arguments - heinrich5991 af083f0 Merge #1824 - bors[bot]
Avatar
apparently on mac osx you get /usr/bin/openssl linked to libressl
18:55
...
18:59
why must everything be a struggle? can't get openssl linked on mac os without fiddling around forever
19:00
@ChillerDragon do you happen to know the proper solution?
Avatar
ChillerDragon 2019-07-14 19:06:10Z
yes
19:06
hombrew tells u even
19:07
@Learath2 i have this in my .bash_profile export PATH="/usr/local/opt/openssl/bin:$PATH" export LDFLAGS="-L/usr/local/opt/openssl/lib" export CPPFLAGS="-I/usr/local/opt/openssl/include" export PKG_CONFIG_PATH="/usr/local/opt/openssl/lib/pkgconfig"
Avatar
look at that mess 😦
19:08
Yeah I didn't ever think that'd be the "proper" solution
Avatar
ChillerDragon 2019-07-14 19:08:47Z
doesnt look mess to me at all
19:09
i used to copy brew libs into xcode paths
19:09
that was a mess
Avatar
I added OPENSSL_ROOT_DIR to my cmake arguments
19:31
atleast that's just one argument I need to bother with
19:32
Apparently dbg_curl, already prints the certificates :/
Avatar
apparently not if the certificate verification fials
19:43
fails*
19:43
how stupid, you'd want to know the cert if it failed more then if it succeeded
Avatar
Might add this, it's just for abusing the CI right now.
Avatar
oh I bet the windows build doesn't link to openssl...
19:46
Please, for the sake of everything that's holy, can someone build this branch with openssl?
19:49
ofc it doesn't link on linux, because fuck backwards compatible apis
19:52
Maybe I should just open a cafe somewhere
Avatar
cafe?
Avatar
like a proper cafe, where one sells coffee
19:53
I like coffee, it's simple, you put beans in coffee comes out
19:53
always
19:54
I bet it's because curl is linked to an ancient version of openssl, that's causing the executable to link against an old af version of openssl
Avatar
and to no surprise the version of curl on circleci links to openssl 1.0.2s
20:07
Imagine releasing a mission critical library, to be used by millions of people, by thousands of pieces of software that run critical cryptographic operations and having documentation worse then teeworlds with backwards compatibility of a cs students first attempt to write a library
20:08
I don't know how to get this to link either, next project
20:13
even if I get it to link, curl on windows uses winapi crypto, and the hook i'm using doesn't support winapi crypto
Avatar
Okay I'm calling curl bug on that, I'm not sure why it only happens on some people
20:21
https://github.com/curl/curl/commit/8996300 fixes a TODO, that says on windows only the first name would be checked on certs with alternative names
  • Move verify_certificate functionality in schannel.c into a new file called schannel_verify.c. Additionally, some structure defintions from schannel.c have been moved to schannel.h to allow th...
Avatar
@Learath2 I only see one name on the certificate on ddnet.tw
Avatar
I see many
20:30
20:31
@deen any reason we aren't using a wildcard one btW?
Avatar
wildcard support is new for let's encrypt and needs programmatic support at the dns hoster to change records
Avatar
ye it not good rn
20:34
i tried it
Avatar
you can also do the dns challenge iirc
20:34
I have it running quite smoothly for learath2.info
Avatar
@Learath2 isn't that exactly what I said 😦
Avatar
ooh, I never updated learath2.info
20:35
I had it running on some other project
20:36
@heinrich5991 well you can set a dns record on any hoster
20:36
you just can't have it automatic
Avatar
yea well
20:36
non-automatic ssl certificates are a bad idea
Avatar
we could automate it if we hosted our own dns, we have enough servers for it
20:37
or we could use a dns hoster with support for an auto challange
20:37
challenge*
Avatar
yes, see above
Avatar
anyways, beside the point, I think the issue here is the libcurl bug
Avatar
yup
20:38
update libcurl and fix it?
Avatar
but I can't prove it, b/c it should be happening to everyone
Avatar
@Learath2 we have version 7.65, and the fix seems to be in that version
Avatar
yes, somehow on those two peoples computers curl ends up older maybe
Avatar
hm perhaps
20:42
maybe in windows directory or somewhere
20:42
do you know what takes precedence for ddls?
20:43
dlls*
Avatar
I think the one next to the exe has the highest
20:44
but it might be the cwd aswell
Avatar
>If a DLL with the same module name is already loaded in memory, the system checks only for redirection and a manifest before resolving to the loaded DLL, no matter which directory it is in. The system does not search for the DLL.
20:51
wat
Avatar
wait what?
Avatar
so if an old dll is loaded, it just uses it if the module name matches?
Avatar
I'm not entirely sure about the wording
20:52
that sounds very broken if it were true
Avatar
well we'll see as soon as appveyor compiles
Avatar
perhaps they mean "if already loaded by the same program"
Avatar
hopefully
Avatar
which windows version were these people on?
Avatar
@ano is on windows 7, idk about the other guy
20:56
but If you were thinking some windows xp shenanigans I did so aswell 😛
Avatar
yes
20:56
😄
Avatar
I can imagine win xp older then sp3 not supporting SNI
Avatar
indeed
Avatar
if anyone even uses xp sp2 nowadays that is 😛
20:58
@ano seems to actually have gone offline, I guess we'll need to wait to know what it links to 😦
Avatar
windows xp sp3 still doesn't support sni apparently(?)
Avatar
No, he is still here \o/
20:59
No, he is leaving rn /o\
21:00
@heinrich5991 do you windows?
Avatar
no
Avatar
watching msvc is like watching a cripple old man trying to build a house by hand
21:03
what an absolutely useless day, spent a quarter day trying to link json-builder, another quarter struggling with cmake, and another quarter with this stupid libcurl bug and not even getting an answer
21:04
I guess the first two quarters combine to a half of struggling with cmake
Avatar
wanna end it with struggling to finish a ddnet map?
Avatar
I only have a laptop 😦
21:04
no mouse no keyboard
21:04
well a shitty keyboard
Avatar
easy
21:05
trackpad
Avatar
and on mac ddnet runs like shit, turns my computer to a toaster owen
21:05
oven*
Avatar
y have macbook?
Avatar
and even then it runs at like 10fps
21:05
@archimede67 I did ios development for like 6-8 months
Avatar
ahh kk
Avatar
then my thinkpad died
21:05
well the battery
21:06
then I stuck with this b/c it'd be a waste to get a new one when I have a working laptop
Avatar
yeah
Avatar
maybe I should hire a guy off of upwork to link the json library
Avatar
you are rly struggling xd
21:09
alright time for me xd have a good night struggling with this xd
Avatar
ChillerDragon 2019-07-14 21:57:29Z
jeez do you have a used macbook air from 2012 @Learath2 ?
21:57
even my old macbook doent turn hot while playing tw
Exported 637 message(s)