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 2020-03-05 00:00:00Z and 2020-03-06 00:00:00Z
Avatar
@Learath2 i ported ddnet dummy to 0.7, but hammerfly is slow, takes about 1-2 sec to re-hammer, an idea why?
Avatar
before starting or is every hammer late?
Avatar
every
15:35
calculations are the same of course, dunno why that happens
Avatar
[quakenet] Learath2 BOT 2020-03-05 15:37:54Z
is the rate correct?
Avatar
[quakenet] Learath2 BOT 2020-03-05 15:39:07Z
is it hammering at the correct rate?
Avatar
you mean the interval?
Avatar
[quakenet] Learath2 BOT 2020-03-05 15:40:29Z
yep
Avatar
as said, there is like a 1-2 sec delay inbetween
15:41
its 1 sec
15:41
pretty exact afaict
15:42
nah, more like 1.25 (edited)
Avatar
[quakenet] Learath2 BOT 2020-03-05 15:44:21Z
Hmm, idk how the dummy hammerfly works tbh, but it looks like it's supposed to be every 1.25s
Avatar
that doesnt make sense
15:44
i guess you know how hammering works
15:45
its like every < 0.5 sec
Avatar
[quakenet] Learath2 BOT 2020-03-05 15:45:21Z
does it hammer faster in ddnet6?
Avatar
of course
15:45
like a normal hammerfly guy
Avatar
[quakenet] Learath2 BOT 2020-03-05 15:46:18Z
this is why I hate magic constants in the code, who knows what that 12.5f is based on
15:46
i just set it to 1.25 for testing, and now it hammers faster (too fast)
15:47
so no idea what else causes the hammer on 0.6 to be correct
Avatar
[quakenet] Learath2 BOT 2020-03-05 15:48:20Z
SendInput happens on every snap, which calls OnSnapInput, which increments m_DummyFire and sends a fire input if it's not close to a multiple of 12.5
15:49
if it's close*
15:49
maybe we are calling SendInput more in ddnet?
Avatar
can be
Avatar
[quakenet] Learath2 BOT 2020-03-05 15:50:50Z
Are you sending input on both dummy and main tee snaps?
15:51
and on CClient::Update
15:52
actually on snap we only send it if there was an error
15:52
so I don't see how you could be calling it less
Avatar
@Learath2 btw you fucked up the client commands i guess
16:32
in master i cannot use /w anymore
Avatar
On ddnet7 or on teeworlds?
Avatar
teeworlds client 0.7
Avatar
@fokkonaut is it only /w?
Avatar
dunno, guess all client commands
Avatar
can't be all client commands atleast /all and the commands registered by the server work
Avatar
[quakenet] Learath2 BOT 2020-03-05 17:02:01Z
it's just /w the argument list was wrong
Avatar
@fokkonaut hmm, how is /w supposed to work?
17:14
from the code it seems it should only change the whisper target
Avatar
you write /w <name>, hit enter and then the whisper chat opens and you gotta write a message, hit enter again (COMPELTELY gay imho)
17:15
Btw, what do you recommend now for my dummy hammerfly problem?
17:15
just decrease the 1.25?
17:15
i mean its still weird
Avatar
@fokkonaut it is very weird, maybe ask deen? I think he wrote the original code, he might have a better idea
17:17
@fokkonaut also, /w does seem to work just fine, are you sure it's broken?
17:17
I thought it was supposed to be able to send messages instantly that's why I thought it was broken, but it's not
Avatar
you need to do it on a server that has the new stuff implemented, try out my server
Avatar
new stuff? you are running my pr?
Avatar
my sevrer is up to date
17:18
yes
Avatar
your server has a 2mb map and we don't have http download 😛
17:18
I'll start downloading and go have dinner
Avatar
i increased the download speed.
17:18
should work in seconds
Avatar
it takes 55 seconds
Avatar
bad connection maybe? :P
Avatar
even more actually
17:19
it's a 35mbit link, doubt it's the connection
Avatar
i really wonder why hammer doesnt work, well it seems like it works as expected, since the delay is pretty exactly 1.25s, but then why doesnt it behave like that in dnet?
Avatar
@fokkonaut it works just fine for me on your server aswell
Avatar
latest client?
Avatar
ok well, dunno what was wrong, works now for me too
Avatar
@fokkonaut u nobo thats what is wrongkek troll
Avatar
@fokkonaut did you merge my commands pr in ddnet7?
Avatar
dunno
21:17
dont htink so
21:18
you didnt pr, but you can push them directly to mastr
Avatar
Ah, it needs the vanilla merge of arguments for it to work properly
21:18
we should find a way to get it to work with 0.7.4
21:18
maybe translating the argument lists to strip the things in []
Avatar
i dont care about supporting old clients
Avatar
well you'd only support master, it's not a good idea no one is using master
Avatar
i would just not send the auto completion stuff to older clients, since they can have 22 cmds only
21:19
anyway
Avatar
can't detect older clients can we?
22:16
we need a translator for the arglist anyway for the older clients
Avatar
of course we can detect them, they send client version
22:31
No, we dont need to translate it if we dont send it. They can use the old chat system.
22:31
The chat system needs to stay anyway (for binds)
Avatar
why does it need to stay?
22:50
why does it need to stay for binds?
Avatar
whats the tile id for hookthru tile
Exported 89 message(s)