SRB2 Message Board  

Go Back   SRB2 Message Board > Sonic Robo Blast 2 > SRB2 Discussion

Reply
 
Thread Tools Search this Thread
Old 07-30-2020   #1
physicsCamera
Permanently Banned
Default When will we get Discord RPC?

Seriously, we need it. Will it ever be added?
physicsCamera is offline   Reply With Quote
Old 07-30-2020   #2
Latius
Hybrid Kart Mapper/Porter
 
Latius's Avatar
Default

You possibly haven't heard, but it was deprecated in favor of Discord's GameSDK.

But even then, I think that integration isn't needed yet, for SRB2 or SRB2Kart.
__________________
Kart Mains:
Latios, Dante and Sonic

DaytonaKart Creator
Latius is offline   Reply With Quote
Old 07-30-2020   #3
MK.exe
The one and only!
 
MK.exe's Avatar
Default

There were some experiments with RPC loooong ago but it wasnts really carried on
__________________
Want to do something? Just do it!
MK.exe is offline   Reply With Quote
Old 07-30-2020   #4
toaster
トースタちゃん
 
toaster's Avatar
Default

Stone dead because of Discord's SDK licensing being incompatible with open-source GPL-licensed software. Blame them for being hostile to independent developers.
toaster is offline   Reply With Quote
Old 07-30-2020   #5
PencilVoid
Circuit Enthusiast
 
PencilVoid's Avatar
Default

That's a shame. Rich Presence would have been a neat feature.
__________________
https://pencilvoid.neocities.org/


May I interest you in the Church of Audie?
PencilVoid is online now   Reply With Quote
Old 07-31-2020   #6
Cue
ALAM STOP BREAKING THE S
 
Cue's Avatar
Default

Quote:
Originally Posted by toaster View Post
Stone dead because of Discord's SDK licensing being incompatible with open-source GPL-licensed software. Blame them for being hostile to independent developers.
Viral licenses are a crock of shit anyway. It puts horrendous restrictions on what you can use in your software. It's fine in the fact that you have to open-source your modifications but having to only use libraries that are also compatible with its incredibly restrictive terms just hinders development - like with the above.

I believe you can sidestep it by writing a GPL shim or something like that, and perhaps shipping with a stub DLL that can be swapped out?

However it's also worth noting that Discord RPC is just not being added to any more, the RPC mechanism is still going to work for the foreseeable future as per the below. So you can still use DiscordRPC as it's MIT.

Quote:
Is my stuff gonna break?

Nah. The tech behind this SDK—connection to Discord via IPC/unix sockets and sending commands/listening for events—is how the new SDK works as well. So you should not expect your implementations to break. But, if you wanna be safe and future-proof and get cool new features, you can upgrade to the new SDK.
https://github.com/discord/discord-rpc/issues/290
__________________
Quote:
<+Jev3> btw guys, now that Cue is gone, the Master Server is going to be awesome http://tvtropes.org/pmwiki/pmwiki.ph...tistsAreBetter
Quote:
<@Mystic> That's a good idea, Cue.

Last edited by Cue; 07-31-2020 at 05:14 PM.
Cue is offline   Reply With Quote
Old 08-16-2020   #7
TehRealSalt
(σᴥσ)
Judge
 
TehRealSalt's Avatar
Default

Hi! Just saw this thread, thought I'd shed some light on it. I made a fully-working implementation of Discord RP for SRB2Kart right a couple months before its release. It showed you the person's character, the level they were on, the game type, even going as far as letting you join the person's server if they were on a public one.

I don't think it's as black & white as anyone here has said. The issue was actually just about how it was a huge grey area, so it's been left in a bit of a limbo. I couldn't figure out if we were allowed to push the Discord Application ID/Client ID to the codebase. Being able to freely provide it and let anyone who compiles use our Client ID would be most ideal, but I couldn't find anything on if that was allowed or not, and I couldn't get an answer from Discord Support on that front. I saw documents saying that you couldn't hand out your Client Secret, another ID that's meant to be handled extremely carefully; however, we weren't using that. There was no solid verdict on the Client ID.

If we weren't allowed to freely give the Client ID in the source code, I also couldn't figure out if not including it would violate the GPL license. Last time I researched it though I was leaning more towards "it's not allowed", though.


If anyone can give me examples of other open-source Discord applications in a similar situation to ours, then I absolutely would resurrect the branch in a heartbeat and put it in the next SRB2Kart patch :)
__________________
Twitter | Mostly just working on SRB2Kart and my indie game over at Patreon

Last edited by TehRealSalt; 08-16-2020 at 10:15 AM.
TehRealSalt is offline   Reply With Quote
Old 08-18-2020   #8
FishandChips
AKA Mario Wumpus!
 
FishandChips's Avatar
Default

Quote:
Originally Posted by TehRealSalt View Post
Hi! Just saw this thread, thought I'd shed some light on it. I made a fully-working implementation of Discord RP for SRB2Kart right a couple months before its release. It showed you the person's character, the level they were on, the game type, even going as far as letting you join the person's server if they were on a public one.

I don't think it's as black & white as anyone here has said. The issue was actually just about how it was a huge grey area, so it's been left in a bit of a limbo. I couldn't figure out if we were allowed to push the Discord Application ID/Client ID to the codebase. Being able to freely provide it and let anyone who compiles use our Client ID would be most ideal, but I couldn't find anything on if that was allowed or not, and I couldn't get an answer from Discord Support on that front. I saw documents saying that you couldn't hand out your Client Secret, another ID that's meant to be handled extremely carefully; however, we weren't using that. There was no solid verdict on the Client ID.

If we weren't allowed to freely give the Client ID in the source code, I also couldn't figure out if not including it would violate the GPL license. Last time I researched it though I was leaning more towards "it's not allowed", though.


If anyone can give me examples of other open-source Discord applications in a similar situation to ours, then I absolutely would resurrect the branch in a heartbeat and put it in the next SRB2Kart patch :)
Minecraft Java uses Java and Open GL and it has the Discord SDK. So I guess it could work?
EDIT: It uses it barely though. It's just a verified game.

Last edited by FishandChips; 08-18-2020 at 07:43 PM. Reason: Add more and fixed a name
FishandChips is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:13 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2021, vBulletin Solutions, Inc.