HERAKLES Otomatik Avlı kalıcı sunucu. 19 Haziran'da açılıyor. Atius & Wizard güvencesiyle hemen kayıt ol, ön kayıt ödülleri aktif. HEMEN TIKLA!
Bir tık uzağındaElindeki silah çok güzelmişş keşke benim olsaaa<3
https://forum.turkmmo.com/konu/3537076-new-yeni-silah-animasyonlari/
Reis server max 80li soket mesela 90 soket yer kaplayacak şekilde item eklediğinde 90a mı ayarlıyor yoksa sadece küçültüyor mu/Tekrardan\
\Teşekkürler/
![]()
![]()
![]()
onu senin ayarlaman gerekiyor max slot kaçsa yazman gerekiyorReis server max 80li soket mesela 90 soket yer kaplayacak şekilde item eklediğinde 90a mı ayarlıyor yoksa sadece küçültüyor mu
Work with shop 80 slot
This is for 80Slot shop
This is for 80Slot shop

Python:
def GetEmptyLines(self):
emptyLines = 9
for i in xrange(10):
empty = 9
for j in xrange(9):
itemIndex = shop.GetItemID(10*j+i)
if itemIndex > 0:
item.SelectItem(itemIndex)
(w, h) = item.GetItemSize()
empty -= h
if empty < emptyLines:
emptyLines = empty
return emptyLines
def GetEmptyLines(self):
emptyLines = 9
for i in xrange(10):
empty = 9
for j in xrange(9):
itemIndex = shop.GetItemID(10*j+i)
if itemIndex > 0:
item.SelectItem(itemIndex)
(w, h) = item.GetItemSize()
empty -= h
if empty < emptyLines:
emptyLines = empty
return emptyLines
def Open(self, vid):
isPrivateShop = FALSE
isMainPlayerPrivateShop = FALSE
import chr
if chr.IsNPC(vid):
isPrivateShop = FALSE
else:
isPrivateShop = TRUE
self.board.SetSize(346, 330)
self.itemSlotWindow.ArrangeSlot(0, 10, 9, 32, 32, 0, 0)
self.itemSlotWindow.RefreshSlot()
self.itemSlotWindow.SetSlotBaseImage("d:/ymir work/ui/public/Slot_Base.sub", 1.0, 1.0, 1.0, 1.0)
if player.IsMainCharacterIndex(vid):
isMainPlayerPrivateShop = TRUE
self.btnClose.Show()
else:
if isPrivateShop == FALSE:
EMPTY_LINES = 32 * self.GetEmptyLines()
self.board.SetSize(346, 330 - EMPTY_LINES)
self.itemSlotWindow.ArrangeSlot(0, 10, 9 - EMPTY_LINES / 32, 32, 32, 0, 0)
self.itemSlotWindow.RefreshSlot()
self.itemSlotWindow.SetSlotBaseImage("d:/ymir work/ui/public/Slot_Base.sub", 1.0, 1.0, 1.0, 1.0)
isMainPlayerPrivateShop = FALSE
self.btnClose.Hide()
shop.Open(isPrivateShop, isMainPlayerPrivateShop)
self.Refresh()
self.SetTop()
self.Show()
(self.xShopStart, self.yShopStart, z) = player.GetMainCharacterPosition()
Son düzenleme:
- 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
- 5
- Görüntüleme
- 947
- Cevaplar
- 44
- Görüntüleme
- 4K
Kontrol Ediliyor
Metin2 client ve genel win. pencere yöneticisi
- Cevaplar
- 0
- Görüntüleme
- 213
- Cevaplar
- 21
- Görüntüleme
- 1K

<3