You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No reason to send the entire string; the client has no use for it other than to identify which HUD element to update. A byte is sufficient because there is already a hard limit defined of 128 HUD elements.
The text was updated successfully, but these errors were encountered:
An easy different thing to do would be to reduce all the identifier calls down to 1 character strings. We could easily have a lookup to convert between the long hud identifier names and short 1 character identifiers, in lua. This wouldnt require any code changes, but i'm not too good with lua so i dont know the exact syntax to use for this.
Something that has been discussed elsewhere.
See: https://github.com/fortressforever/fortressforever/blob/beta/game_shared/ff/ff_utils.cpp#L831
No reason to send the entire string; the client has no use for it other than to identify which HUD element to update. A byte is sufficient because there is already a hard limit defined of 128 HUD elements.
The text was updated successfully, but these errors were encountered: