Jump to content
La fin ?! Elle est là ! ×
×
×
  • Create New...
  • 0

problème couleur métin minimap


zouzoupette
 Share

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 ::

Link to comment
Share on other sites

  • Answers 16
  • Created
  • Last Reply

Top Posters For This Question

16 answers to this question

Recommended Posts

  • 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,

};

Link to comment
Share on other 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)

Link to comment
Share on other sites

  • 0
  • Bot

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

Link to comment
Share on other sites

  • 0

Salut,

 

Un peu tard, mais je me suis rappelé d'un petit truc. Dans certains clients, il y a aussi un fichier intrologin.py dans les dossiers du client, je crois le dossier lib.

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.