Beret Posted August 17, 2012 Posted August 17, 2012 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. Quote
xazax Posted August 18, 2012 Posted August 18, 2012 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, Quote
Beret Posted August 19, 2012 Author Posted August 19, 2012 (edited) This is the following code but wanted to leave for only GM can see shadow and shaped to the players stay invisible. http://sourceforge.n...hangeset/15288/ Edited August 19, 2012 by Beret Quote
xazax Posted August 20, 2012 Posted August 20, 2012 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. Quote
Beret Posted August 22, 2012 Author Posted August 22, 2012 Hello xazax tried to find more not found, could you tell me the part that lies. Quote
Question
Beret
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.