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 2023-02-21 00:00:00Z and 2023-02-22 00:00:00Z
Avatar
ChillerDragon: search for SIGPIPE in ddnet code to find out how to fix it
Avatar
meanwhile chiller missing out on the fun :/
Avatar
How can I see the coords of a block ?
00:44
In a map
Avatar
chillerdragon BOT 2023-02-21 06:13:50Z
Oof still no general bridge. What happend there? Any volunteer happy to sum up the action for me?
06:13
Yea you mean catching sigpipe? I really should have that code but I’ll verify later since you made me think it got lost in a merge (@heinrich5991)
ChillerDragon: search for SIGPIPE in ddnet code to find out how to fix it
Avatar
Avatar
chillerdragon
Oof still no general bridge. What happend there? Any volunteer happy to sum up the action for me?
06:39
matricks returned out of nowhere basically
Avatar
chillerdragon BOT 2023-02-21 06:54:01Z
But did he have something to say?
Avatar
Avatar
chillerdragon
Oof still no general bridge. What happend there? Any volunteer happy to sum up the action for me?
chillerdragon: i'll try to export the chat and look into bridging general and others channels again, but don't have time for the latter today. You might already be able to @ him if you have a questions to him. teetow is also here.
Avatar
ChillerDragon BOT 2023-02-21 07:49:22Z
lmao
07:49
07:49
amazing you famous now @Ryozuki o.O
Avatar
u missed the action
07:50
its all because i called him fake cuz he randomly appeared
Avatar
ChillerDragon BOT 2023-02-21 07:50:19Z
i figured
07:50
yo ryo i think you fake too!
07:52
yea @heinrich5991 as i thought i got the sigpipe thingy thats the one you meant right? https://github.com/DDNetPP/DDNetPP/blob/cd8991efa291dd8e74354ce3635426403721d77b/src/engine/shared/http.cpp#L101-L105
DDraceNetwork + city + block! Based on ddnet (www.ddnet.tw) which is based on teeworlds (www.teeworlds.com). - DDNetPP/http.cpp at cd8991efa291dd8e74354ce3635426403721d77b · DDNetPP/DDNetPP
07:53
i didnt really have any reason of touching http stuff in the first place
07:53
so it should(tm) be all pure ddnet
Avatar
ChillerDragon BOT 2023-02-21 09:19:12Z
ou thanks :) that looks neat how did you create it?
09:20
what happend in offtopic? :D
Avatar
i am so confused, how is this the first time i stumble across chilletdragon, and why does he only talk on this channel and why is he a bot?
Avatar
Avatar
spur
i am so confused, how is this the first time i stumble across chilletdragon, and why does he only talk on this channel and why is he a bot?
He is an AI, that's why he's marked as a bot
Avatar
ChillerGPT
Avatar
ChillerDragon BOT 2023-02-21 11:58:05Z
helo hoomans
11:59
Biggest enemy
Avatar
Avatar
fokkonaut
Click to see attachment 🖼️
don't scare chillerbotgpt pepeH
Avatar
ChillerDragon BOT 2023-02-21 12:00:12Z
lmao @Ryozuki ur on the profile page of magnus due to the repo having 7 stars haha https://github.com/matricks
matricks has 9 repositories available. Follow their code on GitHub.
Avatar
ChillerDragon BOT 2023-02-21 12:01:07Z
also @deen get ready for some ddnet prs https://github.com/matricks/ddnet
DDraceNetwork, a free cooperative platformer game. Contribute to matricks/ddnet development by creating an account on GitHub.
Avatar
@Zwelf you didn't export media, media will become dead at some point
Avatar
ChillerDragon BOT 2023-02-21 12:40:37Z
zwelf building amazing export and bully heinrich only nagging. @Zwelf i am very thankful for your export and i could see all media when i needed it :) dont let this bully get to you!
Avatar
no worries 😅 for me it only reads as a good intended hint that media export is possible. Thanks for letting me know I would prefer having media exported as well. Will look into it when I'm home. And I'm happy that you found it useful 🙂
Avatar
Avatar
Ryozuki
xd
wait wtf happened yesterday?
Avatar
@ReiTW real matricks
Avatar
why did he come back lmao, just to say hello or ?
Avatar
kinda yea
12:51
read the url from zwelf
Avatar
if I can find it yes
12:53
found
12:57
damn this gigachad legend
Avatar
imagine he'd be like ok to work again on tw, making it greater & finally making it more "moddable"
12:58
then bought by bethesda giga_chad
Avatar
Avatar
ReiTW
imagine he'd be like ok to work again on tw, making it greater & finally making it more "moddable"
He said he won’t but the way he rhetorically mentioned teeworlds 2 makes me question if there’s an interest
Avatar
Would sincerely be amazing
13:11
This would revive the community so much
Avatar
ChillerDragon BOT 2023-02-21 14:02:49Z
Yo any tw network hacker please give some opinion on how to document different flavors of int fields in messages https://github.com/ChillerDragon/teeworlds-protocol/issues/11#issuecomment-1438541560
For example the mc protocol wiki Uses Short, Double, Angle as FieldTypes And in the network.py it uses NetRange
14:03
When adding a Int field it migh be a bool as in 0/1 or a client id as in 0-63 or a direction -1/0/1 etc. How should that be displayed in the tables?
Avatar
@default As long people have discord open, the chat history stays visible. Only if people close discord, the history gets wiped. If I were a super degenerate piece of human being, all I'd need to do is keep discord open.
Avatar
then you misunderstand
14:32
you can make it so that you only see your own messages
Avatar
link to docs etc. that show this?
Avatar
Avatar
default
you can make it so that you only see your own messages
May I know how?
Avatar
you could potentially do this via bots and DMs
14:33
but not with a normal channel AFAICT
Avatar
I think I know what he’s talking about
14:34
I saw it somewhere
14:34
But you will need to interact with a bot for it
14:35
is it maybe by disallowing read permission?
Avatar
there's a read history permission
Avatar
that would do what murpi says
Avatar
you can only see messages from the point where you first opened the channel
14:36
this might appear to you to do what you say
Avatar
allow them to keep seeing what gets sent after they opened the channel
Avatar
but you can actually see all messages from that point onward
Avatar
this doesn't solve the problem
Avatar
That’s useless ye
Avatar
people can still watch the channel by opening it once after starting discord
Avatar
Lookup „discord ephemeral messages“ I don’t know to what an extend it works, but it might be useful in this case
14:39
It’s like I said, it works just with interacting with a bot
14:40
But you would have to deliberately explain to the people that they have to use a command like „$help“
Avatar
seems like it only helps bot → user communciation
Avatar
That's something we can't use (yet.) I'm still working on removing all deprecated code from our current bot
Avatar
not user → bot communication
Avatar
Avatar
heinrich5991
seems like it only helps bot → user communciation
Yes, that's correct.
Avatar
Hm that’s unfortunate then
Avatar
Avatar
Iza
Lookup „discord ephemeral messages“ I don’t know to what an extend it works, but it might be useful in this case
yea my memories betrayed me. but that's not what I mean. I thought I had seen a read messages permission in the past. But from the user experiences, it hides the whole channel.
Avatar
It's possible to make the entire report system anonymously by using slash commands though, but that's also something we can't use yet.
Avatar
Avatar
default
yea my memories betrayed me. but that's not what I mean. I thought I had seen a read messages permission in the past. But from the user experiences, it hides the whole channel.
Like heinrich said, it just hides the chat history, and not new messages
Avatar
How does this work? I type a map name, for example Electric and nothing happens (even with % on either side), is it done using a file name? If so which folder is it using?
Avatar
That's another option though. I explicitly meant "Read Messages" very similar to the "Send Message". This was a thing. They might have cut it though. Not "Read Message History". But apparently, that option did hide the whole channel instead of doing what it says it does. (edited)
Avatar
Avatar
0108ben
How does this work? I type a map name, for example Electric and nothing happens (even with % on either side), is it done using a file name? If so which folder is it using?
add .map, also it takes maps from /maps folder (so you can put files into %appdata%\teeworlds\maps )
Avatar
Avatar
0108ben
How does this work? I type a map name, for example Electric and nothing happens (even with % on either side), is it done using a file name? If so which folder is it using?
You have to include .map I think. It uses the map directory
Avatar
ChillerDragon BOT 2023-02-21 14:44:15Z
i feel just saying Int is a bit too generic since its sometimes a subtype of int
Avatar
Avatar
murpi
It's possible to make the entire report system anonymously by using slash commands though, but that's also something we can't use yet.
Why not?
Avatar
o::: thank you!
Avatar
Avatar
Iza
Why not?
Because the discord.py lib we currently use is super out of date and doesn't support slash commands.
Avatar
Oh. Any plans on updating that? Or is it too much work
Avatar
Avatar
murpi
Because the discord.py lib we currently use is super out of date and doesn't support slash commands.
switch to a new one
Avatar
I'm still working on removing all deprecated code from our current bot
Avatar
Avatar
default
switch to a new one
you're probably welcome to help, but ask murpi to be sure
Avatar
i think slash commands could be an issue though instead of the bot just listening to your prefix and command name
14:46
because slash commands run into timeout if you don't properly tell discord that you are still working they are definitely better though, but only if you properly use them. also you have to handle registering those slash commands for each server the bot is on. as well as unregistering whenever the command is not needed aka. removed. (edited)
Avatar
haha, is that a irc bridge bot from ChillerDragon?
Avatar
Avatar
Sphynx
haha, is that a irc bridge bot from ChillerDragon?
Read the channel header!
Avatar
meaning if querying takes too long, and you don't have code to handle that "i am not running into timeout" logic, discord will cut the connection which tells the user "this application is not responding" (edited)
Avatar
Avatar
murpi
Read the channel header!
thx
Avatar
Avatar
bencie
add .map, also it takes maps from /maps folder (so you can put files into %appdata%\teeworlds\maps )
is there a way to do this with a png?
Avatar
that's not true, it's always the same number of strings
14:50
but sometimes some of them are empty
14:50
hm. at least in 0.6
Avatar
Avatar
0108ben
is there a way to do this with a png?
no, add the png to a new map's quads in an ingame editor (edited)
Avatar
Avatar
bencie
no, add the png to a new map's quads in an ingame editor (edited)
okie, ty :)
Avatar
ChillerDragon BOT 2023-02-21 14:53:31Z
@heinrich5991 did not look at the traffic just at the code snippet that is shown below
14:54
looks to me that even if NumOptions would always have the same amount that technically it could change and would still work
Avatar
I mean that the there are always 15 strings in the message
14:55
NumOptions just says how many of them are interpreted
14:57
bit hard too read for me but it looks like it could vary
Avatar
ah, then it's different in 0.7
Avatar
ChillerDragon BOT 2023-02-21 15:00:29Z
yea 0.7 is the more efficent supirior gaming protocol
15:00
but thanks for error checking :)
15:01
so any idea on how or if to incorporate int subtypes/allowed ranges
Avatar
Why are u still working on this btw?
15:06
Most ppl are against adding 0.7 support
15:07
So it won't be added
Avatar
yeah, why cant we like, clean up the code a little.
15:46
idk much about it but ive been reading that the backwards compatability is more of a weight to drag than a feature
Avatar
ChillerDragon BOT 2023-02-21 15:49:51Z
agree
Avatar
DᴀʀᴋFᴏʀᴄᴇ 2023-02-21 16:06:31Z
@deen Hello! Why when i build DDNet Client on linux its only working for me ? Others ppl couldn't use it and they got error , is there any static command for building client in linux?
Avatar
Avatar
DᴀʀᴋFᴏʀᴄᴇ
@deen Hello! Why when i build DDNet Client on linux its only working for me ? Others ppl couldn't use it and they got error , is there any static command for building client in linux?
16:08
Are you a bot or why does it sound exact same?
Avatar
ChillerDragon BOT 2023-02-21 16:09:10Z
Try cmake -DPREFER_BUNDLED_LIBS=ON and then make package_default @DᴀʀᴋFᴏʀᴄᴇ
Avatar
That didn't need to help
16:09
If glibc is too new
Avatar
ChillerDragon BOT 2023-02-21 16:09:45Z
?
Avatar
Doesn't* soz
Avatar
ChillerDragon BOT 2023-02-21 16:10:09Z
oh yea make sure the system you are building on is at least as new as the system you are shipping too
16:10
at most*
16:10
the older your build libc the better
16:11
you can see how the offical ddnet client is built here https://github.com/ddnet/ddnet-scripts/blob/master/release/build.sh
The magic scripts that make DDNet run. Contribute to ddnet/ddnet-scripts development by creating an account on GitHub.
16:11
iirc deen used some old debian machine like debian 9 these days i think
Avatar
Yo, we don't have GER Bomb tag server on ddnet
Avatar
there is a nice unique server for bomb
Avatar
problem is, theres a bot that joins every server but usually doesnt connect all the way, and it can be selected as bomb and it softlocks everyone
18:39
so for the player it looks like noone is a bomb, (connecting) is bomb, and when the timer runs out, instead of giving a new player bomb, the explosions just spam in the bottom left of map till everyone leaves
18:40
we actually had to host a private passworded server to play bombtag with friends not long ago beacuse of this
Avatar
Avatar
bencie
problem is, theres a bot that joins every server but usually doesnt connect all the way, and it can be selected as bomb and it softlocks everyone
sounds like someone who hates bomb tag
Avatar
nah, it's a bot that connects to every single server, for a few weeks all ddnet servers had (connecting) or some random bot spamming a and d on spawn (edited)
Avatar
Do the bomb servers not have vanilla antispoof? Maybe someone can port it if we have the bomb source code.
Avatar
ChillerDragon BOT 2023-02-21 18:57:59Z
just use ddnet++ bomb minigame axax
18:58
DDraceNetwork + city + block! Based on ddnet (www.ddnet.tw) which is based on teeworlds (www.teeworlds.com). - DDNetPP/bomb.cpp at master · DDNetPP/DDNetPP
18:58
10/10 prime code and prime mod
Avatar
ddnet "echo test" ``` DDNet.exe caused an Access Violation at location 00007FF6B9272511 in module DDNet.exe Reading from location 0000000000000000. AddrPC Params 00007FF6B9272511 0000007F92AF4F25 0000007F92AF4F10 000001F112D484A6 DDNet.exe!CChat::AddLine+0x47b [src/game/client/components/chat.cpp @ 759] 757: 758: TextRender()->DeleteTextContainer(pCurrentLine->m_TextContainerIndex);
759: Graphics()->DeleteQuadContainer(pCurrentLine->m_QuadContainerIndex);
...
Avatar
ChillerDragon BOT 2023-02-21 19:18:31Z
ah lol roby did u just go tru ma issues? :D
19:18
thanks for pinging me and letting me know its a upstream bug :hearth:
Avatar
!client-message

Checklist

  • [X] Tested the change ingame
  • [X] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test (especially base/) or added coverage to integration test
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect exis...
Avatar
Avatar
DᴀʀᴋFᴏʀᴄᴇ
@deen Hello! Why when i build DDNet Client on linux its only working for me ? Others ppl couldn't use it and they got error , is there any static command for building client in linux?
You need to build it on an old distribution
Avatar
Avatar
Voxel
idk much about it but ive been reading that the backwards compatability is more of a weight to drag than a feature
cleaning code will change behavior, hence game physic, hence invalid ranks
22:31
@deen #6352 is caused by #6347
Avatar
On official servers. Started after cb68791. I'll try to bisect.
Checklist Tested the change ingame Provided screenshots if it is a visual change Tested in combination with possibly related configuration options Written a unit test (especially base/) or add...
Avatar
Avatar
Chairn
@deen #6352 is caused by #6347
I see, my bisect agrees 😄
Avatar
is there a chat log of yesterday servers (and this morning)? including minigame mod (teewars?)
Avatar
Avatar
deen
I see, my bisect agrees 😄
wanted to spare you some time, looks like i failed 😛
Avatar
I don't have such logs
22:38
matricks game session definitely lost then
Avatar
a few persons streamed it. maybe it can be found on twitch? at least part of it
Avatar
When a word is rendered over the maximum line width it should be moved to the next line. However, this was not working correctly if the word ends with a newline instead of a space, because then the text x-advance including this word did not exceed the maximum width, as the newline caused the x-advance to be reset before it can be used. This is fixed by replacing the unused flag TEXTFLAG_ALLOW_NEWLINE with the flag TEXTFLAG_DISALLOW_NEWLINE, which causes newline characters to be repl...
heartw 1
23:04
!textrender-long-word-wrapping The red rectangle shows the area that the text should be rendered in. Example MOTD that causes this: sv_motd "abcd mmmmmmmmmmmmmmmmnmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm" For illustration, add Graphics()->DrawRect(x + 40.0f, y + 40.0f, w - 80.0f, h - 80.0f, ColorRGBA(1.0f, 0.0f, 0.0f, 0.2f), IGraphics::CORNER_NONE, 0.0f); after https://...
Avatar
How to change the Activity.assets.large_image?
Exported 176 message(s)