Jump to content

[C++] Fix duplicar estolas [S/O]


Recommended Posts

Vamos al source game y en el archivo "cmd_general.cpp" buscamos

ACMD(do_open_offline_shop)

 

y agreguen la siguiente restricción a continuación.

   if (ch->IsAcceOpen())
   {
      ch->ChatPacket(CHAT_TYPE_INFO, "No puedes usar la tienda offline cuando creas una estola.");
      return;
   }

 

Ahora buscamos

ACMD(do_acce)

 

Agregar después

if (ch->GetOfflineShopOwner())
   {
      ch->ChatPacket(CHAT_TYPE_INFO, "No puedes craftear una estola cuando tienes la tienda fuera de línea abierta.");
      return;
   }

 

 

Eso es todo, espero les sirva.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...