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-02-11 00:00:00Z and 2020-02-12 00:00:00Z
Avatar
@fokkonaut whats with all the buffer issues in 0.7? What did they change?
Avatar
not sure if they changed much, except the info changes
09:32
as mentioned above, Rainbow is bascially impossible
09:32
Does ddnet have a special system for sending the votes, like rcon cmds?
09:32
If yes, then that explains why it causes the issue in 0.7
09:33
Because i cant remember adding such a thing for 0.7 ddnet
09:38
ok yea, seems 0.7 doesnt have it
09:38
gonna add it
09:41
yep, thats the issue. as vanilla doesnt allow many vote options but ddnet has ?i guess 8k?
Avatar
01dc689 Send vote options balanced - fokkonaut
Avatar
Can anyone test this? 0.7 and 0.6 again have differences here, so not sure whether this works, cant test right now.
10:16
added my sources to the description of the commit
10:20
@ChillerDragon
Avatar
Oh I totally forgot about the limits we had
Avatar
What do you mean?
Avatar
I was wondering why you had trouble with the votes
11:07
Forgot we did aswell
12:52
Ddnet does not drop the clients when the connection is out of buffer
Avatar
It depends on some config option. I did not find out yet which exactly caused it. ``` [2020-02-11 12:56:02][engine]: running on unix-linux-amd64 [2020-02-11 12:56:02][engine]: arch is little endian [2020-02-11 12:56:02][storage]: couldn't open storage.cfg [2020-02-11 12:56:02][storage]: using standard paths [2020-02-11 12:56:02][storage]: added path '$USERDIR' ('/home/chiller/.teeworlds') [2020-02-11 12:56:02][storage]: added path '$DATADIR' ('/usr/share/games/teeworlds/data') [2020...
Avatar
ChillerDragon 2020-02-11 13:20:39Z
good job @fokkonaut the out of buffer on server type change is solved ❤️
13:21
@deen would be nice if official servers could run on latest commit again
Avatar
@redix ddnet6, yes. which is technically stupid
13:21
Because the client glitches out then
Avatar
It only does when there actually is a lost packet. But yeah... This behavior is questionable
Avatar
Well, probably for timeout protection(?)
13:26
So, that even if client glitches, it can reconnect
13:26
and gets back its tee
Avatar
About your rainbow thing: you most not send new skin change packets while the server is resending packets. But right now there is no function for checking this from the game part
13:28
Can you help there?
13:28
Maybe pr it :)?
Avatar
I can look into it. But probably not before next week. Kinda busy right now =\
Avatar
Okay
Avatar
ChillerDragon 2020-02-11 13:40:08Z
Oh that might be the thing that got me stuck on timeout protection @fokkonaut
Avatar
or we can just move the playerinfo back into the snap
Avatar
I'd hope so
Avatar
``` Thread 1 "multimap_srv_d" received signal SIGSEGV, Segmentation fault. 0x00005555555d06d6 in CPlayer::GetTeam (this=0x0) at /opt/twserver/git/ddnet7/src/game/server/player.h:31 31 int GetTeam() const { return m_Team; }; #0 0x00005555555d06d6 in CPlayer::GetTeam (this=0x0) at /opt/twserver/git/ddnet7/src/game/server/player.h:31 #1 0x00005555555e00e4 in CGameContext::OnClientEnter (this=0x7ffff5ab7010, ClientID=7) at /opt/twserver/git/ddnet7/src/game/server/gamecontext.cpp:920 #2 ...
Avatar
im struggling to build ddnet with the demo rendering enabled on windows
16:55
the relevant error seems to be: Could NOT find FFMPEG (missing: AVCODEC_LIBRARY AVFORMAT_LIBRARY AVUTIL_LIBRARY SWSCALE_LIBRARY SWRESAMPLE_LIBRARY AVCODEC_INCLUDEDIR AVFORMAT_INCLUDEDIR AVUTIL_INCLUDEDIR SWSCALE_INCLUDEDIR SWRESAMPLE_INCLUDEDIR) (edited)
Avatar
[quakenet] deen BOT 2020-02-11 16:56:58Z
@Patiga hi. Do you have ffmpeg installed?
Avatar
i tried to, but couldnt figure out how to properly do it
Avatar
[quakenet] deen BOT 2020-02-11 16:57:26Z
that's also what I don't know
16:57
and what's probably the problem
16:57
are you trying to use visual studio or mingw?
Avatar
first i tried it via the official ffmpeg site, where i got a zip with the relevant binaries
16:58
via visual studio
16:58
i think i managed to get them into path, but that didnt seem to help
16:59
next i searched for some ffmpeg installer, found one for audacity, however that didnt work out for me either
16:59
i did manage to build ddnet without the demo renderer
Avatar
[quakenet] deen BOT 2020-02-11 16:59:51Z
does the official ffmpeg even support CMake?
17:00
i think the regular build is easier since we ship the libraries
17:00
but we don't ship ffmpeg. maybe I should just try building ffmpeg for windows?
Avatar
that would be great
17:01
i dont quite know how the entire build system works, so i dont actually know what it would require me to do (to get the ffmpeg system to work)
Avatar
[quakenet] deen BOT 2020-02-11 17:02:44Z
i don't know how cmake works either :D
Avatar
https://discordapp.com/channels/252358080522747904/293493549758939136/676834985277390898 would i need to dive into the ddnet source in order to do this manually?
17:03
(i assume what you propose would fix the issue)
Avatar
[quakenet] deen BOT 2020-02-11 17:04:49Z
let me make a pr for you to try
Avatar
ac64e95 Try adding Windows FFmpeg - def-
17:09
[ddnet/ddnet-libs] New branch created: pr-ffmpeg
17:17
598ec52 Fix GCC 9.2.0 compilation - def- 5929517 Merge pull request #2058 from def-/pr-fix-compilation - def-
17:18
This reverts commit 2b8b6543b7be8c6f383d33089d6fffe0d0194ecb.
Avatar
@deen i switched to your branch, but the error seems to persist
Avatar
does the fix bundle ffmpeg?
17:57
when i do -DPREFER_BUNDLED_LIBS=ON on linux, ffmpeg isnt recognized as bundled
17:58
(neither on windows)
Avatar
ChillerDragon 2020-02-11 18:12:53Z
why is new ht liek 3 tiles?
18:12
which one to use?
Avatar
The hookthrough combo tile (index 5 in the game layer) ddnet/src/game/mapitems.h Line 103 in 7d7b510 TILE_THROUGH_CUT, is used to create hookthrough tiles. It does that by placing a unhookable bloc...
Avatar
ChillerDragon 2020-02-11 18:18:12Z
i just used the tile next to the old one
Avatar
@Patiga also switched ddnet-libs?
Avatar
how do i do that?
Avatar
there should be a ddnet-libs subdirectory
18:21
check out my branch in it
Avatar
oh yeah, that looks promising
18:29
sadly the same error again
18:30
it still doesnt recognize it as bundled
18:31
would the cmake logs help?
Avatar
you could post them somewhere
18:37
maybe someone else can understand
18:37
18:42
9e4fe3e Revert "Fix #66" - ChillerDragon e219a7e Merge pull request #70 from ChillerDragon/pr_rev_66 - fokkonaut
Avatar
ChillerDragon 2020-02-11 18:45:43Z
[2020-02-11 19:44:54][server]: client dropped. cid=9 addr=<{unknown type 0}> reason='Error sending data'
18:45
i wonder why it does not show the ip
Avatar
seems like its invali
19:15
d
19:15
otherwise it would Show ip or xxx
19:15
no, in log it would Show ip, in f2 xyx
19:15
xxx
19:15
i added the show ips thing to 0.7
Avatar
ChillerDragon 2020-02-11 20:31:25Z
But it shouldn’t be invalid huh?
Avatar
5987063 Clean up chat commands - Learath2 b99d51e Decrease dynamic allocations - Learath2 0cf09aa References are cleaner - Learath2 385770c Make the UI capable of n-commands - Learath2 f23c6bc Add a scrollbar - Learath2 865ce50 Show scrollbar when needed - Learath2 2341fb2 Comment out examples - Learath2 a797832 Fix merge artifact - Learath2 c504218 Register old commands - Learath2
20:32
[ddnet/ddnet7] New branch created: d7_pr_chatcom
Avatar
@Learath2 cool that you use my executechatcommand thing and the /%s %s :)
20:43
why didnt you push to master?
Avatar
I don't like the %s %s
20:45
I'll make another one
20:47
I did that to support old chat commands too
20:47
using actual chat
20:48
But since this new system now this can be thrown away
20:48
(before i only added important commands due to the limit of 22 cmds, now with your stuff ofc all can be used and the old chat system can be deleted)
20:48
Thats why i made executechatcommand()
Avatar
9bb62b3 Don't parse commands twice - Learath2
Avatar
@fokkonaut can you give it a test?
Avatar
In bed, sorry
Avatar
So early 😛
Avatar
I'm sure @ChillerDragon would love to give it a test for me
Avatar
His laptop battery is empty
21:08
xd
Avatar
ChillerDragon 2020-02-11 21:39:31Z
im at home now but im busy now @Learath2 :/ ping me agian later/tomorrow and i can test it 🙂
Avatar
I’ll cry
23:30
@Learath2
Avatar
Thanks
Avatar
ChillerDragon 2020-02-11 23:33:53Z
im here now
23:34
so what should i do build d7 server and test chat commands with latest vanilla client?
Avatar
ChillerDragon 2020-02-11 23:37:39Z
what am i looking for exactly?
23:39
23:39
oh cmn
23:39
can we pls keep same binary names for master and d7
23:41
@Learath2 d7 is very unstable i can hardly get it runnign longer than 10 sec
23:43
did i mess something up? Because for me it only shows vanilla commands ._.
Avatar
Its not d7
23:51
Its a new branch
23:51
GitHub - ddnet/ddnet7 at d7_pr_chatcom https://github.com/ddnet/ddnet7/tree/d7_pr_chatcom
DDNet port to TW 0.7. Contribute to ddnet/ddnet7 development by creating an account on GitHub.
23:55
@ChillerDragon ^^
Avatar
ChillerDragon 2020-02-11 23:59:39Z
oh ah
Exported 146 message(s)