Jump to content

Daily Boss Event


Recommended Posts

M2 Download Center

This is the hidden content, please
( Internal )

mp6MaHL.jpg

Daily Event

Winter will come in days so what do you think about daily(or in chosen day) event with Grinch?.

Before Grinch spawn game will send 4 notices about time of spawn.

After kill daily boss(Grinch in package with map) game will send announcement with info about
player who made last hit and kill Grinch.
Every participants on this map after kill Grinch will get VIP bonuses for chosen time.

Every settings like spawn time, announcement time are easy configurable.
If you want fix small bug with displaying time please change this line like bellow:

change:

["ANNOUCEMENT_LINE_3"] = "TODAY! About %d:%d he will be on Daily Boss Map.";

for:

["ANNOUCEMENT_LINE_3"] = "TODAY! About %02d:%02d he will be on Daily Boss Map.";

Announcement and spawn conf:

FrRT1pY.png

 

Time in quest dialogs are imported directly from settings in game.
If you will set this event only in one day of week then Quest Scroll will hidden in other days.

TX0KHt6.png

 

You can simple disable VIP bonuses if you want only drop reward.

SKkI6Bn.png35FJRqf.png

 

If you want it only in one day then simply change const value and choose own day.

Y9RfAhK.png

 

Download & Scan

 

https://mega.nz/file/23YWTSiY#cRnDSdj65nNUgze_CcSUsN5LcUUewlVYBE9w478_FyY
https://www.virustotal.com/#/file/91e74bab2c2fab4f3046b7d4e7ff1f31432730d5adce1de863a9866303025bbc/detection

 

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 34
  • Dislove 1
  • Good 7
  • Love 2
  • Love 17
Link to comment
Share on other sites

  • 1 month later...
  • 1 year later...
  • 4 weeks later...
  • 8 months later...
  • 10 months later...
  • 5 months later...
On 8/18/2019 at 5:42 PM, weryoliveira said:

this sistem give game.core when i kill stones, why?

I get same error, I looking for solution.

GDB give me this.

 

#0  0x080a87f0 in CHARACTER::Dead (this=this@entry=0x3e691000,
    pkKiller=<optimized out>, pkKiller@entry=0x0,
    bImmediateDead=bImmediateDead@entry=true) at entity.h:54
        isAgreedPVP = <optimized out>
        isUnderGuildWar = <optimized out>
        isDuel = <optimized out>
        isForked = <optimized out>
        pack = {header = 0 '\000', vid = 268435456}
        __FUNCTION__ = {<optimized out>, <optimized out>, <optimized out>,
          <optimized out>, <optimized out>}
#1  0x080a957c in CHARACTER::Dead (this=0x3e691000, pkKiller=0x0,
    bImmediateDead=true) at char_battle.cpp:1562
        isAgreedPVP = <optimized out>
        isUnderGuildWar = <optimized out>
        isDuel = <optimized out>
        isForked = <optimized out>
        pack = {header = <optimized out>, vid = <optimized out>}
        __FUNCTION__ = {<optimized out>, <optimized out>, <optimized out>,
          <optimized out>, <optimized out>}
        g1 = <optimized out>
        g2 = <optimized out>
        iEP = <optimized out>
        buf = {<optimized out> <repeats 256 times>}
--Type <RET> for more, q to quit, c to continue without paging--
        buf = {<optimized out> <repeats 256 times>}
        iNoPenaltyProb = <optimized out>
        f = {m_iAmount = <optimized out>, m_iCount = <optimized out>,
          m_iStep = <optimized out>, m_iKillerX = <optimized out>,
          m_iKillerY = <optimized out>}
        chResurrect = <optimized out>
        buf = {<optimized out> <repeats 51 times>}
        it = {_M_node = <optimized out>}
        pEventInfo = <optimized out>
#2  0x08090f80 in FuncDeadSpawnedByStone::operator() (ch=0x3e691000,
    this=<synthetic pointer>) at char.cpp:5139
No locals.
#3  std::for_each<std::__detail::_Node_iterator<CHARACTER*, true, false>, FuncDe          adSpawnedByStone> (__f=..., __last=..., __first=...)
    at /usr/local/lib/gcc10/include/c++/bits/stl_algo.h:3844
