Jump to content
  • 0

How to make npc visible for GM


Question

Posted

Well when I use disablenpc or hideonnpc the npc's are invisible, even maya purple is invisible how do I just gm's can see the npc, to players he is invisible until you activate.

4 answers to this question

Recommended Posts

Posted

I think that is not possible to implement it efficiently, the only way is some hack in clif_send but I do not recommend you to edit that code unless you know what you are doing,

Posted

Yeah but the point of this code is that, you don't even send the packet of displaying that npc to the client.

However what you want is, still send the packet, if the reciever is a GM. In that part of code, you don't know yet, who will be the reciever, so it would be impossible to alter the conditions.

All you can do is, either revert that patch, and give your GM's maya purple card, or move all the checks to clif_send, where you have all the necessarry information.

Join the conversation

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

Guest
Answer this question...

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