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-07-29 00:00:00Z and 2023-07-30 00:00:00Z
Avatar
ok i pushed some stuff
00:55
00:55
i think im just gonna ignore the clang-tidy & clang-format checks until i do the final pre-merge cleanup
00:55
running those checks locally doesn't sound like fun or like a good use of time
02:33
uhhh
02:33
why is his game offset like that
02:35
sdl sometimes reports incorrect window border sizes, but why is that being messed with at all
02:36
and you'd need to explicitly mess with a bunch of things to get the background translucent like that while keeping the native border xd
Avatar
!boxselect_envelope

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 map...
Avatar
Avatar
Ewan
and you'd need to explicitly mess with a bunch of things to get the background translucent like that while keeping the native border xd
I think that's just Windows Vista/7 Aero design
Avatar
i think you still need to set your hwnd as a layered window on win7
08:54
for bg to be transparent
Avatar
he says it's a fullscreen thing?
Avatar
a94b5c3 ResetServerGameSettings → ResetGameSettings, remove flag argument - heinrich5991 3b27350 Merge pull request #6942 from heinrich5991/pr_ddnet_game_settings_cleanup - Robyt3
Avatar
chillerdragon BOT 2023-07-29 09:28:37Z
If you pc is faster than potato GitHub pipeline its a good use of your time since you spend less time on try and error. You can just copy paste the command from the GitHub action yaml (@Ewan)
running those checks locally doesn't sound like fun or like a good use of time
Avatar
can u guess when i started the master server viewer?
09:38
gigachad
09:38
my blog aint doing bad either
09:40
on my server, but its with all services combined
09:41
im adding skin rendering rn
10:15
no custom color tho
Avatar
ChillerDragon BOT 2023-07-29 10:20:22Z
already better than kog
10:21
btw @Avolicious when make kog.tw web scale? its blazingly slow
Avatar
Avatar
Ryozuki
pog
are you reading @Patiga's reference on tee rendering? 😛
10:38
i copied the script i edited from ddnet.org
10:38
xd
Avatar
i wanted to do smth fast
10:39
View DDNet / Teeworlds Statistics.
10:39
now renders skins
10:39
rly barebones
Avatar
ChillerDragon BOT 2023-07-29 10:40:07Z
patiga wrote a book? where can i buy it?
10:43
kog cant even do default colors xd wtf is this
10:44
10:44
there are so many tee renderers for the web out there
Avatar
when do web demo renderer? :p
Avatar
ChillerDragon BOT 2023-07-29 10:50:24Z
pretty sure patiga is on that
Avatar
Renderer for Teeworlds and DDNet maps (more to come)
Avatar
todo self note: make a simple api service given a skin and colors it renders them
Avatar
I think kog might have one
10:54
and ddnet? not sure
Avatar
i dont use closed source
Avatar
ChillerDragon BOT 2023-07-29 10:54:28Z
kog is closed source and broken af
Avatar
mine will be agpl
Avatar
ChillerDragon BOT 2023-07-29 10:54:51Z
didnt teeskins have one?
10:55
@fokkonaut what were you using again for your discord bridge?
Avatar
they have a api to get the skin but not render i think
10:55
and definitly not with colors
Avatar
I don't know which of my mentioned renders are open-source
Avatar
ChillerDragon BOT 2023-07-29 10:55:37Z
i thought fokko used the teeskins api for his discord bridge which had colors if im not mistaken
Avatar
ddnet uses tee.js a less than 100 line script i edited
10:55
xd
Avatar
ChillerDragon BOT 2023-07-29 10:55:55Z
@heinrich5991 dont mention closed source projects
10:56
TeeAssembler 2.0 is a script used for coloring a TeeWorlds skin image the same way TeeWorlds does and rendering the image in your browser using only CSS and JavaScript. - GitHub - AlexIsTheGuy/TeeA...
10:56
this exists but
Avatar
ChillerDragon BOT 2023-07-29 10:56:49Z
yes this pog too
Avatar
i had a hard time adapting it to my simple use case
10:56
too much bother
10:56
but good source
10:57
i used teeassembler here
10:58
but i dont wanna use raw js scripts in my svelte app
10:58
he should have made it with a simpler api
10:58
not inserting dom elements xd
10:58
anyway ill just make a api that returns a image
Avatar
ChillerDragon BOT 2023-07-29 10:59:13Z
as i said pretty sure that exists
Avatar
well if u find it and its open source tell me
Avatar
ChillerDragon BOT 2023-07-29 11:00:20Z
gotta wait 2days for @fokkonaut to wake up he can tell you
11:00
not sure if its open src
Avatar
a thing i noticed is quite a lot are using skins not even in skins.tw
11:00
skin names such as EDBE6725B8099D9F793D5CA
11:00
Pom Pom
11:00
xd
Avatar
ChillerDragon BOT 2023-07-29 11:01:01Z
Pom Pom ?
11:01
wot people still use custom skin packs in 2023?
11:01
Bro, checkout this skins.zip
Avatar
im not in the list sadge
Avatar
ChillerDragon BOT 2023-07-29 11:02:17Z
which list?
11:02
a
11:02
that yes
11:02
its super old and far from finished
Avatar
its not that old if u list timakro as timakro and not DoNe
11:02
😉
Avatar
ChillerDragon BOT 2023-07-29 11:03:06Z
this guy is DoNe since forever
Avatar
ChillerDragon BOT 2023-07-29 11:03:23Z
you may notice that im big sp someone fan
11:03
since his entry is biggest
Avatar
dinner as
11:03
gB. | dinner
11:03
or smth
11:03
i forgot
11:03
gdin
11:04
Info: SP | Someone is a known troll on the ddracenetwork servers. He found many bugs and exploits in whole teeworlds. He also happily abused them to troll as much as possible. Thats why many people think he is also ddosing ddnet servers and the staff has a negative opinion about him. To name a few exploits he found: - Using names on ddnet including ";kill" to kill far players by convincing them to type '/points plz;kill;me' in chat - He found a way to abuse the weak crc (cycle redundancy hash) used in teeworlds for downloaded maps - He found a bug in AllTheHaxx client to spam users in chat - He managed it to get the ddnet and noby fng server rcon multiple times
11:04
xdd
Avatar
ChillerDragon BOT 2023-07-29 11:04:15Z
xd
Avatar
u also should add
11:04
he spammed t he wiki in 2015 with deen is <bad word here>
11:05
in every page
Avatar
ChillerDragon BOT 2023-07-29 11:05:06Z
xd
11:05
epic didnt know
11:05
there was a wiki in 2015?
11:05
i closed it sadly cuz stuff
11:05
but it reopened when zwelf did stuff on his wiki
Avatar
ChillerDragon BOT 2023-07-29 11:06:05Z
idk how to edit this list anyways
11:06
i think its some kind of sqlite db
11:06
2016
Avatar
ChillerDragon u said kog is slow, does ddstats.org feel slow?
Avatar
ChillerDragon BOT 2023-07-29 11:18:35Z
my internet is slow af
11:18
so it loads a bit
11:19
but on kog to take the screenshot of my ugly skin i waited like 2 minutes then closed the tab to later reopen it when it was done xd
Avatar
loading a user takes a lot
11:19
40 secs so far and still hasnt
11:19
wont bother
11:19
xd
Avatar
ChillerDragon BOT 2023-07-29 11:19:51Z
ikr xd
11:20
blazingly kubernetes
Avatar
kubernetes amirite
Avatar
ChillerDragon BOT 2023-07-29 11:20:11Z
axaxax
11:20
debian moment this mf deb https://deb.debian.org/debian bookworm main non-free-firmware did not let me install php
11:20
adding this boi fixed it deb http://ftp.de.debian.org/debian/ bookworm main non-free-firmware
11:20
DEUTSCHLAND
Avatar
ChillerDragon BOT 2023-07-29 11:21:06Z
wot i needed slash for the other too? :D
Avatar
i think
11:21
idk
Avatar
ChillerDragon BOT 2023-07-29 11:21:21Z
hm everything else worked fine
11:21
just php was like 404
Avatar
deb http://mirror.hetzner.com/debian/packages bookworm main contrib non-free non-free-firmware deb http://mirror.hetzner.com/debian/packages bookworm-updates main contrib non-free non-free-firmware deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware # deb-src http://deb.debian.org/debian bookworm main contrib non-free deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware # deb-src http://deb.debian.org/debian bookworm-updates main contrib non-free # deb http://deb.debian.org/debian bookworm-backports main contrib non-free # deb-src http://deb.debian.org/debian bookworm-backports main contrib non-free deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware # deb-src http://security.debian.org/debian-security bookworm-security main contrib non-free deb http://apt.llvm.org/bookworm/ llvm-toolchain-bookworm-15 main # deb-src http://apt.llvm.org/bookworm/ llvm-toolchain-bookworm-15 main deb http://apt.llvm.org/bookworm/ llvm-toolchain-bookworm-16 main deb-src http://apt.llvm.org/bookworm/ llvm-toolchain-bookworm-16 main
11:21
this is my sources
11:21
using hetzner mirror
Avatar
ChillerDragon BOT 2023-07-29 11:21:51Z
hetzner virus
Avatar
maybe u need contrib
Avatar
ChillerDragon BOT 2023-07-29 11:22:48Z
omg adding ftp.de also sent me a new kernel xd
Avatar
oh shit
11:22
i did sudo poweroff on my server
11:22
when i wanted to close my pc
11:22
XD
Avatar
ChillerDragon BOT 2023-07-29 11:23:00Z
omg xxxxxxxxxxxxD
Avatar
linux moment
11:25
ok saved
Avatar
ChillerDragon BOT 2023-07-29 11:32:53Z
anyone knows why since debian 12 i can only move the mouse while i am not pressing any key on the keyboard? :c
Avatar
Gnome
Avatar
Avatar
Ryozuki
i did sudo poweroff on my server
I was very very close to doing this to entire ddnet for a couple times
Avatar
Use doas in production. Your muscle memory won't kill you then ^^
Avatar
sudo is still cool bro
11:56
fun cves
Avatar
ChillerDragon BOT 2023-07-29 12:14:48Z
real gamers use root user
Avatar
i was root in sv anyway
Avatar
I was also root on all the servers anyway
Avatar
An article on why IRC is still the only chat protocol worth using, and a positive look at the surprisingly autistic-friendly Microsoft Comic Chat IRC client.
12:44
now i just need to learn to render the skin
Avatar
ChillerDragon BOT 2023-07-29 12:44:59Z
tldr
Avatar
new rust project
Avatar
ChillerDragon BOT 2023-07-29 12:45:03Z
but nice title
12:46
blazingly 0.7 support
12:46
definitly not fast
12:46
i guess it doesnt do prediction
Avatar
ChillerDragon BOT 2023-07-29 12:47:06Z
idk waddup with this drunk flag
Avatar
prediction?
Avatar
ChillerDragon BOT 2023-07-29 12:47:19Z
it cant keep up with my insane movement that does not include mouse usage
12:47
isnt the flag attached to a tee?
12:47
i didnt expect its position to be independent
Avatar
when do we finally get a bigger emote wheel? xD
Avatar
ChillerDragon BOT 2023-07-29 12:48:50Z
wot d
12:49
need this
12:50
especially the speed emote XD
Avatar
ChillerDragon BOT 2023-07-29 12:51:24Z
sends a discord link
12:51
yea i can imagine what a bigger emote wheel is
12:51
but wh xd
12:51
why
Avatar
for more emotes xD
Avatar
ChillerDragon BOT 2023-07-29 12:51:59Z
o more
Avatar
what else could it be? xDD
Avatar
ChillerDragon BOT 2023-07-29 12:52:05Z
thats compability breaking
Avatar
hmm then dont allow new emotes on servers below a certain version.
12:53
i would love to see more emotes
Avatar
It's definitely doable
Avatar
Avatar
ChillerDragon
sends a discord link
just in case
12:54
12:54
from voxel
Avatar
Avatar
ChillerDragon
thats compability breaking
and if the player uses a old texture then ignore the new emotes
Avatar
is the name teerender taken
Avatar
whatcha wanna do with it?
Avatar
Avatar
Ryozuki
is the name teerender taken
you mean ingame name?
Avatar
as a project
Avatar
ChillerDragon BOT 2023-07-29 12:59:05Z
@Teero the server doesnt care much its more about the other clients that do not know the emotes
Avatar
ye ik so the client checks whether the emote ids that are incoming are possible for the client?
13:00
old clients still probably check whether a emote id is valid right? (edited)
Avatar
ChillerDragon BOT 2023-07-29 13:02:32Z
yea it might show nothing so its not compability
Avatar
it sure would take a while till everyone has updated to a new version but it would bve pretty cool in my opinion
Avatar
ChillerDragon BOT 2023-07-29 13:02:44Z
breaks all the emote muzzle memory
Avatar
ChillerDragon BOT 2023-07-29 13:03:08Z
its a thng
Avatar
ok teerender name is now mine
Avatar
Avatar
Ryozuki
ok teerender name is now mine
nooo i made a lost project 5 years ago with that name that nobody will ever see
13:04
jk
13:05
hey where is the src for the map webviewer thing?
Avatar
a question, does skins.tw have more skins and the same skins that ddnet.org has?
13:06
@Jupstar ✪ is there a url to download all skins?
13:06
the one on web seems dynamic
Avatar
probably since on skins.tw everyone can just upload stuff
Avatar
but idk
13:07
closed source
Avatar
well you definitely wouldnt find 17 25 diffrent color variations of the nanami skins on the ddnet skin base (edited)
13:11
Avatar
@Learath2 is this https://github.com/ddnet/ddnet/blob/3b273500c54b718e25eb57cba4accfe9a30a23d0/src/base/color.h#L134 how to convert the player body color to smth like rgba?
Avatar
Avatar
Ryozuki
@Learath2 is this https://github.com/ddnet/ddnet/blob/3b273500c54b718e25eb57cba4accfe9a30a23d0/src/base/color.h#L134 how to convert the player body color to smth like rgba?
As in from the decimal packed teeworlds format?
Avatar
hmm? ColorRGBA has a overloaded constructor for that right?
Avatar
player_color_body 7985705 player_color_feet 9568511
13:18
the one master reports
13:18
which is this i think
Avatar
You'll need to go through ColorHSLA
Avatar
Avatar
Ryozuki
@Jupstar ✪ is there a url to download all skins?
Ddnets skins can all be downloaded in the database
13:19
Skin tw dunno
Avatar
Avatar
Ryozuki
@Learath2 is this https://github.com/ddnet/ddnet/blob/3b273500c54b718e25eb57cba4accfe9a30a23d0/src/base/color.h#L134 how to convert the player body color to smth like rgba?
color4_base(unsigned col, bool alpha = false) { a = alpha ? ((col >> 24) & 0xFF) / 255.0f : 1.0f; x = ((col >> 16) & 0xFF) / 255.0f; y = ((col >> 8) & 0xFF) / 255.0f; z = ((col >> 0) & 0xFF) / 255.0f; }
Avatar
Avatar
Jupstar ✪
Ddnets skins can all be downloaded in the database
yeah from browser, how from cli
Avatar
Avatar
Teero
color4_base(unsigned col, bool alpha = false) { a = alpha ? ((col >> 24) & 0xFF) / 255.0f : 1.0f; x = ((col >> 16) & 0xFF) / 255.0f; y = ((col >> 8) & 0xFF) / 255.0f; z = ((col >> 0) & 0xFF) / 255.0f; }
oh nice
Avatar
Avatar
Ryozuki
yeah from browser, how from cli
There is a skins.json which holds all paths
13:20
But else u cant
Avatar
directly above the snippet you posted
Avatar
what format is it tho
Avatar
ColorRGBA inherits that from the color4base
13:20
so its int to ColorRGBA
Avatar
Avatar
Ryozuki
yeah from browser, how from cli
Avatar
Avatar
Ryozuki
what format is it tho
you can just say ColorRGBA playercolbdy = ColorRGBA(g_Config.m_ClPlayerColorBody);
13:22
im not using c++
Avatar
huh what are you using? xD
13:22
rust?
13:22
?
13:22
shoudve expected that
Avatar
im doing a single web api endpoint
13:22
to render skins
Avatar
well then its just rgba format
Avatar
#[derive(Debug, Clone, Copy)] struct BaseColor { pub x: f32, pub y: f32, pub z: f32, pub a: f32, } #[allow(clippy::cast_precision_loss)] fn color_code_base(col: u32, alpha: bool) -> BaseColor { let a = if alpha { ((col >> 24) & 0xFF) as f32 / 255.032 } else { 1.0f32 }; let x = ((col >> 16) & 0xFF) as f32 / 255.0f32; let y = ((col >> 8) & 0xFF) as f32 / 255.0f32; let z = ((col >> 9) & 0xFF) as f32 / 255.0f32; BaseColor { x, y, z, a } } (edited)
13:24
oh a typo lmao
13:24
9
Avatar
Avatar
Teero
you can just say ColorRGBA playercolbdy = ColorRGBA(g_Config.m_ClPlayerColorBody);
I don't think you can do this
13:24
The numbers are packed hsl, not packed rgb, the color will be wrong
13:25
In the code we do color_cast<ColorRGBA>(ColorHSLA(col)) iirc
Avatar
template<> inline ColorHSLA color_cast(const ColorRGBA &rgb) { float Min = minimum(rgb.r, rgb.g, rgb.b); float Max = maximum(rgb.r, rgb.g, rgb.b); float c = Max - Min; float h = RgbToHue(rgb.r, rgb.g, rgb.b); float l = 0.5f * (Max + Min); float s = (Max != 0.0f && Min != 1.0f) ? (c / (1 - (absolute(2 * l - 1)))) : 0; return ColorHSLA(h, s, l, rgb.a); } (edited)
13:25
do i need to do this
13:25
with the result from my function?
Avatar
If you need rgba, yes. If you are doing sth web you can also just use hsl iirc
Avatar
but the function i passed
13:26
is it hsla?
Avatar
Avatar
Ryozuki
template<> inline ColorHSLA color_cast(const ColorRGBA &rgb) { float Min = minimum(rgb.r, rgb.g, rgb.b); float Max = maximum(rgb.r, rgb.g, rgb.b); float c = Max - Min; float h = RgbToHue(rgb.r, rgb.g, rgb.b); float l = 0.5f * (Max + Min); float s = (Max != 0.0f && Min != 1.0f) ? (c / (1 - (absolute(2 * l - 1)))) : 0; return ColorHSLA(h, s, l, rgb.a); } (edited)
Not the correct one
Avatar
Avatar
Ryozuki
#[derive(Debug, Clone, Copy)] struct BaseColor { pub x: f32, pub y: f32, pub z: f32, pub a: f32, } #[allow(clippy::cast_precision_loss)] fn color_code_base(col: u32, alpha: bool) -> BaseColor { let a = if alpha { ((col >> 24) & 0xFF) as f32 / 255.032 } else { 1.0f32 }; let x = ((col >> 16) & 0xFF) as f32 / 255.0f32; let y = ((col >> 8) & 0xFF) as f32 / 255.0f32; let z = ((col >> 9) & 0xFF) as f32 / 255.0f32; BaseColor { x, y, z, a } } (edited)
this
13:26
the 9 is a 0 its a typo
Avatar
Avatar
Ryozuki
#[derive(Debug, Clone, Copy)] struct BaseColor { pub x: f32, pub y: f32, pub z: f32, pub a: f32, } #[allow(clippy::cast_precision_loss)] fn color_code_base(col: u32, alpha: bool) -> BaseColor { let a = if alpha { ((col >> 24) & 0xFF) as f32 / 255.032 } else { 1.0f32 }; let x = ((col >> 16) & 0xFF) as f32 / 255.0f32; let y = ((col >> 8) & 0xFF) as f32 / 255.0f32; let z = ((col >> 9) & 0xFF) as f32 / 255.0f32; BaseColor { x, y, z, a } } (edited)
Yeah this looks fine
Avatar
so thats hsla
13:26
ok
Avatar
Yep, normalized hsla too
Avatar
Avatar
Learath2
In the code we do color_cast<ColorRGBA>(ColorHSLA(col)) iirc
ah i forgot. youre right
Avatar
@Jupstar ✪ Do you have some pointers where the bug in my font render overhaul could located? I can also share the code but it's like 2k lines diff already. pepeW
13:50
(open in fullscreen)
Avatar
The following log messages are printed when selecting all languages with loglevel 3 or higher: ``` localization: loaded 'languages/bosnian.txt' localization: loaded 'languages/catalan.txt' localization: malform replacement line (1257) for '' localization: loaded 'languages/danish.txt' localization: malform replacement line (1151) for '' localization: loaded 'languages/german.txt' localization: loaded 'languages/spanish.txt' localization: malform replacement line (1598) for '' lo...
Avatar
93e95bb add box selection to envelope editor - Marmare314 88bb44a Merge pull request #6944 from Marmare314/boxselect-envelopes - Robyt3
Avatar
ChillerDragon BOT 2023-07-29 14:38:35Z
!ping
Avatar
Avatar
ChillerDragon
!ping
Command not found!
Avatar
chillerbot BOT 2023-07-29 14:38:36Z
pong
gigachad 4
Avatar
Avatar
ChillerDragon
real gamers use root user
ahah fr 💀
Avatar
ChillerDragon BOT 2023-07-29 14:43:39Z
@Jupstar ✪ thanks for your consultation! I made my r/place very webscale keeping db inserts but also having seperate blazingly web scale bitmap and array cache
Avatar
Avatar
Ryozuki
a question, does skins.tw have more skins and the same skins that ddnet.org has?
yes
Avatar
Avatar
Robyt3
@Jupstar ✪ Do you have some pointers where the bug in my font render overhaul could located? I can also share the code but it's like 2k lines diff already. pepeW
What is your bug?
Avatar
Avatar
Jupstar ✪
What is your bug?
Looks at the screenshot in fullscreen, the text is blurry
14:46
14:46
Ingame even more
14:46
I guess it has something to do with the internal screen resolution?
Avatar
It's either while u can create text container. Or while u render the text.. or your font size calculation is wrong
14:47
Guess u could print these stuff in current vs current master
14:48
With render doc you can look if the font textures are correct
Avatar
the font size seems correct, so I think it has to do with GetScreen returning different values at different points
Avatar
Avatar
Jupstar ✪
With render doc you can look if the font textures are correct
Ok, I got it, I used the wrong font size when looking up the glyph from the atlas
👌 1
15:32
Prepare to review 2000 lines justatest
15:34
Is it possible to prevent the flashing text when clearing the font atlas due to changing the language?
15:35
Atlas needs to be cleared for CJK languages
Avatar
isnt this rly niche thing
15:37
ppl dont rly change langs
Avatar
ye, but if it's easily possible I'd do it anyway
Avatar
Avatar
Robyt3
Is it possible to prevent the flashing text when clearing the font atlas due to changing the language?
Hm, maybe just recycle the old frame until the atlas is regenerated?
Avatar
hmm, I see, maybe the problem is just that we clear the atlas in the middle of a frame
Avatar
Nice, it works perfectly when the actual language change is delayed until the next client update
Avatar
so is robyt completely revamping the text rendering engine?
Avatar
Should change nothing about how it actually looks except for CJK users
15:56
I think some don't like how text looks on 0.7
15:56
Just adds support for selecting font family based on the language
Avatar
i hate 0.7 text
Avatar
!error Last version that worked for this user was 16.8. Support for macOS 10.15 ended November 30, 2022 so maybe that's the cause. Anyone else using macOS 10.15 so we can test this?
Avatar
You also hate everything else about 0.7 so that's not very surprising 😄
Avatar
ChillerDragon BOT 2023-07-29 16:18:00Z
0.7 pog
Avatar
Avatar
Learath2
You also hate everything else about 0.7 so that's not very surprising 😄
do u rly like 0.7 text
Avatar
Avatar
Ryozuki
do u rly like 0.7 text
Not particularly 😄
Avatar
ddnet.org is down?
Avatar
nope side is up and running
16:36
works now Shrug
Avatar
does anyone know how long it takes that a support ticket will be answered?
Avatar
Avatar
grain
does anyone know how long it takes that a support ticket will be answered?
Idk, shouldn't be too long ig. It's written that they don't offer tecnical support tho (just saw your question)
Avatar
Oooh damn
16:40
Thanks for the info tho :/
Avatar
Someone else might help you, but might take a while ^^'
Avatar
ab9f6e0 Update grass_doodads_0.7.png to match upstream - ChillerDragon 463dc77 Merge pull request #6945 from ChillerDragon/pr_doodads07 - def-
17:13

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://github.com/ddnet/ddnet/#using-ad...
Avatar
dude
17:43
I just realized, TeeworldsCN got a 10 year anniversary this month
Avatar
Wow it was released directly after ddnet?
17:43
Pros
Avatar
How do you release a community
Avatar
Dunno, host a website?
Avatar
Also i think we started hosted ddnet servers in 2014 or 2015
Avatar
Start a chat
Avatar
Ye the chat was started July 4th 2013 (edited)
Avatar
So even before ddnet
17:45
Ddnets first finish
Avatar
Oh wait that means I am already an adult when i started it
17:46
Well almost
Avatar
Old
Avatar
I'm 27 rn and my birthday is in November
17:47
I still remember when i go to the police station to register teeworlds.cn
17:47
When I'm 17
17:47
justatest
Avatar
Police Station lmao
Avatar
Ye, you have to do that in china
Avatar
Weird af xD
Avatar
I think the police are also weirded out by a kid registering a website
17:49
I thought they really wanted to be rude but don't know how against a 17yo
Avatar
@Robyt3 Do we really need this overhead in translation files? ##### authors ##### #originally created by: # Dominik Geyer #modified by: # Fujnky 2010-06-03 11:30:05 # Fujnky 2010-06-03 17:41:45 # Fujnky 2010-06-05 23:36:52 # Fujnky 2010-06-07 16:17:40 # Fujnky 2010-06-11 09:50:47 # Sworddragon 2010-11-21 14:25:00 # Fujnky 2011-01-02 19:49:22 # heinrich5991 2011-01-23 17:53:42 # Sworddragon 2011-02-09 12:54:50 # heinrich5991 2011-04-03 23:46:51 # ghost91 2011-04-04 20:47:01 # andi103 2011-05-02 19:12:27 # andi103 2011-05-03 23:25:20 # heinrich5991 2011-07-02 09:10:21 # Yared Hufkens 2012-02-03 19:57:59 # andi103 2012-07-14 11:31:11 # timakro 2014-06-30 18:26:59 # deen 2020-06-26 18:32:00 # bluesky 2022-07-05 21:00:00 ##### /authors ##### ##### translated strings ##### I wrote a script that will reorder the translations alphabetical and i would love to remove this while doing it.. i mean we have git nowadays, why should we keep this in the files?
Avatar
Hmm, maybe the duplicates could be removed at some point, I don't see a need to list multiple edits, but an author list is okay I'd say
👍 1
17:53
Translations are sometimes added by other devs and not by the translators themselves, so git history would only show the author if it was added to the commit message
Avatar
Yea but iirc deen always mentions them if he uses their translations (edited)
Avatar
Hmm, the header also has a somewhat random format in all languages
17:55
I don't mind either way, I guess we can open a discussion issue
👍 1
Avatar
@Vy0x2 mentioned that the large header showing a list of all authors/editors in language files is not very useful given that we have a Git history as well. The headers are also not very consistently formatted and sometimes imcomplete. Should get rid of this header entirely? Or maybe cut them down to just a list of all authors in the order of their first contribution?
Avatar
Avatar
Vy0x2
@Robyt3 Do we really need this overhead in translation files? ##### authors ##### #originally created by: # Dominik Geyer #modified by: # Fujnky 2010-06-03 11:30:05 # Fujnky 2010-06-03 17:41:45 # Fujnky 2010-06-05 23:36:52 # Fujnky 2010-06-07 16:17:40 # Fujnky 2010-06-11 09:50:47 # Sworddragon 2010-11-21 14:25:00 # Fujnky 2011-01-02 19:49:22 # heinrich5991 2011-01-23 17:53:42 # Sworddragon 2011-02-09 12:54:50 # heinrich5991 2011-04-03 23:46:51 # ghost91 2011-04-04 20:47:01 # andi103 2011-05-02 19:12:27 # andi103 2011-05-03 23:25:20 # heinrich5991 2011-07-02 09:10:21 # Yared Hufkens 2012-02-03 19:57:59 # andi103 2012-07-14 11:31:11 # timakro 2014-06-30 18:26:59 # deen 2020-06-26 18:32:00 # bluesky 2022-07-05 21:00:00 ##### /authors ##### ##### translated strings ##### I wrote a script that will reorder the translations alphabetical and i would love to remove this while doing it.. i mean we have git nowadays, why should we keep this in the files?
The script will be nice though, we can probably include it in the check style pipeline
Avatar
Ah, i wrote it to manually fix it now once and hopefully new translations will get inserted into the right place
18:05
I dont know how and how much work it would be to write it for the project
Avatar
I see. I'm not sure if new translations get inserted at the correct position already by the script (edited)
Avatar
We have a lot of translations and those are the only lower case ones. The url is ok but the rest is wrong imo (edited)
Avatar
Yes, they should all be upper-case in source code
Avatar
4ea46f2 Fix malformed lines in some translation files - Vy0x2 210a2a8 Merge pull request #6948 from Vy0x2/pr-fix-localization-malformed - Robyt3
Avatar
Why do I get -nan is outside the range of representable values of type 'int' on a text cursor position? Only happens in the CI, not locally on Ubuntu with UBSan both with normal and headless client. https://github.com/Robyt3/ddnet/tree/TextRender-Font-Index-File
Avatar
Avatar
GitHub
Click to see attachment 🖼️
commented on this
Avatar
Avatar
Vy0x2
@Robyt3 Do we really need this overhead in translation files? ##### authors ##### #originally created by: # Dominik Geyer #modified by: # Fujnky 2010-06-03 11:30:05 # Fujnky 2010-06-03 17:41:45 # Fujnky 2010-06-05 23:36:52 # Fujnky 2010-06-07 16:17:40 # Fujnky 2010-06-11 09:50:47 # Sworddragon 2010-11-21 14:25:00 # Fujnky 2011-01-02 19:49:22 # heinrich5991 2011-01-23 17:53:42 # Sworddragon 2011-02-09 12:54:50 # heinrich5991 2011-04-03 23:46:51 # ghost91 2011-04-04 20:47:01 # andi103 2011-05-02 19:12:27 # andi103 2011-05-03 23:25:20 # heinrich5991 2011-07-02 09:10:21 # Yared Hufkens 2012-02-03 19:57:59 # andi103 2012-07-14 11:31:11 # timakro 2014-06-30 18:26:59 # deen 2020-06-26 18:32:00 # bluesky 2022-07-05 21:00:00 ##### /authors ##### ##### translated strings ##### I wrote a script that will reorder the translations alphabetical and i would love to remove this while doing it.. i mean we have git nowadays, why should we keep this in the files?
check my answer
Avatar
Avatar
Robyt3
Why do I get -nan is outside the range of representable values of type 'int' on a text cursor position? Only happens in the CI, not locally on Ubuntu with UBSan both with normal and headless client. https://github.com/Robyt3/ddnet/tree/TextRender-Font-Index-File
is there a backtrace? what ci?
Avatar
Thanks for the input. I agree if the attribution would be consistent, but some contributors add themselves, some not and some add themselves 10 times
Avatar
Avatar
Robyt3
Why do I get -nan is outside the range of representable values of type 'int' on a text cursor position? Only happens in the CI, not locally on Ubuntu with UBSan both with normal and headless client. https://github.com/Robyt3/ddnet/tree/TextRender-Font-Index-File
Watch for nans then u can find it
Avatar
DDraceNetwork, a cooperative racing mod of Teeworlds - Add font index, support font family variants depending on language · Robyt3/ddnet@08fa192
Avatar
Avatar
Vy0x2
Thanks for the input. I agree if the attribution would be consistent, but some contributors add themselves, some not and some add themselves 10 times
yeah we could reduce repeated names to 1 line with the dates of contributions
Avatar
chillerdragon BOT 2023-07-29 20:48:32Z
china moment (@TsFreddie)
I still remember when i go to the police station to register teeworlds.cn
Avatar
1. Converted translations starting with a lower case to upper case and fixed general errors (especially in the italian translations, a lot of duplicates etc.) 2. Alphabetical order of the translations now

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 added coverage to integration test
  • [ ] Considered possibl...
Avatar
With this script you can sort the translations in alphabetical order. Could it be used in the pipeline? Or just have it as a script in the /scripts folder?
Avatar
Avatar
Vy0x2
With this script you can sort the translations in alphabetical order. Could it be used in the pipeline? Or just have it as a script in the /scripts folder?
To run it in the pipeline it must be able to not modify anything
21:12
So it needs an option --dry-run where it will only output if something needs changes but not change anything
Avatar
Ah i see
21:14
It should go through all languages automatically yes? Since atm i have to tell it what language file i want to check
21:18
The existing scripts/languages/update_all.py should also be checked/updated, so new translations are also added at the correct position
Avatar
The integration test script should print the console log when server or client exits abnormally, e.g. due to assertion failure.
22:33
??? xD
Avatar
i.. guess
Exported 384 message(s)