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-12-23 00:00:00Z and 2022-12-24 00:00:00Z
Avatar
6723910 Fix players always being considered AFK with sv_max_afk_time 0 - Robyt3 4439cbd Persist AFK state of players on map change - Robyt3 674b5f9 Merge #6178 - bors[bot]
Avatar
@bencie @Chairn @pilonpl scaling maps will be in the next release, its already implemented for some of the advent maps :)
Avatar
do you use some kind of opening/closing algorithm?
Avatar
d9ce47d M Adorenarine, M Back in Time 3, M Ravillion, M 4 NoooBs, M Awayst, M Baby Aim 2.0, M Baby Aim 3.0, M Bootcamp #1, M Kopell, M MonkeyDream 2, M Next Grey, M Outbreak, M Pisull, M Planet Jupiter, M SimplePlay 2, M SimplePlay 3, M SimplePlay 4, M SimplePlay, M Slime, M The Shire, M Tropica, M Vizur 2, M rizek, A run_guys_25 - ddnet-maps
Avatar
ac592b2 Close editor popups when opening file dialog - Robyt3 0e476df When GUI inactive, unlock mouse and don't render popup menus - Robyt3 b032324 Deactivate editor hotkeys while dialog or editbox is active - Robyt3 50d0ecf Merge #6177 - bors[bot]
Avatar
Avatar
Chairn
do you use some kind of opening/closing algorithm?
ah, so far I only have scaling maps to be bigger, not smaller
12:40
and that is pretty straight forward
12:40
I only have a very specific miniaturizer for stronghold
Avatar
Thanks to bencie for reporting

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 (especially base/) or added coverage to integration test
  • [ ] 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:...
