Teeworlds
discord.gg/teeworlds / development
For discussions around the development of the official Teeworlds
Between 2020-10-22 00:00:00Z and 2020-10-23 00:00:00Z
TsFreddie
2020-10-22 14:58:15Z
should we consider adding steam integration? DDnet is doing it which is actually quite nice that you can join a friend directly from steam.
Dune
2020-10-22 14:58:38Z
there are some issues about steam integrations
14:58
steam features are good as long as they're not steam exclusive
TsFreddie
2020-10-22 14:59:10Z
Right
15:00
We can separate steam builds with definition. But linking a commercial third party sdk might be weird for a open source project.
15:02
Is it possible to provide some API on our end. And release a separate project as the glue code between steam and teeworlds.
15:05
API for things like your current server or something. Might enable some other integrations like discord as well.
15:05
Ok I started to feel like I have no idea what I'm talking about
Stiopa
2020-10-22 15:06:57Z
discord api
@TsFreddie
TsFreddie
2020-10-22 15:10:14Z
I guess what I'm trying to say is there might be a way to provide steam integration without linking steamwork sdk directly into the project.
(edited)
heinrich5991
2020-10-22 15:12:41Z
ddnet does it this way:
https://github.com/ddnet/ddnet/blob/3a3ab2907d11d0086906ffb0a963452776f39f93/src/engine/client/steam.cpp
ddnet/ddnet
DDraceNetwork, a cooperative racing mod of Teeworlds - ddnet/ddnet
15:13
single file inside the client that handles steam, falls back to non-steam if not available
15:13
during build, you link a stub implementation of the steam api:
https://github.com/ddnet/ddnet/blob/3a3ab2907d11d0086906ffb0a963452776f39f93/src/steam/steam_api_stub.cpp
ddnet/ddnet
DDraceNetwork, a cooperative racing mod of Teeworlds - ddnet/ddnet
15:13
you can replace that with the real sdk for the steam build
15:14
that means that steam/non-steam builds basically only differ in which library they link, actual sdk/stub
15:15
porting this to ddnet would probably be not so hard, one would just have to come up with rules for bam
15:15
*to teeworlds
TsFreddie
2020-10-22 15:15:14Z
Still, having steam reference might be weird.
(edited)
15:16
And idk what would oy think about this.
Stiopa
2020-10-22 15:16:48Z
pitch it to him at the bridge? ^^
heinrich5991
2020-10-22 15:17:08Z
currently he's not there
TsFreddie
2020-10-22 15:17:32Z
I guess if I have a really good idea of handling this I would just open a issue or just do it and pr.
15:17
But I don't
15:17
Stiopa
2020-10-22 15:17:59Z
doing it + PR is not a good idea if the feature might not be welcome
15:18
I for one would love discord & steam api
15:18
would help to get more people to play the game ^^
TsFreddie
2020-10-22 15:18:21Z
I mean if it is pretty easy to code. why not
15:18
Not like I was doing a months long feature impl
15:19
15:21
And sometimes it is hard to convey what exactly you are doing without just straight up posting codes.
15:21
Although that might be me not being articulative enough
Stiopa
2020-10-22 15:26:47Z
@TsFreddie
you still on? I might want to add 2 more tunes I forgot about ^^
TsFreddie
2020-10-22 16:41:04Z
16:41
i am but I can't do anything with the server
GitHub
BOT
2020-10-22 18:00:22Z
fokkonaut
[teeworlds/teeworlds] Issue opened: #2785 CCharacter::Spawn(), m_pPlayer->GetCID() always 0
Weirdly, since I dont know how long, the client id of the controlling player of a character is always 0 when CCharacter::Spawn() is being called.
18:06
fokkonaut
[teeworlds/teeworlds] Issue closed: #2785 CCharacter::Spawn(), m_pPlayer->GetCID() always 0
Exported 37 message(s)