wow1 4 Posted October 30, 2016 Share Posted October 30, 2016 Moved this to a bug report: Hi, i am trying to create some item plugin.. but the GetIemInfo.ItemEquipLoc is always true.. while it should be a string defining to which slot it can be equiped. Or even better an Enum? of the ItemSlot :) => http://wowwiki.wikia.com/wiki/ItemEquipLoc Also can you tell me where i can get item stats and how to equip an item from bag into specific slot? Currently you are using this way to get the iteminfo: if (!ItemInfo._vuipet.TryGetValue(ehoegaupait, out itemInfo) || itemInfo == null) { lock (ItemInfo._lockItemInfo) { str = Lua.LuaDoString<string>(string.Format(BlackListSerializable.CexaheigeluTeuceEdusouhu(), ehoegaupait), ""); } if (!string.IsNullOrWhiteSpace(str)) { string[] strArrays = str.Split(new char[] { Convert.ToChar(BlackListSerializable.AxoicebaqunuMe()) }); this.ItemName = strArrays[0]; this.ItemLink = strArrays[1]; this.ItemRarity = Others.ParseInt(strArrays[2]); this.ItemLevel = Others.ParseInt(strArrays[3]); this.ItemMinLevel = Others.ParseInt(strArrays[4]); this.ItemType = strArrays[5]; this.ItemSubType = strArrays[6]; this.ItemStackCount = Others.ParseInt(strArrays[7]); this.ItemEquipLoc = strArrays[8] != ""; this.ItemTexture = strArrays[9]; this.ItemSellPrice = Others.ParseInt(strArrays[10]); if (!string.IsNullOrWhiteSpace(this.ItemName) && this.ItemName != BlackListSerializable.Heonioloupa()) { ItemInfo._vuipet.Add(ehoegaupait, this); } } So, at first step, maybe you can set the itemequiploc just the string result? 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