Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server
You last visited: Today at 17:25

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Blocks Items/Polymorph on Guild War C++

Discussion on Blocks Items/Polymorph on Guild War C++ within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2014
Posts: 93
Received Thanks: 0
Blocks Items/Polymorph on Guild War C++

Hi guys, how can i block items like potions and poly on guild map? I want solutions only in c++, andy ideas?
Agorin is offline  
Old 04/12/2018, 09:35   #2
 
elite*gold: 157
Join Date: May 2014
Posts: 504
Received Thanks: 603
In File char_item.cpp:

Search static bool IS_SUMMON_ITEM(int vnum)

Paste under that function:

Code:
static bool IS_ENABLE_ITEM(int vnum)
{
    switch (vnum)
    {
        case 39011:
        case 39012:
        case 39013:
            return true;
    }

    return false;
}

Search bool IS_BOTARYABLE_ZONE(int nMapIndex)

Paste under that function:

Code:
bool IS_ENABLE_ITEM_ZONE(int map_index)
{
    switch (map_index)
    {
        case 29:
        case 30:
        case 31:
            return false;
    }

    return true;
}
Search //PREVENT_TRADE_WINDOW

Paste above that function:

Code:
if (IS_ENABLE_ITEM(item->GetVnum()))
    {
        if (false == IS_ENABLE_ITEM_ZONE(GetMapIndex()))
        {
            ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You can not use this item here."));
            return false;
        }
    }
DevBlade is offline  
Reply


Similar Threads Similar Threads
Selling Items or Items + War>War>War Lvl 131
07/22/2011 - Conquer Online 2 Trading - 4 Replies
Hey everyone. I have an awesome, pure warrior on Colossus Rhodes that I really don't play anymore, and it definitely has a lot of value to it. Before I post anymore information about this character, I need to see if I have anyone interested. Also, if you're only interested in GREAT warrior gear..everything is at least +5..weapon is +12, half of the stuff is 2 sock - I'd be willing to sell pieces at a time. So if you're interested in either, put a reply on this thread. Once I see that people...
Polymorph Exploit
07/27/2006 - WoW Exploits, Hacks, Tools & Macros - 19 Replies
Just a common tip that some people dont know, i was talking to a gm and you can actually click off the debuff of polymorph with enough clicks, its a % rounded down so it may take a few clicks, but usually clicks off in about 10 seconds as opposed to the normal 15-20 (even the extreme 40) Just a tip instead of watching your comrades die needlessly.
Test Realm - High Regen Exploit Requires Polymorph
06/22/2006 - WoW Exploits, Hacks, Tools & Macros - 10 Replies
Test server only. Basically get the super fast regen rate of Polymorph without being a sheep! You sheep them then you use fireball. Then u resheep them but you have to time it so that the person is sheeped right when fireball Dot ticks and you will keep the super fast regen without being a sheep! Basically you get polymorph interrupted by some kind of spell at the end of the bar.



All times are GMT +1. The time now is 17:26.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.