• Serverınızın epinlerini tamamen Turkmmo güvencesiyle satın. Kredi kartı, mobil ödeme, havale/eft ve uygun komisyon oranıyla. Hemen mağaza başvurunuzu yapın. Oyunalisveris.com





Sitemize reklam vermek için [email protected] adresine mail atabilirsiniz
For Advertising Contact [email protected]


[040] Metin2 Gemi Savunması - Hidra

5.00 yıldız(lar) 8 Oy

040

Level 6
TM Üye
Üye
Ticaret - 0%
0   0   0
Katılım
8 Ağu 2010
Mesajlar
1,396
Beğeniler
315
MmoLira
514
DevLira
89
#1

Turkmmo Resmi Serverı Elym2, 10. Yılına Özel 1-120 Farm Serverı 18 Ocak Cuma 7000+ Online İle Açıldı! HEMEN KAYIT OLMAK İÇİN TIKLAYIN



Umarım işinize yarar. Şimdiden hayırlı olsun. :)

Kimse kimsenin arkasından kin ve nefret beslemesin. Herkes bu platformda yardımsever olsun. Dileklerimle..

https://mega.nz/#!jPgB2SJD!BBS0MCvxpiTsaJLU98CrlftZwRgvSBFirJmaqV6OiU4

https://www.dosyaupload.com/en6k

https://www.virustotal.com/#/file/b...a596d845e42dfb9bd5bbb651b89d7098971/detection


Kanıt..

Thanks for KastroAlgeria






System works , Noticed one problem when the ship health destroyed the dungeon keep going when it should kick you out
Missing python code:
//Open ui.py:
Search :
class Gauge(Window):
add in : def __init__(self):
self.showtooltipevent = None
self.showtooltiparg = None
self.hidetooltipevent = None
self.hidetooltiparg = None
self.ToolTipText = None
add in : def __del__(self):
self.showtooltipevent = None
self.showtooltiparg = None
self.hidetooltipevent = None
self.hidetooltiparg = None
add these in the same class:
def SetShowToolTipEvent(self, func, *args):
self.showtooltipevent = func
self.showtooltiparg = args

def SetHideToolTipEvent(self, func, *args):
self.hidetooltipevent = func
self.hidetooltiparg = args

def ShowToolTip(self):
if self.ToolTipText:
self.ToolTipText.Show()

def HideToolTip(self):
if self.ToolTipText:
self.ToolTipText.Hide()

def SetToolTipText(self, text, x=0, y = -19):
self.SetFormToolTipText("TEXT", text, x, y)

def SetFormToolTipText(self, type, text, x, y):
if not self.ToolTipText:
toolTip=createToolTipWindowDict[type]()
toolTip.SetParent(self)
toolTip.SetSize(0, 0)
toolTip.SetHorizontalAlignCenter()
toolTip.SetOutline()
toolTip.Hide()
toolTip.SetPosition(x + self.GetWidth()/2, y)
self.ToolTipText=toolTip

self.ToolTipText.SetText(text)

Fix for overpowred mobs {3601-3602-3604-3605-3401-3402-3403-3404-3405}
//Open char.cpp
Replace:
C++:
#ifdef __DEFENSE_WAVE__
            if ((GetRaceNum() <= 3955 && GetRaceNum() >= 3950 && GetRaceNum() != 3953) || (GetRaceNum() <= 3605 && GetRaceNum() >= 3601 && GetRaceNum() != 3602) || (GetRaceNum() <= 3405 && GetRaceNum() >= 3401 && GetRaceNum() != 3403))
                return m_pkMobData->m_table.wAttackRange + 300;
            else
                return m_pkMobData->m_table.wAttackRange;
#else
            return m_pkMobData->m_table.wAttackRange;
#endif
With:
C++:
#ifdef __DEFENSE_WAVE__
            if ((GetRaceNum() <= 3955 && GetRaceNum() >= 3950 && GetRaceNum() != 3953))
                return m_pkMobData->m_table.wAttackRange + 300;
            else
                return m_pkMobData->m_table.wAttackRange;
