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-02-25 00:00:00Z and 2022-02-26 00:00:00Z
Avatar
ᶰ°Konͧsti 2022-02-25 04:27:48Z
murpi1_bysoulymurpi2murpi3_bysouly
Avatar
🛬----------------🛫
Avatar
🛬-------- aPES2_ArriveExplosion --------🛫
Avatar
Avatar
Ryozuki
🛬-------- aPES2_ArriveExplosion --------🛫
Ben laden
Avatar
chillerdragon BOT 2022-02-25 10:14:40Z
@ᶰ°Konͧsti: yo pink rat! You like to map with gametiles first right? in case you are not scared to run some python maybe my new tool is worth checking out :)https://github.com/ChillerDragon/teeworlds-reverse-gametiles
Tool for mappers that like to map with gametiles first. It generates tiles based on gametiles so the opposite of what "Game Tiles" button does in the editor. - GitHub - ChillerDra...
Avatar
Avatar
chillerdragon
@ᶰ°Konͧsti: yo pink rat! You like to map with gametiles first right? in case you are not scared to run some python maybe my new tool is worth checking out :)https://github.com/ChillerDragon/teeworlds-reverse-gametiles
ᶰ°Konͧsti 2022-02-25 10:19:21Z
Ur so based! Best feature! I got a finished map without a single design tile placed yet xD
Avatar
chillerdragon BOT 2022-02-25 10:23:55Z
Poggers that will save you some time!
10:24
I hope you use automapper rules otherwise you don’t gain much ._.
Avatar
ᶰ°Konͧsti 2022-02-25 10:51:26Z
u mean writing own rules?
Avatar
chillerdragon BOT 2022-02-25 12:27:59Z
Well i mean my script only places one index of the layer so it wont have actual design yet. If you have an automapper for the tiles you want to use as design you are only one click away from a finished design. If not you kinda still have to do the whole design by hand
12:28
image.png
12:29
my script can take this and give you that
12:29
image.png
12:29
But to get this:
12:29
you need an automapper
12:29
image.png
Avatar
Changed the data source for local player angle so it updates every frame instead of once per tick. I tested and it's still accurate even when mouse position is very close to the center.

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 a...
Avatar
FYI, it's already possible to do all of this within the editor, you just need some very simple automapper rules. (edited)
Avatar
[quakenet] ChillerDragon BOT 2022-02-25 13:00:57Z
Oh cool! Did not know you can do automappers based on gametiles. Do you mind sharing a minimal example?
13:16
you need a trick to copy game layers into design layers
Avatar
ccc2316 Update players.cpp - sjrc6 ce3539e Merge #4760 - bors[bot]
Avatar
Avatar
chillerdragon
Well i mean my script only places one index of the layer so it wont have actual design yet. If you have an automapper for the tiles you want to use as design you are only one click away from a finished design. If not you kinda still have to do the whole design by hand
ᶰ°Konͧsti 2022-02-25 13:59:41Z
I only use tiles that have automapper rules troll
14:00
So its great
14:00
And otherwise its pretty easy to write own rules tbh
Avatar
@Jupstar ✪ do u know why amd/nvidia provide specific drive updates when a new game such as elden ring releases?
15:16
it seems backwards to me xd
Avatar
probably because they worked together with the game engine devs to improve performance and fix bugs
Avatar
they should work together with us for opengl issues monkalaugh
Avatar
People buy new GPUs to play AAA games like Elden Ring, but probably not for DDNet 😄
Avatar
Avatar
deen
People buy new GPUs to play AAA games like Elden Ring, but probably not for DDNet 😄
yep thats me haha
Avatar
so this would be counterproductive for GPU manufacturers
Avatar
They should release driver sources so we can do our own debugging
Avatar
why r drivers propietary
15:20
do they do some secret optimization techniques?
Avatar
Trade secret
Avatar
because they contain some information about the hardware that competitors might like to know, I guess
15:21
and why make them open source, for most companies that's just extra effort for no benefit
Avatar
It also probably contains the tricks they used to make the games they worked with work better on their gpus
Avatar
Avatar
deen
and why make them open source, for most companies that's just extra effort for no benefit
It's not really effort. The actual reason they don't is sweet sweet cash
15:23
What effort is just including a source tarball with their driver releases?
Avatar
they have to talk to legal if they can publish it, or if it contains any code that can't be open source
15:24
they have to check with patent department if everything in it has been patented already before releasing the code
15:25
and probably have to polish it and make it work with standard build tools, if they have some internal tools for building no one else has access to
Avatar
I don't see why a gpu driver would contain code that cant be open source from a legal sense, do they even contribute with third parties on those?
Avatar
I don't know, maybe they bought some other company and are still using some code in there that they bough and can't publish
Avatar
Tbf, still doesn't sound very high effort by any means. I still maintain the issue is that there literally is negative reward for publishing the source
Avatar
and they might be afraid that people can find bugs and vulnerabilities easier using source code
Avatar
Avatar
deen
and they might be afraid that people can find bugs and vulnerabilities easier using source code
Isn't that usually the one benefit of open source?
Avatar
benefit from user pov yes
15:29
I'm not saying it's right for them to be afraid, but they might be
15:29
too much speculation 😄
Avatar
Hm. Why wouldnt the comoany be interested in knowing the vulnerabilities?
Avatar
effort to fix them 😄
Avatar
I guess there is no profit in fixing security issues on a gpu
Avatar
bad publicity
15:30
amd has open source linux drivers nowadays, right? But I think they just communicate with some closed source firmware, so maybe the interesting stuff is in there
Avatar
Avatar
deen
amd has open source linux drivers nowadays, right? But I think they just communicate with some closed source firmware, so maybe the interesting stuff is in there
They made a nice compromise. It makes debugging stuff much more pleasant
15:32
They still have a binary blob, but iirc that part gets directly uploaded to the gpu, not much laydevelopers can touch there anyway :D
Avatar
Avatar
Ryozuki
@Jupstar ✪ do u know why amd/nvidia provide specific drive updates when a new game such as elden ring releases?
i bet they put small tweaks into the drivers. e.g. if some feature isnt used (but required by spec) it can be disabled for a few fps more or stuff like that
15:41
but i guess a lot is also just marketing xD
15:41
NEW DRIVER FOR ELDEN RING
15:41
EPIC
Avatar
Well the day 0 drivers do improve alot, like cyberpunk ran like shit before I updated
Avatar
why is that then not really needed under linux
15:46
all games just work(the games that do actually work)
Avatar
I bet they add some game specific stuff there, maybe the shader compiler gets improved specifically for it?
15:46
Well idk you are the graphics magician
Avatar
i mean i could imagine they squeeze out a few FPS, but i really think most is just marketing
15:47
but sure, if there is a new feature not heavily tested, and cyberpunk uses it, then it might improve by a lot
Avatar
I can tell you that I got 40 fps from cyberpunk and without changing settings after the driver update I got about 60
15:48
Maybe some magic caching
Avatar
yeah not impossible, tho with vk and dx12 the game devs are also in more responsibility, so i guess there really needs to be some serious bottleneck
15:49
if somebody could benchmark these games and say exactly what caused it, i could maybe imagine it better
Avatar
Or maybe just a signature check that enables games to use the full gpu to generate hype :D
Avatar
xD
15:50
well at least it serves one purpose, ppl keep their drivers up to date
Avatar
Like those power saving tests where manufacturers try to recognize the testing conditions so they can cheat
Avatar
yeah true
15:51
in the end its all about being 1fps better or more efficient than everyone else
15:51
even if that doesnt work for any other game xD
Avatar
.
Avatar
i think driver update for game is mainly game profile data being used rather than code change
16:24
i.e. data prefetching, cache utilization and stuff like that
16:25
so the driver just know how the game behave and can adapt its behavior in regard to the game being played
Avatar
well if that can boost a GPU bound game from 40FPS to 60FPS gg that's a nice boost in terms of % (edited)
Avatar
Though let's not forget cyberpunk was a huge failure at it's launch, it is entirely possible that it was just that badly optimized 😄
Avatar
How I can install mysql lib for server? 😅
Avatar
Avatar
Mʎɹ シ
How I can install mysql lib for server? 😅
What OS are you using?
Avatar
Windows
Avatar
Hm, no idea, I don't even know if we support mysql on windows, sorry
17:04
@deen do we? ^
Avatar
i think it was always broken
17:07
in subtle ways
Avatar
17:11
an actual good tutorial
17:11
maybe u can use it to finally learn rust
Avatar
^^the drea
17:15
m
Avatar
this is how I learned rust
Avatar
Avatar
Ryozuki
@Jupstar ✪ do u know why amd/nvidia provide specific drive updates when a new game such as elden ring releases?
I have heard that they fix bugs in the game code on the graphics driver side so the game runs better
18:48
even e.g. replacing specific shaders if they're written in a suboptimal way
Avatar
now if only I could remember the source of that statement
Avatar
thats why i keep most interesting stuff i find in https://obsidian.md/
19:02
bsidian is a powerful knowledge base on top of a local folder of plain text Markdown files.
Avatar
Avatar
heinrich5991
even e.g. replacing specific shaders if they're written in a suboptimal way
That sounds like an interesting approach, they do work together on these, I wonder why they don't just give the more optimal shader to the devs
Avatar
The Valeriepieris circle is a South China Sea-centered circular region on the world map that is about 4,000 kilometers (2,500 mi) in radius and contains more than half the world’s population. It was named after the Reddit username of Ken Myers, a Texas ESL teacher who first drew attention to the phenomenon in 2013. The map became a meme and was ...
19:18
lmao
19:18
named after a redditor
Avatar
Would be cool to be able to spectate a server even when it's full
Avatar
that may actually be a good feature
19:22
we could make a mirror server
19:22
where u only join to spec
19:22
xd
19:45
monkalaugh
Avatar
bro it just sucks, science is best, epic things happens, stupid ego person makes ppl go back to ethical hate
Avatar
more than half of DDNet servers are also in this circle 😄
PepeA 5
Avatar
Hello, how to fix that bug on 0.6.5 teeworlds with crashing ddnet client, while trying connect new dummy? (edited)
Avatar
vanilla server?
Avatar
no fix, but there is a bug open: https://github.com/ddnet/ddnet/issues/3544
Program terminated with signal SIGSEGV, Segmentation fault. #0 CMapLayers::RenderTileLayer (this=this@entry=0x558ace777a80 <gs_MapLayersBackGround>, LayerIndex=8, pColor=0x7fffd6518bb...
Avatar
This PR is the continuation of #4697 In the Discord, two players pointed out to me that due to the new position of the arrows, there are larger gaps between the tees and the player names (See https://discord.com/channels/252358080522747904/757720336274948198/945642195757707265 below are a few answers from me). This PullRequest is intended to deal with this problem. I have made 3 changes: 1. I have made the arrows that are displayed for the key presses scalable. This can also be set ...
Exported 129 message(s)