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-19 00:00:00Z and 2019-07-20 00:00:00Z
Avatar
07089be Restart required message when changing Show console - fokkonaut 78f5262 fix build - fokkonaut 3edaf4b Style fixes - fokkonaut ebeeace Merge #1841 - bors[bot]
Avatar
02f5723 Force spawn order of teams. Fix #1828 - Learath2 72dcf6f Merge #1838 - bors[bot]
Avatar
Дядя Женя 2019-07-19 01:40:20Z
Btw what about showing mapname instead of "Scoreboard" label on TAB
01:40
Should be easy and helpful af
Avatar
Not usefull xd
Avatar
Дядя Женя 2019-07-19 01:41:43Z
A lot of time I need to know the mapname
Avatar
Server Indo
01:41
Info*
Avatar
Дядя Женя 2019-07-19 01:41:54Z
Even before I started making database
Avatar
or just /mapinfo
Avatar
@Дядя Женя there is already a pr for it
Avatar
Дядя Женя 2019-07-19 01:42:29Z
Would be even better if it showed points as well
Avatar
that’s too bloated
Avatar
Дядя Женя 2019-07-19 01:42:46Z
But harder to make
01:43
yea too
Avatar
Just look at /mapinfo
01:43
you dont need to check these information like every 5 sec while you are playing
Avatar
Дядя Женя 2019-07-19 01:43:39Z
Its uncomfortable
Avatar
having map name is still neat
Avatar
take 5 secs to write the command or on server enter look at the MOTD, all information is there
Avatar
I’m not even sure if there’s a sane way to get points client side
Avatar
You would need to send some messages again, which is just useless
Avatar
Дядя Женя 2019-07-19 01:47:06Z
If the motd is on the client side also, you can just parse it. Its stupid, but works
01:47
XD
Avatar
that doesn’t count as sane way
Avatar
Дядя Женя 2019-07-19 01:47:58Z
Yes, but works))))
01:48
Also
01:48
What about fixing fucking dummy switching on gun while hammerfly
01:48
Its annoying
01:48
Just played with dummies with my friend
01:49
This problem appears tooo often
01:49
For him and me
01:49
Im using "+toggle" for HF, he's using built-in bind
01:49
Why not just NOT switch any weapon
Avatar
I think that’s fixed on master
Avatar
Дядя Женя 2019-07-19 01:50:17Z
It would make lasering possible, for example (edited)
01:51
You can still take laser on dummy, toggle hammerfly and he will laser you
01:51
But then start switching
01:51
So why not just let player switch the weapons himself
01:52
You can even make a setting for this "switch dummy on hammer while hammerfly"
01:52
The most annoying ddnet bug
Avatar
switching to hammer when activating a hammerfly setting makes sense lol
Avatar
Дядя Женя 2019-07-19 01:54:22Z
So if we think this way
01:54
We can go even further
01:54
And dont reset inputs while dummy is in hammerfly mode
01:55
So you will be able to hold hook up as dummy and laser your player
Avatar
then it won’t be a hammerfly setting anymore
Avatar
Дядя Женя 2019-07-19 01:55:41Z
Yes
01:55
It would be for everything
Avatar
so you realize that you don’t make sense
Avatar
Дядя Женя 2019-07-19 01:56:19Z
ThinkSweat
Avatar
the purpose of it is to easily hammerfly with dummy
01:56
that’s it
Avatar
Дядя Женя 2019-07-19 01:57:13Z
Also we found a bug I guess 🤔
01:57
Copy moves is not overwriting hammerfly
01:57
But im not 100% sure
Avatar
could also argue the other way around would be a bug (edited)
01:58
if I understand you correctly
Avatar
Дядя Женя 2019-07-19 01:59:09Z
Im saying that copy moves shouls overwrite any input from dummy
01:59
Even if hammerfly is on
02:00
Sometimes you need to jump over freeze and fall together with dummy after hammerfly, its easy to do with copy moves
02:00
Thats an example
Avatar
Дядя Женя 2019-07-19 02:00:22Z
When toggling copy moves you expect your dummy to copy moves
02:00
Not still hammerfly
Avatar
open an issue for it
Avatar
Дядя Женя 2019-07-19 02:01:13Z
Also
02:01
(Yes, i have MORE)
02:01
My friend came up with an idea
02:01
Its hard to make
02:01
Or not so hard**
02:01
Server sided btw
02:02
Copy moves is very often brokes
02:02
i mean desynchronization of movements with player
02:02
When you're trying to pass solo with copy moves
02:02
It depends on the ping difference I guess
02:03
So my friend suggested to send input info just once, from main
02:03
For both. Main and dummy
02:04
the dummy is on a different connection
Avatar
Дядя Женя 2019-07-19 02:04:34Z
But I don't know if its safe to do that, because it makes possible to write a cheat which would send to server just "Tee named XXX is my dummy. Move it" (edited)
Avatar
you could take control over other players
Avatar
Дядя Женя 2019-07-19 02:05:53Z
Yes
02:06
Thats what I mean
Avatar
Дядя Женя 2019-07-19 02:06:04Z
But the idea was good (edited)
02:06
It needs some improvements
Avatar
not worth it
Avatar
Дядя Женя 2019-07-19 02:06:56Z
Maybe
Avatar
you’re gaining very little for a lot complexity
Avatar
Дядя Женя 2019-07-19 02:07:59Z
Do you already fixed teleport prediction?
Avatar
teleports can’t be predicted
Avatar
Дядя Женя 2019-07-19 02:08:24Z
Why
Avatar
they are random
Avatar
Дядя Женя 2019-07-19 02:08:32Z
Because of desrination point?
Avatar
can’t predict randomness
Avatar
Дядя Женя 2019-07-19 02:08:38Z
Ok
02:09
Another complex thing is server side prediction
02:10
Maybe useless, not sure.
Avatar
Дядя Женя 2019-07-19 02:10:31Z
I mean a feature when server ... Oh, its hard to explain
02:10
So did you play cs:go?
Avatar
Дядя Женя 2019-07-19 02:10:54Z
There is this feature
02:11
When you have like 500 ping
02:11
And shoot
02:11
You will hit the target if you did so on client
02:11
Because server is comparing your ping and input delay
Avatar
tw is way too fast paced for that
Avatar
that works well for 3d games, but will look strange in 2d
Avatar
Дядя Женя 2019-07-19 02:13:08Z
No more client-sided bugs for now)
02:13
What about fizing servers already
02:13
Whats wrong with them
02:13
Slow connecting and bugs with zoom
Avatar
some attack I guess
Avatar
Дядя Женя 2019-07-19 02:14:35Z
Russian is just impossible to play for most of people (but not me, Im living next to hoster ofc)
Avatar
its not a sv bug
Avatar
I'm really unsure about this one. DEPENDS on #1839
Avatar
@heinrich5991 when you are here please take a look at this last pr's last commit, I don't think it's correct tbh
Avatar
@Learath2 the score message we send is race not ddrace? ^^
Avatar
Yep, check CGameContext::SendRecord
09:36
the Record message that is
Avatar
what's the new RaceShowRecord?
Avatar
idk, I added it to emulate the old behaviour
Avatar
ah
Avatar
that branch of the if statement was taken for servers that are IsRace but !IsDDrace
Avatar
ah
09:37
okay, sounds fair
Avatar
and showing the record is what it seemed to do, hence the name 😄
09:39
There is one more problem however, I just couldn't get the checkpoints working for the life of me
09:40
the server always sends a m_Check of 0
Avatar
I guess GameClient()->m_GameInfo.m_RaceShowRecord && GameClient()->m_GameInfo.m_RaceRecordMessage could just be GameClient()->m_GameInfo.m_RaceShowRecord then?
09:41
(not blocking for merge)
09:41
@Learath2 what do you mean with checkpoints?
09:41
is that something that worked before that I broke?
Avatar
ChillerDragon 2019-07-19 09:41:56Z
who uses checkpoints anyways?
09:41
do racers use them?
Avatar
@heinrich5991 I'm not sure tbh, but I don't think checkpoint times work anymore
09:42
tbh deen didn't even know where the negative time was coming from, he thought it was ghost 😄
09:42
(it's the checkpoint timer)
Avatar
where should it come from?
09:43
from that ddrace record message?
Avatar
from another message called sv_ddracetime
Avatar
do we send both?
Avatar
but the server never seems to send an m_Check != 0, I don't think you broke this
09:43
yeah we do send both
09:43
ddracetime gets sent on checkpoints
Avatar
that sounds broken
Avatar
maybe you need a working score backend?
09:44
let me find a map hosted on ddnet with checkpoints
Avatar
I thought we used the game type in the client to determine which of the messages we accept
09:45
so we'd only interpret all these messages as one kind
09:45
even though we send both? ^^
Avatar
I think they are discrete messages
09:46
with different types
Avatar
oh, DDRACETIME vs RECORD
09:46
okay
Avatar
afk for a bit
Avatar
okay, checkpoints apparently need a working score backend, so they work fine on servers with one
09:54
@heinrich5991 I think we need to keep the m_RaceRecordMessage check there aswell, as if it's not true the server wouldn't be sending the record in the first place
Avatar
25ec19b Set m_Race. Fix #1806 - Learath2 78ac5ce Send the flag from the server - Learath2 2f23b5c Merge #1839 - bors[bot]
Avatar
I don't understand how one can get so sick so quick
Avatar
I was fine 3 days ago, I had a slight cold 2 days ago, now I don't even feel like moving 😄
11:12
Enough time to code now thentroll
Avatar
@Learath2 any objections to merging #1842 then? it looks fine
Avatar
@heinrich5991 nope, you can go ahead, but I have a question about #1839, is m_Race actually the right thing to do here? between all other flags this one looks out of place
Avatar
I felt it was kinda right, it's for enabling race features like automatic demo recording and ghosts
11:28
@Learath2 do you think it should be renamed?
Avatar
well I think it's fine now that I think about it that way
11:30
it felt like a replacement to IsRace, so it felt like it was more of a gametype
Avatar
ah
Avatar
big tryhard
12:28
Avatar
@archimede67 why not ts
Avatar
becauz it needs to be transpilled
13:05
dont tell me ur not using babel
13:05
r u using plain old js
13:05
?
Avatar
im ye
Avatar
"old"
13:05
its ok
Avatar
im playing a game
Avatar
es5
Avatar
its old
13:06
well
13:06
ur making a discord bot
13:06
so ur using nodejs
13:06
ur not using old js
Avatar
ye
Avatar
cuz nodejs implements part of es6 and 7 i think
Avatar
but howuknow i'm making a dc bot
13:08
@archimede67
13:08
bro
Avatar
ah
13:08
wait
13:08
we don't see the same thing xd
13:08
im on discord PTB
Avatar
i have 2 vscode also
Avatar
i also have 2 xd
Avatar
i'm on discord normal xd
Avatar
weeb dev
13:10
feelsbadman
Avatar
u also have 2 screens
Avatar
im on a laptop with 1 screen
Avatar
noob dev
13:12
😎
Avatar
i can't have more xd
13:12
and i don't have more
Avatar
i bet ur on windows too
Avatar
no
Avatar
not on my laptop
13:13
13:14
dis doesnt look like windows
13:14
btw @Ryozuki whats ur vscode theme
Avatar
one dark pro
Avatar
"vorgestern"
Avatar
Yesterday
Avatar
ah
13:15
ty
13:16
xd
Avatar
ChillerDragon 2019-07-19 13:16:00Z
gestern
Avatar
ChillerDragon 2019-07-19 13:16:07Z
day before yesterday?
13:16
sorry
Avatar
ChillerDragon 2019-07-19 13:16:34Z
ya english lacks some cool german words
Avatar
@archimede67 did u leave pc open all night oir what
Avatar
no sleep
Avatar
@archimede67 i tells me 31 mins only tho
Avatar
its a laptop
13:17
so he's in sleep mode the night u know
Avatar
but not shut down
13:18
im so lazy
13:18
making forms
13:18
is
13:18
boring
Avatar
ye
Avatar
even with react
Avatar
it depends
13:18
if its a big form and what is the data
Avatar
i have a form that is 474 lines of code
Avatar
for what data xd
Avatar
uploading a manga info xd
Avatar
ah 😂
13:21
@Ryozuki also ur timer resets on every file no?
13:21
my time is not real
Avatar
you want it like that.
13:22
?
Avatar
so change it
Avatar
u know how?
Avatar
i did
13:22
its an plugin right
13:23
this xd
Avatar
oof
Avatar
its quite complex tbh
13:23
the genre things
13:23
but i made it
13:23
am proud
Avatar
gj
13:24
i have this
13:24
Avatar
@archimede67 wat does ur bot do
13:25
y i have same
Avatar
many things but the cool thing is that u can code modules for it
13:25
found it
Avatar
but basic features are music, fun, nsfw, memes and i'll add some more
Avatar
and also a web interface
Avatar
ill make my own forum with react
Avatar
where u can control ur bot, its modules and manage ur server through it
13:27
but its a lot of work
13:27
for 1 person
13:27
a forum with react, good luck xd
Avatar
why gl
13:27
xd
Avatar
because it needs to be complete
Avatar
it will fit my needs
Avatar
what are ur needs
Avatar
whathever my website needs are
13:28
idk yet
Avatar
ok 😂
Avatar
ok now i need to get back to my real work xd
Avatar
It would be nice if you can select a tee while a demo is paused.
Avatar
Way too much code to read, @Deleted User do you happen to know what text containers do off the top of your head?
Avatar
they store text, like u give it a text and have it as a ID to a buffer in the GPU memory, instead of streaming it every frame
Avatar
I see, is there a limit to how many you can create?
Avatar
VRAM, but basically no
Avatar
thanks
16:37
we really should get some documentation, atleast for the base interfaces :/
16:37
even after looking at this thing for 10 years I don't know every part
Avatar
yeah ur right, would be useful for new coders 😄 (edited)
Avatar
@Deleted User While I have you here: I was thinking of replacing the color structs you use in the graphics code with the new common ones aswell, is there any immediate reason not to that comes to your mind?
16:44
I left them untouched the last time around b/c I already broke enough and didn't want to piss off more people 😄
Avatar
aslong the GPU gets the right color codes u can do what u want ;D
Avatar
e80cb9e fix-ClDyncamMinDistance camera spawn - FallenKN 628f673 Merge #1830 - bors[bot]
Avatar
Дядя Женя 2019-07-19 19:28:55Z
If you will make somw documentation I could join as coder (edited)
Avatar
Don't get your hopes up, we've been meaning to get some documentation for atleast a decade 😄
Avatar
its pretty hard to get into ddnet stuff the first time
Avatar
@Дядя Женя documentation might be too much to ask, but you can definitely ask questions if you do happen to poke the code some time
Avatar
Дядя Женя 2019-07-19 19:49:55Z
is it cpp
19:49
With opengl?
Avatar
what i mean is how ddnet actually works, all the classes and functions and stuff
Avatar
cpp, sdl, opengl
Avatar
Дядя Женя 2019-07-19 19:51:20Z
Never used sdl before
19:51
))))
Avatar
but it's all wrapped very well, you would most likely never interact with sdl or opengl at all
Avatar
Дядя Женя 2019-07-19 19:51:56Z
Yes, I think so too
Avatar
in fact @Learath2 knows it xd
Avatar
b1ed78d Add new flag, Fix #1807 - Learath2 cd89941 Merge #1842 - bors[bot]
Exported 346 message(s)