Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server > Metin2 PServer Guides & Strategies
You last visited: Today at 02:54

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

Advertisement



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

Discussion on [Release] Nick in shout as a hyperlink to the private message. within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.

Reply
 
Old   #1
 
Terenzo's Avatar
 
elite*gold: 0
Join Date: Jan 2012
Posts: 42
Received Thanks: 95
[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
39 Users
Old 01/15/2013, 00:02   #2
 
Mi4uric3's Avatar
 
elite*gold: 405
Join Date: Dec 2007
Posts: 6,615
Received Thanks: 6,358
"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 01/15/2013, 00:06   #3
 
Terenzo's Avatar
 
elite*gold: 0
Join Date: Jan 2012
Posts: 42
Received Thanks: 95
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 01/15/2013, 00:33   #4
 
Mi4uric3's Avatar
 
elite*gold: 405
Join Date: Dec 2007
Posts: 6,615
Received Thanks: 6,358
Quote:
Originally Posted by Terenzo View Post
No password, just private message box...
So you save plain userpasswords? not hashed?
Mi4uric3 is offline  
Old 01/15/2013, 00:49   #5
 
Terenzo's Avatar
 
elite*gold: 0
Join Date: Jan 2012
Posts: 42
Received Thanks: 95
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 01/15/2013, 00:54   #6
 
Mi4uric3's Avatar
 
elite*gold: 405
Join Date: Dec 2007
Posts: 6,615
Received Thanks: 6,358
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 01/15/2013, 09:09   #7
 
elite*gold: 0
Join Date: Aug 2012
Posts: 974
Received Thanks: 89
was bringt das kann mir das jemand auf deutsch erklären?
thespeedyy is offline  
Old 01/15/2013, 09:12   #8
 
~LuckyStrike~'s Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 1,812
Received Thanks: 1,977
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 01/15/2013, 10:44   #9
 
Pedr0caz&Saddler's Avatar
 
elite*gold: 100
Join Date: Sep 2010
Posts: 285
Received Thanks: 84
Thanks.
Pedr0caz&Saddler is offline  
Old 01/15/2013, 17:10   #10
 
elite*gold: 315
Join Date: Dec 2011
Posts: 2,905
Received Thanks: 1,066
Thank u
wird eingebaut =D
Teh Plex is offline  
Old 01/15/2013, 17:16   #11
 
Syndicаte's Avatar
 
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 01/15/2013, 19:39   #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 01/16/2013, 21:07   #13
 
Terenzo's Avatar
 
elite*gold: 0
Join Date: Jan 2012
Posts: 42
Received Thanks: 95
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 01/16/2013, 23:37   #14
 
elite*gold: 0
Join Date: Nov 2012
Posts: 6
Received Thanks: 0
thanks
iEllien is offline  
Old 01/31/2013, 11:26   #15
 
stσям™'s Avatar
 
elite*gold: 350
Join Date: Oct 2011
Posts: 176
Received Thanks: 49
Very useful release, Thanks!

Greetings
stσям™
stσям™ is offline  
Reply


Similar Threads Similar Threads
[Dif]Changing showing from Lv99Align Nick to Poziom 99 Align Nick
01/03/2013 - Metin2 PServer Guides & Strategies - 16 Replies
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, but if you know how use ASCII you can change it to e.g. Level. Before use dif: http://screenshu.com/static/uploads/temporary/jq/ kn/26/g1ktms.jpg After use dif: http://screenshu.com/static/uploads/temporary/gx/ ym/3y/tjwjew.jpg
[Source Release] Darth Vader Shout Deaktivieren
01/08/2012 - Flyff PServer Guides & Releases - 2 Replies
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 Darth Vader Hat M und F ausgeführt wenn man es trägt. Wenn ihr es raus haben wollt oder durch anderes item ersetzen wollt, öffnet die. Mover.cpp und sucht nach. void CMover::ProcessETC()
{ HYPERLINK-Fehler anstatt den richtigen Hyperlink
03/30/2011 - Technical Support - 0 Replies
Hey Com, ich habe einen bestimmten Fehler. Und zwar bekomme ich im Microsoft Outlook Express, wenn ich die Empfängerliste bearbeiten will (bzw. die Mailadressen oder Domains, die für die bestimmte Per- son eingestellt wurden), anstatt den normalen Hyperlink (also wenn man auf den Domainnamen klickt öffnet sich der



All times are GMT +1. The time now is 02:56.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.