Bulundu Sistem mesajları hk.

Konu sahibinin aradığı materyalleri bulduğu için "Bulundu" öneki eklenmiştir. Eğer aynı materyalleri arıyorsanız yorumlara bakabilirsiniz. İstediğiniz materyallere bu konuda bulamadıysanız yeni konu açabilirsiniz.
Durum
İçerik kilitlendiği için mesaj gönderimine kapatıldı.

CalvinGiorgio

Üye
Üye
Mesaj
742
Çözümler
15
Beğeni
99
Puan
539
Ticaret Puanı
0
1647630435113.png

1647630538150.png

aradaki farkı görüyorsunuz resimleri nasıl değiştirebiliriz fonksiyonlar üzerinden araştırdım felan birşey bulamadım.
biyolog sistem mesaj yazısı
sistem mesajı
normal mesaj
efsun bot mesaj
 
Çözüm
Merhaba elimde normal mesaj , efsun mesaj ve gm mesaj payton kodu var, biyolog mesajı ve sistem mesajı elimde yok.
root / interfacemodule:
Search:
    def __MakeWhisperButton(self, name):

Change like This:
    def __MakeWhisperButton(self, name):
        whisperButton = uiWhisper.WhisperButton()
        if self.IsGameMasterName(name): # Neue GM-Icon
            whisperButton.SetUpVisual("d:/ymir work/ui/game/windows/gm_logo.tga")
            whisperButton.SetOverVisual("d:/ymir work/ui/game/windows/gm_logo.tga")
            whisperButton.SetDownVisual("d:/ymir work/ui/game/windows/gm_logo.tga")
            whisperButton.SetToolTipTextWithColor(name, 0xffffa200)
        elif name == "[Switchbot]": # So kannst du z.b. [CYN3] oder [Switchbot] abfragen und eine neue Icon...
Merhaba elimde normal mesaj , efsun mesaj ve gm mesaj payton kodu var, biyolog mesajı ve sistem mesajı elimde yok.
root / interfacemodule:
Search:
    def __MakeWhisperButton(self, name):

Change like This:
    def __MakeWhisperButton(self, name):
        whisperButton = uiWhisper.WhisperButton()
        if self.IsGameMasterName(name): # Neue GM-Icon
            whisperButton.SetUpVisual("d:/ymir work/ui/game/windows/gm_logo.tga")
            whisperButton.SetOverVisual("d:/ymir work/ui/game/windows/gm_logo.tga")
            whisperButton.SetDownVisual("d:/ymir work/ui/game/windows/gm_logo.tga")
            whisperButton.SetToolTipTextWithColor(name, 0xffffa200)
        elif name == "[Switchbot]": # So kannst du z.b. [CYN3] oder [Switchbot] abfragen und eine neue Icon zuweisen.
            whisperButton.SetUpVisual("d:/ymir work/ui/game/windows/switchbot_icon.tga")
            whisperButton.SetOverVisual("d:/ymir work/ui/game/windows/switchbot_icon.tga")
            whisperButton.SetDownVisual("d:/ymir work/ui/game/windows/switchbot_icon.tga")
            whisperButton.SetToolTipTextWithColor(name, 0xff7fff00)
        else: # Default
            whisperButton.SetUpVisual("d:/ymir work/ui/game/windows/btn_mail_up.sub")
            whisperButton.SetOverVisual("d:/ymir work/ui/game/windows/btn_mail_up.sub")
            whisperButton.SetDownVisual("d:/ymir work/ui/game/windows/btn_mail_up.sub")
            whisperButton.SetToolTipText(name)
        whisperButton.ToolTipText.SetHorizontalAlignCenter()
        whisperButton.SetEvent(ui.__mem_func__(self.ShowWhisperDialog), whisperButton)
        whisperButton.Show()
        whisperButton.name = name

        self.whisperButtonList.insert(0, whisperButton)
        self.__ArrangeWhisperButton()

        return whisperButton
 

Dosya Eklentileri

  • windows.rar
    5,2 KB · Gösterim: 1
Çözüm
Merhaba elimde normal mesaj , efsun mesaj ve gm mesaj payton kodu var, biyolog mesajı ve sistem mesajı elimde yok.
root / interfacemodule:
Search:
    def __MakeWhisperButton(self, name):

Change like This:
    def __MakeWhisperButton(self, name):
        whisperButton = uiWhisper.WhisperButton()
        if self.IsGameMasterName(name): # Neue GM-Icon
            whisperButton.SetUpVisual("d:/ymir work/ui/game/windows/gm_logo.tga")
            whisperButton.SetOverVisual("d:/ymir work/ui/game/windows/gm_logo.tga")
            whisperButton.SetDownVisual("d:/ymir work/ui/game/windows/gm_logo.tga")
            whisperButton.SetToolTipTextWithColor(name, 0xffffa200)
        elif name == "[Switchbot]": # So kannst du z.b. [CYN3] oder [Switchbot] abfragen und eine neue Icon zuweisen.
            whisperButton.SetUpVisual("d:/ymir work/ui/game/windows/switchbot_icon.tga")
            whisperButton.SetOverVisual("d:/ymir work/ui/game/windows/switchbot_icon.tga")
            whisperButton.SetDownVisual("d:/ymir work/ui/game/windows/switchbot_icon.tga")
            whisperButton.SetToolTipTextWithColor(name, 0xff7fff00)
        else: # Default
            whisperButton.SetUpVisual("d:/ymir work/ui/game/windows/btn_mail_up.sub")
            whisperButton.SetOverVisual("d:/ymir work/ui/game/windows/btn_mail_up.sub")
            whisperButton.SetDownVisual("d:/ymir work/ui/game/windows/btn_mail_up.sub")
            whisperButton.SetToolTipText(name)
        whisperButton.ToolTipText.SetHorizontalAlignCenter()
        whisperButton.SetEvent(ui.__mem_func__(self.ShowWhisperDialog), whisperButton)
        whisperButton.Show()
        whisperButton.name = name

        self.whisperButtonList.insert(0, whisperButton)
        self.__ArrangeWhisperButton()

        return whisperButton
Linkleri görebilmek için giriş yap veya kayıt ol.

teşekkür ederim oldu.
 
Durum
İçerik kilitlendiği için mesaj gönderimine kapatıldı.
Geri
Üst