Commit Graph

42 Commits

Author SHA1 Message Date
Matt
c1842c0443
Replace AssetDelivery API with Thumbnails API for Discord RPC images (#4947)
* replace assetdelivery with thumbnails for rpc

* update GetThumbnailUrlAsync logging

* fix build error
2025-03-28 19:33:51 +00:00
pizzaboxer
43ab5626ee
Finish up on Axell's work
caching, better presentation, etc
2024-09-29 20:11:04 +01:00
axel
55f5ef48e8
Show account on discord rich presence (#2255)
* add functionality for grabbing userid

* Create UserInfoResponse.cs

* add user pfp small image thingy

* add missing semicolons

* get rid of semicolons

* debugging (remove later)

* make properties nullable

* forgot to put dollar sign before interpolated string

* make properties that cant be nullable not nullable

* more debugging

* remove thing

* remove other thing

* remove thing (again) (again)

* remove thing (again) (again) (again)

* add space between username and displayname to make it more visually pleasing

* matt review changes (better code readability)

* add strings for show account on profile

* add AccountShownOnProfile setting

* add DiscordActivityJoinEnabled to integrations viewmodel

* fix accidentally swapping 2 variables

* refrence correct variables

* refrence correct variables (again)

* add showaccountonprofile strings

* add option to integrations page

* add missing < that somehow got lost

* make that its own option

* dont invert that value

* dont invert that (again)

* Update IntegrationsViewModel.cs

* fix grammatical issue in string

* move else to new line

* fix merge conflicts

* move gameJoinLoadTime check

* matt review changes

* handle if parsing userid fails

---------

Co-authored-by: pizzaboxer <pizzaboxer@pizzaboxer.xyz>
2024-09-28 21:52:12 +01:00
pizzaboxer
1f48fa0584
Remove "Playing" from rich presence text (#2921) 2024-09-21 20:15:29 +01:00
pizzaboxer
f0ffdbc50c
Rework error handling for HTTP API deserialization 2024-09-03 20:05:15 +01:00
pizzaboxer
6868037670
Show Rich Presence join button w/ reserved servers 2024-09-03 18:24:17 +01:00
pizzaboxer
26b7cbdc67
Refactoring of activity tracker handling
this will either go really well or horribly wrong
2024-09-03 18:12:10 +01:00
pizzaboxer
dfcd5b6777
Draft: game history (+ other minor fixes) 2024-09-03 01:24:52 +01:00
pizzaboxer
f747f40ca5
Add setting deeplink launch data from BloxstrapRPC
plus a bunch of tweaks to the bootstrapper
2024-08-30 01:40:51 +01:00
pizzaboxer
1288299dcc
Use queue for processing RPC message backlog 2024-08-29 11:20:37 +01:00
pizzaboxer
fd290f9ff7
Move activity watcher to separate process (#810)
this was done to:
- ensure robloxplayerbeta launches as an orphaned process
- help alleviate problems with multiple instances
- alleviate problems with the notifyicon causing blocking conflicts on the bootstrapper ui thread
- help reduce functional dependency on the bootstrapper, makes it less monolithic and more maintainable

ive always wanted to do this for a long while, but have always put it off because of how painful it would be

this may genuinely be the most painful refactoring i've ever had to do, but after 2 days, i managed to do it, and it works great!
2024-08-28 22:47:04 +01:00
pizzaboxer
85c19a5e0d
Fix single-letter game names Again 2023-08-23 10:43:07 +01:00
pizzaboxer
b22d72a1b8
Allow for rich presence to be set on game join
better title: Allow for rich presence to be set through BloxstrapRPC on immediate game join
2023-08-05 01:03:33 +01:00
pizzaboxer
c0d173e87a
Minor changes to how rich presence setting works 2023-08-01 20:24:56 +01:00
pizzaboxer
348154fded
Allow for rich presence fields to be reset 2023-07-31 10:42:13 +01:00
pizzaboxer
c8c49a2921
Revamp Bloxstrap game messaging, now BloxstrapRPC
support for nested and dynamically-typed json fields, and games now have greater liberty over how the rich presence can be configured
2023-07-28 21:02:54 +01:00
pizzaboxer
0b1898fb3b
Bump DiscordRPC to 1.2.1.24 2023-07-26 22:46:42 +01:00
pizzaboxer
d618ff350c
Add message commands for presence timestamp/icon
also fix a bug with the server location query thingy
2023-07-26 22:36:24 +01:00
pizzaboxer
83856acaec
RobloxActivity -> Integrations.ActivityWatcher 2023-07-25 19:39:31 +01:00
pizzaboxer
1df1a8495c
Make logging more consistent
consistent prefix names, and logging exceptions in english
2023-07-25 19:08:43 +01:00
pizzaboxer
5558e5163b
Minor alterations 2023-07-24 09:50:25 +01:00
pizzaboxer
72f034c498
Make RP button text more descriptive 2023-07-24 09:31:53 +01:00
pizzaboxer
3aafa140a1
Hide RP join button if not in public server 2023-07-24 09:23:14 +01:00
pizzaboxer
61255925e6
Mitigate rich presence race condition (#411) 2023-07-22 12:32:11 +01:00
pizzaboxer
5205287f36
Alter how game teleports are detected 2023-07-20 22:40:38 +01:00
pizzaboxer
05185e9e9a
Add context menu option for toggling rich presence 2023-07-20 15:11:22 +01:00
pizzaboxer
282d4c665a
Consolidation - global usings 2023-07-15 22:52:44 +01:00
pizzaboxer
0a7ae17473
Consolidate stuff
yea
2023-07-02 21:41:45 +01:00
pizzaboxer
39d919811f
Add support for game message communication (#183)
game scripts can print a client message to send messages to bloxstrap, right now only for setting the presence status

message is a json string formatted with the properties "command" and "data" that's prefixed with the string "[SendBloxstrapMessage]"

example:
print('[SendBloxstrapMessage] {"command":"SetPresenceStatus", "data":"hi"}')
2023-05-09 12:21:56 +01:00
pizzaboxer
d1527535e4
Rename a bunch of classes
yea
2023-05-03 18:19:26 +01:00
pizzaboxer
e4ae6f6ccc
Addendum - invisible unicode characters 2023-05-03 18:16:32 +01:00
pizzaboxer
a2acb24638
Fix dc presence not working with short game name 2023-05-03 16:48:18 +01:00
pizzaboxer
58fb73c127
Refactor class structure for singletons/utilities
cleanup necessary namespaces and adjust namespaces for certain classes to better represent what they're for
models, helpers and tools are all different and shouldnt really be under the same namespace
2023-04-26 21:14:35 +01:00
pizzaboxer
b89bb0a140
Preserve time spent when teleporting within game 2023-04-22 21:31:48 +01:00
pizzaboxer
f8dd388f88 Finalize v2.1.0 update
extra quality assurance and stuff
2023-03-13 18:22:44 +00:00
pizzaboxer
e72202f6f8 Add integration for notifying server details
might just be the coolest integration yet
2023-03-13 00:54:41 +00:00
pizzaboxer
75290fd9ee Use universe info for game presence 2023-03-12 17:18:05 +00:00
pizzaboxer
04fd634784 Add support for FastFlag mods (#98) 2023-03-10 00:00:53 +00:00
pizzaboxer
d5d95872bb Fix UDMUX detection in client log parser 2023-03-09 11:07:53 +00:00
pizzaboxer
1e50a8b632 Fix game activity for UDMUX protected servers 2023-03-08 21:48:28 +00:00
pizzaboxer
b44b62a185 Use Roblox launch URI instead of website deeplink 2023-03-08 21:29:17 +00:00
pizzaboxer
cc22ee1591 Whitespace formatting, move Integrations folder 2023-03-08 21:25:40 +00:00