Jump to content

Recommended Posts

  • Premium

I want to do a thing.

When char die, i block the restart_here. To get up you need to use an item. If you dont have this item, only in this map you can pickup only this item while you're die.

So what,  how can i pickup while char is die only in a map index (only 1 item possible to pickup)?

 

It's cool, so your party can save you to get up :D

Thanks in advance, i'll give +1 of course.

Link to comment
https://metin2.dev/topic/18717-helptrick-for-a-dungeon/
Share on other sites

I'm not sure, and I don`t have time to check, but maybe it bool CPythonNetworkStream::SendItemPickUpPacket(DWORD vid) in userinterface PythonNetworkStreamPhaseGameItem.cpp:

    if (!__CanActMainInstance())
        return true;

Check and let me know

  • Love 1
Link to comment
https://metin2.dev/topic/18717-helptrick-for-a-dungeon/#findComment-102148
Share on other sites

  • Premium

bool CPythonNetworkStream::__CanActMainInstance()
{
    CPythonCharacterManager& rkChrMgr=CPythonCharacterManager::Instance();
    CInstanceBase* pkInstMain=rkChrMgr.GetMainInstancePtr();
    if (!pkInstMain)
        return false;

    return pkInstMain->CanAct();
}

Edited by WeedHex
Link to comment
https://metin2.dev/topic/18717-helptrick-for-a-dungeon/#findComment-102150
Share on other sites

Ok i understand, but you checked without this if?

    if (!__CanActMainInstance())
        return true;

Could you pick up item from ground when you die?

If u want do this what u write above, 1st we need make item "pickable" when u die -- rest is simple.

Link to comment
https://metin2.dev/topic/18717-helptrick-for-a-dungeon/#findComment-102157
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • 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.