No locals.
#4  CHARACTER::ClearStone (this=0x3e547000) at char.cpp:5149
        f = {<No data fields>}
#5  0x080a9269 in CHARACTER::Dead (this=this@entry=0x3e547000,
    pkKiller=<optimized out>, pkKiller@entry=0x3e66f000,
    bImmediateDead=bImmediateDead@entry=true) at char_battle.cpp:1507
        pEventInfo = <optimized out>
        isAgreedPVP = <optimized out>
--Type <RET> for more, q to quit, c to continue without paging--
        isUnderGuildWar = <optimized out>
        isDuel = <optimized out>
        isForked = <optimized out>
        pack = {header = 14 '\016', vid = 21572}
        __FUNCTION__ = {<optimized out>, <optimized out>, <optimized out>,
          <optimized out>, <optimized out>}
#6  0x080aa5ea in CHARACTER::Dead (bImmediateDead=true, pkKiller=0x3e66f000,
    this=0x3e547000) at char_battle.cpp:517
        isUnderGuildWar = <optimized out>
        isDuel = <optimized out>
        isAgreedPVP = <optimized out>
        isForked = <optimized out>
        pack = {header = <optimized out>, vid = <optimized out>}
        isAgreedPVP = <optimized out>
        isUnderGuildWar = <optimized out>
        isDuel = <optimized out>
        isForked = <optimized out>
        pack = {header = <optimized out>, vid = <optimized out>}
        __FUNCTION__ = {<optimized out>, <optimized out>, <optimized out>,
          <optimized out>, <optimized out>}
        g1 = <optimized out>
        g2 = <optimized out>
        iEP = <optimized out>
--Type <RET> for more, q to quit, c to continue without paging--
        buf = {<optimized out> <repeats 256 times>}
        buf = {<optimized out> <repeats 256 times>}
        iNoPenaltyProb = <optimized out>
        f = {m_iAmount = <optimized out>, m_iCount = <optimized out>,
          m_iStep = <optimized out>, m_iKillerX = <optimized out>,
          m_iKillerY = <optimized out>}
        chResurrect = <optimized out>
        buf = {<optimized out> <repeats 51 times>}
        it = {_M_node = <optimized out>}
        pEventInfo = <optimized out>
#7  CHARACTER::Damage (this=<optimized out>, pAttacker=<optimized out>,
    dam=<optimized out>, type=<optimized out>) at char_battle.cpp:2177
        iCurHP = <optimized out>
        iCurSP = <optimized out>
        IsCritical = <optimized out>
        IsPenetrate = <optimized out>
        IsDeathBlow = false

 

Edited by arlinamid
  • Metin2 Dev 1

giphy.gif

Best regards, Arlinamid

Link to comment
Share on other sites

  • 11 months later...
On 9/14/2021 at 6:59 AM, arlinamid said:

I get same error, I looking for solution.

GDB give me this.

 

#0  0x080a87f0 in CHARACTER::Dead (this=this@entry=0x3e691000,
    pkKiller=<optimized out>, pkKiller@entry=0x0,
    bImmediateDead=bImmediateDead@entry=true) at entity.h:54
        isAgreedPVP = <optimized out>
        isUnderGuildWar = <optimized out>
        isDuel = <optimized out>
        isForked = <optimized out>
        pack = {header = 0 '\000', vid = 268435456}
        __FUNCTION__ = {<optimized out>, <optimized out>, <optimized out>,
          <optimized out>, <optimized out>}
#1  0x080a957c in CHARACTER::Dead (this=0x3e691000, pkKiller=0x0,
    bImmediateDead=true) at char_battle.cpp:1562
        isAgreedPVP = <optimized out>
        isUnderGuildWar = <optimized out>
        isDuel = <optimized out>
        isForked = <optimized out>
        pack = {header = <optimized out>, vid = <optimized out>}
        __FUNCTION__ = {<optimized out>, <optimized out>, <optimized out>,
          <optimized out>, <optimized out>}
        g1 = <optimized out>
        g2 = <optimized out>
        iEP = <optimized out>
        buf = {<optimized out> <repeats 256 times>}
