Detaylı Mob Target İnfo Tam Sistem


Dostum farklı şeylerle uğraşmaktan bakamadım. Kusura bakma

Şimdi bak server srcde char.cpp içerisinde:

char.cpp:
Genişlet Daralt Kopyala
    if (IsStone())
    {
        DetermineDropMetinStone();
    }

Böyle bir kod var. Bu kodun açıklaması, eğer metin taşı ise DetermineDropMetinStone fonksiyonunu çağır demek.

Bu fonksiyonu yorum satırına aldığında tüm metinlerdeki taşları kaldırır. /usr/game/share/locale/turkey içerisindeki mob_drop_item.txtye eklediğinde de sırayla üst üste gösterir. Kodlar ona ayarlı çünkü.

Yani yapman gereken şu:

char.cpp:
Genişlet Daralt Kopyala
    // if (IsStone())
    // {
        //DetermineDropMetinStone();
    // }

Sil yada yorum satırına al.

mob_drop_item.txt:
Genişlet Daralt Kopyala
Group    Àü¸¶¼®
{
    Mob    8002
    Type    drop
    1    5000    1    20
    2    11210    1    20
    3    11410    1    20
    4    11610    1    20
    5    11810    1    20
    6    30    1    20
    7    1010    1    20
    8    3020    1    20
    9    2020    1    20
    10    7020    1    20
    11    5001    1    15
    12    11211    1    15
    13    11411    1    15
    14    11611    1    15
    15    11811    1    15
    16    31    1    15
    17    1011    1    15
    18    3021    1    15
    19    2021    1    15
    20    7021    1    15
    21    5002    1    10
    22    11212    1    10
    23    11412    1    10
    24    11612    1    10
    25    11812    1    10
    26    32    1    5
    27    1012    1    5
    28    3022    1    5
    29    2022    1    5
    30    7022    1    5
    31    27002    50    100
    32    27003    30    50
    33    27005    30    50
    34    27006    20    50
    35    50300    1    10000
    36    50300    1    10000
    37    50300    1    10000
    38    50300    1    10000
    39    25041    1    10000
    40    70102    1    10000
    41    28430    1    50    15
    42    28431    1    50    15
    43    28432    1    50    15
    44    28433    1    50    15
    45    28434    1    50    15
    46    28435    1    50    15
    47    28436    1    50    15
    48    28437    1    50    15
    49    28438    1    50    15
    50    28439    1    50    15
    51    28440    1    50    15
    52    28441    1    50    15
    53    28442    1    50    15
    54    28443    1    50    15

}

8002 kodlu mob için yaptım. Sen istediğine ekleyebilirsin. Ayrıca sadece metin taşlarında değil istediğin moba ekleyebilirsin.

Böylece tüm metinlerde değilde mob_drop_item içerisindeki mob koduyla eklediklerinde görünür. 1 den fazla taş eklediğinde uitarget.py içerisinde sıralama olduğu için taşların fotosu sırayla değişir.

1734198438796.webp

1734198465196.webp

1734198481852.webp
 
Güncelleme v_01
Güncelleme v_02

Konuya eklenmiştir. Resimlerde değiştirilmiştir. Kullananlar için iyi kullanımlar dilerim.
 
I don't want to take that out,

it's related to python i think ....
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?
i want to remove 8001 but i want to keep const SStoneDropInfo aStoneDrop[STONE_INFO_MAX_NUM] =
{
// mob pct {+0 +1 +2 +3 +4}
{8005, 60, {30, 30, 30, 9, 1} },
{8006, 60, {28, 29, 31, 11, 1} },
{8007, 60, {24, 29, 32, 13, 2} },
{8008, 60, {22, 28, 33, 15, 2} },
{8009, 60, {21, 27, 33, 17, 2} },
{8010, 60, {18, 26, 34, 20, 2} },
{8011, 60, {14, 26, 35, 22, 3} },
{8012, 60, {10, 26, 37, 24, 3} },
{8013, 60, {2, 26, 40, 29, 3} },
{8014, 60, {0, 26, 41, 30, 3} },
};

your fix is not good for me
 
Kodları resim olarak paylaşmayınız, kod bloğunu kullanarak ekleyiniz!
Soru işareti harici herhangi bi yere tıklarsam targette bu syserri veriyor soru işaretine tıklayınca bi sıkıntı yok sorunsuz calısıyor

1227 17:25:08226 :: File "ui.py", line 298, in OnMouseLeftButtonDown

1227 17:25:08227 :: AttributeError
1227 17:25:08227 :: :
1227 17:25:08227 :: 'TargetBoard' object has no attribute 'clickEvent'
1227 17:25:08227 ::

1227 17:25:12285 :: Traceback (most recent call last):

1227 17:25:12285 :: File "ui.py", line 298, in OnMouseLeftButtonDown

1227 17:25:12286 :: AttributeError
1227 17:25:12286 :: :
1227 17:25:12286 :: 'TargetBoard' object has no attribute 'clickEvent'
1227 17:25:12286 ::

1227 17:25:19412 :: Traceback (most recent call last):

1227 17:25:19412 :: File "ui.py", line 298, in OnMouseLeftButtonDown

1227 17:25:19413 :: AttributeError
1227 17:25:19413 :: :
1227 17:25:19413 :: 'TargetBoard' object has no attribute 'clickEvent'
1227 17:25:19413 ::

Eline sağlık
 

Dosya Eklentileri

  • 2.webp
    2.webp
    39,1 KB · Gösterim: 60
  • ui.py.txt
    ui.py.txt
    107,7 KB · Gösterim: 5
  • Ekran görüntüsü 2024-12-27 203326.webp
    Ekran görüntüsü 2024-12-27 203326.webp
    499,1 KB · Gösterim: 60
Son düzenleme:
clientte hata alıyorum sorunu bilen var mı ? ekleme doğru değil mi ?

Ekran görüntüsü 2025-01-05 170153.webp
Ekran görüntüsü 2025-01-05 170238.webp
 
En son bir moderatör tarafından düzenlenmiş:
Kod:
Genişlet Daralt Kopyala
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
 
En son bir moderatör tarafından düzenlenmiş:
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
ui.py:
Genişlet Daralt Kopyala
## 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

Sanırım bir butonla burası çakışıyor. Burayı uygun şekilde düzenlersen sorun gidecektir.
 
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ı ?

2131d397-efa7-41df-bf7d-125bd4173e1b.webp
 
En son bir moderatör tarafından düzenlenmiş:
Geri
Üst