Çözüldü Kod hatası !

  • Konuyu açan Konuyu açan SadClowN
  • Açılış Tarihi Açılış Tarihi
  • Yanıt Yanıt 10
  • Gösterim Gösterim 905
Bu konu çözüme ulaştırılmıştır. Çözüm için konuya yazılan tüm yorumları okumayı unutmayın. Eğer konudaki yorumlar sorununuzu çözmediyse yeni bir konu açabilirsiniz.
Durum
İçerik kilitlendiği için mesaj gönderimine kapatıldı.

SadClowN

MT Üye
MT Üye
Mesaj
194
Çözümler
5
Beğeni
90
Puan
704
Ticaret Puanı
0
Şimdi ben eşya kodlarını itemin üstünde gösteren bir sistem arıyordum ve buldumda.
herkez oldu demiş fakat bu kodlarda yada benim eklememde bir sıkıntı var galiba ben size paylaşayım bu kodları nerde eksik yaptıysam söylerseniz çok sevinirim.
2 farklı hata aldım.
1.Giriş yapılıyordan sonra client kapanıyor.
2.Oyuna giriyorum itemlerin üstünde hiçbirşey yazmıyor.

Paylaşılan Kod:
Genişlet Daralt Kopyala
#uitooltip.py - açılır

#aratılır birden fazla olabilir def __DragonSoulInfoString (self, dwVnum):  üstünde olanı bulun

        self.ShowToolTip()

#üstüne eklenir

        if chr.IsGameMaster(player.GetMainCharacterIndex()):
            self.AppendTextLine(localeInfo.ITEM_VNUM_TOOLTIP % (int(itemVnum)), self.SINIRSIZ_COLOR)

# https://prnt.sc/hrtf6a


# aratılır

    NEED_SKILL_POINT_COLOR = 0xff9A9CDB

#altına eklenir

        SINIRSIZ_COLOR = 0xffFFFF00



#locale_game.txt açılır ve eklenir

ITEM_VNUM_TOOLTIP    Nesne Kodu: %d

1. Kod Satırım:
Genişlet Daralt Kopyala
            elif item.LIMIT_TIMER_BASED_ON_WEAR == limitType:
                self.AppendTimerBasedOnWearLastTime(metinSlot)
                #dbg.TraceError("1) REAL_TIME flag On ")

        self.__AppendSealInformation(window_type, slotIndex) ## cyh itemseal 2013 11 11

    if chr.IsGameMaster(player.GetMainCharacterIndex()):
        self.AppendTextLine(localeInfo.ITEM_VNUM_TOOLTIP % (int(itemVnum)), self.SINIRSIZ_COLOR)
        self.ShowToolTip()

    def __DragonSoulInfoString (self, dwVnum):
        step = (dwVnum / 100) % 10
        refine = (dwVnum / 10) % 10
        if 0 == step:
            return localeInfo.DRAGON_SOUL_STEP_LEVEL1 + " " + localeInfo.DRAGON_SOUL_STRENGTH(refine)
        elif 1 == step:
2. Kod Satırım:
Genişlet Daralt Kopyala
    CONDITION_COLOR = 0xffBEB47D
    CAN_LEVEL_UP_COLOR = 0xff8EC292
    CANNOT_LEVEL_UP_COLOR = DISABLE_COLOR
    NEED_SKILL_POINT_COLOR = 0xff9A9CDB
    SINIRSIZ_COLOR = 0xffFFFF00

    def __init__(self, width = TOOL_TIP_WIDTH, isPickable=False):
        ui.ThinBoard.__init__(self, "TOP_MOST")

Locale Game.txt:
Genişlet Daralt Kopyala
USE_ITEM_QUESTION_02    Öldürüldüğün yere geri dönmek istiyor musun?\n Bunun sana maliyeti %s Yang.
USE_ITEM_QUESTION_03    Rastgele bir konuma ışınlanacaksın. Girmek istiyor musun?
USE_ITEM_QUESTION_04    Beş Tapınağın Savaşı'na girdiğinde bütün Buffların devre dışı kalır.\nRastgele bir konuma ışınlanırsın.\nGirmek istiyor musun?
USE_ITEM_QUESTION_05    Beş Tapınağın Savaşı'na girdiğinde bütün Buffların devre dışı kalır.\nÖldüğün yere geri dönmek ister misin?\nMaliyet: %s Yang.
USE_SKILL_ERROR_UNKNOWN    Bilinmeyen Beceri Hatası: %s
ITEM_VNUM_TOOLTIP    Nesne Kodu: %d

Sistem Kaynağı =
Linkleri görebilmek için giriş yap veya kayıt ol.
 
Bu kodu bir tab ileri it.
Python:
Genişlet Daralt Kopyala
if chr.IsGameMaster(player.GetMainCharacterIndex()):
        self.AppendTextLine(localeInfo.ITEM_VNUM_TOOLTIP % (int(itemVnum)), self.SINIRSIZ_COLOR)
 

Dosya Eklentileri

  • 1602094376800.png
    1602094376800.png
    86,8 KB · Gösterim: 153
peki bu konuya syserr.txt nin bir sözü yok mu? :D syserr atsana
 
bu sistemi her files değiştirmemde kullanıyordum :) SINIRSIZ_COLOR görünce artık şaşırmamaya başladım.

self.ShowToolTip() ile kodun arasındaki boşluğu silin.
SINIRSIZ_COLOR ile def __init__(self, width = TOOL_TIP_WIDTH, isPickable=False): arasındaki boşluğu silin

Bir de böyle deneyin
 
