Jump to content
×
×
  • Create New...
  • 0

Lien vdi mort


moonix

Question

  • Answers 11
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

11 answers to this question

Recommended Posts

  • 0

Un autre petit soucis avec monj client je l'ouvre et il se ferme tous de suite quelqu'un pourrais m'aider et m'expliquez (avec des mots simple svp) pour quel raison me fait cette erreur

 

Mon sysser:

1007 02:36:00632 :: Traceback (most recent call last):

1007 02:36:00632 ::   File "uiPhaseCurtain.py", line 61, in OnUpdate

1007 02:36:00632 ::   File "networkModule.py", line 150, in __ChangePhaseWindow

1007 02:36:00633 ::   File "introLogin.py", line 285, in Open

1007 02:36:00633 ::   File "introLogin.py", line 1049, in __OpenServerBoard

1007 02:36:00633 ::   File "ui.py", line 2593, in SelectItem

1007 02:36:00633 ::   File "ui.py", line 88, in __call__

1007 02:36:00633 ::   File "ui.py", line 70, in __call__

1007 02:36:00633 ::   File "introLogin.py", line 1165, in __OnSelectServer

1007 02:36:00633 ::   File "introLogin.py", line 1201, in __RefreshServerStateList

1007 02:36:00634 :: KeyError
1007 02:36:00634 :: :
1007 02:36:00634 :: 'name'
1007 02:36:00634 ::

1007 02:36:00972 ::
introLogin.py(line:1228) NotifyChannelState
introLogin.py(line:1201) __RefreshServerStateList

Aucune information sur ce canal n'a pu être trouvée. - <type 'exceptions.KeyError'>:'name'

1007 02:36:00972 :: ============================================================================================================
1007 02:36:00972 :: Abort!!!!

Link to comment
  • 0

import app

app.ServerName = None

STATE_NONE = 'Fermé'
        
STATE_DICT = {
    0 : 'Fermé',
    1 : 'Ouvert',
    2 : 'Surchagé',
    3 : 'Complet'    }

SERVER1_CHANNEL_DICT = {
    1:{'key':11,'MoonMt2':'CH1   ','ip':'192.168.0.23','tcp_port':13001,'udp_port':13001,'state':STATE_NONE,},
    2:{'key':12,'name':'CH2   ','ip':'192.168.0.23','tcp_port':62210,'udp_port':62210,'state':STATE_NONE,},
    4:{'key':14,'name':'CH3   ','ip':'192.168.0.23','tcp_port':62310,'udp_port':62310,'state':STATE_NONE,},
}
REGION_NAME_DICT = {
    0 : 'TAIWAN',
}

REGION_AUTH_SERVER_DICT = {
    0 : {
        1 : { 'ip':'192.168.0.23', 'port':11002, },
        
        }    
}

REGION_DICT = {
    0 : {
        1 : { 'name' : 'Files 2014 Team FE', 'channel' : SERVER1_CHANNEL_DICT, },
        },
}

MARKADDR_DICT = {
    10 : { 'ip' : '192.168.0.23', 'tcp_port' : 13001, 'mark' : '10.tga', 'symbol_path' : '10', },
    }

TESTADDR = { 'ip' : '192.168.0.23', 'tcp_port' : 50000, 'udp_port' : 50000, }

#DONE

Link to comment
  • 0
  • Bot
   1:{'key':11,'MoonMt2':'CH1   ','ip':'192.168.0.23','tcp_port':13001,'udp_port':13001,'state':STATE_NONE,},

 

Si tu veux changer le nom du serveur c'est à cette ligne :

 1 : { 'name' : 'Files 2014 Team FE', 'channel' : SERVER1_CHANNEL_DICT, },

 

Donc remplace ta ligne :

   1:{'key':11,'MoonMt2':'CH1   ','ip':'192.168.0.23','tcp_port':13001,'udp_port':13001,'state':STATE_NONE,},

Par :

	1:{'key':11,'name':'CH1   ','ip':'192.168.0.23','tcp_port':13001,'udp_port':13001,'state':STATE_NONE,},

 

Et la ligne :

 1 : { 'name' : 'Files 2014 Team FE', 'channel' : SERVER1_CHANNEL_DICT, },

Par :

 1 : { 'name' : 'Moon Mt2', 'channel' : SERVER1_CHANNEL_DICT, },

 

 

Sauf si tu veux changer le nom de tes channels dans ce cas remplace CH1 par je sais pas Moon CH1, les name il ne faut pas y toucher :) 

090100logo.png 090149logo-4-bis.png

Link to comment
Guest
This topic is now closed to further replies.


Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.