Jump to content
  • 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
     

    Link to comment
    Share on other sites



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...