Jump to content
This site uses cookies! Learn More

This site uses cookies!

By continuing to use this site, you agree to allow us to store cookies on your computer. :)

  • GetNpcNearby(wManager.Wow.Class.Npc.NpcType type, wManager.Wow.Class.Npc.NpcVendorItemClass npcVendorItemClass) is seems to ignore second argument when searching for a vendor.


    Findeh
    • Version: All Product: WRobot General Type: Bug Status: Not a Bug

    GetNpcNearby(wManager.Wow.Class.Npc.NpcType type, wManager.Wow.Class.Npc.NpcVendorItemClass npcVendorItemClass) is seems to ignore second argument when searching for a vendor.

    I've set all my Vendors VendorItemClass to WeaponAxe, only one vendor with the VendorItemClass Food have left in my database. But when i call GetNpcNearby(NpcType.Vendor, NpcVendorItemClass.Food) it returns closest Vendor with VendorItemClass WeaponAxe.




    User Feedback

    Recommended Comments

    It sems that GetNpcNearby with a single argument does not return what it should either.
    I call it two times one with Repair argument and second time with Vendor. Both calls return me closest Vendor type from my NPC Database.



    My bad. This was a false information. Checked it again, it seems to work fine
     

    Share this comment


    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
    Add a comment...

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


×
×
  • Create New...