Avatar
Again some guy joins ddnet servers and spams racial shit. Now I'm curious why isn't it possible to just filter such messages? It can be done even on client side, so that retard will not spam chat to other players. (On server side it would be more efficient tho, just send a warning after the first message, one more such message = ban) Filter based on RE seems pretty easy. I'm aware people can just omit some letters, or use 1337 letters, but IMO it should be a big problem, isn't it? Just adjust the RE. Messages in TW are pretty short so the impact on the performance will be very low.
Avatar
[quakenet] ChillerDragon BOT 2022-12-23 15:33:00Z
just buy chillerbot-ux and use chat filter there
Avatar
chillerbanned
Avatar
[quakenet] ChillerDragon BOT 2022-12-23 15:33:30Z
it even has built in spam filter for offensive language and similar
15:33
get 10% off with code chiler
kek 1
Avatar
Avatar
0x314
Again some guy joins ddnet servers and spams racial shit. Now I'm curious why isn't it possible to just filter such messages? It can be done even on client side, so that retard will not spam chat to other players. (On server side it would be more efficient tho, just send a warning after the first message, one more such message = ban) Filter based on RE seems pretty easy. I'm aware people can just omit some letters, or use 1337 letters, but IMO it should be a big problem, isn't it? Just adjust the RE. Messages in TW are pretty short so the impact on the performance will be very low.
they will always find a way xd
Avatar
I dont think they are smart enough
Avatar
[quakenet] ChillerDragon BOT 2022-12-23 15:35:02Z
jopstar i gave a phising mail dude my phone number do you think it smort?
Avatar
example: noob nab n o o b n00b some special chars i dont want to search now and so on
Avatar
[quakenet] ChillerDragon BOT 2022-12-23 15:35:10Z
he wants me to buy stem gift cords
Avatar
yes its very smart
Avatar
[quakenet] ChillerDragon BOT 2022-12-23 15:35:26Z
thank
15:35
he didnt click on my first ip grabber link tho :(
15:35
the 2nd he used vpn for
Avatar
xd
Avatar
chillerScammer
Avatar
[quakenet] ChillerDragon BOT 2022-12-23 15:35:59Z
idk how to gather info on him to report him to the police
15:36
any ideas?
Avatar
yes, drive to india or wherever they are from and do it there
Avatar
[quakenet] ChillerDragon BOT 2022-12-23 15:36:55Z
?xd
15:37
do what there
Avatar
over the internet u wont solve that problem
15:37
politely ask them to stop
Avatar
[quakenet] ChillerDragon BOT 2022-12-23 15:37:23Z
but i dont even know his identity or address
Avatar
even if u'd know its almost impossible
Avatar
[quakenet] ChillerDragon BOT 2022-12-23 15:37:52Z
cant i just call the local cops on him?
Avatar
if they care enough xd
Avatar
[quakenet] ChillerDragon BOT 2022-12-23 15:38:17Z
oof
15:38
i got proof
15:38
of him asking for gift cards xd
Avatar
tomorrow ill fly to tokyo
poggers2 2
15:57
i wont touch a computer in a week
15:57
help me
15:57
my gentoo will miss me
Avatar
Avatar
Ryozuki
i wont touch a computer in a week
Not taking ur steam deck?
16:07
but i mean my desktop
16:07
xD
16:08
i got my deck, a charger with 10mah, which iss probs not much, but its double my phone battery
Avatar
Avatar
Ryozuki
tomorrow ill fly to tokyo
It is a loooong flight. A lot of time to watch anime and play games
Avatar
10kmah*
16:08
ye
Avatar
Also if you never took a long flight before don't forget to get up and walk every once in a while
Avatar
i also got a adapter
16:08
cuz japanese like to use different standards
16:08
Avatar
Avatar
Learath2
Also if you never took a long flight before don't forget to get up and walk every once in a while
yeah
16:09
altho im used to staying sit kek
Avatar
Oh another flight protip is ask if there are any business upgrades available at checkin. Sometimes you can get great deals
Avatar
I got an upgrade for just 200€ and that is extremely worth for a 10h flight 😄
Avatar
altho we did the checkinn onnline already
16:10
for the go
16:10
my keyboard is dying, it repeats letters
16:10
smh
Avatar
Avatar
Ryozuki
altho we did the checkinn onnline already
You will check ur baggage in tho
Avatar
I even landed a free one once. Being nice to desk staff is very important 😛
Avatar
@Learath2 do u know if 26J and 26H means the seats are side by side
16:13
?
16:13
xd
Avatar
Avatar
Learath2
I even landed a free one once. Being nice to desk staff is very important 😛
dang
Avatar
Avatar
Ryozuki
@Learath2 do u know if 26J and 26H means the seats are side by side
Depends on the plane configuration. Do you know which plane it is?
Avatar
its from lufthansa
16:14
its the long one
16:14
so it must be big
16:14
idk
16:15
by ABC they are
16:15
and number too
Avatar
Lufthansa flies 777 300er I guess. Should be next to eachother
Avatar
so i guess yes
16:15
nice
Avatar
ABC DEF CHJ is the config iirc
16:15
so we got window
16:15
kek
Avatar
I like aisle, especially on long flights so I can get up easily 😄
16:16
xD
16:16
i downloaded 30 games on dec
16:17
if there are charges
16:17
chargers
16:17
ill try to finish dark souls 3 on the planne
16:17
unless i fall sleep
16:17
xd
16:17
or get tired idk
16:17
otherwise ill play a more lightweight game
16:17
like slay the spire or isaac
Avatar
Nvm, I was talking out of my ass apparently lufthansa flies a 747 on that route. So ABC DEFG HJK
16:19
So you don't have window 😛
Avatar
oh damn
16:20
u can add ur flight pass to google pay
16:20
modern stuff
Avatar
Avatar
Learath2
So you don't have window 😛
F
16:21
u ruined it
Avatar
'拏 MAhdiyar 2022-12-23 16:22:13Z
Will it cause a problem if I transfer Port 8080 master server to 430? )Maseteserver
Avatar
[quakenet] ChillerDragon BOT 2022-12-23 16:30:48Z
how do you transfer it? By editing the rust code or with a proxy in front?
16:31
you should put a https proxy in front of it but i think you already had that setup properly from what i can tell
Avatar
'拏 MAhdiyar 2022-12-23 16:31:13Z
apache proxy (edited)
Avatar
chillerdragon BOT 2022-12-23 16:37:30Z
Yes did you add the header Heinrich mentioned?
Avatar
[quakenet] ChillerDragon BOT 2022-12-23 16:37:54Z
RequestHeader set Connecting-IP "%{REMOTE_ADDR}s"
16:38
DDraceNetwork, a free cooperative platformer game. Contribute to ddnet/ddnet development by creating an account on GitHub.
Avatar
@Learath2 how likely it is to get pickpocketed there
16:55
i know japanese are good but maybe u never know xD (edited)
16:55
in barcelona u gotta take care
16:55
specially in metro
Avatar
Avatar
Ryozuki
cuz japanese like to use different standards
or maybe power outlets models were made more than 100 years ago when nations were not really in a cooperation state of mind?
16:58
Why some mathematicians argue the economy is designed to create a few super rich people – unless we stop it.
Avatar
Avatar
Ryozuki
@Learath2 how likely it is to get pickpocketed there
Hm, tokyo is extremely safe. You really should be fine. Their culture of community watch is extremely effective
Avatar
Avatar
Chairn
or maybe power outlets models were made more than 100 years ago when nations were not really in a cooperation state of mind?
i think it was imposed by the muricans
Avatar
Avatar
Ryozuki
tomorrow ill fly to tokyo
cool, enjoy! Is it a vacation or for work?
Avatar
vacation
17:09
new years there too
Avatar
Fleeing from family? 😄
Avatar
well im going with my sister
17:09
xD
17:09
she likes tokyo stuff too
17:10
the weeb runs in the family i guess
Avatar
How can i format outputs easily in teeworlds so they align? Do you guys know that? Looked up a neat library (boost) but dont want to bloat up the code too much e.g. 11 123 3 120 012 301 123 2 (edited)
Avatar
Try tabs \t, they kinda work
19:55
Not exactly how you illustrated but they will align
Avatar
Okay but it will limit me to 4 digits or so right?
Avatar
I guess no...
19:57
Better read in some resources or wait for pros to answer, im nobo and thats first i could remember justatest
19:59
Also are you printing this into chat or motd or where?
Avatar
You can also use libfmt instead of boost Example c++ // left std::cout << fmt::format("{:<6}.\n", 42); // right std::cout << fmt::format("{:>6}.\n", 42); // center std::cout << fmt::format("{:^6}.\n", 42); Output: 42 . 42. 42 .
Avatar
no its about rcon, i will try that thanks :)
20:09
we use printf format specifiers
20:10
so you can use dbg_msg("test", "%10d %10d", a, b);
Avatar
can i use it for strings too?
Avatar
it will right or left (don't remember) align 10 characters (edited)
20:10
yes
Avatar
omg didnt knew that
20:10
thanks
20:11
and example at the bottom
Avatar
justatest i wonder why noone said about that in stack overflow chain i was checking, issue was the same but in solutions only libraries and std::format from std23
Avatar
@Vy0x2 %-12s for left alignment (use dash - after percent), default is right alignment apparently
👍 1
Avatar
@Chairn but it doesnt work like intended, because the width of the chars is not equal like with numbers (in rcon) (edited)
Avatar
Avatar
Vy0x2
How can i format outputs easily in teeworlds so they align? Do you guys know that? Looked up a neat library (boost) but dont want to bloat up the code too much e.g. 11 123 3 120 012 301 123 2 (edited)
There are spaces which have the same size as digits
20:54
A figure space or numeric space is a typographic unit equal to the size of a single numerical digit. Its size can fluctuate somewhat depending on which font is being used. This is the preferred space to use in numbers. It has the same width as a digit and keeps the number together for the purpose of line breaking.
Avatar
that's a font problem, not a code problem
Avatar
So i cant align it in the ingame console because the font is weird? tee_thinking (edited)
Avatar
It's not a monospace font, so you can't really align
Avatar
Avatar
Vy0x2
So i cant align it in the ingame console because the font is weird? tee_thinking (edited)
align it in the ingame console with figure spaces
21:34
only works when you want to have numbers, not letters of course
Avatar
yoyoyo how about we change the font to monospace... but only in console??
Avatar
could make sense, but probs another font file with over 15mb, bcs unicode ^^
Avatar
Thanks to bencie for discussion

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 (especially base/) or added coverage to integration test
  • [ ] 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...
Exported 165 message(s)