Dude, I didn't take it off anyway. I arranged it for each mob.I don't want to take that out,
it's related to python i think ....
how do I search vnum mob in python?Dude, I didn't take it off anyway. I arranged it for each mob.
All you have to do is put that code in the comment line and add the mob stones you want to add from mob_drop_item.txt and they will already appear.
There is no need for these, my friend. Do you want to add or remove 8001?how do I search vnum mob in python?
something like that would come
if mob_vnum == 8001:
return
i want to remove 8001 but i want to keep const SStoneDropInfo aStoneDrop[STONE_INFO_MAX_NUM] =There is no need for these, my friend. Do you want to add or remove 8001?
İyi kullanımlar hocam.Eline sağlık
0105 18:02:08711 :: CEffectManager::RegisterEffect - LoadScript(d:/ymir work/effect/etc/levelup_1/level_up.mse) Error
0105 18:02:08711 :: CInstanceBase::RegisterEffect(eEftType=11, c_szEftAttachBone=, c_szEftName=d:/ymir work/effect/etc/levelup_1/level_up.mse, isCache=0) - Error
0105 18:02:11207 :: Traceback (most recent call last):
0105 18:02:11207 :: File "networkModule.py", line 244, in SetGamePhase
0105 18:02:11207 :: File "game.py", line 86, in __init__
0105 18:02:11207 :: File "interfaceModule.py", line 322, in MakeInterface
0105 18:02:11207 :: File "interfaceModule.py", line 195, in __MakeWindows
0105 18:02:11207 :: File "uiMiniMap.py", line 223, in __init__
0105 18:02:11207 :: File "uiMiniMap.py", line 112, in LoadWindow
0105 18:02:11207 :: AttributeError
0105 18:02:11207 :: :
0105 18:02:11207 :: 'BoardWithTitleBar' object has no attribute 'SetOnMouseLeftButtonUpEvent'
0105 18:02:11207 ::
0105 18:02:08711 :: CEffectManager::RegisterEffect - LoadScript(d:/ymir work/effect/etc/levelup_1/level_up.mse) Error
0105 18:02:08711 :: CInstanceBase::RegisterEffect(eEftType=11, c_szEftAttachBone=, c_szEftName=d:/ymir work/effect/etc/levelup_1/level_up.mse, isCache=0) - Error
0105 18:02:11207 :: Traceback (most recent call last):
0105 18:02:11207 :: File "networkModule.py", line 244, in SetGamePhase
0105 18:02:11207 :: File "game.py", line 86, in __init__
0105 18:02:11207 :: File "interfaceModule.py", line 322, in MakeInterface
0105 18:02:11207 :: File "interfaceModule.py", line 195, in __MakeWindows
0105 18:02:11207 :: File "uiMiniMap.py", line 223, in __init__
0105 18:02:11207 :: File "uiMiniMap.py", line 112, in LoadWindow
0105 18:02:11207 :: AttributeError
0105 18:02:11207 :: :
0105 18:02:11207 :: 'BoardWithTitleBar' object has no attribute 'SetOnMouseLeftButtonUpEvent'
0105 18:02:11207 ::
bu hatanın kaynağı ne olabilir hocam
## Altında Bul
def SetOnMouseLeftButtonUpEvent(self, event):
self.onMouseLeftButtonUpEvent = ev
## Değiştir
if app.ENABLE_TARGET_INFORMATION_SYSTEM:
def SetMouseLeftButtonUpEvent(self, event, *args):
self.mouseLeftButtonUpEvent = event
self.mouseLeftButtonUpArgs = args
else:
def SetOnMouseLeftButtonUpEvent(self, event):
self.onMouseLeftButtonUpEvent = event
Pack kısımlı bir eksikliğiniz yada yanlış bi yer var syser veriyomu ?Merhaba öncelikle teşekkür ederim paylaşım için çok güzel oldu scroll yerine grid çok daha iyi
Bir sorun oluştu itemler üst üste biniyor nerde hata yaptım acaba yardımcı olcak var mı ?
Syserr yok kardeşim tekrar bakıyım olmadı sence nerede hata yapmışımdır ora odaklı bakayımPack kısımlı bir eksikliğiniz yada yanlış bi yer var syser veriyomu ?
Evet uzattığını fark ettim. O yüzden python. Taraflı dedim. Şuan işe gidiyorum mobildeyim. Gold kısmında eksik fonksiyonlar var. Efsun nesnelerini hiç dikkate almamıştım bugün kontrol ederim. Ben gelene kadar çözerseniz yazarsanız sevinirim. Gold dışında sistemle ilgili bir hata görünmüyo.Syserr yok kardeşim tekrar bakıyım olmadı sence nerede hata yapmışımdır ora odaklı bakayım
sorunu buldum ben slotları büyütmek istemiştim
wndItem.ArrangeSlot(0, 7, 5, 32, 32, 0, 0)
olanı
wndItem.ArrangeSlot(0, 12, 6, 32, 32, 0, 0)
böle yapınca silahlar üst üste biniyor üste ek atmıstım. ben boardı yatayda biraz büyütmek istedim. nasıl yapacağım ?
ayrıca gold kısmı yorum yapmıssın ben açtım ama yine gelmedi nedendir ?
Efsın nesneleride görünmüyor nedeni nedir ? Sadece bana özelmi sizdede bu sorun mevcut mu
yazdım mesela wndItem.ArrangeSlot(0, 20, 5, 32, 32, 0, 0) MAX_ITEM_COUNT = 100 olarak ayarladım ama nafile görünmeyen itemler onları kontrol ede bildinmi ?istersen target py de atabilirim ?Evet uzattığını fark ettim. O yüzden python. Taraflı dedim. Şuan işe gidiyorum mobildeyim. Gold kısmında eksik fonksiyonlar var. Efsun nesnelerini hiç dikkate almamıştım bugün kontrol ederim. Ben gelene kadar çözerseniz yazarsanız sevinirim. Gold dışında sistemle ilgili bir hata görünmüyo.
Slotları yükseltmek için normal halde düzelttiğim kodları incele Güncelleme v_01 incele. Toplam kaç slot olacaksa toplamını 35 yerine yaz ama mantıklı olsun. Mesela 35 için yukardan aşağı 5, soldan sağa 7 kutu var bu sayede 35 slot.
Eklediğiniz koddaki decltype tipi yalnızca C++11 ve üstü sürümlerde destekleniyor, kullandığınız derleyici eski olduğu için uyum sorunu yaşıyorsunuz.
Sistem görselindeki files razu v5.Sistemi kullanmak için gcc versiyonu kaç olması gerek
taş olayını çözemedim hocam dediğinizi yaptım stone kaldırdım ancak hala görünüyorSistem görselindeki files razu v5.
'InfoBoard' object has no attribute 'HideCorners'
syserri bir türlü aşamadım ui.py 8 kere falan düzelttim uitarget.py de aynı şekilde ama bir türlü çözemiyorum şu konuya biri el atabilir mi
def __init__(self, layer = "UI"):
Window.__init__(self, layer)
CornerFileNames = [ "d:/ymir work/ui/pattern/ThinBoard_Corner_"+dir+".tga" for dir in ["LeftTop","LeftBottom","RightTop","RightBottom"] ]
LineFileNames = [ "d:/ymir work/ui/pattern/ThinBoard_Line_"+dir+".tga" for dir in ["Left","Right","Top","Bottom"] ]
self.Corners = []
for fileName in CornerFileNames:
Corner = ExpandedImageBox()
Corner.AddFlag("attach")
Corner.AddFlag("not_pick")
Corner.LoadImage(fileName)
Corner.SetParent(self)
Corner.SetPosition(0, 0)
Corner.Show()
self.Corners.append(Corner)
self.Lines = []
for fileName in LineFileNames:
Line = ExpandedImageBox()
Line.AddFlag("attach")
Line.AddFlag("not_pick")
Line.LoadImage(fileName)
Line.SetParent(self)
Line.SetPosition(0, 0)
Line.Show()
self.Lines.append(Line)
Base = Bar()
Base.SetParent(self)
Base.AddFlag("attach")
Base.AddFlag("not_pick")
Base.SetPosition(self.CORNER_WIDTH, self.CORNER_HEIGHT)
Base.SetColor(self.BOARD_COLOR)
Base.Show()
self.Base = Base
self.Lines[self.L].SetPosition(0, self.CORNER_HEIGHT)
self.Lines[self.T].SetPosition(self.CORNER_WIDTH, 0)
def __del__(self):
Window.__del__(self)
if app.ENABLE_TARGET_INFORMATION_SYSTEM:
def ShowCorner(self, corner):
self.Corners[corner].Show()
self.SetSize(self.GetWidth(), self.GetHeight())
def HideCorners(self, corner):
self.Corners[corner].Hide()
self.SetSize(self.GetWidth(), self.GetHeight())
def ShowLine(self, line):
self.Lines[line].Show()
self.SetSize(self.GetWidth(), self.GetHeight())
def HideLine(self, line):
self.Lines[line].Hide()
self.SetSize(self.GetWidth(), self.GetHeight())
def __init__(self):
ui.ThinBoard.__init__(self)
self.HideCorners(self.LT)
self.HideCorners(self.RT)