What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

[Plugin] "Item Rules 2" File based scripting language!

Well I am stupid. Don't use the legendary rules with the Russian version of the game. Just saw this in my trash log.

12/6/2012 7:34:52 PM: Лакуни-расхитители(63) Legendary Armor Bracer
+--------------------------------------------------------------
| - [BASETYPE]: Armor
| - [TYPE]: Bracer
| - [QUALITY]: Legendary
| - [NAME]: Лакуни-расхитители
| - [LEVEL]: 63.00
| - [ONEHAND]: False
| - [TWOHAND]: False
| - [UNIDENT]: False
| - [DEX]: 43.00
| - [INT]: 90.00
| - [VIT]: 32.00
| - [AS%]: 8.00
| - [MS%]: 12.00
| - [CRIT%]: 6.00
| - [ARMOR]: 222.83
| - [ARMORTOT]: 222.00
| - [THORNS]: 1039.00
| - [MAXSTAT]: 90.00
| - [MAXSTATVIT]: 122.00
| - [STRVIT]: 32.00
| - [DEXVIT]: 75.00
| - [INTVIT]: 122.00
| - [DMGFACTOR]: 20.00
| - [OFFSTATS]: 2.00
| - [DEFSTATS]: 1.00

6% CC Lacuni Prowlers
 
Code:
07/12/2012 01:50:34: KEEP for Blackthorne'sJoustingMail
matching rule = [QUALITY]=="Legendary"&&[NAME]=="Blackthorne'sJoustingMail"#[MAXSTAT]>=190||[VIT]>=240||[ALLRES]>=20||([ALLRES]>=0&&[ARMORBONUS]>0)
Blackthorne'sJoustingMail(63),Legendary,Armor,Legs,1h=F,2h=F
+--------------------------------------------------------------
| - [BASETYPE]: Armor
| - [TYPE]: Legs
| - [QUALITY]: Legendary
| - [NAME]: Blackthorne'sJoustingMail
| - [LEVEL]: 63.00
| - [ONEHAND]: False
| - [TWOHAND]: False
| - [UNIDENT]: False
| - [STR]: 97.00
| - [DEX]: 97.00
| - [INT]: 96.00
| - [VIT]: 94.00
| - [LIFE%]: 11.00
| - [LOH]: 384.00
| - [RESFIRE]: 42.00
| - [ARMOR]: 442.50
| - [ARMORBONUS]: 238.00
| - [ARMORTOT]: 680.00
| - [MF%]: 20.00
| - [MAXSTAT]: 97.00
| - [MAXSTATVIT]: 191.00
| - [STRVIT]: 191.00
| - [DEXVIT]: 191.00
| - [INTVIT]: 190.00
| - [MAXONERES]: 42.00
| - [TOTRES]: 42.00
| - [DEFSTATS]: 3.00
+--------------------------------------------------------------

Seems to be an issue here, not sure why it's kept this.
 
Code:
07/12/2012 01:50:34: KEEP for Blackthorne'sJoustingMail
matching rule = [QUALITY]=="Legendary"&&[NAME]=="Blackthorne'sJoustingMail"#[MAXSTAT]>=190||[VIT]>=240||[ALLRES]>=20||([ALLRES]>=0&&[ARMORBONUS]>0)
Blackthorne'sJoustingMail(63),Legendary,Armor,Legs,1h=F,2h=F
+--------------------------------------------------------------
| - [BASETYPE]: Armor
| - [TYPE]: Legs
| - [QUALITY]: Legendary
| - [NAME]: Blackthorne'sJoustingMail
| - [LEVEL]: 63.00
| - [ONEHAND]: False
| - [TWOHAND]: False
| - [UNIDENT]: False
| - [STR]: 97.00
| - [DEX]: 97.00
| - [INT]: 96.00
| - [VIT]: 94.00
| - [LIFE%]: 11.00
| - [LOH]: 384.00
| - [RESFIRE]: 42.00
| - [ARMOR]: 442.50
| - [ARMORBONUS]: 238.00
| - [ARMORTOT]: 680.00
| - [MF%]: 20.00
| - [MAXSTAT]: 97.00
| - [MAXSTATVIT]: 191.00
| - [STRVIT]: 191.00
| - [DEXVIT]: 191.00
| - [INTVIT]: 190.00
| - [MAXONERES]: 42.00
| - [TOTRES]: 42.00
| - [DEFSTATS]: 3.00
+--------------------------------------------------------------

Seems to be an issue here, not sure why it's kept this.
LOL, maxstat >= 190

Highest stat + vit (97 + 94) = 191

191 < 190 ? Guess not
 
191 is higher bro. Lol...
Which is why it kept it for you
 
Oh my bad. Accessing all this on my phone. Maybe because it had armour bonus? Whats the filter like?
 
[QUALITY]=="Legendary"&&[NAME]=="Blackthorne'sJoustingMail"#[MAXSTAT]>=190||[VIT]>=240||[ALLRES]>=20||([ALLRES]>=0&&[ARMORBONUS]>0)

I guess it's the armour bonus.
 
Its not flawed. Resist all can be 0. And it still satisfy the conditions
 
