Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.tw/irclogs/ Connected with DDNet's IRC channel, Matrix room and GitHub repositories — IRC: #ddnet on Quakenet | Matrix: #ddnet-developer:matrix.org GitHub: https://github.com/ddnet
Between 2022-03-14 00:00:00Z and 2022-03-15 00:00:00Z
Avatar
holy shit
08:51
i hate gitlab
08:52
couldnt have a worse ui
08:58
@Patiga hi, i made a pr that adds const to functions that can have it: https://gitlab.com/Patiga/twmap/-/merge_requests/6
08:58
so that i can do this
08:59
and maybe it improves perf
Avatar
Where do i find the piece of code for colouring a tee after rendering?
09:49
It doesnt get colored "after rendering", it gets rendered with the color being applied already
09:50
Here its getting called with RenderInfo
Avatar
@fokkonaut with <> u can prevent embeds
09:59
sometimes they add nothing of value xd
Avatar
nice, didnt know discord has this already
Avatar
poggers maze
Avatar
nice
Avatar
what should be about it?
10:11
color.h is a headerfile which includes general color calculations for teeworlds and different color formats like RGBA, HSL etc (edited)
Avatar
Avatar
Ryozuki
poggers maze
#developеr
Avatar
Avatar
Salmonιa
#developеr
It is
Avatar
Avatar
fokkonaut
color.h is a headerfile which includes general color calculations for teeworlds and different color formats like RGBA, HSL etc (edited)
This probably limits the total black/white output right?
Avatar
Avatar
Salmonιa
#developеr
?
Avatar
ClampLightning
Avatar
Avatar
Brokecdx-
This probably limits the total black/white output right?
do you want to allow lighter and darker skin colorings?
Avatar
No we are currently trying to render a bigger sized HQ skin but colors messing up, different than ingame
10:21
PepeA
Avatar
try to finish it
10:22
1000x1000 maze
10:22
monkaS
11:32
No thanks
Avatar
Avatar
Ryozuki
try to finish it
ez map
Avatar
i play with this skin
11:40
11:40
it makes me go faster in the maze -> ez
Avatar
Are there any female devs in DDNet?
Avatar
yes ur mom
justatest 9
Avatar
4619e82 make spectators team independent - C0D3D3V d172a7f Merge #4802 - bors[bot]
Avatar
5e6283a Add optional save_replay parameter, filename - simpygirl 18386e1 Use pFilename instead of Filename - simpygirl f74e3f9 Merge #4821 - bors[bot]
Avatar
Avatar
Ryozuki
try to finish it
Thanks, will be next tournament on Sunday
monkalaugh 2
Avatar
Avatar
bob432
Are there any female devs in DDNet?
How would we know? Gender is not really something we talk about during development 😄
Avatar
deen is a boy
14:58
deen.gender = true;
14:59
troll
Avatar
happy π𝜋𝛑𝝅𝞹ℼ day
Avatar
oh true
14:59
happy pi day
Avatar
Pi Day is celebrated on March 14th (3/14) around the world. Pi (Greek letter “π”) is the symbol used in mathematics to represent a constant — the ratio of the circumference of a circle to its diameter…
15:00
Pi Day is an annual celebration of the mathematical constant π (pi). Pi Day is observed on March 14 (3/14 in the month/day format) since 3, 1, and 4 are the first three significant figures of π. It was founded in 1988 by Larry Shaw, an employee of the Exploratorium. Celebrations often involve eating pie or holding pi recitation competitions. In ...
Avatar
Avatar
fokkonaut
deen.gender = true;
I know that an "undefined behaviour" in C++ can pretty much allow the compiler to do anything it wants. However, I had a crash that surprised me, as I assumed that the code was safe enough. In thi...
Avatar
does anyone want to do my blender project for school
Avatar
hola
Avatar
Avatar
Ryozuki
Click to see attachment 🖼️
16:29
math companies after inventing pi day
Avatar
chillerdragon BOT 2022-03-14 17:20:59Z
What is it about (@fokkonaut)
does anyone want to do my blender project for school
Avatar
fokin street with car that crashes into a wall
17:21
17:21
lmao
Avatar
chillerdragon BOT 2022-03-14 17:21:47Z
Sounds awesome I wish we did that in school
17:22
Looks done to me
Avatar
ye but just the car
17:24
xd
Avatar
chillerdragon BOT 2022-03-14 17:27:06Z
Wall is just a Cube
17:27
And crash is like 1 keyframe :D
17:27
Send me the .blend I’ll finish it in 10s
Avatar
Avatar
fokkonaut
deen.gender = true;
Does this mean male gender is a 1 and female is a 0
18:01
true == 1 //true false == 0 //true
18:01
Does anyone know the scaling for each part of a rendered tee from skin file?
Avatar
@Patiga hi maybe u know why this happens, im creating the sky quad from the editor, but when i open the map on ddnet the quad point positions are -1,1, etc instead of being half of the width and height like the new implementation doeos
18:04
do you know why? or is this a bug?
18:04
013cc8a update frontpage video - murpii f68196c Merge pull request #180 from murpii/patch-6 - def-
Avatar
the dbg! shows the quad points correctly
18:05
but i get a tiny quad xd
18:12
a autogenerated hammer fly map (with some bugs rip)
Avatar
make it go left and right
Avatar
yes im working on it
18:19
maybe i can do crazy stuff with envelopes
Avatar
@Ryozuki this might be fun to host as a competitive mod with automatically generated maps
Avatar
@deen i was gonna suggest u that
19:05
a daily map
19:05
or smth
19:05
xd
Avatar
where you race everyone vs everyone, first time wins, and then you get some points, and 10 min later next map
19:07
hourly hammerfly map
19:07
daily maze map
19:07
i rly want to generate ddracey maps
19:07
but its obviously harder
19:07
but im sure its possible
Avatar
Avatar
Ryozuki
@Patiga hi maybe u know why this happens, im creating the sky quad from the editor, but when i open the map on ddnet the quad point positions are -1,1, etc instead of being half of the width and height like the new implementation doeos
quad position * 2^15 is the position in tiles, yea should get more documentation
19:10
i guess i would have been able to know this by reading how ddnet src interprets the map right?
19:10
xD
Avatar
uh prob
19:11
I usually tried values out to get the factor
Avatar
a handy utility function might be cool
Avatar
or something like Let's Climb?
Avatar
autogenerate race maps maybe
Avatar
a map gets generated every 3 minutes and points are given to everyone in ranking order. do like 5 rounds and we have pvp racing
Avatar
should be like 5 maps daily
19:45
not every 3 minutes
19:45
or else guy with least sleep wins
19:46
or if it's like a 1v1, maybe a best of 5 and first to finish
Avatar
[quakenet] Neizvestniy BOT 2022-03-14 19:48:42Z
Hi. All servers and site died or did you ban Russia?
Avatar
Ah yes, points farming
Avatar
This is still work in progress for now and should fix #659 or just improve the order of player names if you use automatic completion. In principle it works already. I only get segmentation faults when pressing multiple times tab. I'm not as top as I used to be in C++ memory management, maybe someone who is good at it could take a look and tell me what I did wrong or how to do it best. This is the error output: ``` /home/daniel/Desktop/other_repos/ddnet/src/game/client/predict...
Avatar
Would someone who is good with C++ pointers and co. take a look at what I did wrong in #4826, please. 🙂
Avatar
This is still work in progress for now and should fix #659 or just improve the order of player names if you use automatic completion. In principle it works already. I only get segmentation faults w...
Avatar
Avatar
c0d3d3v
Would someone who is good with C++ pointers and co. take a look at what I did wrong in #4826, please. 🙂
According to the ASAN log, you perform an out of bounds access on https://github.com/ddnet/ddnet/pull/4826/files#diff-0d273adcce358d663950424368421b8a2cf2bfe7585ffbaac2be150c4663ba7bR461 you could dbg_msg the values of those indices and see which one is wrong
Avatar
Avatar
Robyt3
According to the ASAN log, you perform an out of bounds access on https://github.com/ddnet/ddnet/pull/4826/files#diff-0d273adcce358d663950424368421b8a2cf2bfe7585ffbaac2be150c4663ba7bR461 you could dbg_msg the values of those indices and see which one is wrong
I think I found the problem, I used the references on m_Snap.m_paInfoByName and only set them once on the first TAB press, however they are invaldide as soon as a NETOBJTYPE_PLAYERINFO snap arrives, which happens very quickly. I guess I'll either have to evaluate this on every TAB or use the ClientID instead. Thanks anyway for the tip
Avatar
ah, that makes sense
22:56
Neizvestniy: We are not banning everyone, and site and servers are not dead. Can you access it again? This might be a problem of Cloudflare, which we use for hosting the website
Exported 132 message(s)