Parte client :
Copie acest cod în uichat.py (se găsește în root)
Cod: Selectaţi tot
def __SendChatPacket(self, text, type):
if net.IsChatInsultIn(text):
chat.AppendChat(chat.CHAT_TYPE_INFO, locale.CHAT_INSULT_STRING)
else:
name = player.GetName()
if type == chat.CHAT_TYPE_SHOUT:
if name.find("[") !=-1:
empire_id = "|cffffc700|H|h[Team]|cFFA7FFD4|H|h"
else:
empire_id = str(net.GetEmpireID())
if empire_id == "1":
empire_id = "|cFFFF0000|H|h[Red]|cFFA7FFD4|H|h"
elif empire_id == "2":
empire_id = "|cFFFFFF00|H|h[Yellow]|cFFA7FFD4|H|h"
elif empire_id == "3":
empire_id = "|cFF0080FF|H|h[Blue]|cFFA7FFD4|H|h"
text = empire_id + textCod: Selectaţi tot
This difference file has been created by TheGame
game
000FBE8D: 0F E9
000FBE8E: 84 01
000FBE8F: 05 00
000FBE90: 01 00
000FBFB2: 97 00
000FBFB3: 7D 00
000FBFB4: 0E 00
000FD92C: 74 EB
0010133B: 74 EB
002E24CC: 74 90
002E24CD: CF 90

