• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Cast bug CreatureSay by Summ

Matheuuss

New Member
Joined
Nov 20, 2018
Messages
25
Reaction score
0
O CreatureSay bug when another player sends a message does not appear in the cast

TFS 0.4
I suspect here:
C++:
void sendCreatureSay(const Creature* creature, SpeakClasses type, const std::string& text, Position* pos = NULL)
            {if(client) {client->sendCreatureSay(creature, type, text, pos);
                for(AutoList<ProtocolGame>::iterator it = cSpectators.begin(); it != cSpectators.end(); ++it) if(it->second->getPlayer() == this)
                    it->second->sendCreatureSay(creature, type, text, pos);
            }
        }
 
Back
Top