Jump to content

Cyxer

Inactive Member
  • Posts

    144
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Cyxer

  1. GM Cant drop items!

    Search game/src/char_item.cpp:

    bool CHARACTER::DropItem(TItemPos Cell, BYTE bCount)
    {
    	LPITEM item = NULL; 
    

    and add this:

    	if (GetGMLevel() > GM_PLAYER)
    		{
    			ChatPacket(CHAT_TYPE_INFO, LC_TEXT("GameMaster cant drop items!."));
    			return false;
    		}

     

    devs.thumb.PNG.c0d664d3faeb945f52ba57827

     

     

    GM Cant Trade:

     

    Search game/src/exchange.cpp:

    	if ( IsOpenSafebox() || GetShopOwner() || GetMyShop() || IsCubeOpen())
    	{
    		ChatPacket( CHAT_TYPE_INFO, LC_TEXT("?? ???? ?????? ??? ?? ????." ) );
    		return false;
    	}

    and add under :

    	if (GetGMLevel() > GM_PLAYER || victim->GetGMLevel() > GM_PLAYER)
    	{
    		ChatPacket(CHAT_TYPE_INFO, LC_TEXT("GM Cant trade items."));
    		return false;
    	}

    devs2.thumb.PNG.7f584abdc820e87c4be3d9a4

     

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