Jump to content

Recommended Posts

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

  • Honorable Member

Hmm...
Mouse? MouseButtonLeftUp? Maybe game.py? Ohh!

itemDropQuestionDialog -> acceptevent -> __SendDropItemPacket -> m2net.SendItemDropPacketNew -> HEADER_CG_ITEM_DROP2 -> input_main.cpp -> ItemDrop2 -> ch->DropItem -> char_item.cpp -> CHARACTER::DropItem -> Magic -> If (expr) return;

Link to comment
Share on other sites

  • Active Member

Hi :)

char_item.cpp

Spoiler

if (pkItemToDrop->AddToGround(GetMapIndex(), pxPos))
    {
        // ΗΡ±ΉΏ΅΄Β ΎΖΐΜΕΫΐ» ΉφΈ®°ν ΊΉ±ΈΗΨ΄ή¶σ΄Β Αψ»σΐ―ΐϊµιΐΜ ΈΉΎΖΌ­
        // ΎΖΐΜΕΫΐ» ΉΩ΄ΪΏ΅ ΉφΈ± ½Γ ΌΣΌΊ·Ξ±ΧΈ¦ ³²±δ΄Ω.
        if (LC_IsYMIR())
            item->AttrLog();

        ChatPacket(CHAT_TYPE_INFO, LC_TEXT("¶³ΎξΑψ ΎΖΐΜΕΫΐΊ 3ΊΠ ΘΔ »η¶σΑύ΄Ο΄Ω."));
        pkItemToDrop->StartDestroyEvent(10);

        ITEM_MANAGER::instance().FlushDelayedSave(pkItemToDrop);
        
        char szHint[32 + 1];
        snprintf(szHint, sizeof(szHint), "%s %u %u", pkItemToDrop->GetName(), pkItemToDrop->GetCount(), pkItemToDrop->GetOriginalVnum());
        LogManager::instance().ItemLog(this, pkItemToDrop, "DROP", szHint);
        //Motion(MOTION_PICKUP);
    }

Change 10 to the number of seconds you want.

Kind regards ~ Mind Rapist

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • 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.