Arcangelo 105 Posted June 8, 2017 Share Posted June 8, 2017 I have been running a code like this - wManager.Wow.Helpers.ItemsManager.GetItemCountByIdLUA(5088) == 1; And have been working great in vanilla, any idea why it dosen't work in TBC ? @Droidz ? Link to comment Share on other sites More sharing options...
Droidz 2734 Posted June 8, 2017 Share Posted June 8, 2017 Hello, where do you run this code? item id is correct? Link to comment Share on other sites More sharing options...
Arcangelo 105 Posted June 8, 2017 Author Share Posted June 8, 2017 Running it like that. Also tested: wManager.Wow.Helpers.ItemsManager.GetItemCountByNameLUA(Boiled Blood) == 12; wManager.Wow.Helpers.ItemsManager.GetItemCountByName(Boiled Blood) == 12; wManager.Wow.Helpers.ItemsManager.GetItemCountById(30430) == 12; Yea checked the name with the helper tool Link to comment Share on other sites More sharing options...
Droidz 2734 Posted June 8, 2017 Share Posted June 8, 2017 When you use name, you need to use ": wManager.Wow.Helpers.ItemsManager.GetItemCountByNameLUA("Boiled Blood") (but I don't recommand to use name, because this will work only with wow english client (if you use english name)) I think than you problem was caused by ; (you don't need to put ; at the end of conditions, if your problem is not resolved if you can share your log, you have probably errors) Link to comment Share on other sites More sharing options...
Arcangelo 105 Posted June 8, 2017 Author Share Posted June 8, 2017 got it to work thanks :) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now