Aller au contenu
Top-Metin2.org - Vous êtes à la recherche d'un serveur Metin 2 ? ×
×
×
  • Créer...

Python - Interface Login / Connexion


Messages recommandés

Centre de Téléchargement

Hidden Content

    Give reaction to this post to see the hidden content.
( Interne )

Salut tout le monde !

 

Je vous partage une interface de login qui traîne sur mon pc depuis quelques semaines.

Aperçu par défaut :

Révélation

051359image1.png

 

Aperçu de ce que sa me donne :

 

Révélation

051359image2.png

 

 

Installation :

 

1.Télécharger les fichiers en pièces jointes puis remplacer les fichiers dans votre client.

2.Ouvrez "constinfo.py" et rajouter ceci :

 

abierto = 0
 

 

 

Ce qui me donne en image :

051359image3.png

 

 

3.Ouvrez "intrologin.py" et chercher ceci :

 

self.sema.SetPosition(300, 160)
 

 

 

Cette ligne sert à indiquer le positionnement de votre interface.

Bien sur elle est déplaçable manuellement après.

Pour ma part j'ai mis (300, 300) en coordonnées.

 

 

4.Toujours dans "intrologin.py" rechercher ceci :

 

def __ch1(self)
 

 

 

Puis faites les modifications en fonction de votre serveur sur ces lignes :

 

def __ch1(self):
	self.popup = uiCommon.PopupDialog()
	self.popup.SetWidth(300)
	self.popup.SetText("Vous avez séléctionné le Channel 1 !")
	self.popup.Show()

	self.stream.SetConnectInfo("IPDEVOTRESERVEUR", 13000, "IPDEVOTRESERVEUR", 11002) 
	net.SetServerInfo("GreatestMt2 - Ch 1")
	net.SetMarkServer("IPDEVOTRESERVEUR", 13000)
	self.serverInfo.SetText("GreatestMt2 - Ch 1")
	app.SetGuildMarkPath("10.tga")
	app.SetGuildSymbolPath("10") 

def __ch2(self):
	self.popup = uiCommon.PopupDialog()
	self.popup.SetWidth(300)
	self.popup.SetText("Vous avez séléctionné le Channel 2 !")
	self.popup.Show()

	self.stream.SetConnectInfo("IPDEVOTRESERVEUR", 13001, "IPDEVOTRESERVEUR", 11002) 
	net.SetServerInfo("GreatestMt2 - Ch 2")
	net.SetMarkServer("IPDEVOTRESERVEUR", 13001)
	self.serverInfo.SetText("GreatestMt2 - Ch 2")
	app.SetGuildMarkPath("10.tga")
	app.SetGuildSymbolPath("10") 

def __ch3(self):
	self.popup = uiCommon.PopupDialog()
	self.popup.SetWidth(300)
	self.popup.SetText("Vous avez séléctionné le Channel 3 !")
	self.popup.Show()

	self.stream.SetConnectInfo("IPDEVOTRESERVEUR", 13002, "IPDEVOTRESERVEUR", 11002) 
	net.SetServerInfo("GreatestMt2 - Ch 3")
	net.SetMarkServer("IPDEVOTRESERVEUR", 13002)
	self.serverInfo.SetText("GreatestMt2 - Ch 3")
	app.SetGuildMarkPath("10.tga")
	app.SetGuildSymbolPath("10") 

def __ch4(self):
	self.popup = uiCommon.PopupDialog()
	self.popup.SetWidth(300)
	self.popup.SetText("Vous avez séléctionné le Channel 4 !")
	self.popup.Show()

	self.stream.SetConnectInfo("IPDEVOTRESERVEUR", 13003, "IPDEVOTRESERVEUR", 11002) 
	net.SetServerInfo("GreatestMt2 - Ch 4")
	net.SetMarkServer("IPDEVOTRESERVEUR", 13003)
	self.serverInfo.SetText("GreatestMt2 - Ch 4")
	app.SetGuildMarkPath("10.tga")
	app.SetGuildSymbolPath("10") 
 

 

 

Have fun !

Emulateur.

 

  • Metin2 Dev 1
  • Love 5
Lien vers le commentaire
Partager sur d’autres sites

  • 2 semaines après...
  • 1 mois après...
  • 1 mois après...
  • 2 semaines après...
  • 4 ans après...


Information importante

Conditions d’utilisation / Politique de confidentialité / Règles / Nous avons placé des cookies sur votre appareil pour aider à améliorer ce site. Vous pouvez choisir d’ajuster vos paramètres de cookie, sinon nous supposerons que vous êtes d’accord pour continuer.