• Visit Rebornbuddy
  • sqlCore question

    Discussion in 'Archives' started by MentalSpirit, Nov 15, 2015.

    1. MentalSpirit

      MentalSpirit New Member

      Joined:
      Nov 15, 2015
      Messages:
      6
      Likes Received:
      0
      Trophy Points:
      0
      My question is how i can get all seeds that can be brought from the store

      so far i made something like this
      Code:
                  foreach (var item in sqlCore.sqlItems.Where(x => x.Value.categoryId == 51 && x.Value.id < 23635))
                  {
                      Log(string.Format("id = {3} name = {0} group = {1}  category = {2}", item.Value.name, item.Value.itemCategorie.itemGroupId,item.Value.categoryId,item.Value.id));
                  }
      
      but in the list i see for example :
      13 id 16283 name = Clubhead Spore group = 13 category = 51
      13 id 16285 name = Wild Ginseng Seed group = 13 category = 51

      witch are not available at merchant How i can exclude them without hard coding the IDs ?
       
    2. Out

      Out Active Member Buddy Core Dev Buddy Store Developer

      Joined:
      Jun 2, 2012
      Messages:
      2,972
      Likes Received:
      13
      Trophy Points:
      38
      Look into sqlMerchantGoods\sqlMerchantPacks
       

    Share This Page