#archive-rpc-help
21942 messages · Page 1 of 22
👀

no

oh sweet lord no
This is officially the end. This will probably become the new #archive-djs-v12-deprecated for RPC
aaand staying away from this channel
why cant i mute it wtf
@carmine mica it's all yours boi
Oh god
literally not working
Good luck Gus, and have fun at the dumb mistakes some could make
how about no
OMG. I phisically can't mute this channel
yeah i said that
woa
i cant mute any
¯_(ツ)_/¯
👀
this is fun
We broke it before even starting it
yes vlad we know, no need to show gifs
🤔
xD
I like to ensure that people know and can see the issue

Well. Thats bullshit. I just wanted to post a gif for no reason
😂
Your TunnelBear is a copypasta message?
what does rpc mean
role play came
stop deleting me
rich presence client
put link in topic
want to learn more bout it
inb4 they can't edit the channel
rpc -> Roblox Prison Camp
correct?
No
You've just been told it means Rich Presence Client
Remote process communication
Remote Pre-commanded cum-machine
idk, make things up
why does this channel even exist
Let's not make this a troll channel
It has a purpose
rEeE
for RPC support
why does this channel even exist
Gus being EDGY (CC: GitHub Tags)
Yep, no more off-topic bullshit
I don't even know if i have that RPC activated xD been messing up with things and I'm sure that something went wrong(As I can't seem to be able to see that rich presence on myself 😄 )
Gawd, maybe set a channel topic
though i'm not sure that'll help
For reals tho, could you add in the description about the whole discord-rpc extension and thing
It's in the library support category
I'm on mobile
Ah
Make grey do it
@frail fiber ^
I dunno
lol
Give me a nice topic
viction is cool
Why cant I mute this channel
Because Didscord is broken rn
should link to discord-rpc's npm
Support for discord-rpc``` or something
"Keep the cunts asking about RPC here rather than general or any other channel"
😄
wHAT IS DISCORD-RPC!
can you mask links in the topic?
auto npm discord-rpc
also for anone that hasnt figured it out, if you refresh your client the muting and acking will work again
what does it even do tho?
integrate with Discord's RPC client, idk
should give you nice things that you cannot see yourself to verify if it's even working well atleast that's what's going on for me 😄

so I can just replace const Client = require("discord.js") to const Client = require("discord-rpc") and everything works fine?
no
discord.js doesn't export client
ah i see
just like moment
have to require discord.js then require discord-rpc
no
i know that now
i'm experimenting
const Discord = require('discord-rpc');
const client = new Discord.Client();
oshit
my own channel
@high sky 
I didn't make this but ok
o
who did
gawd
@dusty pebble thx hun 
when I get home I'll set up the topic and stuff
don't break the channel until then kiddos
until the kiddos what



btw no one was right
it stands for remote procedural calls
i require assistance
I thought it stood for round perfect circles
I'm a snek
npm WARN addRemoteGit Error: Command failed: git -c core.longpaths=true config --get remote.origin.url
npm WARN addRemoteGit
npm WARN addRemoteGit at ChildProcess.exithandler (child_process.js:205:12)
npm WARN addRemoteGit at emitTwo (events.js:106:13)
npm WARN addRemoteGit at ChildProcess.emit (events.js:194:7)
npm WARN addRemoteGit at maybeClose (internal/child_process.js:899:16)
npm WARN addRemoteGit at Socket.<anonymous> (internal/child_process.js:342:11)
npm WARN addRemoteGit at emitOne (events.js:96:13)
npm WARN addRemoteGit at Socket.emit (events.js:191:7)
npm WARN addRemoteGit at Pipe._handle.close [as _onclose] (net.js:510:12)
when trying to install
uhhhhhh
"maybeClose"
looks like your network blocks github

i can access github.com if thats what you mean
no
I mean opening a streaming socket to github
for cloning
a lot of firewalls block that accidentally
turn off firewall(?)
not sure how your network is set up
and when this module is out of beta this won't be a problem anyway
I still don't understand what it does
it's for discord's rpc
I'll add some links when I get home
What does it do with it?
Ah okay
Ty
@carmine mica lol I actually know that, but was mixing up with IPC
plz
how come only people with roles are talking

oh nvm

people asking what rpc is: all of them
people that need help with rpc: 0
hi
no roles is best role
as I see it, rich presence is for game developers
people who can develop a game likely don't need too much help developing said game
if game developers need help integrating an external service, they probably will look at docs or a guide for it and figure it out
what I don't see game developers doing.. is going to some Javascript bot library server for help with rich presence
correct me if I'm wrong ¯_(ツ)_/¯
tfw u only make singleplayer games so there's no point of integrating rp
also why is there a c in rpc 
rpc stands for remote procedural calls
oh ok
@summer bridge no matter what someone is doing there are always idiots e.g. discord.js is for bot devs, bot devs don't need too much help developing said bots
except they do need help
eh okay
but how is rpc related to djs?
Gus made it so it's d.js fuck you
I mean what
nani
after reading the heck is rpc, I still don't know wat is rpc
but then seeing it's for discord app
and I'm using web client
not for me then
back to general
same
What is this
Remote procedure calling or W/e
oh wait i see you made a library for rpc that extends djs
i retract my arguments 👀
Wait what is client id?
#archive-djs-v12-deprecated #google #docs
I meant , for discord-rpc, the client id, the the user id?
Or how do i get one for myself
@ember mulch
Here no bother now thankle bb
Next time learn reading
UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): [object Object]
Not sure what this means
It means you have an unhandled promise rejection
It says it twice
I pasted the code thats on the npm page
You cannot copy paste code without reading and expect it to work
THE HECK IS RPC
oops caps
dunno
why dont you read the channel description
and find out
that's exactly the reason why i sent that message
facepalm
Read the channel description
i read the channel description before i sent that message
so basically rpc allows games to send data to discord for stuff like rich presence?
y e s
alright
it makes sense now
owo new channel
So, tryin it out, setActivity doesn't seem to be doin anything?
Well I assume I got sneks RPC stuff working well 0 errors 😄 but sad part is that I would need 2nd user to even see if it works as I want it to 😄
Oh does it not work publicly if not on the app whitelist?
some of them should work but specific parts won't work if not whitelisted
ye, I have it on right now, but its not showing up in my profile? https://n.eko.moe/r1YoVJvJG
did you send the email to ask being whitelisted?
well as far I understood and saw it seems like you cannot see RichEmbed on yourself but others should see(well I currently see the same as you on your profile)
idk if I have RPC visible if you click on my my name though :S it should be up atm
don't see any rich presence
on my profile?
well time to figure out why it's not working 😄
I'm not getting any errors and using the example, might be a lib thing, might be an api thing ¯_(ツ)_/¯
well same thing no errors and working client id 😄
ah it's not really public use yet :S you need to fill awful forms etc of your game studio etc to apply 😄
rip
maybe I should just make a shitty game and put it on steam so I can mess around with it xD
Nick myself on the phone
(right click your name)
Press and hold your name
K
menu should come up
K
What next?
Settings
?
oh well less things to worry about 😄
it's funny
because you think you know what's happening
but you don't
care to explain?
nup
fuck ya
oof
ohh gg, got it wokin
@dusky oasis Try using it with electron, and set your game to the electron window
hmm nerdism are you disabling DMs? 😄
that clyde thing is going nuts when trying to DM you
has someone managed to get assets part working or is it just my case that it seems like it cannot find the images uploaded even when identifiers are correct?
its a bug in discords part
@dusky oasis
How exactly do you use this?
@meager thorn ah thank you.
np
So selfbots are allowed as long as you use the rpc server
no
a rpc client isn't a selfbot
rpc clients can only interact with RichPresence
Then why can't RichPresence stuff be accessible via discord.js itself?
what is rpc
rectal probing console
^
because it's part of the api or something
same reason why we can make selfbots
it is acessible via discord.js
but
selfbots are still forbidden
selfbot aren't allowed
Rich presence can be done via discord.js yes but it will be easy to recognize
And will get you banned
Exactly? That's why yukine said "selfbots are still forbidden"
ye im just saying

They aren't allowed and if a Discord developer sees you using it they won't hesitate to ban
Meanwhile RPC is not a selfbot at all
yea but thats why RPC is a thing
exactly
👀
i already said that mutiple times
:c
Although RPC isn't meant only for rich presence
You can do other stuff if you have the power to
but its mostly used for it
because its not bannable
like selfbots
but you can get a cool playing status
👀
Yeah
Waiting for gus to make a new update about the timestamps
@carmine mica so I guess you know what happened in discord api right .-.
crashing all mobile clients because of sending timestamps as floats
yea
im sure he knows
float
i was near
👀
Ye
@meager thorn?
@tall wasp was this at this morning ?
We'll, 8 hours ago
Ish
yea think so
Yeah that's why my phone discord was fucked
It fucked nicknames, roles and all shit
im so sorry qq
@carmine mica basically Discord doesn't check if its actually a long or not so if you put a decimal , it will cause android users to have some issues
right
but what does that have to do with this
javascript doesn't represent unix timestamps with floating point
Just parse as int
?
that bug won't ever affect this module
so its not a problem
Date.now() will give you the unix timestamp as in the
Milliseconds
correct
and?
Discord wants it in seconds
incorrect
Literally to get mine to get elapsed time I had to
1510590721077
Date.now() will give u this
1510590721
Discord just wants this
incorrect
Literally try it yourself
i already have

And so did I just 2 hours ago
Using date.now() will just cause the elapse time to be 00:00 for awhile
i've never had that issue
¯_(ツ)_/¯
so is the tie-in for this for like selfbots?
no
how would a normal bot benefit from RPC
RPC != selfbot
RPC doesnt have features bots have\
and the other way around
currently if you aren't a part of the gamekit you have limitations on what you can do with RPC
which if you aren't a part of this gamekit thing then the only purpose you would use would be for Rich Presence
the gamekit is for gamedevs right?
Mhm and its apply only
so you wouldn't be able to create a game invite for a bot using rich presence
?
try rephrasing that in a better way
i guess i don't understand what rich presence is exactly
rich presence is the new game display
for people that implemented it
it's metadata info for what game you're playing right?
this is rich presence
ok
the right way to use rich presence is to use RPC\
you can use a selfbot but I don't encourage that\
since you can get banned
is there a way that you can have a join link in rich presence?
i realize that depends on the game developer actually writing that code using the gamebridge sdk
yeah
if you are talking about\
people clicking the join button and it opening a link
that is not how it works
i mean it's there in the RPC docs on discord's site though
wtf do you mean
this is to interact others if they have the game
if im playing lets say
Destiny 2
and my friend has destiny 2
and I click on the join button
it will send a request to join to him
if he accepts
it will make me JOIN his game
that I own
yeah
it wouldent open any other executable
if that is what you mean then yeah
but the other user needs to have the game
well obviously
but that only works for each user
so how does a bot benefit from rpc
or can they even take advantage of anything RPC-related
no
bots don't have anything to do with RPC
ok, thanks. Didn't seem like they would.
np
I like that yesterdays 12 hours outage on API and +6h today 😃 is the RPC breaking things that badly?
well finally the images on RPC side work 😃
and down again 😄 seems like it takes quite long after uploading asset for it to even become visible could be something with the caching
@dusky oasis are you using discord-rpc
well
the js module
yup
part of electron app?
yes xD
did you have to manually declare it to discord
with the dropdown menu
everything else works though the asset identifiers do not
you should check the response that you get from setActivity
well I just had to add the electron app I'm running as "game"
setActivity will return something like https://gc.gy/⚴ʟ.png
check if the assets are filled
Ye
Excuse me, how do you use discord-rpc example? I know I need to set game but cmd won't show up as a game? Are you supposed to log in with app id
the process it runs in must have a gui
Okay
otherwise the discord client will ignore it
ugh now if my short brain just processes that how did i print that from the lib again but sec 😄
setActivity({ ... }).then(console.log)
argh promises... I keep forgetting that thing :/
seems like missing the images for whatever reason O.o
when you created the assets
you ticked off large or small
make sure that matches
yes i have checked 😄
¯_(ツ)_/¯
could be that server bug
i'll ask chris
largeImageKey: 'suomipelitmaraton',
largeImageText: 'suomipelitmaraton',
smallImageKey: 'suomipelitmaraton_pieni',
smallImageText: 'suomipelitmaraton',
ya
i'll let chris know
whats your app id
I believe you need to have the Id of the picture
For largeImage
damn cannot send it on DM 😄
no
doacola don't worry
its not a secret thing
app id is safe to share
379350676997931008
@rich fern the client will automatically convert the names to ids
if you don't
Oh
but snek here's something I really got confused about
with earlier assets everything was fine but images did not appear but about 1-2 hours later the images "magically" appeared
like i said
server glitch
ah sry brains running out of memory 😄 getting SIGKILL messages silently 😃
Why did you start typing just when I came on
ah pressed spacebar after alt tab
Oh k
SNEK, I really appreciate the port to js 😉
👍🏻
damn this is confusing 😄
the data is there like it should but after passing it to the request it just somehow loses the images somewhere but where 😄
it's a client bug
was just told by a dev
if you delete the discord app data folder it should fix it temporarily
@dusky oasis do u have gamebridge or smth?
or can anyone use rich presence?
@ancient anchor no I don't but if you want to use it electron should work with it thx to tip from that nerdgasm guy
so i have to literally use electron just to use Rich Presence on my account?
I have no idea but so far seems like it
😢
{ code: 4000, message: 'Invalid Client ID' } literally my id
wot
Snek you mean the whole discord folder from appdata/roaming?
or idk xD
@ancient anchor Did you try the application ID? That's also called a Client ID.
yeah my bot id works
i did my id
it's the application ID from resources
so will rich presence magically appear or something?
on my bot
you need to create new app from it(not bot user) and use the given client-id from there
oh
I think they stated that bots will not get RPC support
well idk if you used electron with that code inside and have game recognition on with the correct process selected 😄
nope i just started it for memes lol
idek how to use this
😄
so ¯_(ツ)_/¯
and I have no idea which discord folder i need to delete from appdata xD
or does it need complete reinstall 😛
¯_(ツ)_/¯
probably just %appdata%/discord
quite sure it's not the local one 😄
oh nvm just removing discord cache folder content was enough
im getting a TypeError: Object.entries is not a function on the discord-rpc lib using the default example
(probably dumb error im just trying things out)
$ node rpc.js
C:\Users\werel\node_modules\discord-rpc\node_modules\discord.js\src\errors\Messages.js:97
for (const [name, message] of Object.entries(Messages)) register(name, message);
^
TypeError: Object.entries is not a function
at Object.<anonymous> (C:\Users\werel\node_modules\discord-rpc\node_modules\discord.js\src\errors\Messages.js:97:38)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (C:\Users\werel\node_modules\discord-rpc\node_modules\discord.js\src\errors\index.js:2:27)
at Module._compile (module.js:570:32)
are you on the newest node.js stable version?
👀
6.11.5, does that matter?
yes it does
update
newest stable is 8.9.1
i am always scared of updating 😃
what
why
updating is good
for some reason i always break everything 😃
it fixes bugs, improve performance and also brings new features
while im at it, i thought 6 was the lts last time i looked
well then you need to debug
8.9.x is new LTS
installin
im not dumb 😃
i never said that

just update node and you are git gud
because outdated node suck ass
and old node versions are 🤢
i remember needing it for some old unmaintained lib 😃
then you should drop that lib anyways
unmaintained libs what uses outdated code are garbage
it was garbage but i just really wanted to try it, what was it..
still shit
dont use it
update node
and you are fine
im updating already 😃
i would recommend always stay on newest LTS atleast or look what requires a packages has as example mostly every good package is already using async/await and requires atleast 7.6
$ node rpc.js
(node:98572) ExperimentalWarning: The http2 module is an experimental API.
(node:98572) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): #<Object>
(node:98572) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

seems like a Promise was rejected
i already got to that point 😃
also LTS has settable environment variable which you can use to disable that HTTP2 default expose and it also removes the warning from console
I think it's intentional that you get that error 😄 just needs to be fixed
by the one using RPC 😃
it crashes after that point
after just hanging
not crashes just stops
Ready, setting rich presence runs just fine for me after handling the error message as it kindly tells you to do 😃
it seems that client.on(ready doesnt fire
client id is your user discord id right the large number string
color going weird
yup messages going red
good now
maybe betterdiscord is interfering?
nope
there was over 41k ms heartbeat apparently 😄
something funky going on again with Discord servers
do you have any idea why it would reject promises?
yes 😄
wrong login thing
messed up something in code
etc etc
but my best guess is that you're trying to use wrong "token/id" for login 😄
default code so messing that up would be hard
which token to i need to use?
user token from rightclick right? long number
damn when people start to read 😄 https://discordapp.com/developers/applications/me -> create "New App" and get the Client-ID
do not convert the app into a bot account as they will not work
ok
but you really should start look into handling errors to actually know what's going on 😄
Do you like my pres
oh yes senpai xD
xDDD
@dusky oasis
You can have your app as a bot account
It would work fine
last time I checked those would not get it at all O.o then sorry about that
I mean like Rich Presence on bot account
Yeah my main rich presence
Is in a bot account application
is it possible to give your bot rich presence then?
yes
The bot status a rich presence?
That would be a no
😏
@snow ocean try it yourself
you can but it's ill eagle
You can't in the first place
setPresence wont set it
It will just set it as if he is playing a game without rich presence
you can
didn't you just call me out for using it
Thats selfbot smh
is it possible to give your bot rich presence then?
Bots don't have feature usera have
it was certainly possible with a user account before
im not sure how rpc affected it
users can do it using setPresence
We are talking about bots here
yes
If you try doing it to a bot
The bot will ignore the rich presence and will apply Playing (game)
His question here is that if he can allow his bot to have Rich presence
yeah im pretty sure bots can do it
it's still in the api
Try it yourself
Wouldn't work
manually sending rich presence isn't really allowed
use RPC or don't do it
Guys I've a problem
When I set the Client ID in the cmd it show
(node:13392) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): [object Object]
(node:13392) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
im sure you provided incorrect login data
What I had to add in clientID? my client id or of bot?
bots application id
Did it
And then?
Just use it
nothing seems to happen for me
do i need to authorize it somewhere?
UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: connect ENOENT /run/user/1000/discord-ipc-0
i keep getting this, does this error happen when providing incorrect login info?
yes i think
you need to make a api account and use that client id
but i cant still get it to work
im trying the client id and the bot token, none work, i guess i screwed up somewhere else in the code
oh
its ipc so you need to run it on the same pc as your discord
i think
oh ok
thats probably why then
just frkin somebody tell my why nothing shows up on my account?
do i need to get approved for something to show or whut?
No
The final product should be a executable
Either using electron or pkg
im using the discord-rpc.js
And then add it as a game
that shouldnt make a executable
Look at what I said again
how in a whuut
That's all Im gonna say
The final product should be a executable
either your just trying to get me irritated or you dont understand what im trying
And then add the executable as a game in discord
making a executable shouldnt take hours
Or either your just too stupid to acknowledge
What im saying
The final product
Should be a executable
just frkin go away i dont think you understand what im trying and i understand what you are meaning
And you add it in discord as a game
i guess its not possible to add them for bots
?
Nope
Using setPresence for bot wouldn't work too
Only users can do it and
It has to be a game
Games are executables
.exe
i am not trying to have a game, if i was trying to that i would have used the gamebridge shizzle
but your saying https://github.com/devsnek/discord-rpc should create a exe
You are so ignorant it literally makes you look dumb
Yes
Use fucking electron
i feel like thats what you are trying to accomplish
you could have said that, i was using node since literally nowhere is stated to use electron
i literally said that...
Go up and read what I said
no you said it created a electron
gvd
Use either fucking electron or pkg
just stop
ill give up
you have to make an executable so you can add it to your game detection list in discord
Yes
like the "now playing" thing
Exactly
shouldve been documented tho
Complain to Gus
dude it just released
It should be logical
it wasnt 😃
would still be cool if i could add it to a bot :(
oh well
there are other hacky ways to do it on a bot 😃
You literally can't do it in bots
@night sequoia has a bsic "watching" rich prescence?
setPresence wont work
thats not richpresence
watching is a type
There are types
1 2 3
discords making me irritated 😃
You can set them
Go to setActivity on master docs
You can set types
^
There is playing, listening and watching
just stop i understand 😃
Now this channel is for RPC if you have actual questions or need help
This is the place
@coral viper discord only allows processes with a GUI to set rich presence
so you can't just run discord-rpc from the command line
that's what Sam was trying to articulate
@worthy ginkgo what did you do that gave you the [object Object] error
I've fixed
Ooh master snek :D
I still wonder how Discord cache was attached to RPC missing data xD
Hello, was waiting for the damn 10 minute timer and during that what you said:
Was exactly what I needed to hear :P
On that note, would discord-rpc from a browser work?
@worthy ginkgo no i need to know
I've used the example on the github
what did you do to trigger that error
please tell me
Idk
@void otter it won't work for rich presence
in browser
I've replaced the rpc with the example on github
for you anyway
Damn it. Does it support any sort of presence? Also why not for me?
whitelisted
you have to be part of gamebridge
Ahhhhhh
Damn it >:(
I've been talking to them
about implementing rich presence for web games
and a few other goodies
dw
I don't see why not, OAuth is there to auth/secure it
Would be an amazing feature
¯_(ツ)_/¯
That would be great
Im making a game using iogrid
Would you be great if i aint forced to use electron
So wait, Discord-RPC works for rich presence in it's own app, without gamebridge whitelisting, right?
yes
rich presence works without auth
and without needing to be part of gamebridge
it's the only part of rpc you can use without being in gamebridge
OK, neat. Was a bit confused
This revelation pleases me
Just use electron
An then you can make a html interface, where you can change params
Just a suggestion, maybe add that info to the discord-rpc readme, seems semi important
it's part of the discord rpc docs
which you should read
I thought command prompt would count as a gui 😦 I know it isn't part of cmd, it is a seperate process
Yeah I probably should read through all of it :P
I'm never gonna have invites or spectating in my game
How could Make Your Own Rich Pres be authed
This is all way more complicated than I first expected, c'est la vie
Do it in c on windows
Woah nice :)
nice
👍🏻
Electron is absolute shit
thanks for your opinion

this channel is for support and boosting my self esteem
keep your opinions in #archive-offtopic
Piss off
lmfao
-mute @fast pelican 30m being hostile, chill out dude
Muted atf1999#7815
nobody is forcing to read this channel 😄
ofc people have their own opinion but still no need to attack when someone says something back 😃
Wellp time to rollback some things xD
"cannot find module ../" this is fun 😃 no idea what I broke again
i updated the example slightly
its an actual game now
well the issue I had was more that i had to replace that const DiscordRPC
huh
how did you run it 
easy 😄
no
how did you run the example
bruh git pull
well for me for whatever reason it didn't like the ../
on discordRPC no idea why 😄
¯_(ツ)_/¯
pull the latest
its pretty legit
dled the zip as my PC git is screwed atm
to test
eh
but sec
make sure you npm i then
oh didn't see that 4min ago commit 😄 had the one from like hour ago
ya i added a full game
well
game
you can call it a game
oh hecc you added a full electron app
npm run example
ez
been thinking of starting with electron app someday
but I just dropped it off once I didn't get the exe compiling to work 😃
well hmm something is wrong 😄 the game is running but presence is not there xD
make a game in electron
add the game manually
you have to
unfortunately
ah fck forgot I need to do for that app again
ayy
u got it working
nice picture
BRO
ayy 😄
IM BOOPING THE SNEK
same
and it wont update on RPC?
xD
it just did
read the comments
probably an intense rate limit
it can only update every 15 seconds
took abit tbh my 1Gb internet laggin again i think
only 1gbps
lame
why is uws so gay
2.5gbps here
snek only if that speed would be available here 😄
but no 1Gb is the highest atm
yo did you replace the client id
and stuff
i specifically commented not to

boop the snek goty
next time dont use ur clientid 
in a example
insta ban on client-id if using your own? xD
O.o
:^)
ya cuz they have the same game
I declare this game illegal
and to be prohibited
now i need to check the code deeper what kind of keylogger you have given me
grabs the tin foil
honestly
my rich presence is the best
you don't have any
ya I have it off cuz im fucking around with uws
lemme put it on
don't use uws
im using uws for a game
there we go
me and gus are playing boop the snek hah
can you guys see my join buttons
im winning tho
ye
nah
awesome
you can disable it if you have it as null
wait what
ofc
sorry dim
you're not whitelisted
roasted
i would have to deploy the app
through discord's team
for them to show up on you
or invite you to my beta list
starttimestamp and endtimestamp do nothing
they are useless shit
idk why I added it into my json
uh
they definitely do something
yeah but not applying it
on my code
i found an issue with boop the snek
they are just in the json
being useless
definetely not due to js max int
thats more than maxint
you'll need BigInt
I just wish that I could grab the whitelist but damn game studio requirements :/
hmm now I just need to figure out hoow to achieve that "duration" thing 😄
in RPC
duration or elapsed?
just to make sure
idk at 4am it's the same thing for me xD
elapsed I guess
you would only need startTimeStamp
if you want it to count down
give it an end
if you want it to count up
^
give it a start
if you want to be cool
Jeez my brains are blendered... from fighting with Twitch API to help friend to get that GTA V RP server code things further on language I have not even touched to RPC with no sleep for last 38 hours 😄
u know
Last time I used RPC
I got spammed because I was causing problems for android client
only had 2 hours of sleep that day
I got android and the only Issue I have is that RPC is not visible xD even after updating it today
okay apparently epoch unix converter was not correct way to get end time for end variable
xD
date.now() would give you it
but in miliseconds
tried to get 17.11.2017 and 10am on the converter but wasn't correct method atm xD
you can just pass a date object
and the lib will get it in the correct format
startTimestamp: new Date
woops I just broke the boop 😄 apparently it didn't like when the boob count was removed from details part xD
well if I don't boop the snek on the game it has no issue xD
aha
oh wait nvm
dafuq
so I see you actually finally got convinced
that discord wants it in seconds
not miliseconds

w3schools quick new Date example did not work xD
literally just do
new Date()
I just hate timestamps/date objects... f'ing timezones... specially when bouncing from UTC +2 and +1
startTimestamp: new Date()
@carmine mica so I see u were finally convinced that discord wants it in seconds

whats a second
Wellp it doesn't like me xD
whats a timestamps
wow
::
doacola
did you pull latest
remove end
i only just added support for it taking a date object
12 min ago
sure
B)
I wish someone remade iogrid in pixi.js
hmm now it seems to be updated xD
now to just if I manage to get endtime working
are you trying to do a countdown?
yup
ye
endTimestamp: some date object
seems pretty ez
ur ez
its true
well for snek god it is easy 😃
god
i laughed
tbh
😄
what the ...
four hours left
wew
holy shit you know u just gave me ideas
endTimestamp: new Date(2017, 11, 17, 10, 00, 00),
I should use this when it comes to game release countdowns
seems it didn't like to work as I expected it to 😄
17 hours and 10 minutes
wut
the 17 is the hours
and 10 is your minutes
on your date
wait no I think im wrong
17 is the day
ye
now it's 6 hours... what the :/
well now i'm closer
lol what
I hope that I didn't stumble upon a bug xD
apparently 1510927200000 in end time is in 4 hours
but 1510918020000 is 22 hours ...
idk anymore xD even I gave the numbers on eval and I get correct dates etc but RPC is derping them to something else xD
what are you trying to do @dusky oasis
idk why you are trying to go over 3 days
trying to make countdown as an event starts on 17th 😄
dont think rich presence allows days
should allow hours :S
it allow hours
not days
yeah but trying it to show over 24 hours remaining
if it goes over 12 hours probably it owuld go back
yeah
its turning the 3 days to hours
it will do the count down 3 times
untill its done
you mean over 24 hours? xD
im not sure how rich presence countdown work
or are you those people living with 12h/clock?
if its 12 hours or 24 hours
😄
well I can see it going atleast 22 hours
for the countdown
for me it just says 3 hours
never saw anyone going over 11 hours tbh
3 hours is actually the biggest I have seen personally
so
ye cuz i have the broken timestamp
idk what you are trying to do but like
my assumption is what it will do
is if it goes over 12 hours/24 hours
depending on which type of clock they really have it set to
check now
it would result it going back to 00:00:00
21h +
for me u have no rich presence
lol
there we go
yeah then it goes by 24 hours
if it goes over 24 hours
it will just go back to 00 :00 :00
kinda weird
not really
kinda makes sense if you think about it
well lets say you start 48hour maraton
doacola
you gotta realize this is a countdown
and its made for games
we are here using it for non games purposes
I don't believe a game would make their users stay over 24 hours
to say that to some PUBG / CSGO players xD
pretty sure there are actual regulations when it comes to that
CSGO competetive matches last atleast 30 minutes
not 24 hours....
this is COUNTDOWN for a SINGLE match
not for a whole session
you can't estimate someones session
unless you go from countdown
to doing elapsed