Register for your free account! | Forgot your password?

Go Back   elitepvpers > Metin2 > Metin2 PServer - Discussions / Questions > Metin2 PServer Guides & Strategies
You last visited: Today at 17:55

  • Please register to post and access all features, it's quick, easy and FREE!

 

[Release] Nick in shout as a hyperlink to the private message.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2012
Posts: 42
Received Thanks: 94
[Release] Nick in shout as a hyperlink to the private message.

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:
Code:
import player
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:

Original topic:

That's it. Regards



Terenzo is offline  
Thanks
38 Users
Old   #2
 
elite*gold: 400
Join Date: Dec 2007
Posts: 6,566
Received Thanks: 6,284
"nick in shout was a hyperlink to the pw"
If I understand that right if you click on a name in shout-chat you see his password..? oO


Mi4uric3 is offline  
Old   #3
 
elite*gold: 0
Join Date: Jan 2012
Posts: 42
Received Thanks: 94
Quote:
Originally Posted by Mi4uric3 View Post
"nick in shout was a hyperlink to the pw"
If I understand that right if you click on a name in shout-chat you see his password..? oO
No password, just private message box...
Terenzo is offline  
Old   #4
 
elite*gold: 400
Join Date: Dec 2007
Posts: 6,566
Received Thanks: 6,284
Quote:
Originally Posted by Terenzo View Post
No password, just private message box...
So you save plain userpasswords? not hashed?


Mi4uric3 is offline  
Old   #5
 
elite*gold: 0
Join Date: Jan 2012
Posts: 42
Received Thanks: 94
Quote:
Originally Posted by Mi4uric3 View Post
So you save plain userpasswords? not hashed?
When you click on the nickname in the chat window opens private message. Sorry for my english...
Terenzo is offline  
Old   #6
 
elite*gold: 400
Join Date: Dec 2007
Posts: 6,566
Received Thanks: 6,284
Quote:
Originally Posted by Terenzo View Post
When you click on the nickname in the chat window opens private message. Sorry for my english...
Ah now I understand, sorry.
Thats quite useful

So if you click on a name in the shout-chat it will open a private-message window with this person
Mi4uric3 is offline  
Thanks
2 Users
Old   #7
 
elite*gold: 0
Join Date: Aug 2012
Posts: 943
Received Thanks: 86
was bringt das kann mir das jemand auf deutsch erklären?
thespeedyy is offline  
Old   #8
 
elite*gold: 0
Join Date: Jul 2008
Posts: 1,812
Received Thanks: 1,972
Quote:
Originally Posted by thespeedyy View Post
was bringt das kann mir das jemand auf deutsch erklären?
Habe es kurz überflogen, soweit Ich das jetzt verstanden habe,
sobald du auf den Namen eines Spielers klickst im Chat öffnet sich
eine Privat Nachricht um den Spieler den du angeklickt hast im Chat
(Öffentlicher chat mit "!" oder normaler chat).
~LuckyStrike~ is offline  
Old   #9
 
elite*gold: 100
Join Date: Sep 2010
Posts: 284
Received Thanks: 83
Thanks.
Pedr0caz&Saddler is offline  
Old   #10
 
elite*gold: 315
Join Date: Dec 2011
Posts: 2,905
Received Thanks: 1,063
Thank u
wird eingebaut =D
Teh Plex is offline  
Old   #11
 
elite*gold: 0
Join Date: Jan 2013
Posts: 87
Received Thanks: 12
Also bitte, Englisch Grundkenntnisse >.>
Thanksgiven, really nice tool!
Syndicаte is offline  
Old   #12
 
elite*gold: 0
Join Date: Oct 2008
Posts: 28
Received Thanks: 28
With the GM announce (/n xxxx) the message apears in double.
cams45 is offline  
Old   #13
 
elite*gold: 0
Join Date: Jan 2012
Posts: 42
Received Thanks: 94
Quote:
Originally Posted by cams45 View Post
With the GM announce (/n xxxx) the message apears in double.
I forgot about one thing, add "return" under "net.SendChatPacket(text)". In topic is an example..
Terenzo is offline  
Thanks
1 User
Old   #14
 
elite*gold: 0
Join Date: Nov 2012
Posts: 6
Received Thanks: 0
thanks
iEllien is offline  
Old   #15
 
elite*gold: 350
Join Date: Oct 2011
Posts: 176
Received Thanks: 49
Very useful release, Thanks!

Greetings
stσям™


stσям™ is offline  
Reply



« Previous Thread | Next Thread »

Similar Threads
[Dif]Changing showing from Lv99Align Nick to Poziom 99 Align Nick
Hello. This diff will change the way of showing level and alignment from Lv99Good Nick to Poziom 99 Good Nick. "Poziom" is in polish language,...
16 Replies - Metin2 PServer Guides & Strategies
[Source Release] Darth Vader Shout Deaktivieren
Gibt bestimmt viele die sich gefragt haben woher der Darth Vader Shout kommt, und wie man es abschalten oder ändern kann. Der Shout wird durch...
2 Replies - Flyff PServer Guides & Releases
{ HYPERLINK-Fehler anstatt den richtigen Hyperlink
Hey Com, ich habe einen bestimmten Fehler. Und zwar bekomme ich im Microsoft Outlook Express, wenn ich die Empfängerliste bearbeiten will...
0 Replies - Technical Support



All times are GMT +1. The time now is 17:55.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2017 elitepvpers All Rights Reserved.