Register for your free account! | Forgot your password?

You last visited: Today at 19:46

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

Advertisement



Frage: uichat.py

Discussion on Frage: uichat.py within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
timiich12's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 431
Received Thanks: 35
Frage: uichat.py

Hallo,
Ich wollte gerne etwas einfügen
und jedes mal gibt es ein Fehler.

das soll
in den uichat.py

da rein^^
kann mir wer ganz genau sagen wie? und wo?^^
timiich12 is offline  
Old 04/30/2015, 19:40   #2
 
elite*gold: 0
Join Date: Apr 2015
Posts: 234
Received Thanks: 54
Oben bei den Imports packste
PHP Code:
Import player 
hin.

Dann suchst du nach
PHP Code:
    def __SendChatPacket(selftexttype): 
Und ersetzt es durch
PHP Code:
    def __SendChatPacket(selftexttype):
        if 
net.IsChatInsultIn(text): 
            
chat.AppendChat(chat.CHAT_TYPE_INFOlocale.CHAT_INSULT_STRING
        else: 
            if 
type == chat.CHAT_TYPE_SHOUT
                
empire_id str(net.GetEmpireID())
                
name player.GetName() 
                if 
empire_id == "1":  
                    
empire_id "|cFFFF0000|H|h[Shinsoo]|cFFA7FFD4|H|h"  
                
elif empire_id == "2":  
                    
empire_id "|cFFFFFF00|H|h[Chunjo]|cFFA7FFD4|H|h"  
                
elif empire_id == "3":  
                    
empire_id "|cFF0080FF|H|h[Jinno]|cFFA7FFD4|H|h"  

                
text empire_id text 
            net
.SendChatPacket(texttype
Also von Sendchatpacket bis hin zu dem letzten bevor ein neues "def" anfängt.
#.TwoFace.# is offline  
Old 04/30/2015, 20:18   #3
 
timiich12's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 431
Received Thanks: 35
Das Problem ist der Client schließt sich^^
Hier sysser:
die neue uichat.py
timiich12 is offline  
Old 04/30/2015, 20:33   #4
 
Chaosnightx3's Avatar
 
elite*gold: 0
Join Date: Jun 2012
Posts: 340
Received Thanks: 114
Tabs richtig gesetzt? Bei mir ist nämlich drin
Chaosnightx3 is offline  
Old 04/30/2015, 21:00   #5
 
gerald500's Avatar
 
elite*gold: 150
Join Date: Sep 2010
Posts: 1,049
Received Thanks: 275
du hast wohl ab zeile 15 abwärts irgendwo einen syntax fehler alle änderungen nochmal genau durchschauen ob irgendwo ein zeichen fehlt
gerald500 is offline  
Old 04/30/2015, 21:07   #6
 
timiich12's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 431
Received Thanks: 35
ich finde den fehler nicht^^
timiich12 is offline  
Old 04/30/2015, 21:09   #7
 
gerald500's Avatar
 
elite*gold: 150
Join Date: Sep 2010
Posts: 1,049
Received Thanks: 275
dann sag doch mal wo du überall was geändert hast
gerald500 is offline  
Old 04/30/2015, 21:11   #8
 
elite*gold: 0
Join Date: May 2012
Posts: 841
Received Thanks: 172
ich sehe auch keine Fehler :/
Dildo_Shwaggins is offline  
Old 04/30/2015, 22:57   #9
 
timiich12's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 431
Received Thanks: 35
ich habe nur die buffs eingefügt aber das ist schon über 1 Woche her^^
timiich12 is offline  
Old 04/30/2015, 23:01   #10
 
Poccix's Avatar
 
elite*gold: 44
Join Date: Dec 2009
Posts: 1,696
Received Thanks: 3,833
Meine Güte "import" statt "Import".
Ansonsten sollte es funktionieren.
Poccix is offline  
Thanks
1 User
Old 04/30/2015, 23:11   #11
 
timiich12's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 431
Received Thanks: 35
Problem besteht immer noch^^
timiich12 is offline  
Old 05/01/2015, 01:33   #12
 
DasSchwarzeT's Avatar
 
elite*gold: 399
Join Date: Sep 2011
Posts: 5,323
Received Thanks: 3,937
Schick mir nochmal alles per PN oder Skype und ich kann dir helfen
DasSchwarzeT is offline  
Old 05/01/2015, 09:22   #13
 
Poccix's Avatar
 
elite*gold: 44
Join Date: Dec 2009
Posts: 1,696
Received Thanks: 3,833
Quote:
Originally Posted by timiich12 View Post
Problem besteht immer noch^^
Aber nicht der selbe syserr wie vorher wenn dus geändert hast.
Poste die neue.
Poccix is offline  
Old 05/01/2015, 09:45   #14
 
timiich12's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 431
Received Thanks: 35
0501 09:44:08397 ::
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.IndentationError:expected an indented block (line 856)

0501 09:44:08397 :: ================================================== ================================================== ========
0501 09:44:08397 :: Abort!!!!
timiich12 is offline  
Old 05/01/2015, 12:45   #15
 
Yiv's Avatar
 
elite*gold: 47
Join Date: Feb 2012
Posts: 2,282
Received Thanks: 2,579
Quote:
Originally Posted by syserr.txt
expected an indented block (line 856)
Sagt doch schon aus, dass eine Einrückung erwartet wird.
Poste doch einfach nochmal deine aktuelle Datei

MfG
Yiv is offline  
Reply


Similar Threads Similar Threads
[Suche]Reichchat ( uichat.py )
04/26/2015 - Metin2 Private Server - 7 Replies
Morgen, Bin auf der Suche nach dieser Uichat.py http://i.imgur.com/AO66voB.png Bin ettliche Foren durchgegangen, habe aber nur das Script mit den Farben beim Chat schreiben gefunden. Benutze 2089M Gamefiles + 2011 Client. Könnt mir da jemand helfen.?
[Release]Modified uichat.py
03/08/2015 - Metin2 PServer Guides & Strategies - 31 Replies
You need this dif-files: Empire-Shoutchat: 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
problem mit uichat
06/05/2013 - Metin2 Private Server - 5 Replies
syserr: 0602 23:02:36676 :: Traceback (most recent call last): 0602 23:02:36676 :: File "uiChat.py", line 399, in OnIMEReturn 0602 23:02:36676 :: File "uiChat.py", line 297, in __SendShoutChatPacket 0602 23:02:36676 :: File "uiChat.py", line 242, in __SendChatPacket 0602 23:02:36676 :: UnboundLocalError
[B]Reichschat-Dif + uichat.py [S]PSC/Paypal
02/05/2013 - Metin2 Trading - 6 Replies
Ja hier biete ich euch die Metin2 Reichschat-Dif an + eine perfekt angepasste uichat.py für das System. Also Reichat = Alle 3 Reiche in einem Rufchat Addet mich in Skype für näheres: darkmoon232
color > uichat.py
02/14/2012 - Metin2 Private Server - 10 Replies
Hi, How do such a thing? I do not know what to call it xD 8233065/kvbkodc



All times are GMT +1. The time now is 19:48.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.