branchrust_reboot/main/party_systemcancel
52 Commits over 61 Days - 0.04cph!
Fix joining a server in a party causing certain teammates to show their name as "DEAD" instead of their real name
merge from main -> party_system
Fix NRE from party menu trying to render when opening DM menu in chat
Show party leader icon beside the leader in the party
- use callback to detect right when party owner has changed
- expose party leader via IFriend (can make new interface in future)
Fix joinKey not being reset when team enters pool
Cherrypick
123243 which was commited on wrong branch (fix reconnecting to same server as party leader not prompting other users to connect)
Fix party invites that arrived before the main menu was fully setup not being shown
Update rich presense for party members at the same time the rich presense is updated for a friend
Fix rich presence not updating for friends inside your party
merge from main -> party_system
Rewrite party system so it integrates with the existing friends system code
- support party from any provider but only provide party members from steam
- add extra event that fires off when you leave the party since there is no callback for it normally
Hide friends menu names when in streamer mode
Hide party invite pop-up if accepting invite inside the friends menu
Give warning when party invite is sent to non-friend indicating it will likely be blocked
Fix party invite from friend menu when accepting invite via party invite popup
Add `party_invites_enabled` convar to disable receiving party invites
Fix party invites not hiding names in streamer mode
Show party invites at top of friends menu
- expire after 120s
- can accept or reject the party invite
Connected to a server as the party leader will cause all other party members not on a server to connect to same one
Fix NRE when connecting to server in party (again)
Allow setting developer convar in editor when not an admin
- fixes developer convar not printing errors when connecting to server in editor
Add context menu option to invite users to the party
- create a party automatically when inviting someone
Add context menu to party members
- UI to kick and promote members to party leader
Add ability to promote other players to party leader
Update party invite modal to look less WIP
- add profile picture
- improve colors
- wait up to 2 seconds before showing party invite to give time for profile picture to load
Update HttpImage to expose whether the image is currently loading or finished
Ignore party invites from non steam friends
merge from main -> party_system
Add command to join party by ID
Fix another NRE when connecting to a server in a party
Clicking link in steam chat will add you to the party
Fix `kickparty` not correctly checking if the person kicking is the leader
Fix NRE when connecting in party
merge from main -> party_system
Merge from main -> party_system
Ignore invites for a party you are already in
Add temp invite button so you can accept party invites
- default timeout 10s
- add `fakepartyinvite` command to show invite UI without needing a 2nd client
Add kickparty command to remove members from your party
Fix party not showing for the player who joins a party via an invite
merge from main -> party_system
merge from main -> party_system
▉▌▇ ▄ ▊█▋▆▋▅ █▅▉▊▅▆▍ ▆▊ ▇▇▋▇ ▉▌▋▌▋
- ▉▆▄▇▊▌▅ ▊▌▅▆▄▅▌ ▇▄█'▅ ▋▅▆▊ ▊▆▆▅▍▋█ ▌▅▍▊▍'▊ █▄▄▉ ▊▉█▇▌▄ ▊▅██ ▇▄▋▍ ▊█▍ ▊▌▅█▌▇ ▅▄▍▇ ▇▅▅▌▍█ ▊▄ ▊▋▆ ▋▆▉▍▉'▇ ▅▌█▍▍▉▋▌
- ▆▍▄▋▅ ▇▆▍▊▆ ▄▆▉▇▊▄▌ ▄▊▊ ▌▉▉▉▇▍-▄▆██ █▊█ ▄▋▉▊▇██'▄ ▌▊ ▇▍▆▌ ▋▅ ▇▄▍▌▄▍ ▋▇▉▇▅▆▄█ ▅▋█▌█▊ ▅█▉ ▉▅▊ ▍▍▆▉▅▅▇ ▄▄ █▉▋ ▇▄▍▅▅
- ▍▇▆▍█ █▉▉ █▇▅▄ ▍▉▇ ▊█▄▌▄▍ ▆▄▍ ▍▇▋▆ ▊█ █▊▍ ▇▉▆▍▊▉ & █▋▄▊▋▆▄▅ ▍▅ ▄▍▄▅ ▅ ▅▋▆▇▍▄ ▊▇▌▍▍ █▅ ▉▍▅▋▋█▇
Prototype showing party members at the top of the friends menu
- hacked friend code slightly to make it work
- will integrate with friend code properly if it's confirmed to live in friend menu
- subscribe to a bunch of "OnLobbyMemberChanged" hooks to ensure the UI updates when players join / leave the party
- refactor LobbySystem class so all logic has to pass through it instead of directly accessing steam's lobby class
thumb_up
16
thumb_down
128
thumb_up
13
thumb_down
25
Party members will spawn near the first party member that spawned on the server
- try to spawn party members within 100m of the first player to join
- only applies the first time you spawn on a server, subsequent spawns will be random
thumb_up
36
thumb_down
438