Jump to content

wow1

Members
  • Posts

    10
  • Joined

  • Last visited

Posts posted by wow1

  1. Hi, 

    in the bot is a function for automatically train a profession. I turned it on but it does nothing.

    By what i have read so far, the trainers need to be added to the npcdatabase(?)

    When i add them to the database, when will the bot train my professions?

     

    Currently, i am using grinder which is also gathering herbs and does mining.

    Will the bot train my profession when needed?

     

  2. 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?

×
×
  • Create New...