Syserror Ingame-Radio

05/20/2013 20:36 Stylo@Magic-mt3#1
Hey,

Also... Ich habe einen Fehler in der Syserr gesehen als ich das [Only registered and activated users can see links. Click Here To Register...]
eingefügt habe..

Syserr:
PHP Code:
0520 20:32:08266 :: 
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:unindent does not match any outer indentation level (line 1041)

0520 20:32:08267 :: ============================================================================================================
0520 20:32:08267 :: Abort!!!! 

und die Uichat.py die ich verädert habe..

PHP Code:
    def __SendShoutChatPacket(self, text):
        if 
1 == len(text):
            
self.RunCloseEvent()
            return
        if 
text[1] == "[":
            if 
text[2] == "b" and 7 == len(text):
                
self.RunCloseEvent()
                return
            
elif text[2] == "l" and 12 == len(text):
                
self.RunCloseEvent()
                return
            
elif text[2] == "p" and 7 == len(text):
                
self.RunCloseEvent()
                return
            
elif text[2] == "g" and text[3] == "r" and text[4] == "e" and 8 == len(text):
                
self.RunCloseEvent()
                return
            
elif text[2] == "v" and text[3] == "i" and 10 == len(text):
                
self.RunCloseEvent()
                return
            
elif text[2] == "o" and text[3] == "r" and 9 == len(text):
                
self.RunCloseEvent()
                return
            
elif text[2] == "b" and text[3] == "r" and 9 == len(text):
                
self.RunCloseEvent()
                return
            
elif text[2] == "g" and text[3] == "r" and text[4] == "a" and 7 == len(text):
                
self.RunCloseEvent()
                return
            
elif text[2] == "b" and text[3] == "l" and 8 == len(text):
                
self.RunCloseEvent()
                return
            
elif text[2] == "y" and text[3] == "e" and 9 == len(text):
                
self.RunCloseEvent()
                return
            
elif text[2] == "r" and text[3] == "e" and 6 == len(text):
                
self.RunCloseEvent()
                return
            
elif text[2] == "g" and text[3] == "o" and 7 == len(text):
                
self.RunCloseEvent()
                
    if 
text[3:] == 'radio':
            
import uiEvo2Radio
            import snd
            snd
.PlaySound("sound/ui/money.wav")
            
self.evo2radioDlg = uiEvo2Radio.RadioDialog()
            
self.evo2radioDlg.Show()
            
self.__ResetChat()

        if 
app.GetTime() < self.lastShoutTime + 15:
            
chat.AppendChat(chat.CHAT_TYPE_INFO, locale.CHAT_SHOUT_LIMIT)
            
self.__ResetChat()
            return

        
self.__SendChatPacket(text[1:], chat.CHAT_TYPE_SHOUT)
        
self.__ResetChat()

        
self.lastShoutTime = app.GetTime() 
Kann einer helfen?

Brauch noch hilfe ...
05/21/2013 20:38 Stylo@Magic-mt3#2
# Brauche noch Hilfe?
05/21/2013 21:17 Ʀyuzaki#3
Setzt die TAB´s richtig :awesome:
05/21/2013 21:32 [SA]Tears aka.[BlackBite]#4
Stylo warst dus dem ich letztens schon gesagt hab es muss in python Tab's sein? :D
05/22/2013 19:39 Stylo@Magic-mt3#5
Quote:
Originally Posted by [SA]Tears aka.[BlackBite] View Post
Stylo warst dus dem ich letztens schon gesagt hab es muss in python Tab's sein? :D
Jaa.. das hatte ich aber gelöst.. jetzt ist das hier der Zweite fehler den ich beheben Möchte :/
05/23/2013 19:52 Stylo@Magic-mt3#6
brauche immer noch hilfe ..
05/25/2013 09:28 Stylo@Magic-mt3#7
brauche immer noch hilfe :(
05/25/2013 09:51 DasKuchen#8
Code:
    if text[3:] == 'radio':
            import uiEvo2Radio
            import snd
            snd.PlaySound("sound/ui/money.wav")
            self.evo2radioDlg = uiEvo2Radio.RadioDialog()
            self.evo2radioDlg.Show()
            self.__ResetChat()
Hast du da jetzt die Tabs richtig gesetzt?

Code:
	if text[3:] == 'radio':
		import uiEvo2Radio
		import snd
		snd.PlaySound("sound/ui/money.wav")
		self.evo2radioDlg = uiEvo2Radio.RadioDialog()
		self.evo2radioDlg.Show()
		self.__ResetChat()
PS: Sieht hier gleich aus sind aber nur 2 Tabs ab Zeile 2.