Beret Posted August 17, 2012 Group: Members Topic Count: 60 Topics Per Day: 0.01 Content Count: 174 Reputation: 3 Joined: 06/19/12 Last Seen: September 18, 2024 Share 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 Link to comment Share on other sites More sharing options...
xazax Posted August 18, 2012 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 427 Reputation: 123 Joined: 11/17/11 Last Seen: December 31, 2022 Share 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 Link to comment Share on other sites More sharing options...
Beret Posted August 19, 2012 Group: Members Topic Count: 60 Topics Per Day: 0.01 Content Count: 174 Reputation: 3 Joined: 06/19/12 Last Seen: September 18, 2024 Author Share 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 Link to comment Share on other sites More sharing options...
xazax Posted August 20, 2012 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 427 Reputation: 123 Joined: 11/17/11 Last Seen: December 31, 2022 Share 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 Link to comment Share on other sites More sharing options...
Beret Posted August 22, 2012 Group: Members Topic Count: 60 Topics Per Day: 0.01 Content Count: 174 Reputation: 3 Joined: 06/19/12 Last Seen: September 18, 2024 Author Share Posted August 22, 2012 Hello xazax tried to find more not found, could you tell me the part that lies. Quote Link to comment Share on other sites More sharing options...
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.
Link to comment
Share on other sites
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.