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-01-03 00:00:00Z and 2021-01-04 00:00:00Z
Avatar
i got discord sdk to link
10:12
atleast on linux
10:12
monkalaugh
Avatar
@Ryozuki ehm, I just noticed mmotee client has discord sdk support already apparently: https://github.com/MrCosmo666/MmoTee-Libs
Contribute to MrCosmo666/MmoTee-Libs development by creating an account on GitHub.
Avatar
thats just the libs
Avatar
[quakenet] ChillerDragon BOT 2021-01-03 10:45:48Z
is there only the libs repo but not the actual client? xd
Avatar
but i already figured out the linking and stuff
10:46
atleast for linux
10:46
i just gotta code the thing now
10:49
10:49
monkalaugh
11:00
omg
11:01
workin
Avatar
[quakenet] ChillerDragon BOT 2021-01-03 11:38:26Z
anyone else having constant crashes of firefox since a few days? or is my system broken?
Avatar
u broken
Avatar
[quakenet] ChillerDragon BOT 2021-01-03 11:38:46Z
fak
11:38
how did i do that xd
11:41
ok well crash on chromium clang and reboot as well
11:41
noo my arch dieing :/
Avatar
ChillerDragon
11:45
i think they enabled the new web render
11:45
on most cpus
11:45
and gpus
11:45
previously they were whitelisted
11:45
maybe disable the new renderer
11:45
on firefox
Avatar
[quakenet] ChillerDragon BOT 2021-01-03 11:59:56Z
since its chromium reboot and firefox i feel like its a more general issue
12:00
at least i managed to boot into my machine again :D i think ill just wait for the next update
Avatar
Avatar
deen
@Ryozuki ehm, I just noticed mmotee client has discord sdk support already apparently: https://github.com/MrCosmo666/MmoTee-Libs
Contribute to teeworldsnetwork/nodes development by creating an account on GitHub.
Avatar
ew 0.7
12:36
12:36
my client suddenly started being weird
12:36
xd
12:37
12:38
xd
12:39
ok somehow its fault of my changes
12:43
ok
12:44
this happened because i added 2 config variables lol
12:44
maybe i hit the limit?
12:47
apparently i should add things to config_variable.h instead of variables.h (edited)
Avatar
@Ryozuki we already had a discord team for ddnet
12:53
can u invite me
12:53
or tell me the id
12:53
and make a app
12:54
inviting me is faster :)
Avatar
invited you
12:57
We already had an app but figured you might want to edit the rich presence stuff
Avatar
@Learath2 do u have that team icon in hand
12:57
oh
12:57
i just created another
12:57
xd
12:58
to delete it it asks for 2fa code
12:58
damn this shit
Avatar
LOL let me
Avatar
I have my phone handy
12:58
done
Avatar
@Learath2 i think we should use DDraceNetwork for the app name
12:58
its whats used on steam
Avatar
๐Ÿ˜ฆ I'm not sure where I got the icon
12:59
so I guess create it again, we can put the icon in later?
12:59
or you can inspect element and steal it from the old app
Avatar
yeah we can do it later
12:59
we probs wont merge this today anyway
12:59
if u can test it later on macos
12:59
windows needs testing too
13:01
Ah we can just rename applications
13:01
cool
13:01
if u can resize it to 512x512
13:01
otherwise ill do it later
Avatar
don't bother, as I said we can rename the old application if we want to
Avatar
@Learath2 what old app?
Avatar
752165779117441075
13:03
the image needs to be minimum 512
13:03
to be used in rich presence
Avatar
thats 256
13:06
xd
Avatar
huh, I guess their script is broken, I did specify size 512 ๐Ÿ˜›
13:07
anyway, I guess we wait for someone with the actual svg to get us the icon
Avatar
this is so weird
13:08
my macro config isnt being added
13:08
Avatar
CONF_DISCORD is enabled for the client specifically
Avatar
I don't think you should make the app_id a setting tbf
13:10
if people want to change the app id they should have to recompile, it's not something people should ever have to screw around with
Avatar
[2021-01-03 14:08:07][discord]: rich presence disabled
13:10
13:10
u can see in my screenshot
13:10
the default is 1
13:10
i think this is not a problem with my pr
Avatar
maybe you have it in your settings.cfg?
Avatar
maybe we reached a config limit
13:11
ok ill remove that option, but this is a weird problem
Avatar
yeah, did you check your settings.cfg?
Avatar
does it use settings or settings_ddnet
Avatar
settings_ddnet iirc
13:12
its not there
13:12
so it should use defaults
Avatar
if it's not there set a watchpoint on g_Config.m_ClDiscordEnablePresence see what went wrong
Avatar
time to look into gdb man
13:13
xd
13:14
(gdb) watch g_Config.m_ClDiscordEnablePresence There is no member named m_ClDiscordEnablePresence.
13:14
@Learath2 is it like this? xd
Avatar
well first you break at main
13:23
then you set the watch point and continue
13:23
it'll auto break if that variable is ever modified
13:25
it never broke
13:25
so its not modified
13:28
it doesnt show up in the console
Avatar
so it doesnt get registered somehow
13:28
Avatar
it should break when CConfig::Reset is called
13:28
can you try to break on that function and step thru instead?
Avatar
can u do multiple steps?¿
13:30
gonna t ake forever
13:30
xd
Avatar
oh just pressing enter
13:31
works
13:33
it skips it
13:33
i guess its due to the ifdef
13:33
i only added the definition to the client target
13:33
maybe this somehow gets bugged when the target is shared
Avatar
Ooooh probably something with cmake
13:35
hm, no idea how to remedy that
Avatar
i think i do
Avatar
well good luck ๐Ÿ˜›
Avatar
@Learath2 removing the if def around the macro
13:39
gg
13:39
brb i go eat
13:51
d
13:51
13:51
Avatar
quick question, is super team just very team together?
13:54
I mean every team
Avatar
@deen fix style script fixes more code than my pr, should i run it regardless?
13:59
hm it complains about a ? b : c
13:59
a lot
13:59
maybe its a different clang version
13:59
Avatar
@TsFreddie team super is a team yeah
14:00
@Ryozuki hm, what is the issue there that clangformat has?
Avatar
@Learath2 we should have a bot that commits format with its own clang format
Avatar
Looks fine to me
Avatar
Avatar
Ryozuki
@Learath2 we should have a bot that commits format with its own clang format
Yeah I proposed this too
14:01
lets see if it works
14:01
14:01
i dont know
14:01
ah
14:01
i see
14:01
allman
Avatar
ะ”ัะดั ะ–ะตะฝั 2021-01-03 14:03:44Z
\n ?
Avatar
i think i found why
14:09
there is a place in cmake for compile definitions added to each target
14:09
this cmake file is so big i didnt find it before xd
Avatar
well you can add it to all targets I guess
14:10
it already has a CFGFLAG_CLIENT so would be masked on server
Avatar
ok now works
Avatar
Avatar
Learath2
Click to see attachment ๐Ÿ–ผ๏ธ
this is better imo :D
Avatar
Yeah, just need someone with the svg to come along and give us a 512px version
14:13
@deen do you happen to have it? Maybe we should put it on ddnet.tw so it's easy to find
Avatar
[quakenet] ChillerDragon BOT 2021-01-03 14:45:00Z
Avatar
hmmm ๐Ÿ˜„
Avatar
Hm I meant just the tee but it should be easy enough to extract from this
Avatar
like this?
Avatar
@Learath2 ^
15:50
changed it
Avatar
btw @heinrich5991 let me know when something is decided about #3442 I think I'm ready to finish the icons/stuff
Avatar
it seems people mostly wanted the "extra png" variant
Avatar
@Ravie ^
Avatar
any idea about the resolution?
Avatar
make it the same as game.png, I'd say, if that still comfortably allows for extension
Avatar
even something like this is quite a lot of space tbh
Avatar
i pushed the mirroring too to https://gitlab.com/Patiga/twmap for those interested :)
Avatar
[quakenet] ChillerDragon BOT 2021-01-03 20:22:36Z
mirroring?
Avatar
as in switching left and right
20:25
use the edit_map binary with the option --mirror
Avatar
anyone here know how to compile mmotee?
Avatar
start by pasting a link I guess
Avatar
[MOD][0.6] Reload Azataz (MMOTEE) (Page 1) โ€” Modifications โ€” Teeworlds Forum โ€” Everything Teeworlds!
Avatar
visual studio
21:06
cmake
21:06
and so on
Avatar
on a vps
Avatar
cmake ninja and so on :p
Avatar
idk if it has cmake, seemed like it just used bam
Avatar
do you see a bam.lua?
Avatar
try bam in the console
21:53
what do you see?
Avatar
it uses 0.4.0 bam so i compiled 0.4.0 bam
21:54
well when i try ~/bam-0.4.0/bam in the folder a bunch of errors pop up
Avatar
To all the Vim users, I'd appreciate you trying out a Vim plugin I wrote that detects the indentation of the current buffer: https://gitfront.io/r/user-2022984/e2aa50000f815df158888fcd6ed90dcc36afb62f/vim-yadi/ @deen @ChillerDragon Maybe I can convert the sleuth.vim users, @heinrich5991 @Ryozuki I know you use that
21:54
If you could give me feedback before I publish it that would be great
Avatar
from the comparison, I'm not convinced to use it over vim-sleuth (taking into account the amount of work for changing)
Avatar
This makes the indentation settings for newly created files unpredictable.
22:05
idk if this even matters tho
Avatar
yes, that's the comparison I was talking about ๐Ÿ˜‰
Avatar
Avatar
louis
well when i try ~/bam-0.4.0/bam in the folder a bunch of errors pop up
which ones
Avatar
too many for me to list
22:09
ill show later
Avatar
give us the first one
Avatar
"no c/c++ compiler found" ๐Ÿ˜„ (edited)
Avatar
something is missing
Avatar
@Ryozuki you can just run clang-format -i on the files that it complains about
Avatar
@deen do you use clang-format at SAP? do you have CI commit the styling?
Avatar
[quakenet] ChillerDragon BOT 2021-01-03 23:41:30Z
@timakro why rewrite something that already exists and lul gitfront
23:41
@timakro if i ever need auto detection i might get back to it until then i probably wont try it sorry :/ but if you want to build something useful write a autocompletion for tw config files pls
23:42
oh interesting @Patiga but shifting the map up down and left and right is probably way more useful to extend existing maps
Exported 232 message(s)