--Type <RET> for more, q to quit, c to continue without paging--
        buf = {<optimized out> <repeats 256 times>}
        iNoPenaltyProb = <optimized out>
        f = {m_iAmount = <optimized out>, m_iCount = <optimized out>,
          m_iStep = <optimized out>, m_iKillerX = <optimized out>,
          m_iKillerY = <optimized out>}
        chResurrect = <optimized out>
        buf = {<optimized out> <repeats 51 times>}
        it = {_M_node = <optimized out>}
        pEventInfo = <optimized out>
#2  0x08090f80 in FuncDeadSpawnedByStone::operator() (ch=0x3e691000,
    this=<synthetic pointer>) at char.cpp:5139
No locals.
#3  std::for_each<std::__detail::_Node_iterator<CHARACTER*, true, false>, FuncDe          adSpawnedByStone> (__f=..., __last=..., __first=...)
    at /usr/local/lib/gcc10/include/c++/bits/stl_algo.h:3844
No locals.
#4  CHARACTER::ClearStone (this=0x3e547000) at char.cpp:5149
        f = {<No data fields>}
#5  0x080a9269 in CHARACTER::Dead (this=this@entry=0x3e547000,
    pkKiller=<optimized out>, pkKiller@entry=0x3e66f000,
    bImmediateDead=bImmediateDead@entry=true) at char_battle.cpp:1507
        pEventInfo = <optimized out>
        isAgreedPVP = <optimized out>
--Type <RET> for more, q to quit, c to continue without paging--
        isUnderGuildWar = <optimized out>
        isDuel = <optimized out>
        isForked = <optimized out>
        pack = {header = 14 '\016', vid = 21572}
        __FUNCTION__ = {<optimized out>, <optimized out>, <optimized out>,
          <optimized out>, <optimized out>}
#6  0x080aa5ea in CHARACTER::Dead (bImmediateDead=true, pkKiller=0x3e66f000,
    this=0x3e547000) at char_battle.cpp:517
        isUnderGuildWar = <optimized out>
        isDuel = <optimized out>
        isAgreedPVP = <optimized out>
        isForked = <optimized out>
        pack = {header = <optimized out>, vid = <optimized out>}
        isAgreedPVP = <optimized out>
        isUnderGuildWar = <optimized out>
        isDuel = <optimized out>
        isForked = <optimized out>
        pack = {header = <optimized out>, vid = <optimized out>}
        __FUNCTION__ = {<optimized out>, <optimized out>, <optimized out>,
          <optimized out>, <optimized out>}
        g1 = <optimized out>
        g2 = <optimized out>
        iEP = <optimized out>
--Type <RET> for more, q to quit, c to continue without paging--
        buf = {<optimized out> <repeats 256 times>}
        buf = {<optimized out> <repeats 256 times>}
        iNoPenaltyProb = <optimized out>
        f = {m_iAmount = <optimized out>, m_iCount = <optimized out>,
          m_iStep = <optimized out>, m_iKillerX = <optimized out>,
          m_iKillerY = <optimized out>}
        chResurrect = <optimized out>
        buf = {<optimized out> <repeats 51 times>}
        it = {_M_node = <optimized out>}
        pEventInfo = <optimized out>
#7  CHARACTER::Damage (this=<optimized out>, pAttacker=<optimized out>,
    dam=<optimized out>, type=<optimized out>) at char_battle.cpp:2177
        iCurHP = <optimized out>
        iCurSP = <optimized out>
        IsCritical = <optimized out>
        IsPenetrate = <optimized out>
        IsDeathBlow = false

 

Soluction

Change 

if (CDailyBoss::instance().IsBossMap(pkKiller->GetMapIndex()) == true) BUGGGGG
 

in char_battle

to


if (CDailyBoss::instance().IsBossMap(GetMapIndex()) == true)

Link to comment
Share on other sites

  • 3 months later...

Announcements



  • Similar Content

  • Similar Content

  • Similar Content

  • Tags

  • Activity

    1. 0

      Metin2 effect script files (MSE and MSA file) how can convert

    2. 10

      Multi Language System

    3. 0

      We are looking for a C++ and Python programmer

    4. 0

      [Quest Scheduler Request] Is there a way to make a quest run independet of player events? Lets say start quest automatically at server startup?

    5. 111

      Ulthar SF V2 (TMP4 Base)

    6. 0

      Quest function when 102.kill definition whereabouts help

    7. 5

      [M2 FILTER] Customized Client Filter

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.