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 2019-12-04 00:00:00Z and 2019-12-05 00:00:00Z
Avatar
Cellegen | HU 2019-12-04 00:07:18Z
(nvm graphics tools are broken too, unusable)
00:07
but there's a website https://compresspng.com
PNG compression and optimization tool to compress PNG images into PNG-8 format with transparency support.
00:07
this is fucking useful (edited)
Avatar
Isn't it the same as the graphics tools at downloads?
Avatar
how come ddnet always crashes when i open it when a youtube video is playing in the focused tab
01:38
or when i alt tab to ddnet when playing a video
Avatar
if u found a way to always crash ddnet u should run it with a debugger and find which part of the code is responsible (edited)
Avatar
it just turns the screen black and either take a minute to finally be able to close or just crashes my computer
01:39
yes it always crashes
01:39
do i run it through visual studio debugger?
Avatar
idk on windows
Avatar
idk how to do it
Avatar
if u compiled the client then that sounds right
01:40
if not then idk, maybe xd (edited)
Avatar
@heinrich5991 that one is my fav
Avatar
ChillerDragon 2019-12-04 11:54:03Z
@louis ye visual studio debugger is fine
11:54
compile in vs and then run in debug mode from visual studio
Avatar
@louis if it crashes your computer, I doubt a debugger will be of much use, it probably crashes deep in the kernel or some driver
Avatar
ede86e1 Update ddnet-setup - Dennis Felsing
Avatar
@Cellegen | HU there is nothing wrong with the 0.7 map editor... I had also no problems porting maps to 0.7... idk what you do wrong
Avatar
Cellegen | HU 2019-12-04 14:03:46Z
Well the image scaling on 0.7 is not automatic tho, i needed to manually upscale the picture and reduce it's quality to optimize it
14:03
otherwise bugs will happen
Avatar
ChillerDragon 2019-12-04 14:04:04Z
idk what that image scaling is
14:04
where do images get scaled in editor
Avatar
Cellegen | HU 2019-12-04 14:04:25Z
fe: i had 600x600 pixel ratio on the picture
14:04
and 0.7 completely ruins the render cuz it cannot render less than 1024x pictures properly
Avatar
ChillerDragon 2019-12-04 14:05:09Z
??
Avatar
Cellegen | HU 2019-12-04 14:05:29Z
so fuck i've spend 5 hours fixing my fucking picture to 1024x1024 so that 0.7 can properly render it
Avatar
ChillerDragon 2019-12-04 14:05:46Z
1024 sounds like a good minimu size anyways in 2019
Avatar
Cellegen | HU 2019-12-04 14:06:13Z
it is, but my problem is, that 0.7 does NOT have support for different scaling values
14:06
while it still can be compiled
14:06
(the image to the client)
14:06
nicely, ddnet does
Avatar
ehm... sry to mention but teeworlds always required you to use 1024x1024 anyways...
Avatar
Cellegen | HU 2019-12-04 14:07:28Z
yeah, thats a problem anyway
14:07
at least it should force scale ratios onto pictures to match with the editor
Avatar
no its not, in earlier tw versions the editor just denied adding a image at lower resolution (edited)
Avatar
Cellegen | HU 2019-12-04 14:08:31Z
i know that, and that is why i said that 0.7 does not have great support over different ratios
Avatar
so you miss the check?
14:08
😄
Avatar
Cellegen | HU 2019-12-04 14:09:28Z
i checked both the picture and the client, and seems like it cannot render properly less than 1024x1024 pictures
Avatar
yea because internal everything bases on that resolution
Avatar
Cellegen | HU 2019-12-04 14:10:05Z
well fuck that solution 😄
14:10
i hate 0.7 editor
14:10
completely
Avatar
but your problem has nothing to do with the 0.7 editor itself
14:10
just a missing check, nothing else
Avatar
Cellegen | HU 2019-12-04 14:12:05Z
just what kind of missing check?
14:12
toward the picture or the client itself?
Avatar
and the 1024x1024 resolution comes from the game internals because a block aka "pixel" (tee size) is 64x64 and you have 256 blocks (view from entities), so graphics have to have the same size
Avatar
Cellegen | HU 2019-12-04 14:12:57Z
i think u are talking about ddnet's mechanics
14:13
its already been fixed this problem
Avatar
I'm not talking about ddshit, but vanilla (and ddnet uses the same as well)
Avatar
Cellegen | HU 2019-12-04 14:13:26Z
not kinda monkaS
14:13
its seperate af
Avatar
I think ddnet may have implemented a scaling mechanism to fix such issues, thats all
Avatar
Cellegen | HU 2019-12-04 14:14:07Z
yes, finally you see it why i hate 0.7 editor 🙂
Avatar
but basically teeworlds requires 1024x1024 images, thats not a secret
Avatar
Cellegen | HU 2019-12-04 14:14:40Z
but fucking hell i've spent 5 hours to compile a FUCKING PICTURE.
Avatar
you can't expect the vanilla game to implement mod things 😄
Avatar
Cellegen | HU 2019-12-04 14:14:47Z
just for this
14:14
0.7 bs
14:15
thats not
14:15
a mod thing
14:15
its a usual mapping requirement
Avatar
I believe even 0.6 hadn't had a scaling mechanism
Avatar
Cellegen | HU 2019-12-04 14:15:22Z
to make life easier
Avatar
just use 1024x1024 resolution, whats your problem?
Avatar
Cellegen | HU 2019-12-04 14:15:44Z
yes cuz they haven't thought about autoscaling
Avatar
why should they even care about it?
Avatar
Cellegen | HU 2019-12-04 14:16:00Z
my fucking god cant you understand?
14:16
I HAVE SPENT 5 HOURS TO MAKE A 600X PICTURE ONTO A 1024X PICTURE SO IT CAN BE COMPILED
14:16
5 hours.
14:16
fucking hell.
Avatar
just use gimp and resize your image. so hard?
Avatar
Cellegen | HU 2019-12-04 14:17:21Z
yes, there are different ratios, the printing quality, the different color dimensions, RESOLUSION etc
Avatar
yea
14:17
and whats the matter?
14:17
there are good tutorials outside to do so
Avatar
Cellegen | HU 2019-12-04 14:17:50Z
i dont wanna make a 2mb map duh
Avatar
you don't have to
Avatar
Cellegen | HU 2019-12-04 14:18:06Z
omg show me master
Avatar
no time
Avatar
Cellegen | HU 2019-12-04 14:18:20Z
then fuck you and dont waste my time.
Avatar
but you have google/bing/duckduckgo/whatever, just use it
Avatar
Cellegen | HU 2019-12-04 14:18:58Z
can somebody tell this autistic kid that its related to ddnet and not any programming manner?
Avatar
well, I only wanted you to understand that your problem isn't a problem.... you could have read that you need 1024x1024 resolution and you could find ways to resize it. vanilla could have implemented resizing, but you shouldn blame them for missing that feature....
Avatar
Cellegen | HU 2019-12-04 14:20:01Z
please do me a favor and accept a challenge, im gonna send you an image and spend the last 5 hours to compile it with 0.7 without breaking its rendering 🤡
14:20
but boy, it wasnt just resolution
14:20
😭
14:20
it was the compiling
Avatar
yea, understood your point. you wanted to keep the size
Avatar
Cellegen | HU 2019-12-04 14:21:10Z
AND make it fairly optimized
14:21
so it wont go up to 1MB or higher
14:21
since its PNG
Avatar
yea, and?
Avatar
Cellegen | HU 2019-12-04 14:21:58Z
that. was. fucking. hard to do manually.
14:22
who the fuck wastes so much time just so that one picture would work
14:22
and i dont wanna talk about the rest of them.
14:23
i see you dont have a problem with it, cuz you dont fucking know how to map correct?
Avatar
I have my problems with people complaining about things that are no things if you never got used to mods like ddnet. do you get my point?
Avatar
Cellegen | HU 2019-12-04 14:24:18Z
feels like im talking to myself tee_thinking
Avatar
yea, maybe because I don't have enough time to discuss it properly right now
14:28
btw autistic kid, you said. I'm a few % autistic (for real, yes) but not a kid 😄
Avatar
so, 5 mins left. @Cellegen | HU I have a question: do you still have your 600x600 image?
14:42
ik you also have a 1024x1024 one now, but I'm asking for the smaller one
14:44
I'm asking because if I recall correctly either ddnet or 0.7 switched the png library, that could be your issue then
Avatar
ddnet didn't
Avatar
upscaling an image to nearly twice the resolution is never a good idea... it will always look shitty, especially on 4k displays. no matter whether the client does it or you do it manually
14:46
0.7 uses 3d textures (or misuses them as texture arrays) so they have to split the tileset into 256 64x64 tiles before using it
14:47
in 0.6 it was more of a side effect that other resolutions worked
Avatar
just like the physic engine does then?
14:47
(the 3d textures)
Avatar
has nothing to do with physics but more with rendering (opengl)
14:48
advantage of this is that you dont need borderfix anymore
Avatar
yea but the physics engine also works with 256 x 64 x 64
14:48
that was what I was referencing to
Avatar
yeah okay
Avatar
and I also said that its no bug in vanilla, so I was right. 600x600 was never supposed to work, but they just fixed a bug with the 3d textures then? (edited)
Avatar
kind of yes. but it should probably tell the mapper that he cannot use resolutions other than 1024x1024
Avatar
ye, that was the missing message/popup I mentioned earlier
Avatar
right now nobody really wants to touch the 0.7 editor since somebody is completely rewriting it
Avatar
ooh what's gonna be in the new editor
Avatar
i didn't have a closer look at it. not sure how the progress is
Avatar
@redix do you happen to know how exactly they abuse those 3d textures? It drove me insane trying to figure it out
Avatar
they are using the third coordinate to determine which tile should be rendered... it would be better to use 2d texture arrays but as far as i know they need shaders to work
15:32
they are basically generating a 64x64x256 texture from the tileset
15:32
with texture arrays you could also use mipmaps. with this 3d tex approach you cannot
17:01
9d39ca8 Support shotgun_speed 0 - def- c31f630 Merge #1977 - bors[bot]
Avatar
When port to py3
17:01
2020 is here soon
Avatar
it's actually the serverstatus script that requires py2: https://github.com/BotoX/ServerStatus/blob/master/clients/client.py
Display and monitor your servers statistics in a beatiful way - BotoX/ServerStatus
Avatar
I really wanted to write an ansible playbook to deploy servers this time 😛
Avatar
@Learath2 should i learn ansible
Avatar
It's a decent way to deploy servers that's not too complex
18:37
do many companies use it?
Avatar
Yeah it is pretty common
18:38
The others are Chef, Puppet and Salt. First 2 are more common then the last one
18:42
Terraform is really interesting technology, infrastructure as code is a weird concept
Avatar
guys. open this map and just take a look at it. if you spectate some tiles disappear and if you try to place some hook for example in the editor its all weird.
Avatar
Spectate? in the editor?
Avatar
ingame. too
Avatar
I don't get the bug, there are some tiles that aren't visible when you are ingame?
Avatar
more like this bro
Avatar
I'll take a look, but it looks like a slightly corrupted map to me 😛
Avatar
yeah i opened a old map. ive seen it befor ebut not that the tiles disappear and some even move with you
20:53
Btw @Learath2 in vanilla dc worstwish was looking for you. I thought i will forward his message.
Exported 153 message(s)