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

problème couleur métin minimap


zouzoupette

Question

Bonjour , je recherche la solution à ce problème si quelq'un sais m'aidé 

 

merci

0222 10:34:19846 :: Traceback (most recent call last):

 

0222 10:34:19847 ::   File "introLoading.py", line 208, in LoadData

 

0222 10:34:19847 ::   File "introLoading.py", line 283, in __RegisterColor

 

0222 10:34:19848 :: AttributeError

0222 10:34:19848 :: : 

0222 10:34:19848 :: 'module' object has no attribute 'NAMECOLOR_METIN'

0222 10:34:19848 ::

Lien vers le commentaire
Partager sur d’autres sites

  • Réponses 16
  • Créé
  • Dernière réponse

Meilleurs contributeurs dans cette question

Meilleurs contributeurs dans cette question

16 réponses à cette question

Messages recommandés

  • 0

il est bien mis dedans aussi 

 

{

NAMECOLOR_MOB,

NAMECOLOR_NPC,

NAMECOLOR_PC,

NAMECOLOR_PC_END = NAMECOLOR_PC + EMPIRE_NUM,

NAMECOLOR_NORMAL_MOB,

NAMECOLOR_NORMAL_NPC,

NAMECOLOR_NORMAL_PC,

NAMECOLOR_NORMAL_PC_END = NAMECOLOR_NORMAL_PC + EMPIRE_NUM,

NAMECOLOR_EMPIRE_MOB,

NAMECOLOR_EMPIRE_NPC,

NAMECOLOR_EMPIRE_PC,

NAMECOLOR_EMPIRE_PC_END = NAMECOLOR_EMPIRE_PC + EMPIRE_NUM,

NAMECOLOR_FUNC,

NAMECOLOR_PK,

NAMECOLOR_PVP,

NAMECOLOR_PARTY,

NAMECOLOR_WARP,

NAMECOLOR_WAYPOINT,

NAMECOLOR_METIN,

NAMECOLOR_EXTRA = NAMECOLOR_FUNC + 10,

NAMECOLOR_NUM = NAMECOLOR_EXTRA + 10,

};

Lien vers le commentaire
Partager sur d’autres sites

  • 0

il est bon aussi je ne comprend vraiment pas là 

 

## Name

NAME_COLOR_DICT = {

chrmgr.NAMECOLOR_PC : colorInfo.CHR_NAME_RGB_PC,

chrmgr.NAMECOLOR_NPC : colorInfo.CHR_NAME_RGB_NPC,

chrmgr.NAMECOLOR_MOB : colorInfo.CHR_NAME_RGB_MOB,

chrmgr.NAMECOLOR_PVP : colorInfo.CHR_NAME_RGB_PVP,

chrmgr.NAMECOLOR_PK : colorInfo.CHR_NAME_RGB_PK,

chrmgr.NAMECOLOR_PARTY : colorInfo.CHR_NAME_RGB_PARTY,

chrmgr.NAMECOLOR_WARP : colorInfo.CHR_NAME_RGB_WARP,

chrmgr.NAMECOLOR_WAYPOINT : colorInfo.CHR_NAME_RGB_WAYPOINT,

chrmgr.NAMECOLOR_METIN : colorInfo.CHR_NAME_RGB_METIN,

 

chrmgr.NAMECOLOR_EMPIRE_MOB : colorInfo.CHR_NAME_RGB_EMPIRE_MOB,

chrmgr.NAMECOLOR_EMPIRE_NPC : colorInfo.CHR_NAME_RGB_EMPIRE_NPC,

chrmgr.NAMECOLOR_EMPIRE_PC+1 : colorInfo.CHR_NAME_RGB_EMPIRE_PC_A,

chrmgr.NAMECOLOR_EMPIRE_PC+2 : colorInfo.CHR_NAME_RGB_EMPIRE_PC_B,

chrmgr.NAMECOLOR_EMPIRE_PC+3 : colorInfo.CHR_NAME_RGB_EMPIRE_PC_C,

}

 

et le color aussi 

 

CHR_NAME_RGB_MOB = (235, 22, 9)

CHR_NAME_RGB_NPC = (122, 231, 93)

CHR_NAME_RGB_PC = (255, 215, 76)

CHR_NAME_RGB_PK = (180, 100, 0)

CHR_NAME_RGB_PVP = (238, 54, 223)

CHR_NAME_RGB_PARTY = (128, 192, 255)

CHR_NAME_RGB_WARP = (136, 218, 241)

CHR_NAME_RGB_WAYPOINT = (255, 255, 255)

CHR_NAME_RGB_METIN = (240, 255, 255)

 

CHR_NAME_RGB_EMPIRE_MOB = (235, 22, 9)

CHR_NAME_RGB_EMPIRE_NPC = (122, 231, 93)

CHR_NAME_RGB_EMPIRE_PC_A = (157, 0, 0)

CHR_NAME_RGB_EMPIRE_PC_B = (222, 160, 47)

CHR_NAME_RGB_EMPIRE_PC_C = (23, 30, 138)

Lien vers le commentaire
Partager sur d’autres sites

  • 0
  • Robot

Après avoir essayer de recréer l'erreur sur mon serveur( qui d'ailleurs j'ai réussi), c'est soit un manque de tabulation dans les fichiers python ou le fait que tu ais oublié l'une de ces fonctions :

 

    PyModule_AddIntConstant(poModule, "NAMECOLOR_METIN", CInstanceBase::NAMECOLOR_METIN);

 

OU

 

         NAMECOLOR_METIN,

french_banner.gif

Lien vers le commentaire
Partager sur d’autres sites

Invité
Ce sujet ne peut plus recevoir de nouvelles réponses.


  • brilliantdiscord_widget
  • Flux d'Activité

    1. 37
    2. 21

      Metin2 en 2020 peut-on en parler?

    3. 0

      METIN2Project

    4. 3

      Ressources - UnPack - Metin2 Client - Officiel

    5. 0

      Barre des tâches d'argent étendue

    6. 16

      Redémarrage automatique des channels

    7. 16

      Multi Logo GM / SGM / GA

  • En ligne récemment

    • Aucun utilisateur enregistré regarde cette page.

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.