Otomatik Av Sistemi - Auto Hunt System

TheAdmin33

Ah bu şarkıların gözü kör olsun
Geliştirici
Yardımsever Üye
Usta Üye
Editör
Mesaj
759
Çözümler
44
Beğeni
1.390
Puan
1.139
Ticaret Puanı
0
t0387pi.PNG




İndir;
Burayı görüntülemek için üye girişi yapmalı veya kayıt olmalısınız.

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


Not1: Sistem çalışıyor ama sürekli moblara takılıp duruyor o yüzden kullanacaksanız mobların içinden geçmeyi aktif hale getirin.

Not2: Şuan ki halinde her şeye saldırıyor o yüzden kullanacaksanız ayrı bir metin map ı oluşturmanız daha sağlıklı olur ya da PythonCharacterManager.cpp dosyası içinden neye saldırması gerektiğini ayarlayın



Başka bir yerde paylaşılmamasını rica ediyorum.



Güncelleme;
Not:Aşağıdaki hatayı alıyorsanız bunu yapın.

syserr.txt:
autowindow.LoadDialog.BindObject - <type 'exceptions.KeyError'>:'tekvurus'

ui.py:
#Arat;

            elif Type == "bar":
                parent.Children[Index] = Bar()
                parent.Children[Index].SetParent(parent)
                self.LoadElementBar(parent.Children[Index], ElementValue, parent)



#Üstüne ekle;

            elif Type == "checkbox":
                parent.Children[Index] = CheckBox()
                parent.Children[Index].SetParent(parent)
                self.LoadElementCheckBox(parent.Children[Index], ElementValue, parent)


#Arat;

    def LoadDefaultData(self, window, value, parentWindow):


#Üstüne ekle;

    def LoadElementCheckBox(self, window, value, parentWindow):
        if True == value.has_key("text"):
            window.SetTextInfo(value["text"])
        self.LoadDefaultData(window, value, parentWindow)
        return True


#En sona ekle;

class CheckBox(Window):
    def __init__(self):
        Window.__init__(self)

        self.backgroundImage = None
        self.checkImage = None

        self.eventFunc = { "ON_CHECK" : None, "ON_UNCKECK" : None, }
        self.eventArgs = { "ON_CHECK" : None, "ON_UNCKECK" : None, }

        self.CreateElements()

    def __del__(self):
        Window.__del__(self)

        self.backgroundImage = None
        self.checkImage = None

        self.eventFunc = { "ON_CHECK" : None, "ON_UNCKECK" : None, }
        self.eventArgs = { "ON_CHECK" : None, "ON_UNCKECK" : None, }

    def CreateElements(self):
        self.backgroundImage = ExpandedImageBox()
        self.backgroundImage.SetParent(self)
        self.backgroundImage.AddFlag("not_pick")
        self.backgroundImage.LoadImage("d:/ymir work/ui/game/refine/checkbox.tga")
        self.backgroundImage.Show()

        self.checkImage = ExpandedImageBox()
        self.checkImage.SetParent(self)
        self.checkImage.AddFlag("not_pick")
        self.checkImage.SetPosition(0, 0)
        self.checkImage.LoadImage("d:/ymir work/ui/game/refine/checked.tga")
        self.checkImage.Hide()

        self.textInfo = TextLine()
        self.textInfo.SetParent(self)
        self.textInfo.SetPosition(20, -2)
        self.textInfo.Show()

        self.SetSize(self.backgroundImage.GetWidth() + self.textInfo.GetTextSize()[0], self.backgroundImage.GetHeight() + self.textInfo.GetTextSize()[1])

    def SetTextInfo(self, info):
        if self.textInfo:
            self.textInfo.SetText(info)

        self.SetSize(self.backgroundImage.GetWidth() + self.textInfo.GetTextSize()[0], self.backgroundImage.GetHeight() + self.textInfo.GetTextSize()[1])

    def SetCheckStatus(self, flag):
        if flag:
            self.checkImage.Show()
        else:
            self.checkImage.Hide()

    def GetCheckStatus(self):
        if self.checkImage:
            return self.checkImage.IsShow()

        return False

    def SetEvent(self, func, *args) :
        result = self.eventFunc.has_key(args[0])
        if result :
            self.eventFunc[args[0]] = func
            self.eventArgs[args[0]] = args
        else :
            print "[ERROR] ui.py SetEvent, Can`t Find has_key : %s" % args[0]

    def SetToggleUpEvent(self, event, *args):
        self.eventFunc["ON_UNCKECK"] = event
        self.eventArgs["ON_UNCKECK"] = args

    def SetToggleDownEvent(self, event, *args):
        self.eventFunc["ON_CHECK"] = event
        self.eventArgs["ON_CHECK"] = args

    def OnMouseLeftButtonUp(self):
        if self.checkImage:
            if self.checkImage.IsShow():
                self.checkImage.Hide()

                if self.eventFunc["ON_UNCKECK"]:
                    apply(self.eventFunc["ON_UNCKECK"], self.eventArgs["ON_UNCKECK"])
            else:
                self.checkImage.Show()

                if self.eventFunc["ON_CHECK"]:
                    apply(self.eventFunc["ON_CHECK"], self.eventArgs["ON_CHECK"])
 
Son düzenleme:
Paylaşım için teşekkürler o zeminide paylaşırsan süper olur .d
 
hi bro i , have this problem

autowindow.LoadDialog.BindObject - <type 'exceptions.KeyError'>:'tekvurus'
 
son paylaşılan güncellemeyi ekliyorum ekleyince __BL_MOUSE_WHEEL_TOP_WINDOW__ hata veriyor bunu yorum satırı yapınca yine tekvurus hatası veriyor
 
Güncelleme;

Not:Aşağıdaki hatayı alanlar konu içerisindeki "güncelleme" kısmını tekrar kontrol etsin.

syserr.txt:
autowindow.LoadDialog.BindObject - <type 'exceptions.KeyError'>:'tekvurus'
 
@themanji Bu oto saldırıyı yarıda kesme olayını çözmek için hangi dosyaya bakmam gerekiyor bir fikrin varmı ?
 
Yarıda kesme derken tam olarak detay verirsen bir beyanda bulunayım
tek vuruş açık değilken canavara 1 tane vurup başka bir canavara geçiyor ya da 1 tane vurup bırakıyor metinlerde ise hedef alıyor ama vuruş yapamadan başka metine odaklanıyor onada vuruş yapmadan başka metine odaklanıyor. Böyle bir sorun var.
 
Geri
Üst