Jump to content

Metin2 PM chat problem


Recommended Posts

Salutare.. am si eu o problema cu butonul [PM] care apare in chant, pana acum mergea si acum numai merge.

 

        if net.GetEmpireID() == 1:
            self.__SendChatPacket(constInfo.pm_button+'|cFF47DA00|Hpm_button:'+str(player.GetName())+'|h[PM]|h|r'+" "+text[1:], chat.CHAT_TYPE_SHOUT)
        elif net.GetEmpireID() == 2:
            self.__SendChatPacket(constInfo.pm_button+'|cFF47DA00|Hpm_button:'+str(player.GetName())+'|h[PM]|h|r'+" "+text[1:], chat.CHAT_TYPE_SHOUT)
        elif net.GetEmpireID() == 3:
            self.__SendChatPacket(constInfo.pm_button+'|cFF47DA00|Hpm_button:'+str(player.GetName())+'|h[PM]|h|r'+" "+text[1:], chat.CHAT_TYPE_SHOUT)
 

Asta e bucata de cod, am si in cosnstinfo pm_button = ''

Dupa cum spuneam , mergea inainte, deci a fost implementata corect, am inceput sa am problema asta de cand am implementat lucrurile astea 2:

 

CTRL+V in game: https://metin2dev.org/board/index.php?/topic/9742-can-somebody-know-how-to-ctrlc-and-ctrlv-in-game/

Link in game: 

This is the hidden content, please

Am compilat sursa game fara nici un fel de eroare, si syserr la client nu are nici el erori inauntru.

As aprecia ajutorul vostru :D

 

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

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.