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 2021-02-10 00:00:00Z and 2021-02-11 00:00:00Z
Avatar
I made this skin to show the square size of the tee against the map, the round size of the tee against other tees and the hitbox which is the big circle. Coincidentally the hitbox also almost exactly defines the hammer range(when the hitboxes touch: tees are within hammer range). It also shows center lines(when the center of the cross enters freeze the tee is frozen) and i tried to make the eye point accurately in the direction of aiming. I also made some simplified weapons to show the direction people aim more clearly(not entirely possible without editing code because of the offset when you aim vertically) and made the sword so small that you don't see it when it's equipped so frozen tees don't visibly equip it. Initially I just had the question "how big is a tee really?" when drawing a skin which lead me to make this. It can be helpful to play with but also to use as a basis to make skins with more accurate dimensions. (edited)
Avatar
17638ab M NUT_hardcore_bestof - ddnet-maps
Avatar
[quakenet] ChillerDragon BOT 2021-02-10 07:51:52Z
Hue you can request access on gitlab repos? Is it common that you randomly get those requests? any gitlub mains here? https://zillyhuhn.com/cs/.1612943431.png
Avatar
@Deleted User as far as I know Soreu didn't even make entities in vector
Avatar
Avatar
Ravie
@Deleted User as far as I know Soreu didn't even make entities in vector
ok thanks for the info, lukely louis is at creating a new default as svg ^^
Avatar
[quakenet] ChillerDragon BOT 2021-02-10 10:01:47Z
A sorted collection of teeworlds mapres. Contribute to TeeworldsDB/mapres development by creating an account on GitHub.
Avatar
i didnt chillerdragon 😄
Avatar
[quakenet] ChillerDragon BOT 2021-02-10 10:03:21Z
<3
10:03
i didnt know u actually plan on creating a UHD thing
10:03
will there be a github repo in the ddnet org?
Avatar
we already planned it like half a year ago, but i guess it wont really happen until you start 😄
10:04
yes hopefully
Avatar
[quakenet] ChillerDragon BOT 2021-02-10 10:04:41Z
id happily replace my svg dir with a submodule and pr to ddnet repo instead
10:05
do you have org access to create a repo? then we could start
Avatar
my plan would be to create a repo with all SVGs in the correct data directory style, and write a script to automatically create a data directory with all the SVGs converted to the ratio you want so it could be created for any need 😄
Avatar
[quakenet] ChillerDragon BOT 2021-02-10 10:05:43Z
sounds very nice
10:05
go
Avatar
i dont think i have any access except the ddnet source 😄
Avatar
[quakenet] ChillerDragon BOT 2021-02-10 10:06:08Z
hm sad
10:06
@deen can we get a repo?
Avatar
but i guess @deen would kindly help us 😄
Avatar
[quakenet] ChillerDragon BOT 2021-02-10 10:06:23Z
:GWPingSok:
10:06
i also have some ci for mapres but yea thats png not svg
10:07
i am hyped
10:08
@Deleted User ima add a jungle doodads and you write a svg render engine :D
Avatar
we'll just use existing linux tools, since PNGs are faster to use anyway
10:09
than onfly rendering
Avatar
[quakenet] ChillerDragon BOT 2021-02-10 10:14:26Z
but pngs are bad for zooz
10:14
what about multiple sizes?
Avatar
well as said, there will be a script, so its easy to created the stuff in the resolution you want
10:17
double skin res is already huge improvement 😄
10:21
none zoom in
10:22
need 2k screen tho
Avatar
on normal displays increasing skin resolution does nothing btw
Avatar
well on full hd it renders ~1429.84(assuming 64 pixels per tile) pixels in width and normal full HD is 1920 pixels in width so it should even improve it on full hd a bit
Avatar
I remember doubling the resolution did completely nothing on 1920x1080 cause the scaling factor on feet was the same (so still messed up) maybe it improved with the new rendering tho idunno
Avatar
possible, since the texture coords were wrong with old skin system
Avatar
anyway I have these if you need it
Avatar
wtf
11:02
yeah especially the vanillas are important
Avatar
they're not the original, just really close
11:02
some little improvements like symmetry and outlines
Avatar
its ok
11:02
aslong the eyes dont look like 0.7 xD
Avatar
what's wrong with 0.7 eyes?
Avatar
they look weird
11:03
bcs they thin and far away from each other
Avatar
they're fine
11:04
maybe slightly bigger but it's cute
11:05
looks creepy xD
11:06
just as reference
Avatar
top is how they always should have been, the crossing is some side effect or whatever
Avatar
well im not about crossing
11:07
they are too huge
11:07
it looks creepy
Avatar
ChillerDragon, @Deleted User Sure, what name do you want for the repo? What is the plan for normal players? Will we ship the svgs or just ship multiple resolution pngs?
Avatar
data-svg i guess
Avatar
ddnet-data-svg?
Avatar
i'd say we ship a additional directory for releases that is named UHD and has normal data structure
11:08
yeah works too @deen
Avatar
@Deleted User r u adding svg support?
11:09
poggers
Avatar
no
11:09
i dont see any sense in it
11:09
will just increase load time even more
Avatar
[quakenet] ChillerDragon BOT 2021-02-10 11:10:01Z
thanks deen <3
Avatar
if someone wants 8k support he'll just use the script to generate the PNGs
Avatar
Created and invited Jupstar: https://github.com/ddnet/ddnet-data-svg
Contribute to ddnet/ddnet-data-svg development by creating an account on GitHub.
Avatar
i think svg can be smaller in file size
Avatar
that is true yes
Avatar
[quakenet] ChillerDragon BOT 2021-02-10 11:10:33Z
can one pr against an empty repo?
11:10
jupstar go add the folder structure with gitkeep ima pr my doodads
Avatar
try it out, then we know ^^
Avatar
[quakenet] ChillerDragon BOT 2021-02-10 11:11:01Z
so u try :p
Avatar
so whats going on here?
11:11
u adding upscaled textures?
Avatar
[quakenet] ChillerDragon BOT 2021-02-10 11:11:17Z
svgs for highres client
Avatar
we add svgs in first place
Avatar
[quakenet] ChillerDragon BOT 2021-02-10 11:11:25Z
highres optional dataset
11:12
yea no forking possible and prs seems dead too
Avatar
we can still plan on what exactly we want in the client, but for now it would already be nice to collect most of the vanilla PNGs as SVG to have them upscaled by 2x
Avatar
[quakenet] ChillerDragon BOT 2021-02-10 11:12:17Z
@deen mind touching a README ?
11:12
poggers
Avatar
ChillerDragon: I gave you permissions, you should be able to just push
Avatar
@Ryozuki i mean if u want to do some benchmarks 😄
Avatar
[quakenet] ChillerDragon BOT 2021-02-10 11:13:18Z
oh
Avatar
maybe if i have time
11:13
ill try it
Avatar
[quakenet] ChillerDragon BOT 2021-02-10 11:13:39Z
jupstar u want to do the folder structure right?
11:13
do u also have access?
Avatar
yeah i assume so 😄
Avatar
[quakenet] ChillerDragon BOT 2021-02-10 11:14:11Z
i cant find a clone button and i do not see the usual init text
Avatar
you have to push an initial commit
Avatar
[quakenet] ChillerDragon BOT 2021-02-10 11:14:44Z
yea but when its empty it usually shows the text
11:14
ok ima try to push something
Avatar
just create an empty readme or smth
11:15
or i do it
11:15
idc
Avatar
[quakenet] ChillerDragon BOT 2021-02-10 11:15:30Z
on it
11:15
yea no push rights as i assumed
11:16
the github ui should look different when having push access
11:16
[ddnet/ddnet-data-svg] New branch created: main
Avatar
[quakenet] ChillerDragon BOT 2021-02-10 11:16:28Z
ah nvm didnt accept :D
Avatar
uhh
11:16
main branch
11:16
@Ryozuki
Avatar
[quakenet] ChillerDragon BOT 2021-02-10 11:16:41Z
ah u were faster
Avatar
@Deleted User change
Avatar
i did it after you said it didnt work, chiller 😄
Avatar
[quakenet] ChillerDragon BOT 2021-02-10 11:16:57Z
ye jupstar go add the folders or should i do it
11:17
Avatar
can u even push empty folders in git? ^^
Avatar
with .gitkeep
Avatar
[quakenet] ChillerDragon BOT 2021-02-10 11:17:19Z
.gitkeep
11:17
ye ima change to master
11:17
lets go full racist
Avatar
yeah so racist
11:17
change it on git too
Avatar
[quakenet] ChillerDragon BOT 2021-02-10 11:17:59Z
im not sure if i have perms
Avatar
but tbh, its not so important to create all directories, just add your doodas in the right directory the PNG would be in chiller
Avatar
git config --global init.defaultBranch master
11:18
just in case
11:18
for the future
Avatar
[quakenet] ChillerDragon BOT 2021-02-10 11:18:16Z
ikr
11:18
i have that xd
11:18
yea my github access is too limited to switch default branch sad
Avatar
and pls also add the license, but i assume you want zlib like teeworlds? ^^
Avatar
its nicer if we create prs anyway i'd say
Avatar
i think only deen can doit
Avatar
so just fork it and do a normal pr
Avatar
[quakenet] ChillerDragon BOT 2021-02-10 11:27:15Z
yea
11:27
deen can we get a racist branch name please? :D
Avatar
cant u just do git checkout main or what?
Avatar
[quakenet] ChillerDragon BOT 2021-02-10 11:28:07Z
oof license im not sure i like permissive stuff i think vanilla teeworlds is so restrictive
11:28
im used to master being the main branch it just adds extra confusion
Avatar
ChillerDragon: whitepower or what?
Avatar
i like BSD / MIT and it fits teeworlds 😄
Avatar
[quakenet] ChillerDragon BOT 2021-02-10 11:28:40Z
yes!
11:29
@Deleted User but assets dont use mit usually
Avatar
[quakenet] ChillerDragon BOT 2021-02-10 11:29:08Z
rename main to master it would save me headache
Avatar
they use cc or smth
Avatar
Maybe I should also suggest the Chinese bad reviewers that we can use some Chinese flag from the middle ages instead
Avatar
@Ryozuki yeah 😄
Avatar
[quakenet] ChillerDragon BOT 2021-02-10 11:29:32Z
maybe we can delay the license a bit
Avatar
who made the assets
Avatar
[quakenet] ChillerDragon BOT 2021-02-10 11:29:52Z
idk
Avatar
he gets to decide at the end no?
Avatar
[quakenet] ChillerDragon BOT 2021-02-10 11:29:55Z
Landil?
11:30
sure
11:30
we inherit license anyways
Avatar
i dont know if we can change the license
Avatar
[quakenet] ChillerDragon BOT 2021-02-10 11:30:15Z
cuz its so restrictive its fucking infectious license
11:30
no we cant
Avatar
whats license is it
Avatar
[quakenet] ChillerDragon BOT 2021-02-10 11:30:24Z
we inherit the cc3bysa whatevery
11:30
sec
Avatar
but we have to be careful with debian packaging
11:30
it doesnt allow all licenses
Avatar
cc by sa is fine
Avatar
[quakenet] ChillerDragon BOT 2021-02-10 11:30:51Z
ll content under 'data' and 'datasrc' except the font (which has its own
11:30
license) is released under CC-BY-SA 3.0 (http://creativecommons.org/licenses/by-sa/3.0/).
Avatar
u just cant do commerical stuff
Avatar
[quakenet] ChillerDragon BOT 2021-02-10 11:31:05Z
we have to use it
Avatar
ok
Avatar
im fine with it
Avatar
[quakenet] ChillerDragon BOT 2021-02-10 11:31:20Z
because the svg rework is similar enough to be counted as based on
Avatar
is that so?
Avatar
[quakenet] ChillerDragon BOT 2021-02-10 11:31:35Z
or we create new textures lul
11:31
im not a lawyer
11:31
i prefer to stay safe
11:31
or Landil might want to jail me
Avatar
there is a huge grey zone about such things
Avatar
[quakenet] ChillerDragon BOT 2021-02-10 11:32:06Z
ikr
Avatar
same with reverse engeneering
Avatar
[quakenet] ChillerDragon BOT 2021-02-10 11:32:13Z
but keep in mind we racist
11:32
so stay in white zone
Avatar
;D
Avatar
[quakenet] ChillerDragon BOT 2021-02-10 11:32:57Z
CC-BY fucking SA 3.0 it is then
Avatar
there is nothing wrong with it
11:33
nobo
Avatar
[quakenet] ChillerDragon BOT 2021-02-10 11:33:17Z
its infectous
Avatar
CC0 best 😄
Avatar
[quakenet] ChillerDragon BOT 2021-02-10 11:33:22Z
as bad as GPL
Avatar
i like viral licenses
Avatar
[quakenet] ChillerDragon BOT 2021-02-10 11:33:27Z
ye CC0 masterrace
Avatar
gpl best
Avatar
[quakenet] ChillerDragon BOT 2021-02-10 11:33:47Z
go to mc modding then
11:33
its fully infected by GPL
11:34
i set it up
11:34
and use AGPL
11:34
step it up*
Avatar
[quakenet] ChillerDragon BOT 2021-02-10 11:34:27Z
its still called main
Avatar
even better license
Avatar
[quakenet] ChillerDragon BOT 2021-02-10 11:34:38Z
@deen are you planning to change the branch or are u main supporter?
Avatar
Permissions of this strongest copyleft license are conditioned on making available complete source code of licensed works and modifications, which include larger works using a licensed work, under the same license. Copyright and license notices must be preserved. Contributors provide an express grant of patent rights. When a modified version is used to provide a service over a network, the complete source code of the modified version must be made available.
11:34
stallman ensuring freedoms to the users
11:35
greenthing
Avatar
well tbh its vicious circle. If the world would be open enough so nobody would exploit others work, we wouldnt need any kind of lincese, so CC0 is best. So to protect us from that we make a free as in freedom license, which isnt a completly free license
Avatar
gpl just ensures that you can't take the rights of the users to have th source code available and modify it
Avatar
ChillerDragon: None of the above. Just keep it at main for convenience, I don't care either way
Avatar
[quakenet] ChillerDragon BOT 2021-02-10 11:36:43Z
i do :/
11:36
or we switch all branches to main
Avatar
[quakenet] ChillerDragon BOT 2021-02-10 11:37:19Z
this inconsitance makes me nervous
Avatar
Avatar
Ryozuki
gpl just ensures that you can't take the rights of the users to have th source code available and modify it
i know, but thats what i mean, its some kind of restrictive. i could build something for friends and i'd violate the license
Avatar
no u wouldnt if u share the source code
Avatar
yes
11:37
but thats the point, its a restriction
Avatar
to ensure the 4 freedoms
Avatar
nobody cares about my modification probably, maybe its just some troll
Avatar
@Deleted User i mean the license probably would enforce u to make the modification source code available to those that use i
11:38
it
11:38
in this case ur friends
11:38
should get the source code
11:38
if u dont share the app with anyone else nobody will ever know about it anyway
Avatar
anyway, for me its a vicious circle.
11:39
there is no end of discussion in this imo
Avatar
d0dccd4 Add grass_doodads and CC-BY-SA 3.0 license - ChillerDragon
11:43
[ddnet/ddnet-data-svg] New branch created: pr_grass_doodads
Avatar
[quakenet] ChillerDragon BOT 2021-02-10 11:43:50Z
go audit my quality pr jupstar
Avatar
ok^^
Avatar
Also meant as discussion, of what the readme should contain. My idea was:
  • What is it
  • how to contribute
  • how to build the PNGs
dunno if something is missing
Avatar
ah you also edited the readme
11:47
too bad
11:47
first 2 commits, directly merge conflict ^^
Avatar
[quakenet] ChillerDragon BOT 2021-02-10 11:47:39Z
awesome
Avatar
but lets put licenses in a license.txt file
Avatar
[quakenet] ChillerDragon BOT 2021-02-10 11:48:21Z
i can untouch readme
11:48
and u do it
Avatar
yeah just add license.txt and add the text there
11:54
ah chillerdragon: should we not go with data/mapres/.. bcs else game.png will be on the root dir of the repo
11:54
game.svg* ^^
Avatar
[quakenet] ChillerDragon BOT 2021-02-10 12:01:26Z
yea but the repo is called data already
12:01
so does that make sense?
Avatar
mhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh hard decision xd
12:03
yeah then lets go with ur version for now
Avatar
Avatar
Ryozuki
u just cant do commerical stuff
CC-BY-SA allows commercial usage just like GPL
12:21
there is one cc that doesnt allow commercial
12:21
tho
Avatar
Yes, CC BY-NC, CC BY-NC-SA and CC BY-NC-ND
Avatar
[quakenet] ChillerDragon BOT 2021-02-10 12:24:26Z
ima only go with svg for now
12:24
idk how to write a license file
12:24
im not a lawyer
Avatar
we discuss that later
Avatar
[quakenet] ChillerDragon BOT 2021-02-10 12:26:00Z
yea
12:26
i wanna yeet in my svg
Avatar
[quakenet] ChillerDragon BOT 2021-02-10 12:26:37Z
so ready to merge in ./mapres/ no license?
Avatar
the liecense is inside the pr title, he file can be added later
Avatar
[quakenet] ChillerDragon BOT 2021-02-10 12:29:00Z
ok
12:29
go merge then
12:29
i wanna move on :D
Avatar
xD
12:29
lets just wait 1 day, sometimes waiting can solve all issues ^^
Avatar
[quakenet] ChillerDragon BOT 2021-02-10 12:29:41Z
like conflicts cuz i pr against main
12:29
and its renamed to master
Avatar
XD
Avatar
[quakenet] ChillerDragon BOT 2021-02-10 12:29:51Z
ok cool i move on without merge
Avatar
yeah, enjoy your day for now 😉
Avatar
[quakenet] ChillerDragon BOT 2021-02-10 12:30:13Z
still nice
12:30
we have a repo
12:30
hype
12:36
12:36
hrmpf
Avatar
@GoodGuyGreg I love that skin, where can i get it?
Avatar
cf436e3 add dependency for servers - def-
Avatar
does anyone know how to put point count on own server?
Avatar
Avatar
Mivvinho
does anyone know how to put point count on own server?
please explain
Avatar
he wants his own server database
17:56
xd
Avatar
the official ddnet ranks only work on official ddnet servers
Avatar
but you can have points for players that finish on your servers
Avatar
anyone knows how to work with google directions api
19:42
someone please
Avatar
delete this warning (edited)
20:59
it`s only displays on beta version
Avatar
[quakenet] u0_a97 BOT 2021-02-10 20:59:59Z
test1
Avatar
what map is this on
Avatar
this on my skin (edited)
Avatar
[quakenet] u0_a97 BOT 2021-02-10 21:02:55Z
tell him sizes
Avatar
3068x1534 resolution
Avatar
it says you hsould make the width divisible by 8 and the height divisible by 4
Avatar
4096x2048 better i guess
Avatar
i need to re paint my skin? 😆
Avatar
you should be able to resize it
Avatar
I'm going to try now
Avatar
vector format the best
21:08
is there any way to download the map from the website
Avatar
github.com/ddnet/ddnet-maps
21:11
@louis yea go to github as gerdoe mentioned and try pressing "t" to open fuzzy file search and enter the map name
Avatar
@gerdoe ddnet support vector?
Avatar
[quakenet] ChillerDragon BOT 2021-02-10 21:11:59Z
no
21:12
no live render
Avatar
use vector to make hq images then convert it
Avatar
[quakenet] ChillerDragon BOT 2021-02-10 21:12:19Z
but u can always export a vector as png in the resolution u need
Avatar
[quakenet] u0_a971 BOT 2021-02-10 21:17:02Z
cya later guys, with best wishes, u0_a971.
Avatar
Avatar
Soyler
delete this warning (edited)
What is this idea even? Why should we remove a warning?
21:26
It's telling you exactly what's wrong with your skin file
Avatar
@Learath2 but I don't like warnings 😉
21:32
everything ok with my skin (edited)
21:33
it displays well in game without any visuals bugs (edited)
Avatar
use an image editing program to resize it to a size that is divisible by 8
Avatar
gfx_show_warnings 0 maybe? :P
Avatar
yees sir xDDDD
Avatar
Coke also gets warnings now and then iirc & is to lazy to change image size
Avatar
I changed to 4k now there are no warnings 🙂
Avatar
We never should have added that config option
Avatar
yes
21:40
😄
Avatar
Knew it the second we added that it would be set by everyone so nothing would ever get fixed
Avatar
how did that config option slip past my gaze?
Avatar
I was too busy with other things
Avatar

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 if it works standalone, system.c especially
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--u...
23:23
what is this error and why did it randomly appear without me changing anything?
23:23
on GitHub Actions
Avatar
Avatar
heinrich5991
@Learath2 but I don't like warnings 😉
Computers know it better than humans, so warnings are nice
Avatar
@fokkonaut looks like a false positive
Avatar
how do i fix it? why does it only happen in my repo?
Avatar
idk why it only happens in your repo. you can do something like this for -Wstringop-truncation
23:46
Avatar
well ddnet hasnt pushed since 3 days
23:57
nvm prs
23:58
maybe vanilla also has this
Exported 345 message(s)