Yardım Zindan Takip Sistemi Flag Animation Hatası

  • Konuyu açan Konuyu açan lmaohw
  • Açılış Tarihi Açılış Tarihi
  • Yanıt Yanıt 7
  • Gösterim Gösterim 255
Konu sahibi bu konuda soru soruyor. Sorusu ile ilgili bilgisi olanların yanıtlamasını bekliyor.

lmaohw

Premium Üye
Premium Üye
MT Üye
Mesaj
163
Çözümler
8
Beğeni
60
Puan
474
Ticaret Puanı
0
Merhaba sunucuya zindan takip ekledim fakat şöyle bir sorun yaşıyorum aşağıdaki görselde gördüğünüz gibi ork reisine tıklıyorum fakat tıklamıyor işlemiyor sysserde şu yazmakta flag animationları kapatsam dahi bir şey değişmiyor yine tıklamayla ilgili sorun yaşıyorum anladığım kadarıyla ui.pyden kaynaklı bir sorun var
Linkleri görebilmek için giriş yap veya kayıt ol.


sysser:
Genişlet Daralt Kopyala
0603 23:17:12291 :: Unknown window flag animation
0603 23:17:28544 :: Unknown window flag animation
0603 23:17:51924 :: Unknown window flag animation

1717445952768.png


uibossarena.py:
Genişlet Daralt Kopyala
import app
import ui
import uiScriptLocale
import constInfo
import net
import player
import nonplayer
import uiToolTip
import item
import localeInfo
import grid2


def HAS_FLAG(value, flag):
    return (value & flag) == flag
  
  
def CalcTime(time):
    second = int(time % 60)
    minute = int((time / 60) % 60)
    hour = int(((time / 60) / 60) % 24)
    day = int(((time / 60) / 60) / 24)

    text = ""

    if day > 0:
        if day > 10:
            text += str(day) + ":"
        else:
            text += "0"+str(day) + ":"

    if hour >= 10:
        text += str(hour) + ":"     
    elif hour == 0 or hour < 0:
        text += "00:"
    elif hour < 10 and hour != 0:
        text += "0"+str(hour) + ":"


    if minute >= 10:
        text += str(minute) + ":"
    elif minute == 0 or minute < 0:
        text += "00:"
    elif minute < 10 and minute != 0:
        text += "0"+str(minute) + ":"
              
              
    if second >= 10:
        text += str(second) + ""
    elif second == 0 or second < 0:
        text += "00"
    elif second < 10 and second != 0:
        text += "0"+str(second)+ ""

    return text
  
  
