|
You last visited: Today at 15:33
Advertisement
[Release] Reichchat
Discussion on [Release] Reichchat within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.
02/05/2013, 18:35
|
#1
|
elite*gold: 120
Join Date: Mar 2009
Posts: 3,409
Received Thanks: 1,738
|
[Release] Reichchat + Chatsystem
So,
da ToBii der Meinung ist, Reichchat zu verteilen, mache ich es auch mal.
Ihr könnt haten/weinen, wie ihr wollt.. Will nur nicht, dass solche Leute irgendwas davon haben.
Reichchat:
Code:
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
Dif, dass man es ohne Glas der Einsicht geht:
Code:
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
Chatsystem:
Ich Re-Release mal das Chatsystem, da es ohne Begründung geclosed wurde und anndii weiß, dass es irgendwann "verschwindet"
Was bringt es?: Die Teamränge stehen im Rufchat vor dem Namen.
Anleitung:
root.e** entpacken und uichat.py öffnen.
Ihr sucht nach:
PHP Code:
def __SendChatPacket(self, text, type):
Dort steht in etwas so etwas:
PHP Code:
def __SendChatPacket(self, text, type):
if net.IsChatInsultIn(text): chat.AppendChat(chat.CHAT_TYPE_INFO, locale.CHAT_INSULT_STRING) else: net.SendChatPacket(text, type)
Und ersetzt es durch:
PHP Code:
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("[SA]") !=-1: empire_id = "|cffffc700|H|h[Serveradmin]|cFFA7FFD4|H|h" elif name.find("[GA]") !=-1: empire_id = "|cffffc700|H|h[Gameadmin]|cFFA7FFD4|H|h" elif name.find("[TEC]") !=-1: empire_id = "|cffffc700|H|h[Techniker]|cFFA7FFD4|H|h" elif name.find("[DEV]") !=-1: empire_id = "|cffffc700|H|h[Developer]|cFFA7FFD4|H|h" elif name.find("[GM]") !=-1: empire_id = "|cffffc700|H|h[Gamemaster]|cFFA7FFD4|H|h" elif name.find("[TGM]") !=-1: empire_id = "|cffffc700|H|h[T-Gamemaster]|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, "Befehl nicht gefunden.")
else: net.SendChatPacket(text, type)
Original Release:
Special Thanks an:
-Noky
-[SA]Horny
MfG Remix
|
|
|
02/05/2013, 18:37
|
#2
|
elite*gold: 65
Join Date: May 2011
Posts: 1,280
Received Thanks: 1,153
|
Nice, habs zwar schon LANGE....... aber danke fürs release bzw- schade das es dazu kam
|
|
|
02/05/2013, 18:38
|
#3
|
elite*gold: 0
Join Date: Jun 2012
Posts: 293
Received Thanks: 200
|
Dankööö
|
|
|
02/05/2013, 18:38
|
#4
|
elite*gold: 5
Join Date: Dec 2011
Posts: 1,822
Received Thanks: 951
|
nice , ewig gesucht hast dir 100% ein thx verdient
|
|
|
02/05/2013, 18:39
|
#5
|
elite*gold: 0
Join Date: Jun 2011
Posts: 63
Received Thanks: 5
|
in english please? >_<
|
|
|
02/05/2013, 18:40
|
#6
|
elite*gold: 120
Join Date: Mar 2009
Posts: 3,409
Received Thanks: 1,738
|
Quote:
Originally Posted by *~.ιηνιη¢ιвℓє.~*
nice , ewig gesucht hast dir 100% ein thx verdient
|
War ja auch non pub.
Finde es auch schade, aber was sein muss, muss sein.
|
|
|
02/05/2013, 18:42
|
#7
|
elite*gold: 20
Join Date: Jun 2011
Posts: 2,897
Received Thanks: 3,336
|
warum war das nur so klar?
Ernsthaft schiebt den leuten alles in den *****...
macht mal was selbst.
|
|
|
02/05/2013, 18:42
|
#8
|
elite*gold: 35
Join Date: Aug 2012
Posts: 47
Received Thanks: 82
|
Quote:
Originally Posted by .Remix
War ja auch non pub.
Finde es auch schade, aber was sein muss, muss sein.
|
Ernsthaft ? Das is genau dass gleiche wie mit dem Python Zeug nur gehts hier nicht um Python sondern um ASM...Helden eh.. für so Mini Release's gibts immernoch den Sammelthread.
|
|
|
02/05/2013, 18:45
|
#9
|
elite*gold: 20
Join Date: Jun 2011
Posts: 2,897
Received Thanks: 3,336
|
Quote:
Originally Posted by .Baum'
Ernsthaft ? Das is genau dass gleiche wie mit dem Python Zeug nur gehts hier nicht um Python sondern um ASM...Helden eh.. für so Mini Release's gibts immernoch den Sammelthread.
|
Muss ich dir sogar zustimmen.
Ist ne sache von 2 Minuten sowas....
|
|
|
02/05/2013, 18:46
|
#10
|
elite*gold: 120
Join Date: Mar 2009
Posts: 3,409
Received Thanks: 1,738
|
Nicht jeder kann ASM, ist euch bewusst?
Wie gesagt, keine Lust, dass ToBii was davon hat.
|
|
|
02/05/2013, 18:47
|
#11
|
elite*gold: 50
Join Date: May 2012
Posts: 1,136
Received Thanks: 401
|
Piep, Piep, Piep.. wir haben uns alle nicht mehr lieb.
#unnötig - Aufregen, dass manche so 'kindisch' sind,
aber selber seid ihr 's.
|
|
|
02/05/2013, 18:47
|
#12
|
elite*gold: 20
Join Date: Jun 2011
Posts: 2,897
Received Thanks: 3,336
|
Quote:
Originally Posted by .Remix
Nicht jeder kann ASM, ist euch bewusst?
|
Ehrlich?
Das da ist kein ASM das ist kindergarten mehr auch nicht.
Das ist ein Jump geändert und 1x ne funktion ausgeschaltet....
Das kann man nach spätestens 2 stunden mit IDA
|
|
|
02/05/2013, 18:51
|
#13
|
elite*gold: 120
Join Date: Mar 2009
Posts: 3,409
Received Thanks: 1,738
|
Da ich weiß, wie es enden wird, schreibe ich einfach nichts mehr.
Jedenfalls rechtfertige/flame ich nicht mehr.
|
|
|
02/05/2013, 18:52
|
#14
|
elite*gold: 53
Join Date: Nov 2012
Posts: 2,793
Received Thanks: 766
|
Nice work danke ;D
|
|
|
02/05/2013, 18:52
|
#15
|
elite*gold: 34
Join Date: Nov 2011
Posts: 1,431
Received Thanks: 851
|
gibt ihn seine thanks, damit er sich damit nen lutscher kauft...
|
|
|
All times are GMT +2. The time now is 15:33.
|
|