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

Serveurinfo.py


*-dj28-*
 Share

Question

Bonsoir

 

Version des files : 2012

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

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

 

Je Cherche un serveurinfo.py pour de serveur

Je en est fait un mais ca me fait erreur Lor de la connexion Or que sur le root Sans les 2 serveur ca me co ig --':)

 

Quelqu’un pourrais me passer un serveur Ifo.py Files 2012 avec 2 ch Svp pour les 2 serveur

 

 

 

merci D'avance

 

En postant ma demande d'aide, j'affirme avoir lu et accepté le règlement des demandes d'aides.

Link to comment
Share on other sites

  • Answers 5
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

5 answers to this question

Recommended Posts

  • 0

Voila mon mien :)

Bonne journée

 

import app
import locale

app.ServerName = None
if (locale.IsEUROPE() and app.GetLocalePath()):
STATE_NONE = 'recherche ...'

STATE_DICT = {
	0 : '....',
	1 : 'NORM',
	2 : 'BUSY',
	3 : 'FULL'	}

SERVER1_CHANNEL_DICT = {
	1:{'key':11,'name':'192.168.1.10','ip':'192.168.1.10','tcp_port':13001,'udp_port':13001,'state':STATE_NONE,},
	2:{'key':12,'name':'192.168.1.11','ip':'192.168.1.11','tcp_port':13001,'udp_port':13001,'state':STATE_NONE,},
	3:{'key':13,'name':'192.168.1.12','ip':'192.168.1.12','tcp_port':13001,'udp_port':13001,'state':STATE_NONE,},
	4:{'key':14,'name':'192.168.1.13','ip':'192.168.1.13','tcp_port':13001,'udp_port':13001,'state':STATE_NONE,},
	5:{'key':15,'name':'192.168.1.14','ip':'192.168.1.14','tcp_port':13001,'udp_port':13001,'state':STATE_NONE,},
}


REGION_NAME_DICT = {
	0 : 'TAIWAN',		
}

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

REGION_DICT = {
	0 : {
		1 : { 'name' : 'Lunastra Games', 'channel' : SERVER1_CHANNEL_DICT, },
			},
}

MARKADDR_DICT = {
	10 : { 'ip' : '192.168.1.10', 'tcp_port' : 13000, 'mark' : '10.tga', 'symbol_path' : '10', },
		}

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

Link to comment
Share on other sites

  • 0

Mais Non J'ai 2 serveur , Je Veu Les Mettre dans un même client ,

 

Un utlra-fun est un semi parce-que J'ai tester avec ca :

Mais ca me fait erreur lors de la connexion --'

import app
import locale

app.ServerName = None
if (locale.IsEUROPE() and app.GetLocalePath()):
STATE_NONE = '...'

STATE_DICT = {
	0 : 'OFF',
	1 : 'On',
	2 : 'BUSY',
	3 : 'FULL'	}


UNIKORNIS = {
	1:{"key":21,"name":"CH1   ","ip":"5.39.90.236","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
	2:{"key":22,"name":"CH2   ","ip":"5.39.90.236","tcp_port":13001,"udp_port":13001,"state":STATE_NONE,},
}
HYDRA = {
	1:{"key":31,"name":"CH1   ","ip":"37.59.63.137","tcp_port":13000,"udp_port":13000,"state":STATE_NONE,},
	2:{"key":32,"name":"CH2   ","ip":"37.59.63.137","tcp_port":13001,"udp_port":13001,"state":STATE_NONE,},
}

REGION_NAME_DICT = {
	0 : 'TAIWAN',		
}

REGION_AUTH_SERVER_DICT = {
	0 : {
		2 : { "ip":"5.39.90.236", "port":31245, },						
		3 : { "ip":"37.59.63.137", "port":31245, },	
	},
}

REGION_DICT = {
	0 : {
              2 : { "name" : "Dragonika-Ultra", "channel" : UNIKORNIS, },
              3 : { "name" : "Dragonika-Fun", "channel" : HYDRA, },
	},
}

MARKADDR_DICT = {
	20 : { "ip" : "5.39.90.236", "tcp_port" : 13000, "mark" : "10.tga", "symbol_path" : "10", },
	30 : { "ip" : "37.59.63.137", "tcp_port" : 13000, "mark" : "10.tga", "symbol_path" : "10", },
}

TESTADDR = { "ip" : "5.39.90.236", "tcp_port" : 50000, "udp_port" : 50000, }


Link to comment
Share on other sites

  • 0
  • Retraité

Bonsoir,

 

Le sujet contient la balise [glow=red][Résolu][/glow] ou reste sans réponse, de ce fait il a été déplacé dans la section "Résolu ou sans réponse".

 

Bonne soirée.

You can't be immortal,
But you can make people remember
you for thousands of years...

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share



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.