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 2020-02-19 00:00:00Z and 2020-02-20 00:00:00Z
Avatar
why? @ChillerDragon
Avatar
ChillerDragon 2020-02-19 11:04:35Z
It’s a mess to put Config() there because it’s a interface
11:05
Anyways big guru Heinrich said it’s bad code.
11:06
If we get the new 0.7 Config system to ddnet6 we can also add starting servers from client
Avatar
@ChillerDragon I don't see a good reason for this one
Avatar
ChillerDragon 2020-02-19 12:22:11Z
For what @Learath2 ? My refactor? Ox’s refactor? Server from client?
12:22
Oy*
Avatar
Your PR
Avatar
ChillerDragon 2020-02-19 12:22:50Z
Well it’s a Config in a Interface that will be ugly with the new config system
12:23
But there is probably a better way of doing that. If you know one pls feel free to fix or explain it and I can try
Avatar
We probably will never migrate to the new config system on ddnet6 anyway
Avatar
Apparently there are maps out there with broken headers advertising the wrong map size. This allows demos to be recorded on those. Example of such a map is ctf4_old_d668e9fa_2f472051b26b6bffaa4af8990cf882cafd6364e00e1333b77762cb9911e49464.map Hosted on Allround Network Reported by teini94 on discord
Avatar
ChillerDragon 2020-02-19 12:43:38Z
@Learath2 yea I was afraight someone will say that there won’t be the new cfg sys in ddnet. Will make copying code more annoying then :/
12:44
Well but this has to be solved somehow for the 0.7 client because currently I am not able to use my dummy •.•
12:58
gold
Avatar
@noby here?
Avatar
Can you help me get old versions of ddnet compiling on macOS?
Avatar
what is the error
Avatar
there is no -lGl on new macOS and our cmakefile doesn't do frameworks
13:15
so I need to use bam
Avatar
yes i use bam to compile
Avatar
but with bam I get issues with "CarbonSound/CarbonSound.h"
Avatar
@ChillerDragon ?? it is the same as before, why shouldnt dummy worj
Avatar
Seems new macOS deprecated some of the carbon framework
13:16
dont remember if i fixed anything in here
25.46 KB
Avatar
other/sdl/sdl.lua not found
Avatar
other/sdl
2.87 MB
Avatar
I'm missing a lot of things in other/
13:18
which version is this bam.lua from?
13:21
what else r u missing
Avatar
did you rip parts of the newer bam?
Avatar
i dont think so
13:24
if its changed at all then its just to fix dependencies
Avatar
I'm only missing -lcrypto now after messing around with the carbon include
Avatar
sounds like something else that i mightve fixed in that bam.lua? or its not installed
Avatar
it definitely is installed, hmm
13:32
ye no this isn't working, I can't be assed with fixing an ancient build system
13:37
which parts are still missing
Avatar
already nuked it
Avatar
ChillerDragon 2020-02-19 13:52:22Z
@Learath2 why compile old version ?
Avatar
trying to find a performance issue
13:52
@deen do you remember how you compiled ddnet10 on macOS?
Avatar
ChillerDragon 2020-02-19 13:53:24Z
@fokkonaut well since Oy introduced the new config system I had to comment out the config in client.h to get it working
13:53
Compiling* but that killed the dummy
13:54
Did you set the environment variables for crypto @Learath2 ?
Avatar
What do I need to set?
Avatar
ChillerDragon 2020-02-19 13:54:33Z
Brew should tell you
13:54
After installing it
Avatar
I have OPENSSL_ROOT_DIR set I think
13:54
That's it
Avatar
ChillerDragon 2020-02-19 13:55:07Z
Try reinstalling OpenSSL or what ever it was and maybe brew will give you a hint
13:55
Or what is your current error message?
Avatar
I stopped trying
Avatar
ChillerDragon 2020-02-19 13:55:54Z
rq
Avatar
maybe tomorrow I'll give it another go
13:56
but it was first complaining about the SDL includes, which end up being wrong when you are using the framework
Avatar
ChillerDragon 2020-02-19 13:56:21Z
Ye classic
Avatar
after fixing those it gave issue with deprecated carbon interfaces
Avatar
ChillerDragon 2020-02-19 13:56:41Z
Is there a macOS performance issue ?
Avatar
@ChillerDragon no?
13:56
why
Avatar
after fixing those it gave issue with -lcrypto
Avatar
ChillerDragon 2020-02-19 13:56:48Z
What why
Avatar
comment out
Avatar
after fixing that it gave issue with -lopusfile and I just rq
Avatar
ChillerDragon 2020-02-19 13:57:09Z
Because I do not have access to a Config there @fokkonaut :/
Avatar
You need a config instance now
Avatar
you dont need it there chiller
Avatar
ChillerDragon 2020-02-19 13:57:27Z
In a Interface?
13:57
Wouldn’t that be ugly
Avatar
just place the { return } stuff in the cpp file
Avatar
You can't have a config instance there
Avatar
and use Config() there
Avatar
yeah you need it in the implementation
Avatar
ChillerDragon 2020-02-19 13:57:54Z
Well
13:57
Hm
Avatar
fixed
14:04
But wouldn’t moving that to a class that implements the interface and exposing all the variables defeat the purpose of a interface?
Avatar
[7:56 AM] ChillerDragon: Is there a macOS performance issue ?
14:20
kindof
14:20
ddnet 10.6 gives about 400fps and doesnt make my fans spin at all
14:20
ddnet 11.9 gives about half the fps and also makes the fans spin
14:21
not that 200fps is bad but the fact that it decreased by 200% seems concerning
14:21
@ChillerDragon this ^+ i dont like to hear the fans spin for hours
14:21
seems bad for it
Avatar
ChillerDragon 2020-02-19 15:45:42Z
Did you try 0.7 ? troll
15:46
Ye fanspin Sound is the worst
Avatar
gtfo with ur 0.7
feelsamazingman 5
Avatar
ChillerDragon 2020-02-19 17:34:23Z
:p
Avatar
@Learath2 i think sorting alphabetically is better for Commands
20:17
or maybe a NetBool to pass on every command that says whether to sort this one in alphabetically or not
20:18
like this you could make seperated blocks of commands, where all cmds from a block would be sorted, but the rest wouldnt
20:18
maybe
Exported 101 message(s)