Double-text in Chat bug
-
- Pelipper The Scarf God
- Posts: 279
- Joined: Tue Nov 26, 2013 8:14 pm
- Location: Colorado Springs, CO
Re: Double-text in Chat bug
Nope. I think it started when the senior admins turned on the word changer for fuck to duck
- Dangit Spongebobby!
- Posts: 210
- Joined: Tue Mar 05, 2013 11:31 pm
- Location: Texas
Re: Double-text in Chat bug
No, it definitely existed before that.
- Maha
- Posts: 1356
- Joined: Tue May 28, 2013 10:32 pm
- Location: Charlotte, NC
Re: Double-text in Chat bug
I think it was around the time Scream Fortress came out.
- bl4nk
- Posts: 15254
- Joined: Mon Jun 02, 2003 9:03 pm
Re: Double-text in Chat bug
It happened whenever Valve made it so that chat appears to everyone during the end of the round, regardless if you're dead or not. The problem was this:
When you typed something at the end of the round, it would send one UserMessage to those who were normally suppose to receive the message, and another to everyone else who didn't normally receive the message. The plugin I wrote hooked the sending of the UserMessage and changed it so everyone could see the message. This made it so that there was effectively two UserMessages that were being hooked by the plugin and rewrote to be sent to everyone, instead of just the normal one. Why they didn't just change the recipients of the original message instead of sending a second one is beyond me, but that's the route they chose to take. Now we were experiencing this problem not just at the end of the round, which made it apparent that there are other locations where Valve decided to do the same thing depending on certain circumstances. The plugin that I put on the server uses three different modes of sending information (UserMessages, Broadcast Events, and Console Command hooks) to determine what needs to be modified exactly. I was going to incorporate the same process that was used by the plugin to do it myself, but since the one I stuck on there seems to be working as intended, I feel that I don't need to take any further action to fix the problem we were having. As long as people who are dead can send a chat message, and it goes to the proper people (dead and alive, respecting team chat), then my work is done in this specific instance.
When you typed something at the end of the round, it would send one UserMessage to those who were normally suppose to receive the message, and another to everyone else who didn't normally receive the message. The plugin I wrote hooked the sending of the UserMessage and changed it so everyone could see the message. This made it so that there was effectively two UserMessages that were being hooked by the plugin and rewrote to be sent to everyone, instead of just the normal one. Why they didn't just change the recipients of the original message instead of sending a second one is beyond me, but that's the route they chose to take. Now we were experiencing this problem not just at the end of the round, which made it apparent that there are other locations where Valve decided to do the same thing depending on certain circumstances. The plugin that I put on the server uses three different modes of sending information (UserMessages, Broadcast Events, and Console Command hooks) to determine what needs to be modified exactly. I was going to incorporate the same process that was used by the plugin to do it myself, but since the one I stuck on there seems to be working as intended, I feel that I don't need to take any further action to fix the problem we were having. As long as people who are dead can send a chat message, and it goes to the proper people (dead and alive, respecting team chat), then my work is done in this specific instance.