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

Serverinfos.py


abcdefg
 Share

Question

[Message d'introduction]

 

Version des files : 2012

Domaine (Base de données, Core, etc.) : client

Votre niveau (débutant, intermédiaire, avancé) : debutant

 

Description du problème : Bonjour, voila mon probleme, je viens de creer mon serveur sous files 2012 en hamachi, le serveur est bien ON, mais lorsque je veux modifier mon serverinfos.py en depackant le root pour mettre mon adresse ip en .100, je lance le client une fois les modifications faites et sa me met :

 LOG

system.py(line:273) runmainscript

system.py(line:192) execfile

system.py(line:161) run

system.py(line:177) _loadtextfile_

 

Run - exceptions.SyntaxError:invalid syntax (line 62)

comment faire ? merci

Link to comment
Share on other sites

  • Answers 4
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

4 answers to this question

Recommended Posts

  • 0

Envoie le ficheir en enlevant ton ip

 

voila  ce qu'il y'a d'ecrit dans server infos.py (je ne sais pas comment envoyer directement le fichier)

import app

import locale

 

app.ServerName = None

if (locale.IsEUROPE() and app.GetLocalePath()):

STATE_NONE = '...'

 

STATE_DICT = {

0 : '....',

1 : 'NORM',

2 : 'BUSY',

3 : 'FULL' }

 

SERVER1_CHANNEL_DICT = {

1:{'key':11,'name':'CH1','ip':'monip.100','tcp_port':13000,'udp_port':13000,'state':STATE_NONE,},

2:{'key':12,'name':'CH2','ip':'monip.100','tcp_port':13001,'udp_port':13001,'state':STATE_NONE,},

3:{'key':13,'name':'CH3','ip':'monip.100','tcp_port':13002,'udp_port':13002,'state':STATE_NONE,},

4:{'key':14,'name':'CH4','ip':'monip.100','tcp_port':13003,'udp_port':13003,'state':STATE_NONE,},

5:{'key':15,'name':'CH5','ip':'monip.100','tcp_port':13004,'udp_port':13004,'state':STATE_NONE,},

}

 

REGION_NAME_DICT = {

0 : 'TAIWAN', 

}

 

REGION_AUTH_SERVER_DICT = {

0 : {

1 : { 'ip':'monip.100', 'port':11002, },

}

}

 

REGION_DICT = {

0 : {

1 : { 'name' : 'Files 2012', 'channel' : SERVER1_CHANNEL_DICT, },

  },

}

 

MARKADDR_DICT = {

10 : { 'ip' : '192.168.0.17', 'tcp_port' : 13000, 'mark' : '10.tga', 'symbol_path' : '10', },

  }

 

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

 

merci

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share



  • Flux d'Activité

    1. 30

      AresiaCMS

    2. 30

      AresiaCMS

    3. 30

      AresiaCMS

    4. 66

      Decay 2.51

    5. 0

      PACK Dofus Arcenciel

    6. 0

      Partage Ornament L'attaque des Titans

  • Recently Browsing

    • No registered users viewing this page.

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.