Son düzenleme:
Buyrunn :D
Sysser:
Genişlet Daralt Kopyala
1007 21:24:04395 :: ResourceManager::GetResourcePointer: NOT SUPPORT FILE d:\ymir work\pc\common\effect\aura\aura_01_49_001.mse
1007 21:24:04396 :: ResourceManager::GetResourcePointer: NOT SUPPORT FILE d:\ymir work\pc\common\effect\aura\aura_01_49_001.mse
1007 21:24:04396 :: ResourceManager::GetResourcePointer: NOT SUPPORT FILE d:\ymir work\pc\common\effect\aura\aura_50_99_002.mse
1007 21:24:04396 :: ResourceManager::GetResourcePointer: NOT SUPPORT FILE d:\ymir work\pc\common\effect\aura\aura_50_99_002.mse
1007 21:24:04396 :: ResourceManager::GetResourcePointer: NOT SUPPORT FILE d:\ymir work\pc\common\effect\aura\aura_100_149_003.mse
1007 21:24:04396 :: ResourceManager::GetResourcePointer: NOT SUPPORT FILE d:\ymir work\pc\common\effect\aura\aura_100_149_003.mse
1007 21:24:04396 :: ResourceManager::GetResourcePointer: NOT SUPPORT FILE d:\ymir work\pc\common\effect\aura\aura_150_199_004.mse
1007 21:24:04396 :: ResourceManager::GetResourcePointer: NOT SUPPORT FILE d:\ymir work\pc\common\effect\aura\aura_150_199_004.mse
1007 21:24:04396 :: ResourceManager::GetResourcePointer: NOT SUPPORT FILE d:\ymir work\pc\common\effect\aura\aura_200_249_005.mse
1007 21:24:04396 :: ResourceManager::GetResourcePointer: NOT SUPPORT FILE d:\ymir work\pc\common\effect\aura\aura_200_249_005.mse
1007 21:24:04396 :: ResourceManager::GetResourcePointer: NOT SUPPORT FILE d:\ymir work\pc\common\effect\aura\aura_250_006.mse
1007 21:24:04396 :: ResourceManager::GetResourcePointer: NOT SUPPORT FILE d:\ymir work\pc\common\effect\aura\aura_250_006.mse
1007 21:24:04484 ::
networkModule.py(line:200) SetSelectCharacterPhase
system.py(line:177) __hybrid_import
system.py(line:142) _process_result
introSelect.py(line:23) <module>
system.py(line:177) __hybrid_import
system.py(line:142) _process_result
uiAffectShower.py(line:8) <module>
system.py(line:177) __hybrid_import

networkModule.SetSelectCharacterPhase - <type 'exceptions.IndentationError'>:unexpected indent (uiToolTip.py, line 95)

1007 21:24:04484 :: ============================================================================================================
1007 21:24:04484 :: Abort!!!!

@Elisia
 
Buyrunn :D
Sysser:
Genişlet Daralt Kopyala
1007 21:24:04395 :: ResourceManager::GetResourcePointer: NOT SUPPORT FILE d:\ymir work\pc\common\effect\aura\aura_01_49_001.mse
1007 21:24:04396 :: ResourceManager::GetResourcePointer: NOT SUPPORT FILE d:\ymir work\pc\common\effect\aura\aura_01_49_001.mse
1007 21:24:04396 :: ResourceManager::GetResourcePointer: NOT SUPPORT FILE d:\ymir work\pc\common\effect\aura\aura_50_99_002.mse
1007 21:24:04396 :: ResourceManager::GetResourcePointer: NOT SUPPORT FILE d:\ymir work\pc\common\effect\aura\aura_50_99_002.mse
1007 21:24:04396 :: ResourceManager::GetResourcePointer: NOT SUPPORT FILE d:\ymir work\pc\common\effect\aura\aura_100_149_003.mse
1007 21:24:04396 :: ResourceManager::GetResourcePointer: NOT SUPPORT FILE d:\ymir work\pc\common\effect\aura\aura_100_149_003.mse
1007 21:24:04396 :: ResourceManager::GetResourcePointer: NOT SUPPORT FILE d:\ymir work\pc\common\effect\aura\aura_150_199_004.mse
1007 21:24:04396 :: ResourceManager::GetResourcePointer: NOT SUPPORT FILE d:\ymir work\pc\common\effect\aura\aura_150_199_004.mse
1007 21:24:04396 :: ResourceManager::GetResourcePointer: NOT SUPPORT FILE d:\ymir work\pc\common\effect\aura\aura_200_249_005.mse
1007 21:24:04396 :: ResourceManager::GetResourcePointer: NOT SUPPORT FILE d:\ymir work\pc\common\effect\aura\aura_200_249_005.mse
1007 21:24:04396 :: ResourceManager::GetResourcePointer: NOT SUPPORT FILE d:\ymir work\pc\common\effect\aura\aura_250_006.mse
1007 21:24:04396 :: ResourceManager::GetResourcePointer: NOT SUPPORT FILE d:\ymir work\pc\common\effect\aura\aura_250_006.mse
1007 21:24:04484 ::
networkModule.py(line:200) SetSelectCharacterPhase
system.py(line:177) __hybrid_import
system.py(line:142) _process_result
introSelect.py(line:23) <module>
system.py(line:177) __hybrid_import
system.py(line:142) _process_result
uiAffectShower.py(line:8) <module>
system.py(line:177) __hybrid_import

networkModule.SetSelectCharacterPhase - <type 'exceptions.IndentationError'>:unexpected indent (uiToolTip.py, line 95)

1007 21:24:04484 :: ============================================================================================================
1007 21:24:04484 :: Abort!!!!

@Elisia
Knk uitooltip.py atsana bir bakim. Ama dosya olarak yükle.
 
Durum
İçerik kilitlendiği için mesaj gönderimine kapatıldı.
Üst