DrBranestawm / BCAR

Contact me via drbranestawm@proton.me
GNU General Public License v3.0
8 stars 12 forks source link

Reduce the number of messages BCAR sends #87

Closed elliethepink closed 1 year ago

elliethepink commented 1 year ago

After chatting on Discord, we noticed that BCAR is sending an AccountUpdate for every ear/tail/wing animation which isn't really necessary. This change adds refresh=false to the InventoryWear call to avoid the AccountUpdate being sent. This means we do need to call CharacterRefresh manually so the update shows up locally. We just send the ChatRoomCharacterItemUpdate instead. This doesn't cause the server to save the update which make it quite a lot lighter, and we don't need the updates saved anyway since they're just for animations.

DrBranestawm commented 1 year ago

Was included in BCAR+ v0.7.4, user was credited