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-04-11 00:00:00Z and 2021-04-12 00:00:00Z
Avatar
is there an accepted way to offer bounties for fixing issues?
03:43
or just, idk +1 issues
Avatar
Literally no one's getting paid for contributing to ddnet
Avatar
doesn't mean they can't be
03:58
there's a particular issue i would like to offer a bounty for
Avatar
No one will care to pay you to fix something
03:59
Since they get nothing out of it
04:00
People fix stuff for fun
04:00
No one's doing it as a profession here
Avatar
i think hes saying he'll pay someone to fix an issue m88
Avatar
But that's just more weird
Avatar
uhhhhhh alright anyway
04:01
ill post the issue
04:01
and she! but its ok
Avatar
I'm used to calling everyone he on the internet my bad
Avatar
nono not you, louis :P
04:02
and louis,, you know me ingame xD
Avatar
Avatar
Iza
But that's just more weird
https://en.wikipedia.org/wiki/Open-source_bounty "Bounty driven development is one of the Business models for open-source software. The compensation offered for an open-source bounty is usually small. "
An open-source bounty is a monetary reward for completing a task in an open-source software project.
04:03
i dont want to spur an off-topic discussion about this, but it's a thing :D
Avatar
Do you want to get your own code fixed?
Avatar
no, it's not my code. ddnet client
Avatar
But why do you want to pay someone for it?
04:04
Does the problem bother you that much?
Avatar
because.. i care about it being fixed? xD
04:04
yes
04:05
i don't mind paying someone for their time. despite everyone working for free, getting paid to fix things people care about is a way to show support
04:05
one sec ill post the issue
04:05
version 15.3.2 Running the command with no value will output the current setting, and running the command with a specific value will highlight the correct option in the assets GUI menu, but the cha...
04:06
offering 10 usd zelle/paypal to anyone who can fix this :D
04:07
i will likely try to contribute to other github issues personally, but we will see
Avatar
People would've probably done it for free if you'd make people aware enough of it
Avatar
it would be cool to see this working honestly
04:09
my personal motivation is a bind that toggles my entities (between different entities, not on/off), pretty much the only use case i can think of, but a good one (edited)
Avatar
Sounds like you only play with entities on
Avatar
it depends. if i need to focus on finishing a map / if a map's tiles are too distracting i use them
04:11
let's not talk too much about that here though ^^
Avatar
Qianye seemed cool but i rq
Avatar
Avatar
Iza
But that's just more weird
i dont think its weird at all
Avatar
03597b9 Add 150 € donation by Gorden - def-
Avatar
ᶰ°Konͧsti 2021-04-11 11:49:40Z
poggers
11:49
Damn hes challenging me
Avatar
no chance @ᶰ°Konͧsti
Avatar
ᶰ°Konͧsti 2021-04-11 12:13:37Z
i gave more
12:13
monkalaugh
Avatar
& reload current asset on reload button click

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 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://gith...
Avatar
@lynn https://github.com/ddnet/ddnet/actions/runs/738203698 here you can download your client
DDraceNetwork, a cooperative racing mod of Teeworlds - ddnet/ddnet
12:57
@Chairn Hey, I am just curious, the stackoverflow question about the nvidia thing explicitly asked for directx, maybe using that client with NvOptimusEnablement(which kinda also is a nightly anyway) and trying the GL to dx12 works there? would be worth a try 😄
Avatar
i tried and it didn't work 😦
Avatar
Avatar
Learath2
@TsFreddie have you surpassed us in technology? ;P
what
13:07
oh, my bot parse the entire ddnet.tw/players page justatest
Avatar
Probably a better approach ngl
Avatar
i also kinda made a api out of ddnet.tw before making the bot
13:08
so the bot is calling the api instead of parsing the page itself
Avatar
Makes sense and do you cache in your api?
Avatar
Yeah I guess we should start exposing this data from ddnet.tw instead of having the bot have its own db
Avatar
👀 if you can have a straight up json api, that would be nice
Avatar
I'm looking into it
13:10
Avatar
I have exactly 1 hour,not sure whether to spend it looking into the bot thing or finishing up my pr that has been a draft since ages
Avatar
pr. i've decided for you. do it now. stop chatting
Avatar
Avatar
Chairn
i tried and it didn't work 😦
i'll try to staticly link nvapi then, maybe that works xd
Avatar
Avatar
TsFreddie
Click to see attachment 🖼️
wow looks cool af
Avatar
uuuh our storage system really needs work, the current way it's set up is actually quite me
13:18
h
13:18
starting ddnet with currentdir being data actually breaks quite a lot
13:19
the heuristic lookup for datadir is also ugly
13:19
ideally we should only look for data in the same directory as the binary
13:19
and datadir should be special
Avatar
@Chairn so the linker output said it proceeded the NVAPI library, so its atleast aware of it, but im not really sure if thats actually enough or if it has to be traded for the OGL lib, but the stackoverflow thing also isnt very verbose on that xD Maybe MSVC linker just works like that xD https://github.com/Jupeyy/ddnet/actions/runs/738290193
Avatar
Avatar
TsFreddie
Click to see attachment 🖼️
wtf
14:47
what is that activity chart
Avatar
uh, @heinrich5991 how do we fix style now? been a while since I did any ddnet stuff
Avatar
scripts/fix_style.py (edited)
15:37
@Learath2 ^
15:37
but the trick is never doing that and still passing check-style 😉 real programmers!
Avatar
There are some things I disagree with clang-format when it comes to style :P
15:43
@heinrich5991 I'd be really grateful if you could take a look at my PR, especially the concurrency part in CUpdater
Avatar
concurrency? you love making me cry, huh?
Avatar
@Learath2 btw is the pr planned to check the whole files every startup?
Avatar
it checks the whole data directory every startup
Avatar
AFAIK yes
Avatar
it's pretty quick but you can disable it if you want to save a couple ms
Avatar
i just wonder if thats sane
15:44
instead of checking modify time or smth
Avatar
if you're loading the files from the data dir anyway, it's not much of a difference
Avatar
oh fix_style is making some weeeeird changes to files I didn't even touch
Avatar
clang-format 10 please
Avatar
well parts*
Avatar
Avatar
heinrich5991
if you're loading the files from the data dir anyway, it's not much of a difference
yeah but arent u loading like only 50% of it
Avatar
idk, tell me
Avatar
maps, language files etc.
15:47
are not loaded
Avatar
I'd really rather not rely on the filesystems timestamps for this
15:48
it's already very quick and async
Avatar
maps & translation are 1.5 out of 33.7 MB
Avatar
yeah
Avatar
or 54 out of 692 files
15:49
doesn't seem to be worth it to exclude
Avatar
sha256 is also pretty darn performant
Avatar
tell that the potato computers
Avatar
all of the time will be spend on IO
Avatar
yeah probably
Avatar
and it's 1.5 out of 33.7 MB or 54 out of 692
Avatar
If anyone has a shittier computer feel free to give it a go
Avatar
I probably have the worst machine out of you all 😉
15:51
that I still develop on, idk even why
Avatar
if there is no reason to upgrade, dont do it xd
Avatar
speed
Avatar
uh even with clang-format-10 this is touching many things I haven't even touched
Avatar
hm. have you reset it to the start before running clang-format-10? (careful, don't erase your actual changes!)
Avatar
yeah I did a git reset --hard HEAD
Avatar
hm
15:55
can you send an example of what clang-format 10 changes?
Avatar
@Learath2 can it also check like if the integrity was ever executed? E.g. it could be useful for android to copy everything from the .apk data
15:56
but that only happens at updates or first time setup
Avatar
ah, I figured it out
Avatar
Avatar
Deleted User
@Learath2 can it also check like if the integrity was ever executed? E.g. it could be useful for android to copy everything from the .apk data
Not sure I get the question, what do you mean by "integrity was ever executed"?
15:58
this is a very simple pr btw, at compile time it goes thru all data files to generate a list of shas, at launch it goes thru all data files to check the shas
Avatar
e.g. u have a hash for all files once the check is executed it creates a hash with all files too(ofc they match) and when there is an update you can easily do a check before loading client data
15:58
ok
Avatar
I think in general CStorage needs a rather large rework
Avatar
we defs need a explaination that you can store your modifactions inside the config directory, tho nobody will understand it and ask here xD
Avatar
@heinrich5991 the changes in CUpdater also should fix the many weird intermittent bugs we get with the updater
Avatar
Avatar
Deleted User
we defs need a explaination that you can store your modifactions inside the config directory, tho nobody will understand it and ask here xD
The Restore Files button will happily move it for them if they insist on not learning where the files are supposed to go
Avatar
oh thats nice
Avatar
ah if there are only extra files and modified files the popup won't close but I'm out of time today, so that'll have to stay for tomorrow
Avatar
@heinrich5991 i have the worst pc
Avatar
okay, battle 🙂
16:04
what CPU do you have?
Avatar
xD
16:04
he has opengl 1.x only pc
Avatar
@Deleted User I think I asked before but can you think of a way to isolate a ui element on all gl versions we support? I want to dim the entire screen except for one "thing"
16:05
The best I could come up with was to render everything once, render a dark overlay then render the "thing" on top
Avatar
cant u just render a fullscreen half transparent dark quad and then render ur ui stuff
Avatar
The point is that the ui stuff is already something we render, I'm basically trying to highlight some ui elements
16:08
I was looking to avoid the double render
Avatar
so you want to integrate it directly into the "normal" code?
16:09
you can do stuff like that
Avatar
Yeah sort of, but I think without gl3 it's not possible for me to render a dark overlay with a shape
Avatar
with stencil buffer
Avatar
yeah no stencil buffers before 3.3, no? 😛
Avatar
they should exists since ever
Avatar
oh really?
Avatar
well since 2.0 yes
16:10
but before not sure, but i assume yes
Avatar
Hm I'd need to "render" the mask into a stencil buffer, right?
Avatar
you render your whole screen with stencil enable, then render ur ui element with a different stencil mask then render a fullscreen transparent dark quad everywhere, where stencil has a specific value
Avatar
hm, I guess it doesn't really save me any hassle, I still need to render the "thing" twice
Avatar
so its not really twice, its just working with, what the stencil is designed for 😄
16:13
e.g. every pixel renders a 0 into stencil, except your ui element
16:13
so the quad just renders everywhere, where pixel is equal to 0
Avatar
aah I see what you mean
16:14
hm, I really doubt gl1 has stencil buffers though
16:15
nvm, it does
16:15
huh
Avatar
i think opengl doesnt really make any kind of garantuee that the GPU has to support stencil buffers, atleast not in older versions. But i doubt these GPUs exists? XD
16:17
i mean 1994 there defs was a different situation or whenever gl 1.x was released xD
Avatar
pleasant
Avatar
U,w,u,o;main(){for(;( U=getchar())>=0;w=U)o =o*33u+U,putchar(U=(U =='r'|U=='l'?'w':U)), w^32?0:(U^'n'?(u--<0? u=o&7,printf("-%c",U) :0):putchar('y'));}
18:17
@Learath2 uwu ^
18:17
c89
18:18
uwu
Avatar
Yeah, where did you get it? IOCCC?
18:18
leddit
Avatar
Ayaya
18:19
even better
18:19
uwuify - fastest test uwuifier in the west: simd vectorized and multithreaded command-line tool for text uwu-ing at the speed of simply copying a file
18:19
made in rust
Avatar
Ryozuki has a Rust fetish
Avatar
doesn't everyone?
Avatar
[quakenet] Learath2 BOT 2021-04-11 21:08:14Z
no pretty sure it's only ryo :P
Avatar
27a5beb remove one Staff & Contact link on ddnet.tw - def-
Avatar
@PopCorn181 @heinrich5991 where are your pc stats?
Avatar
I asked first :p
Avatar
I used to run a TW server on a 500 MHz AMD Geode LX800: https://www.alix-board.de/produkte/alix1e.html But no GPU to play on 😄
21:31
It was awkward to use since the CPU doesn't even have SSE, strange for an x86 CPU still being produced in 2019
Avatar
@Deleted User works! paypal?
Avatar
Congrats to @Deleted User for being the first person getting paid to work on DDNet 😄
Avatar
hey if you love the game and want to support specific fixes, i dont see a reason why they have to be the only one :)
21:43
i will likely keep doing this if there's other issues i would like to see fixed, or just attempt to fix them personally
21:48
also... what's the basis for getting the Dev role? not that i selfishly want it or anything :P
Avatar
@deen I offer Intel(R) Celeron(R) CPU 1007U @ 1.50GHz
21:51
0012e72 Add console chain for assets, reload current asset on reload button click - Jupeyy a79a2d8 Merge #3769 - bors[bot]
Avatar
i wont take any money tho
21:53
thank u though you are amazing 💖
Avatar
Thanks Jupstar and Deen for fixing that ^^ really helps me! (i'm WatermelonDriveway)
👍 1
Avatar
Avatar
deen
I used to run a TW server on a 500 MHz AMD Geode LX800: https://www.alix-board.de/produkte/alix1e.html But no GPU to play on 😄
do you use that as home server? Or what purpose does such a board have in first place? 😄
Avatar
I used to run teehistorian downloads on a raspi ^^
Avatar
cool, i like the concept of having a small pc do a single task 😄
22:07
raspi is already quite powerful tho xd ran some emulators back when my brother got one 😄
22:09
the newest edition even has a vulkan driver if i remember correctly
22:09
quite cool 😄
Avatar
Actually, what versions of macos is https://github.com/ddnet/ddnet/actions/runs/738203698 supposed to work on? Won't run for me on mojave, just want to know how far up I need to move.
DDraceNetwork, a cooperative racing mod of Teeworlds - ddnet/ddnet
Avatar
Avatar
Deleted User
do you use that as home server? Or what purpose does such a board have in first place? 😄
yes, used to be my home server running openbsd, bit was too weak at some point.
22:21
they are good as routers/firewalls too
22:22
i couldn‘t find the exact model i have, it has 3 lan ports i think
Avatar
didnt even know a normal customer can buy such bords ^^
Avatar
boot problems have to be debugged by serial port, since no gpu
Avatar
savage
Avatar
and to compile new software i turned it off, ran the cf card in my real pc and compiled there inside qemu since it was much faster
22:27
so kind of annoying to use 😀
Avatar
Avatar
tela
Actually, what versions of macos is https://github.com/ddnet/ddnet/actions/runs/738203698 supposed to work on? Won't run for me on mojave, just want to know how far up I need to move.
i don‘t know, what error?
Avatar
Avatar
heinrich5991
@deen I offer Intel(R) Celeron(R) CPU 1007U @ 1.50GHz
2 cores at that speed sounds hard to use
Avatar
now I wanna know @PopCorn181's stats
Avatar
can you click report?
22:35
and show us the result
22:36
not sure if this is of any use
Avatar
i vote for this guy: https://discord.com/channels/252358080522747904/745926398140612678/807401738004463616 he doesnt even have a opengl driver xd
22:39
that alone is just gold xD
Avatar
@tela thanks. it looks like a packaging issue from our side
Avatar
Thanks to tela#3221 on Discord for the report. ``` Process: DDNet [30713] Path: /private/var/folders/*/DDNet.app/Contents/MacOS/DDNet Identifier: org.DDNetClient.app Version: 15.4 Code Type: X86-64 (Native) Parent Process: ??? [1] Responsible: DDNet [30713] User ID: 501 Date/Time: 2021-04-11 17:35:38.578 -0500 OS Version: Mac OS X 10.14.6 (18G84) Report Ve...
Avatar
Oh cool, thanks for checking :). Updating OS is not so easy on hackintosh so thats a relief lol
Avatar
Seems we are just missing a lib in the package
Avatar
Avatar
tela
Oh cool, thanks for checking :). Updating OS is not so easy on hackintosh so thats a relief lol
but i assume normal nightlys work?, then you can use that feature tomorrow
Avatar
They have in the past, Ill check one right now. Yeah I of course don't need that feature immediately haha
Avatar
Avatar
deen
@PopCorn181 @heinrich5991 where are your pc stats?
i play on windows vista
Avatar
ya, newest nightly works just fine
Avatar
@PopCorn181 what's your CPU though? I think you can see that if you press win+r, type devmgmt.msc and press enter 🙂
Avatar
Is the $points bot meant to be out of date? @lynn was asking. I am currently 3808 and last recorded was 3.4k on the $points.
Avatar
yes,
23:20
my cpu is going through 8% - 50%
Avatar
has a feature ever been requested for a fallback skin for clients without your custom skin? my understanding is that if i have selected a custom skin i made, it will show the default skin for everyone else
23:23
it sounds complicated to implement though... it should check the DB if it does not exist, and only then should it show the "Fallback skin" option
Avatar
you can just replace the default skin
23:24
inside the client is a "skin directory" button, there you can just put a default.png
Avatar
I think he meant, if someone doesn't have your custom skin he would see you as limekitty for example
23:25
I've suggested something like this a looooooong time ago ^^
Avatar
but how does it differ from just renaming limekitty to default
Avatar
that others would see you as default
23:26
it's like if I use a skin that you don't have, you see me as default
23:26
with fallback you would see me as one of the vanilla skins
Avatar
so you basically want to send 2 skins to the server?
Avatar
guess so
Avatar
i see
Avatar
but this made more sense back in 2017, now we have the skin downloader
Avatar
sounds interesting for sure, on the other hand why would u care how others see you :D, u can e.g. name ur custom skin limekitty
Avatar
then you will see custom tees where they should be limekitties
Avatar
yeah, depends on, if you want ur custom skin to be unique probably 😄
Avatar
I guess unique to you and friends who have it
Avatar
when make weapon skins be like regular skins where u can see others personal skins
Avatar
sounds interesting too, but would also need a regulated db 😄
Avatar
oh that'd be a nightmare
23:31
you would see aoe guns everywhere
justatest 1
Avatar
u could not add it to the db 😄
Avatar
lol i think itd be cool
Avatar
also big artstyle clash unless you only add miper skins
Avatar
i guess but thats also kinda in reg. skins
Avatar
i see the issue with having to send 2 skins
Avatar
but there's a lot more tee skins and they're somewhat more consistent
23:33
gameskins are all over the place
Avatar
maybe im not familiar with the skin downloader?
Avatar
i think i found a bug with the rocket
23:34
idk if its the good channel
Avatar
#bugs but i don't think anyone would complain if you said it here either
Avatar
@lynn any skin from https://ddnet.tw/skins/ will be displayed correctly unless someone disabled the option for himself
Avatar
well, if i make a skin i still have to send it to my friend for them to see it right? without it getting approved for the db
Avatar
yes
Avatar
Avatar
Deleted User
yes
its me or the hammer delay changed?
23:39
what hammer delay? xd
23:39
the animation?
23:40
no
23:40
wait i will send vid
23:40
if u have higher ping, it might feel like its delayed
23:40
have to turn on antiping
23:41
i dont know if you can see but im pretty sure the delay when we hammer someone changed
23:42
want the rocket have new feature/bug
23:42
i dunno, have u antiping on?
23:43
yes
Avatar
looks normal to me
Avatar
is that a ddnet server? else it might also be the server?
23:44
all srv
23:44
maybe i am wrong but its look weird
Avatar
there's a delay when hitting another tee (edited)
Avatar
i dunno, i also dont play on 60fps, so i cant really judge. Only thing i can tell ya is, that your brain sometimes thinks that teeworlds physics feel a bit strange during training, like it changed. i had this in gores sometimes. Its really alot of factors, how you hold your computer mouse how close u are to the screen etc. pp.
23:47
hmm maybe cause i bought new wireless mouse so its possible i have little delay
23:48
if its a "gamer" mouse, you might want to make sure the polling rate is set to >=1000hz (edited)
Avatar
mn no its smth with the server
23:50
i went on there and it feels different
23:50
also antiping won't predict the hammers correctly too
23:50
so i think smth changed
Avatar
i dunno, feels normal to me xD
23:51
is that on USA only or smth? XD
23:51
37.59.55.192:9404
23:51
come try
23:51
bombay BW server
23:52
not bombay*
23:52
is that ddnet server?
Avatar
its not a ddnet server
Avatar
if its strange on ddnet server tell me, then i join
23:54
same on ddnet srv
Avatar
come on "naufrage" map
23:54
i am there
23:54
feels normal
23:55
u also have ping of >70, and unstable
Exported 313 message(s)