([ALLRES]>=0&&[ARMORBONUS]>0) doesnt the () mean both of those conditions must be met before it satisfies the rule?
 
It's a more than or equal to. All res was = 0. So both were satisfied.
 
Some of my armor rules are getting really long. Is it possible for me to write out more than 1 rule for a legendary armor. Say 1 rule for all the crit varaitions and another for all of the stat variations or do I need to keep them one long rule?
 
Can I see what are your rules? Don't quite get what you mean.
The legendaries are all single rule for each of the unique items
 
For instance

[QUALITY] == "Legendary" && [NAME] == "Blackthorne's Jousting Mail" # [SOCKETS] > 0 || [MAXSTATVIT] > 170 || [MAXSTAT] >= 190 || [VIT] >= 240 || [ALLRES] >= 20 || ([PICKUP] > 0 && ([MAXSTAT] >= 110 || [MAXSTATVIT] > 200 || [ARMORBONUS] > 110 || [GF%] > 20)) || ([ALLRES] > 0 && [ARMORBONUS] > 0)

Could be broken down to a few seperate shorter rules
 
I'm having some trouble with the pickup.dis. This is what I got so far:
[QUALITY] == "Rare" && [TWOHAND] == true -> [IGNORE]
[QUALITY] == "Rare" && [BASETYPE] == "Weapon" && [TYPE] == "HandCrossbow" -> [IGNORE]
[QUALITY] == "Rare" && [LEVEL] <= 62 && [BASETYPE] == "Weapon" && [TYPE] == "Wand" -> [IGNORE]
[QUALITY] == "Rare" && [LEVEL] <= 62 && [BASETYPE] == "Weapon" && [TYPE] == "CeremonialDagger" -> [IGNORE]
[QUALITY] == "Rare" && [LEVEL] > 59 && [BASETYPE] == "Weapon"
[QUALITY] == "Rare" && [LEVEL] <= 59 && [BASETYPE] == "Weapon" -> [IGNORE]
//
[QUALITY] == "Rare" && [BASETYPE] == "Armor" && [TYPE] == "Mojo"-> [IGNORE]
[QUALITY] == "Rare" && [BASETYPE] == "Armor" && [TYPE] == "Orb"-> [IGNORE]
[QUALITY] == "Rare" && [BASETYPE] == "Armor" && [TYPE] == "WizardHat" -> [IGNORE]
[QUALITY] == "Rare" && [BASETYPE] == "Armor" && [TYPE] == "Helm" -> [IGNORE]
[QUALITY] == "Rare" && [BASETYPE] == "Armor" && [TYPE] == "Quiver"-> [IGNORE]
[QUALITY] == "Rare" && [BASETYPE] == "Armor" && [TYPE] == "Cloak"-> [IGNORE]
[QUALITY] == "Rare" && [BASETYPE] == "Armor" && [TYPE] == "SpiritStone"-> [IGNORE]
[QUALITY] == "Rare" && [BASETYPE] == "Armor" && [TYPE] == "VoodooMask"-> [IGNORE]
[QUALITY] == "Rare" && [LEVEL] > 61 && [BASETYPE] == "Armor"
[QUALITY] == "Rare" && [LEVEL] > 57 && [BASETYPE] == "Armor" && [TYPE] == "Gloves"
[QUALITY] == "Rare" && [LEVEL] > 57 && [BASETYPE] == "Armor" && [TYPE] == "Bracer"
[QUALITY] == "Rare" && [LEVEL] > 54 && [BASETYPE] == "Jewelry"
[QUALITY] == "Rare" && [LEVEL] <= 54 && [BASETYPE] == "Jewelry"-> [IGNORE]

The ignore rules are working fine but I can't get the actual pick up rules to work like the gloves/bracers. I have my weapon/armor giles setting at 63+ and my bot will still ignore gloves/bracers below 63 as well as any other sub 63 weapon/armor. When I lower the giles settings to something like 58 it will pickup all ilvl 58+ items. Am I doing something wrong for the pickup lines?
 
Wow. Very detailed. Haha I do not know of any other way. I'm also editing each and every legendary. To the point of searching each stats on the auction house. Are you sure blackthorne has value if it just have sockets? Not sure if its very valuable.
 
Wow. Very detailed. Haha I do not know of any other way. I'm also editing each and every legendary. To the point of searching each stats on the auction house. Are you sure blackthorne has value if it just have sockets? Not sure if its very valuable.


if it just has 2 sockets its a insta 2m sell. I put 1 on there because I didnt want to make the rule even longer by defining all of the 1 socket combos that I could end up with.
 
I see. Just a recommendation, for your armour bonus stat. May I suggest for you to do a total armour instead. Because even if armour bonus is more than 110. The item might also have crap base armour roll. It's more accurate for you to define by the total armour. Not sure how much would be valuable but you could do a search to see
 
next release all rules will be included ... and u will be able to choose with config.dis

Sounds awesome ;-) is there any ETA ? it seems like the hard rare rules are hard for sure :D i didnt stashed ANY amulett or rings the last few days with some bots

would like to know when u want to give this to public, or if i should look and edit it on my own
thanks for your work!
 
Back
Top