Jump to content

Absolute GM Restriction System


Recommended Posts

Acum 21 ore, Pisti95 a spus:

I have a problem, when my GM character on CH99 and other character CH1, and i wrote ( /a name level ), CH99 does stop.

 

/A COMMAND BLOCK FOR PLAYERS

Still in cmd_gm.cpp, search for the function "ACMD(do_advance)" and under

  Ascunde conținuturi

    LPCHARACTER tch = CHARACTER_MANAGER::instance().FindPC(arg1);

 

  Ascunde conținuturi

    if (tch->IsGM() == false)
    {
        ch->ChatPacket(CHAT_TYPE_INFO, "You can only change the level of GM characters.");
        return;
    }

yes sometimes that's happen..why ? On mine core1 stop..

  • Good 1
Link to comment
Share on other sites

  • 1 year later...
  • 10 months later...
  • Premium
On 11/8/2018 at 1:38 AM, Syriza said:

If gamemaster opens chest and inventory is full item will drop to ground and the result is that other player Can pick this item on ground.

 

 

anyone Solution  ? :)

Char_item.cpp

Find for:    item->AddToGround (GetMapIndex(), GetXYZ());

Before add:

        if (GetGMLevel() > GM_PLAYER)
        {
            ChatPacket(CHAT_TYPE_INFO, "Trying to fuck from ground.");
            return;
        }

 

  • Love 2
Link to comment
Share on other sites

vor einer Stunde schrieb WeedHex:

Char_item.cpp

Find for:    item->AddToGround (GetMapIndex(), GetXYZ());

Before add:


        if (GetGMLevel() > GM_PLAYER)
        {
            ChatPacket(CHAT_TYPE_INFO, "Trying to fuck from ground.");
            return;
        }

 

XD Thanks

Link to comment
Share on other sites

vor 7 Stunden schrieb Heathcliff™:

In char_battle.cpp:

  Inhalt unsichtbar machen

Search:



bool CHARACTER::Damage(LPCHARACTER pAttacker, int dam, EDamageType type)

Add under:



	if (GetGMLevel() > GM_PLAYER && GetRaceNum() > 7)
		return false;

 

 

 

Am 11.10.2019 um 16:42 schrieb WeedHex:

Char_item.cpp

Find for:    item->AddToGround (GetMapIndex(), GetXYZ());

Before add:


        if (GetGMLevel() > GM_PLAYER)
        {
            ChatPacket(CHAT_TYPE_INFO, "Trying to fuck from ground.");
            return;
        }

 

Don't work for me.

Link to comment
Share on other sites

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.