Metin2 Premium system problem

03/06/2014 22:30 ThunderGoTT#1
Hallo liebe EPVP - Community,

Ich habe mir seit einigen Tagen ein VIP System eingefügt.
Folgendes Problem:

Wenn ich was schreibe egal ob ich VIP bin oder nicht wird die Nachricht die ich einmal schreibe und mit Enter bestätige 2x im Chat abgesendet.
Hierbei denke ich ist es Clientside betroffen entweder in der Uichat oder game.
Das Problem ist in der Sysser steht wohl nichts da es jaa kein Fehler in dem Sinn ist!

Hier eine Verlinkung der 2x Python dateien Uichat und Game!

[Only registered and activated users can see links. Click Here To Register...]

InGame Bild :

[Only registered and activated users can see links. Click Here To Register...]

Wer mir bei dieser Sache helfen kann bekommt natürlich ein Thanks

MFG: ThunderGoTT
03/06/2014 22:52 [nX]ℓυzιƒєя#2
Was genau ist nun dein Problem? habs nicht so richtig verstanden
03/06/2014 22:57 ThunderGoTT#3
Wenn ich zum Beispiel InGame "Hallo" schreibe wird der Text jaa wie normal einmal abgesendet mit "Hallo" wenn ich aber schreibe wird dieser 2x abgesendet obwohl ich ihn nur einmal schreibe
03/06/2014 23:47 £αšεℜ™#4
Mach mal aus:
PHP Code:
def __SendChatPacket(selftexttype):
#               VIP Chat by sLay. & ondry147
                
if net.IsChatInsultIn(text):
                        
chat.AppendChat(chat.CHAT_TYPE_INFOlocale.CHAT_INSULT_STRING)
                else:
                        
name player.GetName()
                        if 
text.find("(vip)")!=-1:
                                if 
name.find("[SA]")!=-or name.find("[VIP]")!=-1:
                                        
net.SendChatPacket(texttype)
                                else:
                                        
chat.AppendChat(chat.CHAT_TYPE_INFO"No VIP")
                        else:
                                
net.SendChatPacket(texttype)
                if 
text == "(buff1)":
                        return
                
elif text == "(buff2)":
                        return
                
elif text == "(buff3)":
                        return
                
elif text == "(buff4)":
                        return
                
elif text == "(buff5)":
                        return
                
elif text == "(buff6)":
                        return 
das hier:
PHP Code:
def __SendChatPacket(selftexttype):
        
# By £ašeR™ @ Epvp
        
import player
        name 
player.GetName()
        if 
text.find("(vip)")!=-1
            
if name.find("[SA]")!=-or name.find("[VIP]")!=-1:
                
net.SendChatPacket(texttype)
        
elif text == "(buff1)":
            return
        
elif text == "(buff2)":
            return
        
elif text == "(buff3)":
            return
        
elif text == "(buff4)":
            return
        
elif text == "(buff5)":
            return
        
elif text == "(buff6)":
            return 
        
elif net.IsChatInsultIn(text):
            
chat.AppendChat(chat.CHAT_TYPE_INFOlocale.CHAT_INSULT_STRING)
        else:
            
net.SendChatPacket(texttype
03/07/2014 12:09 ThunderGoTT#5
Werde es testen schonmal Danke!

@Edit

0307 12:32:21896 ::
networkModule.py(line:194) SetSelectCharacterPhase
system.py(line:130) __pack_import
system.py(line:110) _process_result
introSelect.py(line:28) ?
system.py(line:130) __pack_import
system.py(line:110) _process_result
interfaceModule.py(line:15) ?
system.py(line:130) __pack_import

networkModule.SetSelectCharacterPhase - exceptions.SyntaxError:invalid syntax (line 215)

0307 12:32:21896 :: ================================================== ================================================== ========
0307 12:32:21896 :: Abort!!!!

das ist die Sysser hast du vllt Skype?^^
03/07/2014 12:35 £αšεℜ™#6
geh bitte nochmal alle TABS durch!

und ja habe ich

yukaikori ist die add