#else
            return m_pkMobData->m_table.wAttackRange;
#endif
//open char.h
Replace:

C++:
#ifdef __DEFENSE_WAVE__
    public:
        bool IsDefanceWaweMastAttackMob(DWORD dwMobVnum) const { return (dwMobVnum >= 3950 && dwMobVnum <= 3964) || (dwMobVnum >= 3401 && dwMobVnum <= 3405) || (dwMobVnum >= 3601 && dwMobVnum <= 3605); }
#endif
With:

C++:
#ifdef __DEFENSE_WAVE__

    public:

        bool IsDefanceWaweMastAttackMob(DWORD dwMobVnum) const { return (dwMobVnum >= 3950 && dwMobVnum <= 3964); }

#endif
Add missing property file :
Link:
https://mega.nz/#!BZdlTKDQ!jOngiII7JUaciHGlULmvXk9J6u0q3iAlFueHZ4fYaP0

//Change in defance_wawe.lua quest so it won't get mixed up with snow_dungon
search x2 : make_dungeon
replace with :
make_hydra
*Don't forget to check map_index

Forgot about this ! (monster server data)
Add these files in .../share/data/
https://mega.nz/#!VJ8lkCLK!OlNhAJG9OUL7pxWFTOcgrJ-43CHrvPaarBpqwDYZnfA
give 777

(Some dude just keep on biting me)
//Add in : npclist.txt
Python:
0    defensewave_naga_1    defensewave_naga
0    defensewave_naga_2    defensewave_naga
0    defensewave_pawn_1    defensewave_pawn
0    defensewave_pawn_2    defensewave_pawn
0    defensewave_pawn_3    defensewave_pawn
3949    warp_blue
3950    defensewave_pawn_1
3951    defensewave_pawn_2
3952    defensewave_pawn_3
3953    defensewave_watersoul
3954    defensewave_naga_1
3955    defensewave_naga_2
3956    defensewave_medusa
3957    defensewave_minihydra
3958    defensewave_minihydra
3959    defensewave_minihydra
3960    defensewave_hydra_boss
3961    defensewave_hydra_boss
3962    defensewave_hydra_boss
3963    defensewave_hydra_boss_left
3964    defensewave_hydra_boss_right
3965    reddragon_room_box
3970    defensewave_wall
20432    metinstone_defensewave
20433    defensewave_statue
20434    defensewave_sail
20435    defensewave_redrock
20436    defensewave_steerhandle
20437    defensewave_woodrepair
//In minimap.py do not make the change like in tutorial, in stead make it like this :
Add it like this :
Python:
        {
            "name" : "MastWindow",
            "type" : "thinboard",

            "x" : 35,
            "y" : 160,

            "width" : 105,
            "height" : 37,
            "children" :
            (
                {
                    "name" : "MastText",
                    "type" : "text",

                    "text_horizontal_align" : "center",

                    "x" : 35,
                    "y" : 8,

                    "text" : uiScriptLocale.DEFANCE_WAWE_MAST_TEXT,
                },
                {
                    "name" : "MastHp",
                    "type" : "gauge",

                    "x" : 10,
                    "y" : 23,

                    "width" : 85,
                    "color" : "red",
                 
                    "tooltip_text" : uiScriptLocale.DEFANCE_WAWE_GAUGE_TOOLTIP,
                },
            ),
        },
before:
Python:
        {
            "name" : "CloseWindow",


//Atlasinfo.txt
C:
metin2_map_defensewave    128000    486400    3    3
metin2_map_defensewave_port    128000    563200    3    3
*In the clientside you'll find that the settings for the 2 maps are 0 0 , Leave it as it was .
//Minimap.py at paste2.org to compare:
https://paste2.org/UsfUnJf9
 
Moderatör tarafında düzenlendi:
Üst