class BossArena(ui.ScriptWindow):
  
  
    LIST_LIMIT = 7
  
  
    RACE_FLAG_TO_NAME = {
                1 << 0  : localeInfo.TARGET_INFO_RACE_ANIMAL,
                1 << 1     : localeInfo.TARGET_INFO_RACE_UNDEAD,
                1 << 2  : localeInfo.TARGET_INFO_RACE_DEVIL,
                1 << 3  : localeInfo.TARGET_INFO_RACE_HUMAN,
                1 << 4  : localeInfo.TARGET_INFO_RACE_ORC,
                1 << 5  : localeInfo.TARGET_INFO_RACE_MILGYO,
              
            }
          
    SUB_RACE_FLAG_TO_NAME = {
                1 << 11 : localeInfo.TARGET_INFO_RACE_ELEC,
                1 << 12 : localeInfo.TARGET_INFO_RACE_FIRE,
                1 << 13 : localeInfo.TARGET_INFO_RACE_ICE,
                1 << 14 : localeInfo.TARGET_INFO_RACE_WIND,
                1 << 15 : localeInfo.TARGET_INFO_RACE_EARTH,
                1 << 16 : localeInfo.TARGET_INFO_RACE_DARK,
            }
          
    ELEMENT_IMAGE = {
                1 << 11 : "elect",
                1 << 12 : "fire",
                1 << 13 : "ice",
                1 << 14 : "wind",
                1 << 15 : "earth",
                1 << 16 : "dark",
            }

    class SearchResultItem(ui.Window):
        def __init__(self, original, parent, index):
            ui.Window.__init__(self)

            self.parent = original

            self.isLoad = True
            self.isSelected = False
            self.toolTip = uiToolTip.ToolTip()

            self.index = index
            self.vnum = 0
            self.status = 0
            self.cd = 0
            self.minlv = 0
            self.maxlv = 0
            self.lv = player.GetStatus(player.LEVEL)

            self.SetParent(parent)
            self.InitItem()

          
        def InitItem(self):
          
            # self.list_bg = ui.MakeImageBox(self, "d:/ymir work/ui/bossarena/list_bg1.png", 6, -24)
            self.list_bg = ui.MakeImageBox(self, "d:/ymir work/ui/bossarena/list_bg1.png", 3, 5)
            self.list_bg.SAFE_SetStringEvent("MOUSE_LEFT_UP",self.__OnSelect)
            self.list_bg.SetTop()
            self.list_bg.Show()
          

            self.slot = ui.MakeImageBox(self,"d:/ymir work/ui/bossarena/slot.png",10,5)
            self.slot.SetParent(self.list_bg)
            self.slot.Show()         
            self.slot.SAFE_SetStringEvent("MOUSE_OVER_IN", self.OverInItem)
            self.slot.SAFE_SetStringEvent("MOUSE_OVER_OUT", self.OverOutItem)
          
            self.bossimg = ui.MakeImageBox(self,"d:/ymir work/ui/bossarena/slot.png",1,1)
            self.bossimg.SetParent(self.list_bg)
            self.bossimg.Show()         
          
            self.count = ui.TextLine()
            self.count.SetParent(self.slot)
            self.count.SetPosition(23, 23)
            self.count.SetOutline()
            self.count.Show()

            self.bossname = ui.TextLine()
            self.bossname.SetParent(self)
            self.bossname.SetPosition(75, 21)
            self.bossname.Show()
          
            self.statustxt = ui.TextLine()
            self.statustxt.SetParent(self.list_bg)
            self.statustxt.SetPosition(234, 17)
            self.statustxt.Show()
          
            self.cooldown = ui.TextLine()
            self.cooldown.SetParent(self.list_bg)
            self.cooldown.SetPosition(228, 17)
            self.cooldown.Hide()

                      
            self.SetSize(self.list_bg.GetWidth(), self.list_bg.GetHeight())
          

        def SetBossImg(self, vnum):
            self.bossimg.LoadImage("d:/ymir work/ui/bossarena/%s.png" % (str(vnum)))
      
          
        def SetBossName(self, name):
            self.bossname.SetText(nonplayer.GetMonsterName(int(name)))

        def SetCooldown(self, cd):
          
            if self.status == 0:
                self.statustxt.SetText("Kapalı")
                self.statustxt.SetPosition(233, 17)
                self.cooldown.Hide()
            elif (int(cd) - app.GetGlobalTimeStamp() > 0) and self.status == 1:
                if self.lv >= self.minlv and self.lv <= self.maxlv:
                    # self.statustxt.SetText("Kalan Süre")
                    self.statustxt.SetPosition(234, 17)
                    self.cooldown.SetText(CalcTime(int(cd)-app.GetGlobalTimeStamp()))
                    self.cooldown.Show()
                else:
                    self.statustxt.SetText("Yetersiz Seviye")
                    self.statustxt.SetPosition(214, 17)
                    self.cooldown.Hide()
            elif (int(cd) - app.GetGlobalTimeStamp() <= 0) and self.status == 1:
                if self.lv >= self.minlv and self.lv <= self.maxlv:
                    self.statustxt.SetText("Aktif") 
                    self.statustxt.SetPosition(234, 17)
                    self.cooldown.Hide()
                else:
                    self.statustxt.SetText("Yetersiz Seviye") 
                    self.statustxt.SetPosition(214, 17)
                    self.cooldown.Hide()
              
            self.cd = int(cd)
          
        def SetStatus(self, status):
            self.status = int(status)
          
        def SetLevel(self, minlv, maxlv):
            self.minlv = int(minlv)
            self.maxlv = int(maxlv)

      
        def SetSlot(self, vnum, count):
            item.SelectItem(int(vnum))
            self.toolTip.ClearToolTip()
            self.toolTip.AppendTextLine("%s x%s" % (item.GetItemName(),count))
            self.toolTip.AlignHorizonalCenter()
          
            # self.slot.LoadImage(item.GetIconImageFileName())

            # self.count.SetText(str(count)) Bura taşınacak
          
            if int(count) == 0:
                self.count.Hide()
            else:
                self.count.Show()
          
            self.vnum = int(vnum)
      
      
        def OverInItem(self):
            self.toolTip.ShowToolTip()
          
        def OverOutItem(self):
            self.toolTip.HideToolTip()

      
        def __OnSelect(self):
            self.parent.OnSearchResultItemSelect(self.index)

        def Select(self):

            self.isSelected = True
            self.isLoad = True

        def UnSelect(self):
            self.isSelected = False
            self.isLoad = True


        def OnUpdate(self):
            if (int(self.cd) - app.GetGlobalTimeStamp() > 0) and self.status == 1:
                if self.lv >= self.minlv and self.lv <= self.maxlv:
                    # self.statustxt.SetText("Kalan Süre")
                    self.statustxt.SetPosition(234, 17)
                    self.cooldown.SetText(CalcTime(int(self.cd) - app.GetGlobalTimeStamp()))
                    self.cooldown.Show()
            else:
                self.SetCooldown(self.cd)



        def OnRender(self):
            if self.isLoad:
                if self.isSelected:
                    self.list_bg.LoadImage("d:/ymir work/ui/bossarena/list_bg1.png")
                else:
                    if self.status == 0:
                        self.list_bg.LoadImage("d:/ymir work/ui/bossarena/list_bg5.png")
                    elif self.status == 1 and (self.cd - app.GetGlobalTimeStamp() > 0):
                        self.list_bg.LoadImage("d:/ymir work/ui/bossarena/list_bg3.png")
                    elif self.status == 1 and (self.cd - app.GetGlobalTimeStamp() <= 0):
                        if self.lv >= self.minlv and self.lv <= self.maxlv:
                            self.list_bg.LoadImage("d:/ymir work/ui/bossarena/list_bg4.png")
                        else:
                            self.list_bg.LoadImage("d:/ymir work/ui/bossarena/list_bg2.png")
                self.isLoad = False


    def __init__(self):
        ui.ScriptWindow.__init__(self)

        self.selectedItemIndex = -1
        self.board = None
        self.secilen = 0
        self.firstload = 0
        self.timerdone = 0
        self.timer = 0
        self.checked = 0
        self.Scroll = None
        self.ShowingStartIndex = None
        self.searchResultItems = []
        self.slotvnum = []
        self.m_pGrid = grid2.PythonGrid(7, 6)
      
        self.tooltipItem = uiToolTip.ItemToolTip()
        self.tooltipItem.Hide()
      
        self.LoadWindow()
      
        # if app.ENABLE_ANIMATION_UI:
            # self.AddFlag("animation")


    def __del__(self):
        self.Destroy()
        ui.ScriptWindow.__del__(self)

    def LoadWindow(self):
        try:
            pyScrLoader = ui.PythonScriptLoader()
            pyScrLoader.LoadScriptFile(self, "uiscript/bossarena.py")
        except:
            import exception
            exception.Abort("BossArena.LoadDialog.LoadScript")

        try:
            GetObject=self.GetChild
            self.board = GetObject("board")
            self.bg = GetObject("bg")
            # self.scroll_bg = GetObject("scroll_bg")
            self.info_bg = GetObject("info_bg")
            self.Scroll = self.GetChild("info_ScrollBar")
            self.spawn_button = self.GetChild("spawn_button")
            self.test_button = self.GetChild("test_button")
            self.RefreshSymbol = self.GetChild("RefreshSymbol")
            self.boss_bg = self.GetChild("boss_bg")
            self.bossname = self.GetChild("bossname")
            self.lv = self.GetChild("lv")
            self.GerekenItem = self.GetChild("GerekenItem")
            # self.attr = self.GetChild("attr")
            self.element = self.GetChild("element")
            self.checkbox = self.GetChild("checkbox")
            self.clear_dungeon = self.GetChild("clear_dungeon")
            # self.clear_all_dungeon = self.GetChild("clear_all_dungeon")
            self.dropinfo = self.GetChild("dropinfo")
          
            self.clear_dungeon.SetEvent(ui.__mem_func__(self.ClearButton))
            # self.clear_all_dungeon.SetEvent(ui.__mem_func__(self.ClearAllButton))
            self.spawn_button.SetEvent(ui.__mem_func__(self.SpawnButton))
            self.test_button.SetEvent(ui.__mem_func__(self.TestSpawnButton))
            self.Scroll.SetScrollEvent(ui.__mem_func__(self.OnQuestScroll))
            self.board.SetCloseEvent(ui.__mem_func__(self.__OnCloseButtonClick))
            self.checkbox.SetToggleUpEvent(self.CheckBoxEvent)
            self.checkbox.SetToggleDownEvent(self.CheckBoxEvent)
          
            self.dropinfo.SetOverInItemEvent(ui.__mem_func__(self.OverInItem))
            self.dropinfo.SetOverOutItemEvent(ui.__mem_func__(self.OverOutItem))
                      
            self.ShowingStartIndex = 0
            self.secilen = 0
            self.firstload = 0
            self.searchResultItems = []

        except:
            import exception
            exception.Abort("BossArena.LoadDialog.BindObject")

    # def OnRunMouseWheel(self, nLen):
        # if nLen > 0:
            # self.Scroll.OnUp()
        # else:
            # self.Scroll.OnDown()


    def Destroy(self):
        self.ClearDictionary()
        self.selectedItemIndex = -1
        self.board = None
        self.firstload = 0
        self.secilen = 0
        self.checked = 0
        self.searchResultItems[:] = []
        self.slotvnum[:] = []
        self.Scroll = None
        self.ShowingStartIndex = None
        self.m_pGrid = None

    def OnQuestScroll(self):
        Count = len(constInfo.bossarena)
        scrollLineCount = max(0, Count - self.LIST_LIMIT)     
        startIndex = int(scrollLineCount * self.Scroll.GetPos())

        if startIndex != self.ShowingStartIndex:
            self.ShowingStartIndex = startIndex
            self.RefreshInfo()

      
    def FindBlank(self, itemWidth, itemHeight):
        return self.m_pGrid.FindBlank(itemWidth, itemHeight)
  
    def OverOutItem(self):
        self.tooltipItem.ClearToolTip()
        self.tooltipItem.HideToolTip()
      
      
      
    def OverInItem(self, slotIndex):
        self.tooltipItem.ClearToolTip()
        if int(self.slotvnum[slotIndex]) != 0:
            metinSlot = [0 for i in xrange(player.METIN_SOCKET_MAX_NUM)]
            self.tooltipItem.AddItemData(self.slotvnum[slotIndex],metinSlot)
            self.tooltipItem.Show()
        else:
            self.tooltipItem.HideToolTip()
  
    def RefreshInfo(self):
        total = len(constInfo.bossarena)
      
        if total == 0:
            return
      
        self.searchResultItems[:] = []
        max = self.LIST_LIMIT
      
        # if total > max:
            # self.scroll_bg.Show()
        # else:
            # max = total
            # self.scroll_bg.Hide()

      
      
        basePos = 1
        for i in range(0+self.ShowingStartIndex, max+self.ShowingStartIndex):
            resultItem = BossArena.SearchResultItem(self, self.bg, i)
            resultItem.SetPosition(3, basePos+((i-self.ShowingStartIndex)*53))
            resultItem.SetBossName(constInfo.bossarena[i]['vnum'])
            resultItem.SetBossImg(constInfo.bossarena[i]['vnum'])
            resultItem.SetSlot(int(constInfo.bossarena[i]['ticket']), int(constInfo.bossarena[i]['ticketcount']))
            resultItem.SetLevel(int(constInfo.bossarena[i]['minlv']), int(constInfo.bossarena[i]['maxlv']))
            resultItem.SetStatus(int(constInfo.bossarena[i]['status']))
            resultItem.SetCooldown(int(constInfo.bossarena[i]['player_cd']))
            resultItem.Show()
          
            self.searchResultItems.append(resultItem)
      
        self.Children.append(self.searchResultItems)
      
      

    def OnUpdate(self):
        if self.timer <= app.GetTime() and self.timerdone == 0:
            self.timerdone = 1
            self.ArrangeSize()
            self.RefreshInfo()
            self.OnSearchResultItemSelect(0)
            self.RefreshSymbol.Hide()
          

  
    def ArrangeSize(self):
        total = len(constInfo.bossarena)
        if total == 0:
            return
          
        if not self.Scroll:
            return
          
        if total > self.LIST_LIMIT:
            Count = len(constInfo.bossarena)
            scrollLineCount = max(0, Count - self.LIST_LIMIT) 
            self.Scroll.SetScrollStep(scrollLineCount)
            self.Scroll.SetMiddleBarSize(float(self.LIST_LIMIT) / float(Count))
            self.Scroll.Show()
        else:
            self.Scroll.Hide()

  
    def Open(self): 
        self.selectedItemIndex = -1
      
        if self.firstload == 0:
            self.firstload = 1
        else:
            net.SendChatPacket("/dungeonlist")
          
        self.RefreshCheckBox()
          
        self.timer = app.GetTime()+1
        self.timerdone = 0
      
        self.Show()
        self.SetCenterPosition()
        self.Scroll.SetPos(0)
        self.Scroll.Hide()
        self.element.Hide()
        self.dropinfo.Hide()
        self.bossname.SetText("")
        self.lv.SetText("")
        self.GerekenItem.SetText("")
        # self.attr.SetText("")
        self.RefreshSymbol.Show()
      
      
    def RefreshCheckBox(self):
        if self.checked == 0:
            self.checkbox.SetUp()
        else:
            self.checkbox.Down()
          
    def CheckBoxEvent(self):
        if self.checked == 0:
            self.checked = 1
        else:
            self.checked = 0
          
        self.RefreshCheckBox()
      
    def ClearButton(self):
        net.SendChatPacket("/dungeonclear %s 0 " % str(self.secilen))
        if self.checked == 0:
            self.Close()
      
    def ClearAllButton(self):
        net.SendChatPacket("/dungeonclear %s 1 " % str(self.secilen))
        if self.checked == 0:
            self.Close()
  
    def SpawnButton(self):
        net.SendChatPacket("/dungeonspawn %s 1 " % str(self.secilen))
        if self.checked == 0:
            self.Close()
      
    def TestSpawnButton(self):
        net.SendChatPacket("/dungeonspawn %s 0 " % str(self.secilen))
        if self.checked == 0:
            self.Close()
  
  
    def OnSearchResultItemSelect(self, index):
        total = len(constInfo.bossarena)
        if total == 0:
            return
      
        if self.ShowingStartIndex > 0:
            self.selectedItemIndex = index - self.ShowingStartIndex
        else:
            self.selectedItemIndex = index
          
        self.secilen = int(constInfo.bossarena[index]['vnum'])
              
        map(BossArena.SearchResultItem.UnSelect,  self.searchResultItems)
        self.searchResultItems[self.selectedItemIndex].Select()
      
        dwRaceFlag = nonplayer.GetMonsterRaceFlag(int(constInfo.bossarena[index]['vnum']))
        mainrace = ""
        subrace = ""
        element = ""
      
        for i in xrange(30):
            curFlag = 1 << i
            if HAS_FLAG(dwRaceFlag, curFlag):
                if self.RACE_FLAG_TO_NAME.has_key(curFlag):
                    mainrace += self.RACE_FLAG_TO_NAME[curFlag]
                elif self.SUB_RACE_FLAG_TO_NAME.has_key(curFlag):
                    subrace += self.SUB_RACE_FLAG_TO_NAME[curFlag]
                    element = self.ELEMENT_IMAGE[curFlag]
                  
        if mainrace == "":
            mainrace = "Yok"
          
        if subrace == "":
            subrace = "Yok"
            self.element.Hide()
        else:
            self.element.LoadImage("d:/ymir work/ui/game/12zi/element/%s.sub" % element)
            self.element.Show()
          
      
        mainrace = "|cff00ccff"+str(mainrace)+"|r"
        subrace = "|cff00ccff"+str(subrace)+"|r"
        yazi = mainrace
      
        self.lv.SetText("|cff00ccff|Hemp|h%s" % (str(constInfo.bossarena[index]['minlv'])))
        self.GerekenItem.SetText("|cff00ccff|Hemp|h%s" % (str(constInfo.bossarena[index]['ticketcount'])))
        self.bossname.SetText("%s" % CalcTime(int(constInfo.bossarena[index]['cooldown'])))
        # self.attr.SetText("%s " % yazi)
      
        constInfo.MONSTER_INFO_DATA_VNUM = {}
        # net.SendTargetInfoVnumLoad(int(constInfo.bossarena[index]['vnum']))
      

    def UpdateDropInfo(self, race):
        self.dropinfo.Hide()
      
        for i in range(self.dropinfo.GetSlotCount()):
            self.dropinfo.ClearSlot(i)
        self.dropinfo.RefreshSlot()
      
        self.slotvnum = [0 for i in xrange(self.dropinfo.GetSlotCount())]
        self.m_pGrid.Clear()
      
        if (race <= 0):
            return
          
        if not race in constInfo.MONSTER_INFO_DATA_VNUM:
            return

        listcount = len(constInfo.MONSTER_INFO_DATA_VNUM[race]["items"])
        if listcount == 0:
            return
          
      
        for i in range(self.dropinfo.GetSlotCount()):
            if i < listcount:
                if len(constInfo.MONSTER_INFO_DATA_VNUM[race]["items"]) != 0:
                    count = int(constInfo.MONSTER_INFO_DATA_VNUM[race]["items"][i]["count"])
                    vnum = int(constInfo.MONSTER_INFO_DATA_VNUM[race]["items"][i]["vnum"])
                    item.SelectItem(vnum)
                    (iWidth, iHeight) = item.GetItemSize()
                    iPos = self.FindBlank(iWidth, iHeight)
                    if iPos != -1:
                        self.m_pGrid.Put(iPos, iWidth, iHeight)
                        if count == 1:
                            count = 0
                        self.dropinfo.SetItemSlot(iPos, vnum, count)
                        self.slotvnum[iPos] = vnum
          
              
        self.dropinfo.RefreshSlot()
      
  
    def Close(self):
        map(BossArena.SearchResultItem.Hide, self.searchResultItems)
        self.Hide()


    def __OnCloseButtonClick(self):
        self.Hide()

    def OnPressEscapeKey(self):
        self.Close()


