[ArcEmu] Invisibility_type? menu

User Tag List

Results 1 to 8 of 8
  1. #1
    FrostyC's Avatar Active Member
    Reputation
    28
    Join Date
    Nov 2008
    Posts
    66
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [ArcEmu] Invisibility_type?

    Okay so I've looked through lots of ArcEmu guides & manuals and a lot of them say a value of 11 in the Invisibility_type column makes an NPC only viewable by GMs. However I am a GM & I cannot see these NPCs. GM turned on or off, invisibility on or off, even tried adding a few Invisibility Detection spells from wowhead on my character, still nothing. I know the npc is there after I spawn him, because I can .npc select closest & delete them...

    Is there a better/easier/better known way to create NPCs that are only viewable by GMs? I tried writing an LUA script to make the NPC cast Uber Stealth on spawn, but it's not working...
    Code:
    function NPC_OnSpawn(Unit, Event)
    Unit:CastSpell(10032)
    end
    
    RegisterUnitEvent(50, 6, "NPC_OnSpawn")
    I've tried adding it in ai_agents, but I don't know what to put in the event column to make him cast it out of combat.

    I restarted the server in between trying all these methods and deleted my cache before reopening WoW...

    I am lost as how to do this...
    Last edited by FrostyC; 05-02-2010 at 02:49 PM. Reason: typo

    [ArcEmu] Invisibility_type?
  2. #2
    Kaidos's Avatar Contributor
    Reputation
    148
    Join Date
    Jun 2008
    Posts
    324
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi, try to use

    Code:
    RegisterUnitEvent(50, 18, "NPC_OnSpawn")
    instead of

    Code:
    RegisterUnitEvent(50, 6, "NPC_OnSpawn")
    because the ArcEmu Lua Engine uses 18 for OnSpawn Events.

  3. #3
    stoneharry's Avatar Moderator Harry


    Reputation
    1618
    Join Date
    Sep 2007
    Posts
    4,564
    Thanks G/R
    151/150
    Trade Feedback
    0 (0%)
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    To do this, I would simple change the phase of the creatures. Example:

    You spawn a creature. You want him to only be seen by GM's.
    You set his phase to 2 (.npc phase 2 1) and then he disappears.
    This is because your in phase 1, and you need to go to phase 2 to see him.
    But in phase 2 we can't see phase 1?
    That's why we set our phase to 3 (.char phase 3) and then we can see phase 1 and 2. (You can use phase -1 to see everything).

    Phases save after logout (you will only change phase if changed by a script or GM)! Enjoy.


  4. #4
    FrostyC's Avatar Active Member
    Reputation
    28
    Join Date
    Nov 2008
    Posts
    66
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the quick replies!

    Kaidos, I did that & he is indeed casting the spell on spawn now! Thank you!
    The only problem was, average players can see though Uber Stealth on NPCs, which is supposed to give 9999 stealth... On players, You stay stealthed unless someone walks through you... So I'm gonna try to find a different invisibility/stealth spell that will work better on an npc. I messed around with a few that have had some odd effects. i.e. Stealth detection spells working as stealth, onnlyvdifferent from normal stealth & all kinds of weird stuff...

    stoneharry, my first read through that just twisted my brain up. My second read through made perfect sense & it works perfect as well! But I was trying to have super stealth NPCs, and give the GMs a special Helmet or something to put on to be able to see them. Ever seen the movie 'Thir13en Ghosts'?
    Thank you for this though I will definitely be using this as well as it seems MUCH more secure.

    Thank you both again, I think that'll be everything I need to protect the npcs from unauthorized use. I just noticed there's not a lot of documentation on this type of thing and I just could not get it working! I am still curious about that invisibility_type column though... No one seems to know how to use it correctly...

  5. #5
    stoneharry's Avatar Moderator Harry


    Reputation
    1618
    Join Date
    Sep 2007
    Posts
    4,564
    Thanks G/R
    151/150
    Trade Feedback
    0 (0%)
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    The column probably isn't working at the moment or the flags may have been changed without being documented properly. Were just giving you work-arounds. I don't think there are any ways in making a item have that affect without actually stopping you seeing normal creatures as well. :/ Unless you use a spell that phases you upon equipping the item, but then you need to find a spell that sets you to the appropriate phase.

  6. #6
    FrostyC's Avatar Active Member
    Reputation
    28
    Join Date
    Nov 2008
    Posts
    66
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think I just did just that!

    I put Spectral Invisibility on a helmet & it shows no equip or use function in the tooltip for the item, but it works still...

    I made the NPCs (1 trainer, 2 vendors) cast spell Spectral Invisibility on themselves as well & when I equip the helm, I can see them, and other players with the helm equipped, and no one else, which is fine because they can't see me with it on either.

    I don't know if the spell is working as intended, but it's working for me!

    Here are some screens:
    Helmet Unequipped: http://i43.tinypic.com/ae5coy.jpg
    Helmet Equipped: http://i39.tinypic.com/2hovbch.jpg

    So thanks for all the help! Also, is this something worth posting as an SQL/LUA release? Are there other people looking for something like this?
    Last edited by FrostyC; 05-02-2010 at 09:33 PM.

  7. #7
    stoneharry's Avatar Moderator Harry


    Reputation
    1618
    Join Date
    Sep 2007
    Posts
    4,564
    Thanks G/R
    151/150
    Trade Feedback
    0 (0%)
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    If you think people will like it release it. What's the worst that can happen? It doesn't get approved. If people don't have any need for it and it gets approved it will just sink with no replies, but if people love it then they should reply.

  8. #8
    FrostyC's Avatar Active Member
    Reputation
    28
    Join Date
    Nov 2008
    Posts
    66
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks, well I decided to write it up as a guide, because I think people would prefer to make their own NPCs... That way I don't have to deal with people's SQL errors, WoW-V can. lol

    http://www.mmowned.com/forums/emulat...cial-item.html

Similar Threads

  1. Flexible Database Editor for Arcemu
    By latruwski in forum WoW EMU Programs
    Replies: 366
    Last Post: 10-05-2009, 02:43 PM
  2. ArcEmu dc on char creation
    By woody79 in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 06-30-2008, 06:21 AM
  3. ArcEmu lastest Revision
    By woody79 in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 06-28-2008, 02:09 AM
  4. Arcemu/Ascent
    By megachristron in forum World of Warcraft Emulator Servers
    Replies: 1
    Last Post: 06-22-2008, 11:59 PM
  5. [Help] ArcEmu/Open Ascent Multiple Realm
    By crcolwell in forum World of Warcraft Emulator Servers
    Replies: 0
    Last Post: 06-12-2008, 08:46 PM
All times are GMT -5. The time now is 05:32 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search