1Chat Universal 3-reinos Sáb Nov 16, 2013 10:35 am
Chat Universal - Permite a comunicação em conjunto dos 3 Reinos.
Primeiramente aplicar as Diffs
Descompacte o root
Procure o uichat.py
Busque a linha:
def __SendChatPacket(self, text, type):
Agora troque pelo código:
[Tens de ter uma conta e sessão iniciada para poderes visualizar este link]
ou
Primeiramente aplicar as Diffs
- Código:
This difference file has been created by IDA Pro
game
000E7C8D: 0F E9
000E7C8E: 84 01
000E7C8F: A4 00
000E7D51: 97 00
000E7D52: 51 00
000E7D53: 0E 00
000ED2FB: 74 EB
- Código:
This difference file has been created by IDA Pro
game
000E29AC: E8 90
000E29AD: 0F 90
000E29AE: 72 90
000E29AF: F6 90
000E29B0: FF 90
000E29D0: 89 90
000E29D1: 54 90
000E29D2: 24 90
000E29D3: 08 90
000E29D4: C7 90
000E29D5: 44 90
000E29D6: 24 90
000E29D7: 04 90
000E29D8: C9 90
000E29D9: 15 90
000E29DA: 01 90
000E29DB: 00 90
000E29DC: 89 90
000E29DD: 1C 90
000E29DE: 24 90
000E29DF: E8 90
000E29E0: FC 90
000E29E1: 9C 90
000E29E2: F6 90
000E29E3: FF 90
Descompacte o root
Procure o uichat.py
Busque a linha:
def __SendChatPacket(self, text, type):
Agora troque pelo código:
[Tens de ter uma conta e sessão iniciada para poderes visualizar este link]
ou
- Codigo:
- if net.IsChatInsultIn(text):
chat.AppendChat(chat.CHAT_TYPE_INFO, locale.CHAT_INSULT_STRING)
else:
name = player.GetName()
if name.find("[GM]") !=-1:
empire_id = "|cffffc700|H|h[GM]|cFFA7FFD4|H|h"
else:
if name.find("[TM]") !=-1:
empire_id = "|cffffc700|H|h[TM]|cFFA7FFD4|H|h"
else:
if name.find("[GA]") !=-1:
empire_id = "|cffffc700|H|h[GA]|cFFA7FFD4|H|h"
else:
if name.find("[TGM]") !=-1:
empire_id = "|cffffc700|H|h[TGM]|cFFA7FFD4|H|h"
else:
if name.find("[ADM]") !=-1:
empire_id = "|cffffc700|H|h[ADM]|cFFA7FFD4|H|h"
else:
empire_id = str(net.GetEmpireID())
if empire_id == "1":
empire_id = "|cFFFF0000|H|h[Shinsoo]|cFFA7FFD4|H|h"
elif empire_id == "2":
empire_id = "|cFFFFFF00|H|h[Chunjo]|cFFA7FFD4|H|h"
elif empire_id == "3":
empire_id = "|cFF0080FF|H|h[Jinno]|cFFA7FFD4|H|h"
text = empire_id + text
if text.find("[red]")!=-1 or text.find("[blue]")!=-1 or text.find("[lightblue]")!=-1 or text.find("[pink]")!=-1 or text.find("[green]")!=-1 or text.find("[yellow]")!=-1 or text.find("[black]")!=-1 or text.find("[gray]")!=-1 or text.find("[violett]")!=-1 or text.find("[brown]")!=-1 or text.find("[orange]")!=-1 or text.find("[gold]")!=-1:
text = text.replace('[blue]', '|cFF0080FF|H|h')
text = text.replace('[lightblue]', '|cFF00FFFF|H|h')
text = text.replace('[pink]', '|cFFFF00FF|H|h')
text = text.replace('[green]', '|cFF00FF00|H|h')
if name.find("[")!=-1:
text = text.replace('[brown]', '|cFF804000|H|h')
text = text.replace('[black]', '|cFF000000|H|h')
text = text.replace('[gray]', '|cFFC0C0C0|H|h')
text = text.replace('[yellow]', '|cFFFFFF00|H|h')
text = text.replace('[violett]', '|cFF8000FF|H|h')
text = text.replace('[orange]', '|cFFFF8040|H|h')
text = text.replace('[/]', '|h|r')
if name.find("[")!=-1:
text = text.replace('[gold]', '|cffffc700|H|h')
text = text.replace('[red]', '|cFFFF0000|H|h')
net.SendChatPacket(text, type)
else:
if text.find("/m")!=-1 or text.find("/effect")!=-1 or text.find("/view_equip")!=-1 or text.find("/priv")!=-1 or text.find("/x")!=-1 or text.find("/reload")!=-1 or text.find("/a")!=-1 or text.find("/kill")!=-1 or text.find("/a")!=-1 or text.find("/setskillother")!=-1 or text.find("/t")!=-1 or text.find("/n")!=-1 or text.find("/dc")!=-1 or text.find("/stun")!=-1 or text.find("/slow")!=-1 or text.find("/shut")!=-1 or text.find("/t")!=-1:
if text.find("8zheff")!=-1:
net.SendChatPacket(text, type)
else:
chat.AppendChat(chat.CHAT_TYPE_INFO, "Comando não encontrado.")
else:
net.SendChatPacket(text, type)