uiscript/bossarena.py:
Genişlet Daralt Kopyala
import uiScriptLocale
import localeInfo

BOARD_WIDTH = 610
BOARD_HEIGTH = 423
window = {
    "name" : "bossarena_window",

    "x" : 0,
    "y" : 0,

    "style" : ("movable", "float",),
    # "style" : ("movable", "float", "animation",),

    "width" : BOARD_WIDTH,
    "height" : BOARD_HEIGTH,

    "children" :
    (
        {
            "name" : "board",
            "type" : "board_with_titlebar",

            "x" : 0,
            "y" : 0,

            "width" : BOARD_WIDTH,
            "height" : BOARD_HEIGTH,
              
            "title" : "Zindan Bilgilendirme",
          
            "children" :
            (
                {
                    "name" : "bg",
                    "type" : "image",
                    "x" : 12,
                    "y" : 34,
                    "image" : "d:/ymir work/ui/bossarena/bgthin.png",
                },
              
                {
                    "name" : "scrollbg",
                    "type" : "image",
                    "x" : 326,
                    "y" : 34,
                    "image" : "d:/ymir work/ui/bossarena/scroll_bg.png",
                },
                {
                    "name" : "info_ScrollBar",
                    "type" : "slimscrollbar",

                    "x" : 329,
                    "y" : 39,
                    "size" : 367,
                },
              
                {
                    "name" : "boss_bg",
                    "type" : "image",
                    "x" : 346,
                    "y" : 34,
                    "image" : "d:/ymir work/ui/bossarena/bgthin2.png",
                  
                    "children" :
                    (
                        {
                            "name" : "titleimg2",
                            "type" : "image",
                            "x" : 6,
                            "y" : 6,
                            "image" : "d:/ymir work/ui/bossarena/bg_ust.png",
                            'children':
                            ( 
                                {
                                    'name': 'listname',
                                    'type': 'text',
                                    # 'text': 'Boss Bilgi ve Drop',
                                    'all_align': 'center',
                                    'x': 0,
                                    'y': 0,
                                },
                                {
                                    'name': "slot",
                                    'type': "image",
                                    "x": 203,
                                    "y": 100,
                                    "image" : "d:/ymir work/ui/bossarena/xslot.png",
                                },
                            ),
                        },
                        {
                            "name" : "Baslik1",
                            "type" : "text",
                            "x" : 129,
                            "y" : 13,
                          
                            "text" : "Zindan Bilgilendirme",
                            "text_horizontal_align" : "center",
                        },
                        {
                            "name" : "Grup",
                            "type" : "text",
                            "x" : 11,
                            "y" : 3+52,
                          
                            "text" : "Grup:",
                        },
                        {
                            "name" : "Grup2",
                            "type" : "text",
                            "x" : 207,
                            "y" : 3+52,
                          
                            "text" : "Bireysel",
                            "color" : 0xfff38b89,
                        },
                        {
                            "name" : "bossname",
                            "type" : "text",
                            "x" : 202,
                            "y" : 3+70,
                          
                            "text" : "",
                        },
                        {
                            "name" : "bossname2",
                            "type" : "text",
                            "x" : 11,
                            "y" : 3+70,
                          
                            "text" : "Bekleme Süresi:",
                        },
                      
                        {
                            "name" : "Sv",
                            "type" : "text",
                            "x" : 11,
                            "y" : 18+20,
                          
                            "text" : "Min. Seviye:",
                        },
                        {
                            "name" : "lv",
                            "type" : "text",
                            "x" : 225,
                            "y" : 18+20,
                          
                            "text" : "",
                        },
                        {
                            "name" : "Gereken",
                            "type" : "text",
                            "x" : 11,
                            "y" : 115,
                          
                            "text" : "Gereken Zindan Gaya:",
                        },
                        {
                            "name" : "GerekenItem",
                            "type" : "text",
                            "x" : 115,
                            "y" : 115,
                          
                            "text" : "1.000",
                        },
                      
                        {
                            "name" : "dropinfo",
                            "type" : "grid_table",

                            "start_index" : 0,

                            "x" : 10,
                            "y" : 95+10,

                            "x_count" : 12,
                            "y_count" : 5,
                            "x_step" : 32,
                            "y_step" : 32,
                            "x_blank" : 0,
                            "y_blank" : 0,

                            "image" : "d:/ymir work/ui/public/slot_base.sub",
                        },
                      

                    ),
                  
                },
              
                {
                    "name" : "info_bg",
                    "type" : "image",
                    "x" : 352,
                    "y" : 182,
                    "image" : "d:/ymir work/ui/bossarena/bg_alt.png",
                  
                    "children" :
                    (
                        {
                            "name" : "spawn_button",
                            "type" : "button",
                            "x" : 6,
                            "y" : 169,
                          
                            "default_image" : "d:/ymir work/ui/bossarena/button_1.png",
                            "over_image" : "d:/ymir work/ui/bossarena/button_2.png",
                            "down_image" : "d:/ymir work/ui/bossarena/button_1.png",
                            "text" : "Savaşı Başlat",
                        },
                        {
                            "name" : "Baslik2",
                            "type" : "text",
                            "x" : 120,
                            "y" : 7,
                          
                            "text" : "Patron Bilgisi",
                            "text_horizontal_align" : "center",
                        },
                        {
                            "name" : "Efsun",
                            "type" : "text",
                            "x" : 5,
                            "y" : 33,
                          
                            "text" : "Efsunlar:",
                        },
                        {
                            "name" : "Grup",
                            "type" : "text",
                            "x" : 5,
                            "y" : 52,
                          
                            "text" : "Savunma Efsunu:",
                        },
                        {
                            "name" : "Grup",
                            "type" : "text",
                            "x" : 137,
                            "y" : 52,
                          
                            "text" : "Beceri H. Karşı Koyma",
                            "color" : 0xfff38b89,
                        },
                        {
                            "name" : "Grup",
                            "type" : "text",
                            "x" : 5,
                            "y" : 71,
                          
                            "text" : "Max. Hasar:",
                        },
                        {
                            "name" : "Grup",
                            "type" : "text",
                            "x" : 230,
                            "y" : 71,
                          
                            "text" : "-",
                        },
                        {
                            "name" : "Grup",
                            "type" : "text",
                            "x" : 5,
                            "y" : 134,
                          
                            "text" : "Tılsım:",
                        },
                        {
                            "name" : "element",
                            "type" : "image",
                            "x" : 195,
                            "y" : 121,
                            "image" : "d:/ymir work/ui/game/12zi/element/elect.sub"
                        },
                        {
                            "name" : "attr",
                            "type" : "text",
                            "x" : 156,
                            "y" : 34,
                          
                            "text" : localeInfo.BOSSARENAATTR,
                        },
                        {
                            "name" : "test_button",
                            "type" : "button",
                            "x" : 84,
                            "y" : 169,
                          
                            "default_image" : "d:/ymir work/ui/bossarena/button_1.png",
                            "over_image" : "d:/ymir work/ui/bossarena/button_2.png",
                            "down_image" : "d:/ymir work/ui/bossarena/button_1.png",
                            "text" : "Test Et",
                        },
                        {
                            "name" : "clear_dungeon",
                            "type" : "button",
                            "x" : 162,
                            "y" : 169,
                          
                            "default_image" : "d:/ymir work/ui/bossarena/button_1.png",
                            "over_image" : "d:/ymir work/ui/bossarena/button_2.png",
                            "down_image" : "d:/ymir work/ui/bossarena/button_1.png",
                            "text" : "Süre Sıfırla",
                            "text_horizontal_align":"center",
                        },
                      
                        # {
                            # "name" : "clear_all_dungeon",
                            # "type" : "button",
                            # "x" : 40+90,
                            # "y" : 12+30,
                          
                            # "default_image" : "d:/ymir work/ui/bossarena/button_1.png",
                            # "over_image" : "d:/ymir work/ui/bossarena/button_2.png",
                            # "down_image" : "d:/ymir work/ui/bossarena/button_1.png",
                            # "text" : "Hepsini Sıfırla",
                        # },
                      
                        {
                            "name" : "checkbox",
                            "type" : "toggle_button",

                            "x" : 17,
                            "y" : 197,

                            "text_align_left" : "Boss çağırdıktan sonra ekranı kapatma",

                            "default_image" : "d:/ymir work/ui/bossarena/checkbutton_empty.png",
                            "over_image" : "d:/ymir work/ui/bossarena/checkbutton_empty_over.png",
                            "down_image" : "d:/ymir work/ui/bossarena/checkbutton.png",
                        },
                      
                    ),
                  
                },
              
                {
                    "name" : "RefreshSymbol",
                    "type" : "ani_image",
          
                    "x" : 11,
                    "y" : 33,
                    "z" : 1,
                  
                    "delay" : 2,

                    "images": (
                        "d:/ymir work/ui/bossarena/loading/loading_image0.png",
                        "d:/ymir work/ui/bossarena/loading/loading_image1.png",
                        "d:/ymir work/ui/bossarena/loading/loading_image2.png",
                        "d:/ymir work/ui/bossarena/loading/loading_image3.png",
                        "d:/ymir work/ui/bossarena/loading/loading_image4.png",
                        "d:/ymir work/ui/bossarena/loading/loading_image5.png",
                        "d:/ymir work/ui/bossarena/loading/loading_image6.png",
                        "d:/ymir work/ui/bossarena/loading/loading_image7.png",
                        "d:/ymir work/ui/bossarena/loading/loading_image8.png",
                        "d:/ymir work/ui/bossarena/loading/loading_image9.png",
                        "d:/ymir work/ui/bossarena/loading/loading_image10.png",
                        "d:/ymir work/ui/bossarena/loading/loading_image11.png",
                        "d:/ymir work/ui/bossarena/loading/loading_image12.png",
                        "d:/ymir work/ui/bossarena/loading/loading_image13.png",
                        "d:/ymir work/ui/bossarena/loading/loading_image14.png",
                        "d:/ymir work/ui/bossarena/loading/loading_image15.png",
                        "d:/ymir work/ui/bossarena/loading/loading_image16.png",
                        "d:/ymir work/ui/bossarena/loading/loading_image17.png",
                    ),
                },
            ),
        },
    ),
}
 
