• Visit Rebornbuddy
  • Itemrules with SNO attributes doesn't work.

    Discussion in 'Trinity' started by anotherid, Mar 28, 2015.

    1. anotherid

      anotherid New Member

      Joined:
      Nov 8, 2013
      Messages:
      40
      Likes Received:
      0
      Trophy Points:
      0
      [Works Fine]
      [QUALITY] == "Legendary" && [NAME] == "Mempo of Twilight" -> [TRASH]
      Code:
      [Trinity] IR2 Mempo of Twilight [Helm_norm_unique_12-213] [Helm] = (TRASH)
      [Not Working]
      [QUALITY] == "Legendary" && [SNO] == "223577" -> [TRASH] //"Mempo of Twilight"
      [SNO] == "223577" -> [TRASH] //"Mempo of Twilight"

      Code:
      [Trinity] IR2 Mempo of Twilight [Helm_norm_unique_12-213] [Helm] = (NULL)
      [Trinity] Mempo of Twilight [Helm_norm_unique_12-213] [Helm] = (autokeep legendaries)
      I've spent a day for making item rules with SNO attributes from [http://diacollector.com], But It doesn't work.

      How can i get SNO attributes working? in item rules.
       
      Last edited: Mar 28, 2015
    2. bombastic

      bombastic New Member

      Joined:
      Jun 18, 2012
      Messages:
      430
      Likes Received:
      3
      Trophy Points:
      0
      Try:

      [QUALITY] == "Legendary" # [SNO] == "223577" -> [TRASH]

      And see if works. If still doesn't work, change in Trinity/ItemRules/Interpreter.cs:

      from
      Code:
      itemDic.Add("[SNO]", item.ActorSNO);
      to
      Code:
      itemDic.Add("[SNO]", (float)item.ActorSNO);
       
    3. xzjv

      xzjv Community Developer

      Joined:
      Mar 17, 2014
      Messages:
      1,243
      Likes Received:
      46
      Trophy Points:
      48
      Hey if you're just using SNO and no other rules u might want to try the ItemList thing i just added to Trinity.

      [​IMG]

      [​IMG]
       
      Last edited: Mar 30, 2015
    4. anotherid

      anotherid New Member

      Joined:
      Nov 8, 2013
      Messages:
      40
      Likes Received:
      0
      Trophy Points:
      0

      Thank you very much~! It all works fine now.

      [QUALITY] == "Legendary" # [SNO] == "223577" && [MAXSTAT] < 751 -> [TRASH]
       
    5. anotherid

      anotherid New Member

      Joined:
      Nov 8, 2013
      Messages:
      40
      Likes Received:
      0
      Trophy Points:
      0
      I didn't notice this feature added,
      (It's been a while since I got away from botting.)
      It looks fantastic. Good job! think I can refer some SNOs.
       
    6. xzjv

      xzjv Community Developer

      Joined:
      Mar 17, 2014
      Messages:
      1,243
      Likes Received:
      46
      Trophy Points:
      48
      Yeah its new and experimental, likely to have some bugs but needs testing to find them etc etc

      More improvements on the way, preview:

      [​IMG]
       
    7. BuddyMe

      BuddyMe Community Developer

      Joined:
      Jun 13, 2014
      Messages:
      447
      Likes Received:
      16
      Trophy Points:
      0
      wow you're the best
       
    8. Acps

      Acps New Member

      Joined:
      Dec 24, 2011
      Messages:
      347
      Likes Received:
      0
      Trophy Points:
      0
      This looks amazing, how does it handle materials, follower items, gems and ramadalini's?
       
    9. xzjv

      xzjv Community Developer

      Joined:
      Mar 17, 2014
      Messages:
      1,243
      Likes Received:
      46
      Trophy Points:
      48
      It doesn't, its setup the same as ItemRanks, so i assume its using the other parts of trinity for that stuff.
       
    10. Acps

      Acps New Member

      Joined:
      Dec 24, 2011
      Messages:
      347
      Likes Received:
      0
      Trophy Points:
      0
      Cool deal, I look forward to your update^ cant wait to have an easy way to manage Item Rules! Good work!
       

    Share This Page