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 2022-01-02 00:00:00Z and 2022-01-03 00:00:00Z
Avatar
Avatar
fokkonaut
Now a second questions comes to my mind: Am I allowed to broadcast another server, that will also lead to my main server but it will automatically join a minigame and will also be broadcasted as this? Like this, also players who would never join a block server would join a cool minigame like survival :)
yes. make sure not to show players more than once
Avatar
alright
00:37
is the http master somehow more picky than the LAN browser?
00:38
i dont see the server in http when numclients != array length of players or so for example
00:38
and if i try to fill it up with empty names, its gonna use them instead of the information i wanted
00:48
yes, it checks that num_clients is equal to the number of clients
00:49
but this sounds like you show a greater total number of players in the serverbrowser than you have
00:49
if I add the number of players in each of your server, that should not exceed the number of players on that server
Avatar
yes because the client only goes up to 64 and i show /128
00:49
before i just sent all players and gave a shit about which player now got sent or is being used in the client
00:50
now i only send specific 64 and on the 2nd server specific x
00:50
and that doesnt work, because i still wanna show /128
00:51
and if i just fill it up, so 64 + x = clientcount, then those x empty slots are being used by the client, no matter if i attach them at the end. why doesnt it use the first 64 entries?
00:51
does it sort them anywhere
Avatar
yes, it sorts them
Avatar
where and how?
Avatar
three lines below in the link I sent above (edited)
Avatar
self.info.token?
00:52
xd
Avatar
do we talk about different links?
00:53
I talk about serverbrowser/src/protocol.rs line 332, three lines below the line 329 I sent above
Avatar
i guess?
00:53
ah below omg
00:53
and what does this sorting do?
00:53
alphabetically?
Avatar
yes, by codepoint
Avatar
gg xd
00:54
then i can revert eveything
00:54
or i fill it up with zzzzzzzzz and hope nobody is gonna take that name
00:54
ah well, special letters
00:55
or do you have any other ideas
00:55
i can not tell the client which client information to use with this
Avatar
one of the other ideas was to add 128 player support to the ddnet serverbrowser
Avatar
yea but i have no idea how and which parts of your code has to be changed
Avatar
it's just ddnet client-side code that needs change
Avatar
that would imply we need a m_aClients array of size 128
00:58
aka MAX_CLIENTS = 128
Avatar
yes, or dynamically allocated
Avatar
and u htink i can do that
Avatar
you could change the m_aClients array to a length different from MAX_CLIENTS
Avatar
smart move
01:01
well nice i think i can revert all of my double serverinfo code then xd
01:01
except if i leave it for 0.7 only
01:04
meeeeeeh
Avatar

Checklist

  • [x] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test if it works standalone, system.c especially
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--u...
Avatar
@heinrich5991 get the camera
Avatar
@fokkonaut you accidentally changed the ddnet-libs submodule
Avatar
uh fuck this
01:50
Can u patch it out
Avatar
please do it yourself
Avatar
ok then u have to wait til tomorrow
02:08
but rest is fine?
Avatar
rest is fine
Avatar
nice
Avatar
7b563be Add CheckAtomic.cmake - yangfl a7572bd Merge #4556 - bors[bot]
Avatar
3dc98a1 Revert "Remove Akari from mods since he has no time anymore this year (will return next year)" - def-
Avatar
@deen that was quick! xD
Avatar
8300753 Support 128 players in serverbrowser - fokkonaut b889c97 Merge #4560 - bors[bot]
Avatar
Is there any ddnet app for Android? Would like to spectate some players
13:44
Without using pc
Avatar
Ty. Is spectating possible with it? I remember I once had a client but I think I couldn't spectate
Avatar
./pause <name>
13:58
optionally you can go to the SDL settings and bind a button to a key and then go to ingame settings and set that key to +spectate
13:58
i think
Avatar
Okay I will try that out. Thanks
14:05
Ok so /pause and then you can choose between players in the scoreboard. Kind of xd
Avatar
@fokkonaut how can I quit a server? xD
Avatar
idk how to open pause menu
14:07
xd
14:07
i used this many years ago to farm in iF city
14:07
xd
Avatar
I think it's not possible lmao
Avatar
i think u have to bind pause menu or so, maybe the back key on ur phone?
14:08
That's actually it
14:08
Nice
Avatar
But uhm. How can I bind things to a key. I mean I can only use the keyboard when I am in the chat
14:13
And then
14:13
Well
14:13
I chat xD
14:16
14:16
What a pleasant experience ahahah
Avatar
Avatar
Shyzo
Click to see attachment 🖼️
why p
Avatar
Idk lol. It happened after I tabbed out and in again
14:31
But it's normal now again
Avatar
@heinrich5991 would it be possible to add a variable timescore to the serverinfo request? 0.7 did the same and its perfect because we dont rely on any gamemode names the
14:48
n
Avatar
how long does it take for the master server to refresh the list for changing server to sv_register 0
Avatar
[quakenet] Learath2 BOT 2022-01-02 15:23:23Z
w
15:23
Shouldn't take more than 10s
Avatar
Avatar
[quakenet] Learath2
Shouldn't take more than 10s
It worked after 5 seconds for all of our servers
Avatar
w
Avatar
chillerdragon BOT 2022-01-02 17:41:07Z
boti
17:41
meg
Avatar
the wide of the texture las_keto is not divideable by 8 or the height by 4, it could occur visual bugs
17:41
whats that
Avatar
chillerdragon BOT 2022-01-02 17:42:09Z
maffs
17:42
drunk mapper added stretched mapres
Avatar
Avatar
HappyFray
the wide of the texture las_keto is not divideable by 8 or the height by 4, it could occur visual bugs
warnung kek
17:53
nine
17:53
german 100
Avatar
chillerdragon BOT 2022-01-02 17:54:01Z
meg
17:54
megdragon
Avatar
chillerdragon BOT 2022-01-02 17:54:11Z
xd
Avatar
where is the ddnet phone app src code?
Avatar
Avatar
Shyzo
Click to see attachment 🖼️
pppppppppppppppppppp
Avatar
[quakenet] ChillerDragon BOT 2022-01-02 19:45:41Z
@Deleted User github.com/ddnet/ddnet
Avatar
Oh Fuck ok, i thought it has its own repo
Avatar
it was the normal source code, but we removed the code a long time ago
21:38
but I think Jupeyy recently added something back for Android SDL2 support, but no one built a new executable with it
Avatar
Avatar
GitHub
Click to see attachment 🖼️
@plsplsplslol
Avatar
u
Avatar
suggestion: when spectating tee with /practice on, remove time in HUD
Exported 122 message(s)