branchrust_reboot/main/nexuscancel
433 Commits over 1,066 Days - 0.02cph!
Automatically refresh clan data occcaisionally so the server doesn't send very old info if all that changed was the score
Updated FP.Nexus to expose refresh method
Fix nexus.transfer command incorrectly transferrying the ferry with you if you're standing on it
Fix transfer triggers near islands being able to transfer things parented to ferries
Fix transferring entities with a parent set incorrectly including the parent entity in the transfer
Fix funky TOD behavior on nexus enabled servers, hopefully
Maybe fix hostile UI sometimes not showing if you're inside a safe zone
Fix index out of range sometimes when clicking on the clan announcement textbox for editing
Fix clicking on the clan announcement textbox not being able to put the caret right at the end of the text
Fix target detection triggers for turrets on nexus ferry being very far away from the turrets
Fix nexus map not filling the screen when zoomed out on ultrawide displays
Fix client crash when loading clan score events
Improvements for the nexus player position map marker on the server browser
Show an error indicator on the UI if nexus details fail to load for the connect screen (no more spinning forever)
Include a special case for Steam returning no auth ticket
Fix zone details clipping out of the map component
Fix nexus map not appearing until you close and reopen it
Change the zone details on nexus map to use flex layout
Use a separate prefab for the zone labels on the details panel vs. the map markers
Fix clicking on popup closing it
Add nexus map to the connect screen, make it look nicer when loading in
https://files.facepunch.com/Rohan/2024/March/21_20-18-DeficientThrasher.mp4
Change nexus favorites to use favorites.cfg
Fix pooling issue with zone name labels for the map
Fix shader error in StandardMap
Fix clan table map shader compile error
Split up score events for hacking crates so half is for hacking and half is for being the first to loot it
Add a score event for looting an elite crate
Bit of refactoring to keep this clean
Hook up localizable messages for all event types so they render properly on the clan UI
Implement a bunch of clan score events
- Killing a player from another clan
- Killing unarmed players (lose score)
- Being killed by a player in another clan (lose score)
- Destroying bradley
- Destroying a TC owned by another clan
- Hacking a crate
- Running the excavator
- Boarding the cargo ship
Update FP.Nexus to batch submit score events to the backend
Add clan role for controlling access to score events log
Fix incorrect role tooltip translation keys
Fix clan table map shader showing the framebuffer sometimes
Implement clan leaderboard UI
Add an extra shader param to StandardMap to overlay detail on the map
Add clan.editsRequireClanTable convar so servers can enable clan edits from anywhere
Add a method to BasePlayer to add score events to their clan
Update clan UI to show total score and score event log
Cache the player's IClan instance on the server to make doing clan things easier
Make steamID optional for clan score events
Nexus clan implementation updates for score events
Update FP.Nexus
Default clan score to 0 in DB, no point being null
Cache SQLite prepared statements automatically so they don't need to be reparsed every time they run
Change clans to soft delete instead of fulling purging from the SQLite database
Add clan score value with a new table for tracking clan score events
Incrememnt clan DB version because migrating the unique index for clan names to a partial index was too complicated (sorry anyone who started using clans already)
Refactor map shader so the bits related to getting the map pixel colors are in a shared include file
Add a new shader for things in the world which renders the map onto it
Updated clan table to show the actual map instead of something else
Merge from clan_chat_emoji_fix
Set ShouldTransferAssociatedFiles for painted item storage entity (fixes egg suit texture not transferring between servers)