So, I noticed a bug in the voting system today when doing some testing.

When sv_vote_ui_hide_disabled_issues is set to 0, on pl_upward the game is sending 9 votes instead of 7. Currently, it's sending both ChangeMission and Eternaween in the VoteSetup usermessage. ChangeMission is only relevant for MvM.

Unfortunately, two extra votes makes the UserMessage overflow the 255 character limit. The server throws this error in the console:

DLL_MessageEnd: Refusing to send user message VoteSetup of 256 bytes to client, user message size limit is 255 bytes

This is actually lying, by the way... the usermessage should be nearly 275 bytes. It currently cuts off in the middle of the ClassLimits translation phrase.

I imagine this wasn't caught during testing because Eternaween isn't supposed to show up in the vote menu... and likely only shows up by mistake during the Full Moon events. It also happens to take up more than 20 bytes.

Incidentally, I haven't checked outside of the Full Moon event to see if ChangeMission is only showing up for non-MvM maps during the event.

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux

Reply via email to