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 2023-03-17 00:00:00Z and 2023-03-18 00:00:00Z
Avatar
Avatar
ChillerDragon
ms > discord
hard agree
Avatar
Currently if a file fails to load the editor just acts like you never pressed the button. This was especially annoying when trying to convert a sound file to a compatible opus file.
Avatar
Trying to load any invalid opus file crashes the editor.

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 (especially base/) or added coverage to integration test
  • [x] Considered possible null pointers and out of bounds array indexing
  • [x] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind'...
Avatar
115cd4c fix bug when loading invalid opus file - Marmare314 52217ad Merge #6431 - bors[bot]
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 (especially base/) or added coverage to integration test
  • [ ] 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-addresssan...
Avatar
1ccd357 check for success when decoding audio - Marmare314 e5a51d5 Merge #6432 - bors[bot]
Avatar

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 (especially base/) or added coverage to integration test
  • [x] Considered possible null pointers and out of bounds array indexing
  • [x] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssan...
Avatar
fe221da implement draggable layers - Marmare314 8510412 Merge #6426 - bors[bot]
Avatar
@Learath2 sometimes booting i get a kernel panic, apparently it is unable to mount the rootfs, i wonder if this is cuz the ssd is dying or some issue
11:48
would a initramfs help? xd
11:49
weird thing is it boots like 50% of times,
11:49
and when booted there are no apparent issues
Avatar
b477173 add show directory button in filedialog - Marmare314 5e2e1e2 Merge #6433 - bors[bot]
Avatar
maybe ill need to downgrade the kernel
Avatar
Rip
Avatar
ms > discord
microsoft has damaged the open-source initiative in long-term ways
12:15
discord is merely not open-source
12:15
I'd say microsoft is worse
Avatar
Avatar
heinrich5991
ms > discord
microsoft has damaged the open-source initiative in long-term ways
i don’t get it
Avatar
The editor gets so much love out of the sudden
Avatar
Avatar
Ewan
i don’t get it
"Embrace, extend, and extinguish" (EEE), also known as "embrace, extend, and exterminate", is a phrase that the U.S. Department of Justice found that was used internally by Microsoft to describe its strategy for entering product categories involving widely used standards, extending those standards with proprietary capabilities, and then using th...
Avatar
I’m familiar
12:20
What does it have to do with OSS
Avatar
please tell me what else you're familiar with, so I can avoid giving you duplicate informatio
12:20
n
Avatar
I’d consider running the biggest open source platform, designing & maintaining many languages with open source specifications & implementations, and constantly increasing the amount of open source software used in their products a net positive
12:23
Don’t know how that can be interpreted as a bad thing
Avatar
Microsoft changed, but they are still money b*tches
Avatar
the bad thing is that this apparently forgets history, where companies (especially microsoft) used such a leverage to make things worse for open-source
Avatar
Avatar
Jupstar ✪
Microsoft changed, but they are still money b*tches
This is what you have to do as a business
Avatar
This is what was taught to you a company had to do
Avatar
I'm trying to implement a proof mode for backgrounds. Does anyone have some ideas how to get access to the CMenuBackground class (especially the positions m_aPositions) from the editor? I was thinking of maybe extending the IGameClient class.
Avatar
Avatar
Jupstar ✪
This is what was taught to you a company had to do
Have you noticed that the two most popular desktop OSes are both made by companies most would consider to have very scummy practices
Avatar
Avatar
marmare_314
I'm trying to implement a proof mode for backgrounds. Does anyone have some ideas how to get access to the CMenuBackground class (especially the positions m_aPositions) from the editor? I was thinking of maybe extending the IGameClient class.
I used the ddrace time markers as positions
12:27
And somewhere is an enum for the UI pages
Avatar
Avatar
heinrich5991
the bad thing is that this apparently forgets history, where companies (especially microsoft) used such a leverage to make things worse for open-source
I don’t really know what history you refer to that pertains specifically to OSS
Avatar
Avatar
Ewan
Have you noticed that the two most popular desktop OSes are both made by companies most would consider to have very scummy practices
Have u noticed that Linux is the biggest operating system in the world?
Avatar
Avatar
marmare_314
I'm trying to implement a proof mode for backgrounds. Does anyone have some ideas how to get access to the CMenuBackground class (especially the positions m_aPositions) from the editor? I was thinking of maybe extending the IGameClient class.
perhaps you could move the menu positions to some shared file, and let both the editor and the menu_background access it
Avatar
Avatar
Jupstar ✪
Have u noticed that Linux is the biggest operating system in the world?
There is no company behind Linux, moot point.
Avatar
red hat and canonical are kinda big
12:30
linux is a kernel remember
Avatar
Avatar
marmare_314
I'm trying to implement a proof mode for backgrounds. Does anyone have some ideas how to get access to the CMenuBackground class (especially the positions m_aPositions) from the editor? I was thinking of maybe extending the IGameClient class.
We generally try to avoid accessing the client components from the editor. But this is already done once in the editor to access the camera position. You can use the kernel to get a pointer to the gameclient and then get whatever component you need. See CEditor::LoadCurrentMap implementation. If you find a better way that would be preferable.
Avatar
It’s the largest because the footprint & power for particular tasks on most distributions are obvious pluses for the enterprise world
Avatar
Avatar
Ewan
I don’t really know what history you refer to that pertains specifically to OSS
e.g. the one where outlook (still!) very badly supports open protocols
Avatar
many many companies benefit using linux, specially SaaS and cloud providers
12:31
aws
Avatar
Avatar
Ewan
It’s the largest because the footprint & power for particular tasks on most distributions are obvious pluses for the enterprise world
Where the average user (i.e. the vast majority of the cashflow) has no need for such things
Avatar
Avatar
Robyt3
We generally try to avoid accessing the client components from the editor. But this is already done once in the editor to access the camera position. You can use the kernel to get a pointer to the gameclient and then get whatever component you need. See CEditor::LoadCurrentMap implementation. If you find a better way that would be preferable.
Then @heinrich5991s suggestion is probably the best.
Avatar
Avatar
Jupstar ✪
I used the ddrace time markers as positions
What time markers?
Avatar
Avatar
Ewan
There is no company behind Linux, moot point.
Linux foundation is kinda
Avatar
ms is worse than discord, extend embrace extinguish is real, they also spread FEAR for things that are competition, such as saying opengl was trash and thus fear mongering it wasnt supported on vists, which led to the rise of trash directx
12:33
vista*
Avatar
Avatar
marmare_314
What time markers?
The checkpoints for time
Avatar
Avatar
Jupstar ✪
Linux foundation is kinda
😟
Avatar
I dunno how they are called
12:33
1 2 3 4 5...
Avatar
Avatar
Ryozuki
@Learath2 sometimes booting i get a kernel panic, apparently it is unable to mount the rootfs, i wonder if this is cuz the ssd is dying or some issue
Does the table printed above include the correct drive?
Avatar
I love Linux but its success is not due to the actions of any particular company. This is unrelated anyway because my message was related to how businesses grow, not how there is a successful product without the ownership of any one company
12:34
It was kind of far fetched to bring up
Avatar
Avatar
Learath2
Does the table printed above include the correct drive?
ill need to check, i wont be home for 2 days sadly xd
Avatar
Avatar
Ryozuki
ms is worse than discord, extend embrace extinguish is real, they also spread FEAR for things that are competition, such as saying opengl was trash and thus fear mongering it wasnt supported on vists, which led to the rise of trash directx
Often, when we meet other game developers and say that we use OpenGL for our game Overgrowth, we're met with stares of disbelief -- why would anyone use OpenGL? DirectX is the future. When we tell graphics card representatives that we use OpenGL, the temperature of the room drops by ...
12:35
related read
Avatar
I think u have a bad understanding of companies. Basically ddnet org can be considered a company too. U think too much from a capitalism standpoint
Avatar
(2010 context)
Avatar
"Companies take various forms, such as: voluntary associations, which may include nonprofit organizations business entities, whose aim is generating profit financial entities and banks programs or educational institutions"
12:36
Wikipedia
Avatar
business can exist and grow without being predatory
Avatar
Avatar
Learath2
Does the table printed above include the correct drive?
i think yes
12:37
the uuid never changed right
12:37
i have fstab by uuid
Avatar
You’re right, I’m using the words company and business interchangeably. But that means nothing. Because Microsoft is a business and everyone in the conversation knows that their motives are different from the Linux Foundation’s
Avatar
changes*
Avatar
Avatar
Ryozuki
the uuid never changed right
Yes it's a part of the filesystem header
Avatar
Avatar
Ryozuki
business can exist and grow without being predatory
As long as it's privately owned, sure
Avatar
My claim only was that u don't need generating/ maximizing money as motivational source to create things
Avatar
Microsoft does
12:39
It is a publicly traded company
Avatar
Yes and that can come with a risk
12:39
E.g. if they see open source as the enemy
12:39
Rn it seems Microsoft changed their position at least partially
Avatar
oddly it started happening when i got 6.2
12:40
maybe i should stick to 6.1 which is next lts now
Avatar
And that didn't mean this will always be the case
Avatar
They have already “proprietated” open source as much as they ever will
12:40
And nobody is really paying the price
Avatar
them owning github is so so dangerous
Avatar
Avatar
Ryozuki
oddly it started happening when i got 6.2
Oh did 6.2 get stabilized?
Avatar
which is why i also self host
12:41
git
Avatar
Avatar
Ryozuki
them owning github is so so dangerous
What can they do to it that would damage open source without harming themselves tenfold?
Avatar
Avatar
Learath2
Oh did 6.2 get stabilized?
idk gentoo has it
Avatar
Avatar
Ewan
What can they do to it that would damage open source without harming themselves tenfold?
they can excert influence
Avatar
Avatar
Ewan
They have already “proprietated” open source as much as they ever will
Anyway just to be clear I am on noones side in this discussion. The people working at Microsoft are good devs. I enjoy stuff like vs code. Tho this trend is rather new in Microsoft business history
Avatar
Avatar
Ryozuki
idk gentoo has it
If you didn't unmask gentoo sources that means it is stabilized
Avatar
Avatar
Jupstar ✪
Anyway just to be clear I am on noones side in this discussion. The people working at Microsoft are good devs. I enjoy stuff like vs code. Tho this trend is rather new in Microsoft business history
Agreed
Avatar
Avatar
Ryozuki
they can excert influence
I don’t really know what you mean
12:43
Encourage other businesses to do better? Cool
12:43
Self hosted git services are better than ever
Avatar
i wouldnt mind m$$ minding their business if their strategy wasnt to entice devs to do win only stuff, like games (edited)
12:43
then i wouldnt care less
Avatar
@Ryozuki can you check your kernel cmdline?
Avatar
Sorry I really don’t know what you mean
Avatar
When you get back. Because rootfs is mounted by using that if you dont have an initramfs
Avatar
Avatar
Learath2
@Ryozuki can you check your kernel cmdline?
it had nothing, then i tried to add rootdelay=3 and nothing
12:44
ill check when im back
12:44
lucky i have a boot usb
Avatar
Ok then idk how your computer even works 50% of the time
Avatar
it seems it doesnt now
12:45
i tried 4 times before i had to go
12:45
and all panics
Avatar
maybe obvious, have you tried a chroot system upgrade
Avatar
Avatar
Ryozuki
it seems it doesnt now
No initramfs = you have to have root=UUID=<insertrootuuidhere>
Avatar
there is no upgrade here xd
Avatar
In the cmdline that is
Avatar
oh rly
12:45
xd
12:45
ill check when im back
Avatar
Yeah, maybe grub choked while generating the config and you missed it? Happens to me when I do system upgrades sometimes I miss errors
Avatar
it’s very easy for something to break upstream & you not notice until the upgrade completes
Avatar
i didnt see any error
12:47
i have my own script that compiles the kernel, installs and then recompiles nvidia drivers
12:47
and then grub
Avatar
you use nouveau?
12:47
hence why recompile
12:47
do u even use gentoo
Avatar
do u even lift bro
Avatar
sometimes
12:49
u wouldnt ask that question if u used gentoo
12:50
cuz nouveau is compiled with the kernel
12:50
ThinkSmart
Avatar
that’s not exclusive to gentoo
12:51
you usually just blacklist the driver and use the nvidia binary
12:51
no recompile needed
Avatar
He means nouveau is part of compiling the kernel, so it would be unnecessary to state recompile nvidia drivers as a separate step
👍 1
Avatar
u just talking without knowinh
12:52
i suggest u read the nvidia gentoo wiki
12:53
on why recompiling is needed due to abi changes in the glue between kernel and blob
Avatar
i dont got time for that
Avatar
ur loss
Avatar
i am not the one with a nonfunctioning gentoo install 😃
Avatar
jokes aside
12:54
maybe
12:54
i never did the gentoo
Avatar
thats not a problem for me tho
12:54
i enjoy the tinker
12:54
and learning
12:55
unlike others
Avatar
i did until I didn’t
12:55
and i was tired of bailing my system out
Avatar
ur just weaker
Avatar
maybe I value my time more
Avatar
bullshit
Avatar
and i have a short attention span
Avatar
ur not elite enough
12:55
im on mobile or i would link a vid
Avatar
if i spend time fixing system anything i was doing before is dropped
12:56
the computer is a tool
12:56
it should just work
Avatar
weak mindset
Avatar
u on some other shit
12:57
the computer is not just a tool
12:57
specially nowadays
12:57
its a way of living
Avatar
It's his best friend
12:58
its learsth girlfriend
Avatar
I spent more time with my computer than any human probably xd except me
Avatar
i need the computer to work or I can’t get anything real done
12:59
fixing the system is cool but unproductive
12:59
just back where i started
Avatar
Avatar
Jupstar ✪
I spent more time with my computer than any human probably xd except me
catYep
13:22
Computer is best friend, it knows most things and you can do basically anything on it
Avatar
Avatar
Ryozuki
i enjoy the tinker
gigachad
Avatar
Avatar
Ryozuki
its learsth girlfriend
Mfw all this mortal plane could spare me for companionship was but a bundle of transistors
13:26
How exactly is life worth living is still well beyond my comprehension
16:19
@Learath2 @Jupstar ✪ lmao joke lang
Avatar
sounds like the second part is for strings xD
Avatar
!backgroundproof

Checklist

  • [x] Tested the change ingame
  • [x] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test (especially base/) or added coverage to integration test
  • [x] Considered possible null pointers and out of bounds array indexing
  • [x] Changed no physics that affect e...
Avatar
@marmare_314
17:46
u can control the positions with these tiles
17:46
time checkpoints are they called
Avatar
lulz, was it needed to switch from c-array to std::vector
Avatar
std::array i'd say is the way to go
17:47
but yes u are right
17:47
not needed since the size is const
17:48
tho u could use constexpr newer c++ versions should see through it at compile time
Avatar
i thought constexpr things are more c++20 than c++17
Avatar
c++20 adapted them more in the standard library yes
Avatar
Avatar
gerdoe
lulz, was it needed to switch from c-array to std::vector
I didn't want to include <.../menu_background.h> in editor.h. So I cannot know the size of the fixed array.
Avatar
in 1 month or so we switch to c++20 anyway
Avatar
Avatar
Jupstar ✪
@marmare_314
I know which tiles you mean, but I couldnt find anything in the code
Avatar
anyway, its not in a hot path anyway so it doesnt matter™️
Avatar
but you could just pass &m_Positions and fill it with this data xd
17:51
you know size of the array anyway
Avatar
Avatar
marmare_314
I know which tiles you mean, but I couldnt find anything in the code
DDraceNetwork, a free cooperative platformer game. Contribute to ddnet/ddnet development by creating an account on GitHub.
17:52
as said time cp 1 = first entry in the enum
Avatar
Oh that shouldn't have been that hard to find xd Should be easy to fix tho
Avatar
Avatar
gerdoe
but you could just pass &m_Positions and fill it with this data xd
yes youre right, that should work
Avatar
How do we want to communicate success and failure in the code base? According to https://github.com/ddnet/ddnet/pull/6429#issuecomment-1472749751, we're currently using 0 as success and non-0 as failure for functions returning int. We use true as success and false as failure for functions returning bool. These are currently opposites, and since you can't see (at a call site) whether a function returns int or bool, it seems error-prone to me. I think it'd make sense to unify thi...
Avatar
Is there any easy way to know if they have changed or do i have to check every frame while proof is enabled?
Avatar
Avatar
marmare_314
Is there any easy way to know if they have changed or do i have to check every frame while proof is enabled?
they change as soon as the tiles are placed
Avatar
Yes but there is no indicator if the tiles have changed right?
Avatar
i guess no xd
Avatar
Good thing i changed it back to an array, this should balance out xd
Avatar
IM SO CLOSE the functionality's here, but it's worded weirdly.
Avatar
Also for some reason the global variables aren't updating?
20:54
c++ if(MsgType == NETMSGTYPE_SV_KILLMSGPLUS) { CNetMsg_Sv_KillMsgPlus *pMsg = (CNetMsg_Sv_KillMsgPlus *)pRawMsg; m_Sendable = pMsg->m_Sendable; m_TeamSizeCarrier = minimum(pMsg->m_TeamSize, 4); if(m_Sendable = true) m_VictimSkinCurrent = 0; dbg_msg("sendable", "%d, %d", pMsg->m_Sendable, m_Sendable); dbg_msg("teamsize", "%d, %d", pMsg->m_TeamSize, m_TeamSizeCarrier); }
Avatar
if(m_Sendable = true)
Avatar
its an assignment even though its inside the if, it should probably be ==
Avatar
OHH that's so weird
Avatar
im SO CLOSE!!!
21:33
Avatar
I'm going to submit it as a Draft, because I don't know the technicalities for how exactly I should make it look like the way I want.
Avatar
For those who still have the killfeed on, I wanted to modernize it, by having team kills become one line instead of a bunch! !image This is still in progress, because there are some technicality issues I have yet to solve; but the backbone is all set and ready!

Known issues (list for if it is fixed yet)

  • [ ] If you kill solo once, before killing in a team that started, some s...
Avatar
yay! another useless voxel feature!
22:02
i wonder how many people will hate this
Avatar
it looks cool from your screenshots!
Avatar
What does this article cover?  What is Clyde? How to set up Clyde How to Enable Clyde: Server Admins How to First Interact with Clyde: Server Members Chatting with Clyde Considerations FAQ N...
23:02
lul
23:02
gpt-3 on discord now
Avatar
i HATE IT
Exported 236 message(s)