Türkiye'de ilk Mobil & PC Aynı Anda Metin2 Oyna. Triarchonline kalıcı ve uzun ömürlü yapısı ile 24 Temmuz'da açılıyor. | 1-99 Mobil Metin2 Triarch HEMEN TIKLA!
//
Son düzenleme:
Teşekkürler. Deneyeceğim.Merhaba Arkadaşlar
Bir istek üzerine küçük çaplı Hızlı menü yazmıştım zamanında.
30dk mı falan almıştı sanırım yazmak.
Sistem geliştirmeye açıktır..
Not:Kodlarda TAB Ayarı yapıktır.Yani Notepad++ da başlarında boşluk olmadan yapıştırın.
Not2:Arkadaslar Notepad++ ile dosyaları açabilirsiniz fakat en son root/uiinventory.py de işiniz bittiğinde kaydedip bu sefer NOT DEFTERİ ile açın ve "BVURAL41 AYARLA NOT DEFTERI ILE MENU FALAN YAZARSIN" yazan yere "Hızlı Menü" Yazın yoksa Hata alırsınız.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1=root/constinfo.py açılır ve uygun bir yere eklenir..
Kod:vural1 = 0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2=root/uiinventory.py açılır ve aratılır
Hemen altına eklenir.Kod:self.wndMoneySlot = self.GetChild("Money_Slot")
Kod:self.vuralButton = self.GetChild2("VuralButton")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3=Aynı .py de tekrar aratılır
Bir boşluk bırakıp altına eklenir.Kod:self.dlgPickMoney = dlgPickMoney
Kod:# VuralButton if self.vuralButton: self.vuralButton.SetEvent(ui.__mem_func__(self.ClickVuralButton))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4=Aynı .py de tekrar aratılır
Hemen altına eklenir.Kod:self.wndMoneySlot = 0 self.questionDialog = None
Kod:self.vuralButton = None
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5=Aynı .py de tekrar aratılır
Bir boşluk bırakıp altına eklenir.Kod:self.equipmentTab[1-page].SetUp() self.RefreshEquipSlotWindow()
Kod:# Başlayalım artık def ClickVuralButton(self): if 0==interfacemodule.statuvural1: interfacemodule.statuvural1 = 1 self.vural1 = ui.BoardWithTitleBar() self.vural1.SetSize(314, 210) self.vural1.SetCenterPosition() self.vural1.AddFlag('float') self.vural1.AddFlag('movable') self.vural1.SetTitleName("BVURAL41 AYARLA NOT DEFTERI ILE MENU FALAN YAZARSIN) self.vural1.Show() # Oyun Logosu TIKLANMAZ BURAYA LOGO KOYDUM BEN self.cpazar2 = ui.Button() self.cpazar2.SetParent(self.vural1) self.cpazar2.SetPosition(44, 41) self.cpazar2.SetUpVisual("resimler/logov2.tga") self.cpazar2.SetOverVisual("resimler/logov2.tga") self.cpazar2.SetDownVisual("resimler/logov2.tga") self.cpazar2.AddFlag('float') self.cpazar2.AddFlag('movable') self.cpazar2.Show() # Cevrimdisi pazar self.cpazar1 = ui.Button() self.cpazar1.SetEvent(self.ClickOfflineShopButton) self.cpazar1.SetParent(self.vural1) self.cpazar1.SetPosition(14, 135) self.cpazar1.SetUpVisual("d:/ymir work/ui/public/large_button_01.sub") self.cpazar1.SetOverVisual("d:/ymir work/ui/public/large_button_02.sub") self.cpazar1.SetDownVisual("d:/ymir work/ui/public/large_button_03.sub") self.cpazar1.SetText("?vrimdè©°?Pazar") self.cpazar1.Show() # Normal market self.pazar1 = ui.Button() self.pazar1.SetEvent(self._pazar_ac) self.pazar1.SetParent(self.vural1) self.pazar1.SetPosition(114, 135) self.pazar1.SetUpVisual("d:/ymir work/ui/public/large_button_01.sub") self.pazar1.SetOverVisual("d:/ymir work/ui/public/large_button_02.sub") self.pazar1.SetDownVisual("d:/ymir work/ui/public/large_button_03.sub") self.pazar1.SetText("Normal Pazar") self.pazar1.Show() # EjderhaAc self.ejder_ac1 = ui.Button() self.ejder_ac1.SetEvent(self.ClickDSSButton) self.ejder_ac1.SetParent(self.vural1) self.ejder_ac1.SetPosition(214, 135) self.ejder_ac1.SetUpVisual("d:/ymir work/ui/public/large_button_01.sub") self.ejder_ac1.SetOverVisual("d:/ymir work/ui/public/large_button_02.sub") self.ejder_ac1.SetDownVisual("d:/ymir work/ui/public/large_button_03.sub") self.ejder_ac1.SetText("E.Ta?Simya") self.ejder_ac1.Show() # ItemShop self.item_shop1 = ui.Button() self.item_shop1.SetEvent(self._item_shop) self.item_shop1.SetParent(self.vural1) self.item_shop1.SetPosition(14, 169) self.item_shop1.SetUpVisual("d:/ymir work/ui/public/large_button_01.sub") self.item_shop1.SetOverVisual("d:/ymir work/ui/public/large_button_02.sub") self.item_shop1.SetDownVisual("d:/ymir work/ui/public/large_button_03.sub") self.item_shop1.SetText("?em Shop") self.item_shop1.Show() # EfsunBotu self.efsun_botu1 = ui.Button() self.efsun_botu1.SetEvent(self._efsun_botu) self.efsun_botu1.SetParent(self.vural1) self.efsun_botu1.SetPosition(114, 169) self.efsun_botu1.SetUpVisual("d:/ymir work/ui/public/large_button_01.sub") self.efsun_botu1.SetOverVisual("d:/ymir work/ui/public/large_button_02.sub") self.efsun_botu1.SetDownVisual("d:/ymir work/ui/public/large_button_03.sub") self.efsun_botu1.SetText("Efsun Botu") self.efsun_botu1.Show() # Hızlı Ekip self.hizli_ekip1 = ui.Button() self.hizli_ekip1.SetEvent(self._hizli_ekip) self.hizli_ekip1.SetParent(self.vural1) self.hizli_ekip1.SetPosition(214, 169) self.hizli_ekip1.SetUpVisual("d:/ymir work/ui/public/large_button_01.sub") self.hizli_ekip1.SetOverVisual("d:/ymir work/ui/public/large_button_02.sub") self.hizli_ekip1.SetDownVisual("d:/ymir work/ui/public/large_button_03.sub") self.hizli_ekip1.SetText("Hizli Ekipman") self.hizli_ekip1.Show() else: interfacemodule.statuvural1 = 0 self.vural1.Hide() # Butonlar def _item_shop(self): interfacemodule.statuvural1 = 0 self.vural1.Hide() self.item_shop1.Hide() net.SendChatPacket("/click_mall") def _pazar_ac(self): interfacemodule.statuvural1 = 0 self.vural1.Hide() self.pazar1.Hide() net.SendChatPacket("/pazar_ac") def ClickDSSButton(self): interfacemodule.statuvural1 = 0 self.vural1.Hide() print "click_dss_button" self.interface.ToggleDragonSoulWindow() def _efsun_botu(self): interfacemodule.statuvural1 = 0 self.vural1.Hide() if not constInfo.eigenmod: execfile('uiefsunbotu.py',{}) constInfo.eigenmod = 1 def _hizli_ekip(self): interfacemodule.statuvural1 = 0 self.vural1.Hide() import uiHizliEkip self.HizliEkip = uiHizliEkip.EkipVER() self.HizliEkip.Show() def ClickOfflineShopButton(self): interfacemodule.statuvural1 = 0 self.vural1.Hide() print "click_offline_shop_button" self.interface.ToggleOfflineShopAdminPanelWindow() # Butonlar Bitti
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6=Locale_tr/inventorywindow.py açılır ve aratılır
Kod bloğunun üstüne eklenir.Kod:{ "name" : "ItemSlot",
Kod:## Bvural41 Buton Envanter { "name" : "VuralButton", "type" : "button", "x" : 127, "y" : 179, "tooltip_text" : uiScriptLocale.VURAL_TITLE, "default_image" : "locale/tr/resimler/menu1.tga", "over_image" : "locale/tr/resimler/menu2.tga", "down_image" : "locale/tr/resimler/menu3.tga", },
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7=Locale_tr/locale_interface.txt Not Defteri ile açılır müsait bir yere eklenir
Kod:VURAL_TITLE Hızlı Menü
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kodların kurulumu bitti Dosyalara geldik şimdi.
İndirme Link:Linkleri görebilmek için Turkmmo Forumuna ÜYE olmanız gerekmektedir.
VirüsTotal Link:Linkleri görebilmek için Turkmmo Forumuna ÜYE olmanız gerekmektedir.
Dosyaların üzerinde nereye atılacağı yazıyor.
Hata alanlar Syserr yollasınlar elimden geleni yaparım..
Teşekkür Etmeniz Yeterli..
Çalıştığına Dair Kanıt
![]()
0225 01:02:28108 :: Traceback (most recent call last):
0225 01:02:28108 :: File "ui.py", line 1010, in CallEvent
0225 01:02:28108 :: File "ui.py", line 83, in __call__
0225 01:02:28108 :: File "ui.py", line 65, in __call__
0225 01:02:28108 :: File "uiInventory.py", line 471, in ClickVuralButton
0225 01:02:28110 :: AttributeError
0225 01:02:28110 :: :
0225 01:02:28110 :: 'module' object has no attribute 'statuvural1'
0225 01:02:28110 ::
syser var reis , buarada paylaşım için teşekkürler.
0225 01:02:28108 :: File "ui.py", line 1010, in CallEvent
0225 01:02:28108 :: File "ui.py", line 83, in __call__
0225 01:02:28108 :: File "ui.py", line 65, in __call__
0225 01:02:28108 :: File "uiInventory.py", line 471, in ClickVuralButton
0225 01:02:28110 :: AttributeError
0225 01:02:28110 :: :
0225 01:02:28110 :: 'module' object has no attribute 'statuvural1'
0225 01:02:28110 ::
syser var reis , buarada paylaşım için teşekkürler.
- Durum
- Üzgünüz bu konu cevaplar için kapatılmıştır...
Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)
Benzer konular
- Cevaplar
- 19
- Görüntüleme
- 1K
- Cevaplar
- 20
- Görüntüleme
- 826
- Cevaplar
- 5
- Görüntüleme
- 454
- Cevaplar
- 3
- Görüntüleme
- 348