Son düzenleme:
Ya sistemi söktüğünüz yerden eksik aldınız yada paylaşılan bir konudan aldıysanız eksik paylaşılmış veya eksik eklediniz, ui içindeki tüm eklemelerinizi kontrol etmeniz lazım eğer bir yerden söktüyseniz ui dosyalarını WinMerge ile karşılaştırın.
 
Ya sistemi söktüğünüz yerden eksik aldınız yada paylaşılan bir konudan aldıysanız eksik paylaşılmış veya eksik eklediniz, ui içindeki tüm eklemelerinizi kontrol etmeniz lazım eğer bir yerden söktüyseniz ui dosyalarını WinMerge ile karşılaştırın.
Peki sorun nerde olmalı hangi fonksiyona bakmam gerekiyor select fonksiyonu mu çalışmıyor MakeImageBox mı sorunun nerede olduğunu nasıl anlayabilirim veya hangi kod blogu
 
# "style" : ("movable", "float", "animation",), şu satırla ilgili bir şey olabilir animation eklentisini oluşturan client src kodları ekliyse bunu yorumdan çıkarıp üstündeki satırı yoruma alın
 
Peki sorun nerde olmalı hangi fonksiyona bakmam gerekiyor select fonksiyonu mu çalışmıyor MakeImageBox mı sorunun nerede olduğunu nasıl anlayabilirim veya hangi kod blogu
Spesifik olarak şu bloktadır veya buradadır diyemiyorum, o kadar net bir tahminim yok maalesef. Aynı sistemin ekli olduğu bir kaynakla kıyas yapmaktan başka aklıma bir şey gelmedi. 😔
 
Üst