Resource icon

Resource RGSS Rich Presence Integration 0.2

sukoshijon

tobes-chan
Member
Joined
Mar 31, 2017
Posts
36
sukoshijon submitted a new resource:

RGSS Rich Presence Integration - Add rich integration with Discord to your Essentials fangame!

This script provides an easy wrapper around Discord's Rich Presence API for RPG Maker XP (maybe VX/VXa idk haven't tested them and nobody would care anyway since they're BAD).
"But what is Rich Presence??" I hear you ask... Well, Rich Presence allows you to "add beautiful art and detailed information to show off your game even more". Sound cool? Ok, let's continue.

PLEASE NOTE: This script does not provide any Rich Presence functionality, just the capability. In the...

Read more about this resource...
 

Nuri Yuri

.
Member
Joined
Sep 18, 2017
Posts
39
I have two questions :
Are you using the "Discord GameSDK" or "Discord-RPC" ? Because according to the Discord website, Discord-RPC is deprecated.
The SDK that this documentation references, Discord-RPC, has been deprecated in favor of our new Discord GameSDK.

For the shutdown, did you try the END keyword ?
I did try this on my game (using LiteRGSS) :
Ruby:
END {
    p 0
    system('pause')
}
The result was the following :
- Once I clicked the [x] (closing the game) p 0 was executed (showing 0 in the terminal) then the terminal waited for an input (pause).

This is a syntax that allow to execute code after every other code (it has to be with { }, using do will raise a SyntaxError). You can use this to make your script plug&play. (Since you're using the RGSS Idk if it'll work well, you need to test by creating a file for example).
 
Top