Hey, in this topic I will explain step by step what to do to nick in shout was a hyperlink to the private message.
At the start we will be editing client, and thus unpack the roots.
Open uichat.py from root and look for:
Code:
def __SendChatPacket(self, text, type):
if net.IsChatInsultIn(text):
chat.AppendChat(chat.CHAT_TYPE_INFO, locale.CHAT_INSULT_STRING)
else:
and under this paste it:
Code:
playerName = player.GetName()
if '/' == text[0] and playerName[0] == '[':
net.SendChatPacket(text)
return
if chat.CHAT_TYPE_SHOUT == type:
text = "|Hmsg:" + playerName + "|h" + playerName + "|h|r : " + text
else:
text = playerName + " : " + text
still at start the file right after import paste it:
save the file.
Then open the interfacemodule.py and look for:
Code:
def MakeHyperlinkTooltip(self, hyperlink):
paste at the bottom of this def it:
Code:
elif "msg" == type:
self.OpenWhisperDialog(str(tokens[1]))
save the file.
We pack roots
Now remains us upload this diffs:
Code:
This difference file has been created by IDA Pro & Terenzo.
game_r2089M_32 ~ for chat format
000E7AF4: E8 B8
000E7AF5: 77 04
000E7AF6: A3 04
000E7AF7: F3 35
000E7AF8: FF 08
00308404: 4E 00
00308405: 75 00
00308406: 6C 00
00308407: 6C 00
00308447: 20 25
00308448: 3A 73
00308449: 20 00
0030844A: 25 00
0030844B: 73 00
This difference file has been created by IDA Pro & Terenzo.
game_r2089M_32 ~ for glass intuition
000E29AC: E8 B8
000E29AD: 0F C8
000E29AE: 72 00
000E29AF: F6 00
000E29B0: FF 00
000E29DF: E8 B8
000E29E0: FC 00
000E29E1: 9C 00
000E29E2: F6 00
000E29E3: FF 00
Original topic:
That's it. Regards