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-09-03 00:00:00Z and 2020-09-04 00:00:00Z
Avatar
Fixes all problems for #2620 Explanations of existed problems: Lan has non expected servers because we were creating browser entry regardless token check DDNet tab has ping 0 for servers as we weren`t rejecting previous refresh responses
Avatar
a215e37 allow empty max ping filter - BannZay b1d5538 fix style - BannZay dac3c78 Merge #2713 - bors[bot]
Avatar
701bbab refresh on max ping filter changed - BannZay b1fe2cf Merge #2716 - bors[bot]
01:43
836c56a create serverbrowser entry only after broadcast token check - BannZay 840d8cb reset token seed on browser refresh - BannZay 7a1d2c0 Merge #2715 - bors[bot]
07:12
b5861f2 add #ifdef check around GLEW_VERSION_4_6 - d3fault bf085c2 Merge #2717 - bors[bot]
Avatar
Ryozuki peddling open source software that's just not there yet as alternative to industry standards?
Avatar
ᶰ°Konͧsti 2020-09-03 08:44:58Z
Wtf
08:45
I dont want my client refreshing when i change filter type
08:45
This will be annoying
Avatar
>
I dont want my client refreshing when i change filter type @ᶰ°Konͧsti
Not clear pr name. The changes was just about to update visible servers when you change ping filter but not to reload them
Avatar
ᶰ°Konͧsti 2020-09-03 09:59:08Z
HMM
Avatar
Currently both look the same, m_Team == TEAM_SPECTATORS and it's a bit confusing to see the "Join Game" button then.
10:09
Seems more useful than Spectate and Connect Dummy, both of which are often mistaken by newcomers. !screenshot-20200903@120548
Avatar
@ᶰ°Konͧsti Use the steam beta and you can try out these features already
10:10
well, tomorrow probably
10:11
@fokkonaut honestly I'd be a bit worried about CPU usage with 128 players. I noticed that some VPSes already are at 40% CPU load with a full 64 player server
Avatar
for my server it works, cpu is not fully used
Avatar
yeah, some CPUs are more powerful than others
Avatar
I mean we have some running at 2 GHz, others at 4.4, that alone makes a big difference already
Avatar
So we stay at 64?
Avatar
I'm not sure. Do you also have client support to show 128 players?
Avatar
hm, then I prefer 64 for now
Avatar
ᶰ°Konͧsti 2020-09-03 10:20:48Z
i dont use steam but i can just build the commit right
Avatar
When I was testing around with 128 players because of the master connection issues, one cpu core was at ~90% That's quite a lot...
Avatar
is player limit have to be power of two? can't we set it to smth like 96?
Avatar
Introducing id mapping and tons of compatibility code just for a few more player =\
Avatar
ᶰ°Konͧsti 2020-09-03 10:52:29Z
128player Back in Time would be nice af
10:52
Maybe if the server can handle it we could allow it for some maps
Avatar
128 player team ranks justatest
justatest 1
Avatar
oh yea
11:00
@cyberfighter you mean 64 players and 64 dummies
Avatar
f4
Avatar
ᶰ°Konͧsti 2020-09-03 11:02:43Z
no, real players justatest
11:05
watermeron
Avatar
@TsFreddie texture for text rendering on GPU? or what is that?
Avatar
texture bin packing that I ported to vanilla.
Avatar
I removed texture resizing altogether by partitioning a fixed texture into multiple pages. and drop the page with least characters currently displaying when it is full
11:08
only vanilla would need this tho.
Avatar
why not ddnet?
Avatar
i think you guys have pretty fast texture resizing already
11:09
I have heard 0 complaints about lags caused by text rendering in the last ~1 year
11:09
even now that we enabled CJK for all
Avatar
watermeron yeah, we don't have any complains for ddnet here in china as well
Avatar
we'll speak again if smone writes down the bible in tw xd
11:11
in chinese
11:11
traditional
11:11
but even than a 4096x4096 texture can probs handle insane amounts of characters
11:11
should really test it just for fun xD
Avatar
older gpu might have a limit of 2k tho
Avatar
yeah
Avatar
you can create a fifo for client and paste it in from the command line easily
Avatar
i test mine using this
11:12
184.13 KB
Avatar
something like: cat bible.txt | while read line; do echo "say \"$line\"" > client.fifo; sleep 5; done (edited)
Avatar
I might start working on proper IME again.
Avatar
maybe ddnet should increase the default texture size tho
11:14
to 1024
11:14
bcs that improves the packing
Avatar
maybe just use 2k
Avatar
for latin 1024 is already too much
11:15
dont want to stress VRAM too much xd
Avatar
sure
11:17
I don't think my implementation would even works using only 1 page of 512.
11:18
1024 with 4 pages can be filled really quick by going through settings and chat a bit under CJK
Avatar
yeah, i just wonder how often this happen in real life xd
11:24
bcs recreating is always cpu intensive probably
11:24
even if its not as horrible as pure vanilla
11:35
11:36
spot the difference
Avatar
just like when i played a korean mmo someday and had to focus spotting the difference xd
Avatar
Ddnet has way more font sizes than vanilla :O You store them all in one texture?
Avatar
Well I know what to look for because my phone always gets the kanji wrong
11:57
Avatar
the main source of glyphs are actually just chats. so storing them all in one texture wouldn't be a huge problem practically i think
11:58
20000 characters with chat size on 2k resolution
11:59
might have to open in new tab
Avatar
i don't think that's 2k..
Avatar
its 8kx8k texture
Avatar
i googled and it said, even traditional chinese mostly only uses 20k glyphs
Avatar
besides it's very unlikely that all 20k would ever be used in one session of teeworlds 😛
Avatar
btw the client downscales if the texture is too huge for the GPU
12:01
so even IF that ever happens it will just look shit xd
Avatar
i dropped mine to a fixed 1k. doesn't seems to have any problems.
12:01
but i'll keep the paging just in case.
12:03
btw 丸 does not look the same under different locale
12:03
Avatar
its funny how well the name skyline algorithm fits the output
Avatar
丸 is rendered however your renderer feels like rendering it most of the time
12:07
It's rather hard to get it to render the actual glyph you want 😛
Avatar
watermeron well depends on your system's locale font
Avatar
刃 is an even worse offender
Avatar
@TsFreddie btw might be interesing to know: https://feedback.wildfiregames.com/report/opengl/feature/GL_MAX_TEXTURE_SIZE thats 5 years old report and: 90% of all gpus support 8k+ textures the only "GPUs" that aren't atleast 2k are just software renderers from microsoft 😄
Avatar
Microsoft has 3 different fonts for the same style of glyphs.
12:09
12:10
Avatar
I was reading up on slug a couple days ago. It's also quite interesting
Avatar
EeveeShy this is how I made it in vanilla
Avatar
How is it in ddnet now?
Avatar
In practice the font texture in ddnet quickly grows to 2048*2048 (on wqhd). Might be good to increase the default size a bit
Avatar
ddnet render SC only i think
Avatar
Should probably fix that too
Avatar
i think ddnet's fallback was made in a few hours?
12:12
just check the language. and nuke the texture when the variant switches.
12:12
should be easy enough
12:13
but font loading might need some works
Avatar
Oh now that I think about it, it doesn't matter all that much
Avatar
thonk yeah, it'll just look a bit weird for TC or JP people
Avatar
The things coming from chat will always be rendered with the clients language
Avatar
they can still read them anyway
Avatar
Yeah, usually not much trouble
Avatar
but i would notice them if they are rendered in other variants
12:15
quite OCD triggering
12:15
so i'm glad ddnet defaults to SC.
12:15
EeveeShy
Avatar
墨 kinda confuses me but that's the only one I can think of rn
Avatar
maybe we could send a hint what each client prefers
Avatar
Yeah I was thinking that too
Avatar
@redix yes i agree
Avatar
and send messages/render names in that manner
Avatar
Though I doubt we want to keep all 4 fonts loaded all the time
Avatar
don't do that actually
Avatar
I guess with the fallback that's no longer an issue
Avatar
people will prefer reading glyphs in their way even if it is in other languages (edited)
12:17
so client settings is enough
Avatar
@TsFreddie hm, I guess you'd know better
12:18
One less thing to code 😄
Avatar
@TsFreddie but we still need some default for people not having a language without chinese characters
Avatar
but ddnet only shows SC glyphs even if you're using japanese translation tho
12:18
just defaults to one of them
12:19
jp usually works for rest of the worlds
12:19
if they can't read CJK, they won't care anyway
Avatar
(maybe make that configurable in console)
Avatar
We can adopt something similar to what you are doing for vanilla and that should be enough I guess
Avatar
that would be great
Avatar
(and a console setting that chooses glyph variant for people that are on a non CJK language)
12:21
I so want to do the IME thing or the glyph variant thing, but I also need to learn about fourier transforms
Avatar
(why did unicode has to unify the codepoint for different glyphs tho)
Avatar
Idk why unicode would do that tbf, they are soooooo verbose about everything
Avatar
man in business suit levitating
Avatar
I would do the IME thing.
Avatar
but the reason was: they wanted to fit everything in 65536 codepoints
Avatar
@TsFreddie do you have an idea in mind?
Avatar
but I don't have any great ideas
Avatar
bad idea in hindsight
Avatar
cuz SDL builtins just don't work
12:23
for TSF anyway
12:23
(on windows
12:23
don't know about linux/mac
Avatar
@TsFreddie huh, what's wrong with SDL? Does it not trigger the IME properly?
Avatar
Chromium have some workaround. And I tried use imm.h directly
Avatar
imm.h? that's for intel intrinsics, should'nt have anything to do with IMEs(?)
Avatar
it's a winapi header
Avatar
oh
12:24
are you sure that SDL can't figure out how to IME on windows?
Avatar
sdl_settextinputrect just use immsetcompositionwindow and forgets about it
12:24
but that one doesn't work for all imes
12:25
some are only triggered by immsetcandidatewindow
12:25
some aren't triggered by either
Avatar
how fast was sdl to respond @Learath2?
Avatar
and you'll have to fake a system carats sometimes
Avatar
but anyway, we can probably use an SDL fork until we mainline it
Avatar
I still have 2 prs waiting on sdl 😄
Avatar
@TsFreddie if it could be fixed in SDL, it would be best
12:25
@Learath2 link?
Avatar
and another bug report that I even offered to fix, though no one really cared
Avatar
xd asian languages are really to complicated. 26 characters are best xd
Avatar
thonk there are a million ways to implement IME supports. i guess it's hard to have one solution in SDL so they just gave up
Avatar
https://bugzilla.libsdl.org/show_bug.cgi?id=5130 This is the reason we can't compile on macOS Catalina
Avatar
you can use imm stuff, but they usually don't work in fullscreen
12:28
you can handle messages and store the candidates yourself. but SDL can't render those under every context
12:28
but then you'll run into whether the candidate windows are horizontal or vertical
12:28
EeveeShy
Avatar
https://bugzilla.libsdl.org/show_bug.cgi?id=5068 This probably is a bad fix, but it's why we can't really do resizable windows but I did kinda work around it, we can have resizable windows on all platforms as soon as they merge 5130
Avatar
just stuff
Avatar
https://bugzilla.libsdl.org/show_bug.cgi?id=5071 This is me asking for advice on the most SDL-ish way to handle apples odd IME
Avatar
patches lingering for 4, 6 months
Avatar
They might be more responsive to windows issues though, larger userbase
Avatar
let's make sure this won't happen in ddnet
Avatar
SDL vs vanilla which is worse
Avatar
vanilla is okayish ATM
12:30
I still think they should have at least a second person merging PRs
Avatar
(i'm not really asking.
Avatar
@TsFreddie so what is the correct way to trigger the most common IMEs on windows?
Avatar
thonk all of them
12:31
together
Avatar
How would notepad trigger it, e.g.?
Avatar
notepad has windows's textinput context, so the carets are handled by the system.
12:32
maybe check this
12:32
chromium has some workarounds
12:34
if you are using any windows' forms, you probably don't need to handle IME like at all. but graphic program works quite differently. I think Value handles WM messages, store the candidates and render them in game.
12:35
but their solution don't work for my IME
Avatar
Maybe SDL can adopt some of these workarounds in chromium
Avatar
is github down?
Avatar
tbh, the most argent issue is that you need to block backspace when IME is activated.
12:36
people can still "try" to type without a candidate windows, but backspace deletes both the inline and composition.
12:36
which is annoying
Avatar
opengl drivers are a mess... using 3.3 compatibility instead of 3.3 core halve the cpu usage (intel igpu) with latest windows drivers. On linux it does not make a difference
Avatar
@Ryozuki fine for me
Avatar
also enter key does different things under different IME, which might be a problem too.
Avatar
@TsFreddie I think we should implement SDLs albeit not complete textediting thing first
Avatar
Each text input on the screen should add themselves to a stack, when the stack is empty we disable textediting was what I was thinking
Avatar
@redix oh really? in the menu only or even ingame?
Avatar
some IME always have empty textedit string
12:39
lol
12:39
like mine
12:39
and that's exactly what i did years ago
12:40
and it got reverted cuz it broke some other languages that uses hidden ime. (which are using the IMM framework but types like a normal keyboard layout.) (edited)
Avatar
Uh, really?
Avatar
maybe my implementation is just broken
12:41
but i did that before
Avatar
That's very surprising, text editing being active shouldn't change anything for those languages
12:41
it'd be a sdl issue, and it'd have been reported there
Avatar
@Deleted User in the menu. Ingame it does not make a huge difference, but it's harder to measure there since the usage stays below 10% anyway
Avatar
@TsFreddie which language was it breaking?
Avatar
probably a shitty driver implementation
Avatar
@redix ah ok, then its probs bcs it alows CPU streaming more effectivly (edited)
12:43
i think in 3.3 core it really trys hard to act like you only create VRAM, but on an iGPU i actually expect it to be on CPU memory
Avatar
well in ddnet it's the same code just with another opengl context
Avatar
so strange
Avatar
I actually forgot, it's been a while
Avatar
Also how is your IME even supposed to work with an empty textedit string? What is the client even supposed to render if not the textedit string?
12:44
Does it do it's own rendering in a overlay?
12:44
you render nothing but still blocks input
Avatar
Yeah, what an odd choice
Avatar
the mesa driver on linux seems to be really new. Works better there
Avatar
How does it behave in fullscreen applications?
Avatar
but i think chinese is the only offender in that regard
12:45
zh-tw, jp and kr always use on-the-spot input
12:45
How does it behave in fullscreen applications?
@Learath2 doesn't show up at all
Avatar
It's just odd to me that ch doesn't atleast put something in the textedit string
12:46
not like it hurts
Avatar
some ch ime do
12:46
mine doesn't tho
12:47
probably just ignore this type of IME
12:47
not majority anyway
Avatar
No way to work with that kind anyway
12:47
Does it even give away it's candidate list so we can try to render it ourselves?
Avatar
I have my own input schema, so this one is the only one i can use
12:48
Does it even give away it's candidate list so we can try to render it ourselves?
@Learath2 the default IME made by microsoft are guaranteed to send candidates messages to application i think
12:48
but I think a lot of third party one can't
12:50
come up with your own input schema is actually quite fun
12:51
building the word dictionary and design your sound/shape layout
12:51
watermeron
Avatar
I wonder if we can somehow get the contents of the entire IME window and render it ourselves 😛
12:51
how is this possible? xd
12:52
Rus1 ddnet
Avatar
I wonder if we can somehow get the contents of the entire IME window and render it ourselves 😛
@Learath2 Valve can so i guess it is possible
12:52
Dota2 and csgo renders candidates list themselves
Avatar
@TsFreddie doesn't valve just render the list itself?
12:53
Like the entire thing. I was thinking of letting the IME take care of rendering itself and we just mirror it's window buffer
12:53
that might be too ambitious.
Avatar
Easier than rendering the candidate list and the compositions ourselves I'd wager
Avatar
but I suppose it would require some wizard stuff like how obs window capture works.
12:54
the IME windows is not a texture in anyway i suppose.
12:55
even then it might be occluded and therefore can not be captured anyway.
Avatar
@Learath2 isn't flooding fixed?
Avatar
(you can't fix people's boredom/bigotry tho)
Avatar
@m!ki it was for a long time
12:59
Okay I think all major IMEs on all platforms support getting the candidates out
13:01
We can implement SDLs meh method for now, then I'll look into either getting a patch to SDL to allow getting candidates cross platform or just handle it in tw
13:02
I'll wait troll
Avatar
If we had something like nuklear or imgui in tw, it'd be much easier actually
Avatar
I'm more concerned about rendering this thing and not writing a one off like everyone else
Avatar
nervous might as well just rewrite a client using other engines.
Avatar
Just for an IME candidate window?
Avatar
make a new game
13:06
get on steam again
13:06
lol
Avatar
The tough part is already being done by the IME, rendering it's candidates isn't as hard as you are making it out to be
Avatar
watermeron I don't think it is hard. I'm just saying what I've observed
Avatar
The only observation relevant here would be the fact that I'm very lazy
13:13
13:14
watermeron this is how I type chinese
Avatar
@TsFreddie how fluent are you writing in chinese on a computer?
Avatar
pretty ok
Avatar
And handwriting?
13:15
actually i might not be able to write at all at this point
13:15
it's been years since I've hold a pen
Avatar
Been the case for everyone I've met that uses CJK. Seems handwriting is dying in asia
Avatar
my mom feels the same way and she started to practice handwriting about a year ago.
13:16
I don't have that much dedication
13:17
i wouldn't say it is necessarily dying as long as education are still teaching handwriting.
Avatar
I understand why it's dying though. It's quiiite a challange knowing all the necessary glyphs and their stroke orders
13:18
@TsFreddie well if people forget it after they graduate, it is dying imho
Avatar
there are bound to be some people that are less tech savvy who can actually write since they are used to writing.
13:18
or even take notes ocationally
Avatar
Oh yeah, older people especially are doing much better
Avatar
i guess if you met people online they are likely to be less capable of handwriting
Avatar
Nah, mostly people I met irl I've asked
Avatar
Younger folk though, so it could be the case that older people that are less integrated with tech would be doing better off
Avatar
i would love to go back and practice handwriting tho. but you know.
13:20
laziness
13:20
stroke orders are such a bitch tho
13:21
my input schema use strokes to reduce candidates
Avatar
I do an hour of kanji in the morning, 30 minutes of anki, 30 minutes of writing the 50 kanji I'm the worst with
Avatar
I've only know some of the order because I was making this
Avatar
huh, how do you encode strokes in an input schema?
Avatar
kanji usually don't have curves. so there are only like 7 categories.
13:24
for strokes
13:24
and you may just input the storke.
13:25
or you can enter the sound first then use storke to filter out some
Avatar
What would you qualify as a stroke?
Avatar
乛 一 丨 丿 丶
Avatar
Ah, I see what you mean now
13:25
That makes a a lot of sense actually
Avatar
but there are shape based method too
13:26
13:26
I don't know how to use these, but you can probably imagine combining parts together to get a character
Avatar
Looks like radicals
Avatar
i don't know what's the actual definition of radicals tho (edited)
Avatar
I've been wondering about how some han characters with simple meanings changed meanings when the japanese adopted them
Avatar
like how simple tho
13:30
characters usually change meaning anyway when they are pairs with others (edited)
Avatar
e.g 汁
13:30
I guess it's still similar enough, but it'd be soup in japanese, more like juice in chinese iirc
13:31
So why would the japanese decide to use the character for juice as soup? 😄
Avatar
vegetable juice in jp still use 汁 i think
13:31
but
13:31
the soup one in chinese, is bath water in jp lol (edited)
13:31
13:31
pretty gross if you think about it
13:32
EeveeShy
13:33
well more like hot water but bath use that as well since it is technically the same
Avatar
seems bath is only similar 湯 not the same
Avatar
it's the same for us.
13:33
just write differently
13:33
since ours are simplified
Avatar
Ah, yes there is that too 😄
Avatar
we still recognize that as the same chars.
13:34
and probably why people don't usually have trouble reading both trad and simp
13:34
mentally it still works for some reason
Avatar
I mean, they probably chose the simplified chars very carefully so it's not hard to recognize
Avatar
i think they made some rules to cover the majority and then manually simplified some uncommon ones
13:36
i think most characters are simplified based on radicals
13:36
and some different radicals are combined into a single simplified one.
13:36
so we have less characters in general
13:37
But I wouldn't actually know. nobody teach these lol
Avatar
Anyway, I have to go, learn more about fourier transforms
13:37
Nice chat o/
Avatar
This requires some more porting from 0.7, I have started it here, but see the TODO for what's missing: https://github.com/def-/ddnet/commit/665d909fe01b96137cffd3d252cd253d2da4a8d8 If anyone wants to work on this, please do so!
Avatar
Funny enough, linux seems to be the worst when it comes to getting IME candidates
Avatar
lemme guess
14:28
there are 5 incompatible ways of doing IME on linux?
14:28
wayland introduced two more?
Avatar
3 incompatible ways, XIM, GTK IM, QT IM. None of those provide a way to get the candidate list
14:33
The 3 most common frameworks (fcitx, ibus, scim) implemented on top of those do have a way to get the candidate list out of though
14:34
It'd be great if XIM had the concept of candidates at all
14:34
and all of this is veeeery horribly documented too
Avatar
yay i cant use github for some reason
14:39
it simply doesnt respond
14:39
so weird
14:45
14:45
yeah so smart
14:45
u put support on the domain github.com
14:45
when github.com itself has me blocked for some reason
14:45
lol
14:47
14:47
lmao
Avatar
https://www.githubstatus.com/ all green, you can't be having problems
Welcome to GitHub's home for real-time and historical data on system performance.
Avatar
apparently
14:48
ppl in spain cant connect
14:48
right now
14:48
to github
14:48
@dospitercios @movistar_es @Movistar "Llame a Github", el concepto. En cualquier caso... @github, are you aware of issues for accessing your web from Spain? It seems it's Movistar's fault, but they ask to contact you instead 😂 Venga, que no se diga que no lo hemos hecho.
14:49
well seems like a movistar issue maybe
14:49
@heinrich5991 i cant even connect to githubstatus.com
14:49
:D
14:50
Can’t access neither GitHub from Barcelona. ISP o2 (Movistar) Anyone else? @github Telegram Web stopped working as well. @telegram
14:50
how can this be
14:50
this is p weird
14:55
Hola, buenas tardes.   Supongo que no seré el único, decir que me asombra ver que es un tema recurrente, el tema de los bloqueos de github.   No puedo acceder a Github.com, me da timeout todas las veces, en mi fibra y en 4g... lo mismo.   La primera pregunta es qué narices hac...
14:55
fcking clown isp
14:57
this must be affecting lot of companies tbh
14:57
if they use github
Avatar
is it possible to see ingame messages in steam chat? (like in dota2)
Avatar
which way do you want?
15:01
I don't think you can see ingame messages in steam in dota2
15:01
but steam messages in dota2 are possible I think
Avatar
yea thats possible
15:02
u can even reply
Avatar
can we implement it for teeworlds?
15:03
I just tried it. I started dota and type /w "My_Friend_Name" 123. When I exited the game this message was in the steam chat
15:04
but if I send something via steam chat its not in game chat for some reason
Avatar
Integrating it with our /w might not be the best idea
Avatar
Especially since you can change names on steam easily, so you can hijack whispers
Avatar
nah, you can not send messages to not your friends tho
15:06
what I want is just receive message in steam chat if some one whispered me
15:06
so I can read it on my phone
Avatar
that doesn't sound possible (ingame whisper → steam)
15:07
dota doesn't have native whispers, you can only whisper via steam there
Avatar
I just tried it. I started dota and type /w "My_Friend_Name" 123. When I exited the game this message was in the steam chat
I used "native". Or what you mean by native?
Avatar
self hosted best https://git.ryozuki.xyz/ u will never get blocked by a evil isp justatest
Gogs is a painless self-hosted Git service.
Avatar
We can get steam messages ingame though, should be relatively simple
Avatar
@Ryozuki if you get blocked you have no recurse, unlike github ^^
Avatar
wdym by recurse
Avatar
recourse
Avatar
its unlikely they would block a unknown self hosted repo
15:08
tho
Avatar
I'm getting more and more pissed the more I read ibus' documentation. How could someone come up with a api this horrendous is beyond me
Avatar
apparently this github problem is recurrent with movistar
15:09
xd
15:09
they had this before
Avatar
my domain (heinrich5991.de) somehow ended up on a school blacklist in germany
15:10
and here i was wanting to program in rust but without being able to see github this is painful
15:10
feelsbadman
Avatar
cargo update --offline I think?
15:10
try a vpn if you have one
15:11
if you only want to look at github, tor would also work
Avatar
ah ye i have tor
15:12
does cargo update depend on github?
15:12
i think it does
15:12
cuz the command is hanging xd
Avatar
yes. try cargo update --offline
Avatar
@Ryozuki if you have a vps somewhere you can tunnel through
Avatar
oh true
Avatar
yeah i have my vps
15:12
❯ cargo update --offline error: you can't update in the offline mode
15:12
lol
Avatar
cargo build --offline?
Avatar
Oh btw, I'm very happy with wireguard, excellent roaming capabilities
Avatar
that works
Avatar
@Learath2 nice. I like software that supports roaming
Avatar
i feel the china pain rn
15:13
imagine this daily
Avatar
guess you would have set up a vpn by now in china
Avatar
Oh I also love how wireguard is a silent protocol
Avatar
is it udp?
15:14
silent = no traffic while nothing happens?
15:14
seems to be at odds with roaming
Avatar
man i rly hate isps, on twitter 100 ppl complaining about this, and the only thing the twitter guy do is ask for id number, phone number and a tracert (he assumes i use windows lol)
15:15
pisses me off
Avatar
udp yeah, and yeah no traffic while nothing happens
Avatar
so no chance of roaming succeeding when the client changes IP address but the server has new traffic
Avatar
I think it does a handshake again when it changes ip
Avatar
how would it know?
15:18
when behind NAT e.g.
Avatar
behind a NAT you already need keepalives so the firewall doesn't close the connection on you
Avatar
ohh
15:20
true
15:20
goodbye silent protocols
15:20
thanks nat
Avatar
I wish we would hurry up with deploying ipv6 :/
15:21
I don't like NAT at all
Avatar
ah, but ipv6 doesn't solve this issue in consumer routers
Avatar
if they dont even know why they block a ip they wont know how to do that lmao
Avatar
they still have a stateful firewall
Avatar
You could give each client an ip of its own
15:21
ipv6 is meant to be allocated as rather large subnets per end site
Avatar
yes
15:22
but consumer routers still firewall you off incoming connections, for security
15:22
so you can run your windows xp without being infected the moment you plug it in
Avatar
does ipv6 help handle ddos better?
Avatar
I think that question doesn't make sense(?)
Avatar
yeah i guess
Avatar
Irrelevant, maybe a little worse as it's a tad tougher to route
Avatar
its tougher to route?
Avatar
might be easier to route
Avatar
thats what i thought
Avatar
because of more space for sensible routing
Avatar
Yeah maybe sensible prefixes will help
15:23
Though if we allocate as we've been allocating for v4 it'd be tougher to route
15:23
more bytes to check
15:25
Okay, there seems to be no way to get the candidate list/lookup table from ibus
15:25
I wonder what Valve did for that
15:26
time to open tor
15:27
@deen about the kill and pause buttons, i thought time ago to add a Button with name "Commands" and it is a dropdown with most common used commands
15:27
kill pause lock etc
Avatar
Back in high school I had a chat about tor with a math teacher of mine, he said anyone contributing to it is also contributing to the distribution of drugs and child pornography. Odd guy, couldn't understand that just because something is used for malicious purposes doesn't mean it shouldn't exist
15:28
btw america contributes to tor funding i think
15:28
the CIA?
Avatar
yes
Avatar
so by that argument
15:29
the CIA is contributing
15:29
to drugs and child pronography
Avatar
Well LEAs own a lot of the drug and cp trade on the deepweb too, so they directly contribute too 😄
15:30
adding a dropdown also would be easier
15:30
u dont have to adjust
15:30
for different resolutions
Avatar
We don't have dropdowns in the UI code though, I think
Avatar
we can make it
15:30
well you can
15:30
im blocked
15:30
feelsamazingman
15:31
hm
15:31
why another msg
15:31
pause state?
15:31
doesnt ddnet network character have
15:32
m_paused and m_spec
Avatar
yea, does
15:33
its funny that the embed loads
15:33
i dont know the black magick here
Avatar
serverside
15:36
140.82.114.3
15:36
this is one of the github.com ips
15:36
i added it to hosts file
15:36
and now i have access
Avatar
maybe your dns broke then?
Avatar
they blocked 140.82.121.4, 140.82.121.3
15:36
no
15:36
they only blocked those 2
15:36
it must be smth about the load balancer
15:36
so i just force this ip
Avatar
@heinrich5991 there are many ways to get an invalid name in client, I'm wondering how best to fix them
15:38
anything with complex unicode and longer than 16 chars will be invalid
15:38
like copy-paste, steam name, automatic dummy name, entering it directly maybe?
15:39
ah no, direct entering is not possible
15:39
oh, and reading from config file
Avatar
@deen I think a function on Packer would be easiest
15:45
our model of strings unfortunately doens't include utf8-ness
Avatar
Sounds very general for something so specific
Avatar
b0bd0a8 Increase default font texture size - Jupeyy 53e0319 Merge #2722 - bors[bot]
Avatar
at every point in our string handling, we can introduce broken utf-8
15:45
str_copy, str_format, etc.
15:46
AddStringFixUTF8 which replaces broken utf-8 with replacement characters would probably work
Avatar
I guess the exactly went to the message bfore the latest
Avatar
I'd envision that AddStringFixUTF8 as a new function on packer, alternatively rewrite the existing AddString function so that it always fixes utf-8
Avatar
I'll try to do it in the packer
15:47
Shouldn't it always be valid utf8?
Avatar
yes
15:47
@Learath2 any concerns about changing AddString?
Avatar
Ah, I see what you mean, I can't think of any
15:48
because at the moment many people with CJK names in steam can't join our servers
15:48
or can't join dummy
15:48
😄
Avatar
but these should see the update, right?
15:48
because steam
15:49
I guess one disadvantage is that it will be a bit slower
15:50
and checking things we in theory could know are correct already
Avatar
Quite a bit, the only other way would be to make sure we never have broken strings in the first place
15:50
Hm, but that would also have quite a lot of overhead
Avatar
we could ofc also fix str_copy, str_format
Avatar
Not sure which has more
Avatar
so that all our strings are always utf-8
15:51
but that solution also takes more time to implement
Avatar
(and isn't guaranteed to be any better performance-wise)
Avatar
the string copy functions would only have to check at the end
15:51
if they truncated
Avatar
so probably more performant
15:51
but much more complicated to introduce
Avatar
making a dropdown with the current UI code style sucks
Avatar
cuz its just dobutton
Avatar
0.7 has them I think
15:56
You can steal that
Avatar
there is no owner
15:56
booo 0.7
Avatar
The UI changes they made are mostly good
16:00
The UI library had some very stupid stuff
Avatar
i would rework cmenus along with ui.h completly
16:02
but to much work
Avatar
u would never finish it
16:03
justatest
16:03
i love factorio UI
Avatar
@heinrich5991 The AddString code looks scary to me, don't think I want to break something there
16:16
I really can't find a good solution here
Avatar
I'm looking at fixing AddString
Avatar
Google thinks my very german ip is in the united arab emirates
16:50
I keep getting prices in dirhem
Avatar
device setting maybe?
Avatar
c8e9da2 Ignore .sqlite file - def- 3b88243 Merge #2725 - bors[bot]
Avatar
Rafael Fontenelle 2020-09-03 17:16:23Z
What dependencies are required for a server-only build? I already found: python, openssl, zlib I don't know about: sdl2, freetype2, opusfile, curl, glew, wavpack, pnglite, ffmpeg, libnotify, miniupnpc, sqlite
Avatar
sqlite is required
Avatar
Rafael Fontenelle 2020-09-03 17:20:37Z
That's it, or there could be more?
Avatar
5b669bc Only send valid UTF-8 over the network - heinrich5991 e40e186 Merge #2726 - bors[bot]
Avatar
I think that's it
👍 1
Avatar
0ba18cd Inform client about failure to join because of invalid utf8 - def- 8f4a8d2 Merge #2724 - bors[bot]
18:56
d6f74eb Don't update news when something was only removed - def- 9edb370 Merge #2721 - bors[bot]
Avatar
deen change
19:05
poggers
Avatar
@nori you have better ideas?
Avatar
yes, very simple tutorial with something like gifs would be awy better
Avatar
@nori even with a tutorial, these buttons seem useful
Avatar
i already see ppl wanting to hit spec and kill the team xD
19:23
bcs used to it
Avatar
yeah put the buttons on the right of connect dummy
Avatar
nah, they're much less useful than "spectate"
Avatar
i mean u go into team, stop playing (in a raid) and then kill instead of spectate xd
Avatar
in a raid?
Avatar
i don't think we have raids in ddnet
19:25
i ser noobs accidentally hitting Spectate after 60 min of racing when i tell them to pause and look behind
Avatar
well only nobos will use buttons
19:25
u rly want to bind spec
19:25
and kill
Avatar
you cant bind the join spectators thing right
Avatar
you can
Avatar
in teams with 10ppl
Avatar
wait whats the bind
Avatar
ᶰ°Konͧsti 2020-09-03 19:26:23Z
lmao ill kill myself any time i want to connect dummy
19:26
Cuz i dont use bind yet
Avatar
@plsplsplslol I think team -1
Avatar
:O
Avatar
i have a friend who played a bit
19:27
he went into settings after pressing esc
Avatar
but that seems like a bad bind to accidentally press
Avatar
then he wanted to close the menu
19:27
instead of pressing esc
19:27
he pressed the X
19:27
and closed the game
19:27
rip
Avatar
Remove the spectate button completely?
Avatar
@plsplsplslol like kill? ^^
Avatar
Oh wait it is useful in vanilla
19:27
Nvm
Avatar
removing it completely might still work for ddnet
Avatar
kill has kill protection
Avatar
(and show it in vanilla)
Avatar
i think closing the client should have always the popup question
Avatar
is there spectate protection
Avatar
atleast if u are in a server
19:28
playing
Avatar
@Ryozuki it has the question when you have kill protection
19:28
but people confuse it
19:28
with closing the menu
19:28
xd
Avatar
perhaps it should be red, or say quit?
Avatar
say quit maybe
Avatar
Does the client know if it's in a race?
Avatar
i'd be nice to just disable the kill button in teams of many ppl(raids) bcs sometimes they just spectate to leave the team without unlock/locking trouble
Avatar
it should, the auto recorder gets it from somewhere
Avatar
ᶰ°Konͧsti 2020-09-03 19:42:46Z
maybe we should apply a team leader to teams (the first one to be there) that is the only one who can kill the whole team because usually he is also the one who is supposed to have strong. Also there should be an /unlock command or something? Because sometimes when someone is falling down in the void everyone is writing/Pressing /lock and then all die
Avatar
I think there is an unlock command already
Avatar
/lock 0
19:43
i think
Avatar
/unlock I think
Avatar
ᶰ°Konͧsti 2020-09-03 19:43:15Z
:O
Avatar
konsti banned from being captain
Avatar
yea, /unlock
Avatar
ᶰ°Konͧsti 2020-09-03 19:43:36Z
nice
19:43
/uninvite troll troll
Avatar
and thats why they just go spec, bcs its easier and safer
Avatar
If player in team 77 starts vote against player in team 77 this vote will be shown to whole server. For players from other teams it looks like a spam - you cant vote here and you don`t even care about another teams votes. Moreover no other vote can be started which might affect high populated server even harder
Avatar
Rafael Fontenelle 2020-09-03 20:11:36Z
@deen sqlite is runtime ou buildtime dependency for DDNet Server?
Avatar
@Rafael Fontenelle both
Avatar
Rafael Fontenelle 2020-09-03 20:21:09Z
Thanks!
Avatar
hmm
20:31
apparently RafaelFF != Ryozuki
Avatar
Rafael Fontenelle 2020-09-03 20:31:50Z
Yep, different people, but both maintainers of Arch Linux's DDNet packages.
Avatar
Since we are switching to a single write sql server for sake of simplicity
Avatar
the new fullscreen default instantly destroyed my resolution
21:17
not sure whether to report or not
Avatar
@heinrich5991 what do you mean by destroyed?
21:19
ah, since you upgraded and had a resolution set already
21:19
new players get their screen resolution, but existing players didn't
21:20
maybe a bit too late to fix now :/
Avatar
I have a multimonitor setup
21:20
it managed to set the 2560x1440 to 1280x768
21:20
1280x768 is none of my screens
21:20
and it led to some weird scrolling effect
21:21
scrolling the screen when I go near the edges
Avatar
Was 1280x768 the resolution you had your window set to before?
Avatar
that scrolling effect releated with x server, happened to me before
Avatar
I have a tiling WM, I used it windowed. not sure what resolution was set
Avatar
with gfx_resizeable
Avatar
how do I find the resolution?
Avatar
gfx_screen_width/height
Avatar
it's now set to 2560x1440, but I'm not sure it was like this before I fixed it
Avatar
probably not, I experienced the same resolution change
22:29
i'll port this to ddn rn
Exported 727 message(s)