October 04, 2023, 03:50:11 pm

The Gang Garrison 2 Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

NOTICE: Due to a rise in bot activity, new posters need to be approved before posting.

Join the community Discord server!

Pages: [1]

Author Topic: Discord Rich Presence integration  (Read 2381 times)

PrOF

  • Heroic Member
  • ****
  • Karma: 43
  • Offline Offline
  • Posts: 600
  • Sometimes a dev. Only sometimes
Discord Rich Presence integration
« on: November 06, 2018, 08:41:23 am »

I've done this really quickly and it probably need to be polished a bit, but here it is

Done using the Discord Rich Presence Extension from AouabAd which, even though it's limited (no game invites, no elapsed time, etc.), it's also free
Logged

bullets (obviously)

  • Seasoned Member
  • *****
  • Karma: 40
  • Offline Offline
  • Posts: 1962
Re: Discord Rich Presence integration
« Reply #1 on: November 06, 2018, 10:37:49 am »

I'm not sure how useful this is when there's like 3 servers max but p cool :c1:

tbh really wish gg2 lobby could list playernames of people on servers but that's serverside i think
Logged

Derpduck

  • 2011 Haxxy Finalist
  • *
  • Karma: 42
  • Offline Offline
  • Posts: 5770
Re: Discord Rich Presence integration
« Reply #2 on: November 06, 2018, 11:19:46 am »

I'm not sure how useful this is when there's like 3 servers max but p cool :c1:

tbh really wish gg2 lobby could list playernames of people on servers but that's serverside i think
Wouldn't be too hard to add in a mod.

Spazz

  • Seasoned Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 1933
  • Almost too much seasoning.
Re: Discord Rich Presence integration
« Reply #3 on: November 06, 2018, 05:40:22 pm »

Let's list all the player name abuse a third time! ᕕ( ᐛ )ᕗ
Logged

<3 Bustatunez

PrOF

  • Heroic Member
  • ****
  • Karma: 43
  • Offline Offline
  • Posts: 600
  • Sometimes a dev. Only sometimes
Re: Discord Rich Presence integration
« Reply #4 on: November 20, 2018, 03:53:47 pm »

I'm basically done writing a wrapper of my own with much more functionality, it works on its own, now I need to make it work with Game Maker's bullsh interesting behaviour
Logged

PrOF

  • Heroic Member
  • ****
  • Karma: 43
  • Offline Offline
  • Posts: 600
  • Sometimes a dev. Only sometimes
Re: Discord Rich Presence integration
« Reply #5 on: December 21, 2018, 09:27:04 am »

Here's an update on this: I spent a long time diagnosing issues together with YB, and I just found out that in a plugin Game Maker will stop doing anything else after calling a dll function, and if an event only contains that call, it'll crash.
I'm 90% sure this won't be a problem when I build a prototype GG2 gmk, so expect this sometime soontm
I miss stack traces
Logged

Phantom Brave

  • All Hail Classicwell
  • Moderator
  • *****
  • Karma: 70
  • Offline Offline
  • Posts: 12699
  • Another one --
Re: Discord Rich Presence integration
« Reply #6 on: December 22, 2018, 10:23:55 am »

That sounds like a problem with the DLL's bindings...
Logged

http://steamcommunity.com/id/wareya/
ladies and gentlemen i would like to announce that the fact of the matter is up that the fact of the matter is a fact and it matters

PrOF

  • Heroic Member
  • ****
  • Karma: 43
  • Offline Offline
  • Posts: 600
  • Sometimes a dev. Only sometimes
Re: Discord Rich Presence integration
« Reply #7 on: December 22, 2018, 02:19:34 pm »

That sounds like a problem with the DLL's bindings...
Could you please elaborate? I'm not experienced with C++
Logged

Chandeskee

  • New Member
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 6
Re: Discord Rich Presence integration
« Reply #8 on: December 26, 2018, 09:51:53 pm »

Looks pissah. Hope everything settles itself out for a final release.
Logged
WAAR is the answer
Pages: [1]
 

Page created in 0.037 seconds with 36 queries.