Fethi Polat 1
Fethi Polat
xranzei 1
xranzei
Bvural41 1
Bvural41
kralhakan2009 1
kralhakan2009
noisiv 1
noisiv
Manwe Work 1
Manwe Work
Vahsi Uzman 1
Vahsi Uzman
Cannn6161 1
Cannn6161
Hikaye Ekle
Reklam vermek için turkmmo@gmail.com

Karakter Sayfasını Fare Tekerleğiyle Gezin ( Python )

  • Konuyu başlatan Konuyu başlatan EnesDeniz™
  • Başlangıç tarihi Başlangıç tarihi
  • Cevaplar Cevaplar 13
  • Görüntüleme Görüntüleme 2K

ROHAN2 WORLD 1-120 TR TİPİ OFFICIAL YOHARA, BALATHOR VE AMON! 80. GÜNÜNDE! +10.000 ONLİNE! HİLE VE BOT %100 ENGELLİ HEMEN TIKLA!

Extended version:

uicharacterdetails.py

search this:


Python:
    def OnScroll(self):
        self.RefreshLabel()

add under this:


Python:
    def OnRunMouseWheel(self, nLen):
        if nLen > 0:
            self.ScrollBar.OnUp()
        else:
            self.ScrollBar.OnDown()

uitarget.py (MOB_DROP_INFO)

Search this:


Python:
            def AppendWindow(self, wnd, x = 0, width = 0, height = 0):
                if width == 0:
                    width = wnd.GetWidth()
                if height == 0:
                    height = wnd.GetHeight()

                wnd.SetParent(self)
                if x == 0:
                    wnd.SetPosition((self.GetWidth() - width) / 2, self.yPos)
                else:
                    wnd.SetPosition(x, self.yPos)
                wnd.Show()

                self.children.append(wnd)
                self.yPos += height + 5

add under this:


Python:
            def OnRunMouseWheel(self, nLen):
                if self.itemScrollBar.IsShow():
                    if nLen > 0:
                        self.itemScrollBar.OnUp()
                    else:
                        self.itemScrollBar.OnDown()

uicube.py

search this:


Python:
    def OnScrollResultList(self):
        count = self.GetResultCount()
        scrollLineCount = max(0, count - self.RESULT_SLOT_COUNT)
        startIndex = int(scrollLineCount * self.contentScrollbar.GetPos())

        if startIndex != self.firstSlotIndex:
            self.firstSlotIndex = startIndex
            self.Refresh()

add under this.


Python:
    def OnRunMouseWheel(self, nLen):
        if nLen > 0:
            self.contentScrollbar.OnUp()
        else:
            self.contentScrollbar.OnDown()

uimessenger.py

search this:


Python:
    def OnScroll(self):
        scrollLineCount = len(self.showingItemList) - (self.showingPageSize/20)
        startLine = int(scrollLineCount * self.scrollBar.GetPos())

        if startLine != self.startLine:
            self.startLine = startLine
            self.__LocateMember()

add under this:


Python:
    def OnRunMouseWheel(self, nLen):
        if nLen > 0:
            self.scrollBar.OnUp()
        else:
            self.scrollBar.OnDown()

uiwhisper.py

search this:

Python:
    def OnScroll(self):
        chat.SetWhisperPosition(self.targetName, self.scrollBar.GetPos())

add under this:


Python:
    def OnRunMouseWheel(self, nLen):
        if nLen > 0:
            self.scrollBar.OnUp()
        else:
            self.scrollBar.OnDown()
 
Extended version:

uicharacterdetails.py

search this:


Python:
    def OnScroll(self):
        self.RefreshLabel()

add under this:


Python:
    def OnRunMouseWheel(self, nLen):
        if nLen > 0:
            self.ScrollBar.OnUp()
        else:
            self.ScrollBar.OnDown()

uitarget.py (MOB_DROP_INFO)

Search this:


Python:
            def AppendWindow(self, wnd, x = 0, width = 0, height = 0):
                if width == 0:
                    width = wnd.GetWidth()
                if height == 0:
                    height = wnd.GetHeight()

                wnd.SetParent(self)
                if x == 0:
                    wnd.SetPosition((self.GetWidth() - width) / 2, self.yPos)
                else:
                    wnd.SetPosition(x, self.yPos)
                wnd.Show()

                self.children.append(wnd)
                self.yPos += height + 5

add under this:


Python:
            def OnRunMouseWheel(self, nLen):
                if self.itemScrollBar.IsShow():
                    if nLen > 0:
                        self.itemScrollBar.OnUp()
                    else:
                        self.itemScrollBar.OnDown()

uicube.py

search this:


Python:
    def OnScrollResultList(self):
        count = self.GetResultCount()
        scrollLineCount = max(0, count - self.RESULT_SLOT_COUNT)
        startIndex = int(scrollLineCount * self.contentScrollbar.GetPos())

        if startIndex != self.firstSlotIndex:
            self.firstSlotIndex = startIndex
            self.Refresh()

add under this.


Python:
    def OnRunMouseWheel(self, nLen):
        if nLen > 0:
            self.contentScrollbar.OnUp()
        else:
            self.contentScrollbar.OnDown()

uimessenger.py

search this:


Python:
    def OnScroll(self):
        scrollLineCount = len(self.showingItemList) - (self.showingPageSize/20)
        startLine = int(scrollLineCount * self.scrollBar.GetPos())

        if startLine != self.startLine:
            self.startLine = startLine
            self.__LocateMember()

add under this:


Python:
    def OnRunMouseWheel(self, nLen):
        if nLen > 0:
            self.scrollBar.OnUp()
        else:
            self.scrollBar.OnDown()

uiwhisper.py

search this:

Python:
    def OnScroll(self):
        chat.SetWhisperPosition(self.targetName, self.scrollBar.GetPos())

add under this:


Python:
    def OnRunMouseWheel(self, nLen):
        if nLen > 0:
            self.scrollBar.OnUp()
        else:
            self.scrollBar.OnDown()
Thx :)
 
Teşekkürler.
 
can you edit it for the guild window?
 

Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)

Geri
Üst