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

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

Hello all,

Can anyone help me with Rare Chest Armor? I've wrote this in pickup.dis:
[QUALITY] == "Rare" && [BASETYPE] == "Armor" && [TYPE] == "Chest"-> [IGNORE]
Bot is still pickup all the chest armor >60ilvl

What exactly should I write in pickup.dis to not allow bot pickup this?
 
Hello all,

Can anyone help me with Rare Chest Armor? I've wrote this in pickup.dis:

Bot is still pickup all the chest armor >60ilvl

What exactly should I write in pickup.dis to not allow bot pickup this?

Use this
Code:
[QUALITY] == "Rare"  && [TYPE] == "Chest" -> [IGNORE]
 
Still pickup..

There must be another rule ahead of this one that is picking it up. Rules evaluate in order from top to bottom until a match is found.

You can either look for the other matching rule, or another solution is to put your ignore rule on the first line of the pickup file.
 
There must be another rule ahead of this one that is picking it up. Rules evaluate in order from top to bottom until a match is found.
I have this:
[QUALITY] == "Rare" && [TYPE] == "Chest" -> [IGNORE]
[QUALITY] == "Rare" && [LEVEL] > 62 && [BASETYPE] == "Armor"
[QUALITY] == "Rare" && [LEVEL] > 57 && [BASETYPE] == "Armor" && [TYPE] == "Gloves"
[QUALITY] == "Rare" && [LEVEL] > 58 && [BASETYPE] == "Armor" && [TYPE] == "Pants"
Where is a mistake?
 
[QUALITY] == "Rare" && [TYPE] == "Legs" # [MAXSTATVIT] > 200 && [ALLRES] >= 60 && ([REGEN] > 300 || [ARMORBONUS] > 800 || ([GF%] >= 25 && [MF%] >= 20))

Is it a bug?
found this in Rules\soft\rare.dis
[ARMORBONUS] > 800
I have checked some website the highest Armorbouns is 361-397 right?
 
Last edited:
What should be done to rule worked for Russian client? I have legendary.dis with Russian names, but the boat takes all the legendaries, despite the prohibition in the rules. (file of the portal to take donators - 5 - rules / 5 - special / legendary_ru.dis)
 
I can't get it to pick up off-hands like Sources, Quivers, Mojos except for Shields.

[QUALITY] == "Rare" && [LEVEL] > 60 && [BASETYPE] == "Armor" && [TYPE] == "Quiver"
[QUALITY] == "Rare" && [LEVEL] > 60 && [BASETYPE] == "Armor" && [TYPE] == "Mojo"
[QUALITY] == "Rare" && [LEVEL] > 60 && [BASETYPE] == "Armor" && [TYPE] == "Source"

or

[QUALITY] == "Rare" && [LEVEL] > 60 && [BASETYPE] == "Weapon" && [TYPE] == "Quiver"
[QUALITY] == "Rare" && [LEVEL] > 60 && [BASETYPE] == "Weapon" && [TYPE] == "Mojo"
[QUALITY] == "Rare" && [LEVEL] > 60 && [BASETYPE] == "Weapon" && [TYPE] == "Source"

Neither works.

Some help would be appreciated, thanks!
 
I can't get it to pick up off-hands like Sources, Quivers, Mojos except for Shields.

[QUALITY] == "Rare" && [LEVEL] > 60 && [BASETYPE] == "Armor" && [TYPE] == "Quiver"
[QUALITY] == "Rare" && [LEVEL] > 60 && [BASETYPE] == "Armor" && [TYPE] == "Mojo"
[QUALITY] == "Rare" && [LEVEL] > 60 && [BASETYPE] == "Armor" && [TYPE] == "Source"



or

[QUALITY] == "Rare" && [LEVEL] > 60 && [BASETYPE] == "Weapon" && [TYPE] == "Quiver"
[QUALITY] == "Rare" && [LEVEL] > 60 && [BASETYPE] == "Weapon" && [TYPE] == "Mojo"
[QUALITY] == "Rare" && [LEVEL] > 60 && [BASETYPE] == "Weapon" && [TYPE] == "Source"

Neither works.

Some help would be appreciated, thanks!

Code:
//Off Hand Ignore Rules
[QUALITY] == "Rare"  && [TYPE] == "Shield" -> [IGNORE]
[QUALITY] == "Rare"  && [TYPE] == "Quiver" -> [IGNORE]
[QUALITY] == "Rare"  && [TYPE] == "Mojo" -> [IGNORE]
[QUALITY] == "Rare"  && [TYPE] == "Orb" -> [IGNORE]
 
Code:
//Off Hand Ignore Rules
[QUALITY] == "Rare"  && [TYPE] == "Shield" -> [IGNORE]
[QUALITY] == "Rare"  && [TYPE] == "Quiver" -> [IGNORE]
[QUALITY] == "Rare"  && [TYPE] == "Mojo" -> [IGNORE]
[QUALITY] == "Rare"  && [TYPE] == "Orb" -> [IGNORE]


Already deleted that earlier on, if that was even in the pickup.dis.
Anyhow, the problem seems to have solved itself for the bot now does actually pickup Mojos after a full restart of my PC. (don't ask me why, I wouldn't know and yes I reloaded rules after editing)
Cheers
 
Sorry for the noobish, but i try to put my item rules for pickup only weapons 1hand 60+, gems/tomes/essences and legendary but he keep pickup other itens, what is the correct code? where i edit? in soft?
 
Code:
// +---------------------------------------------------------------------------+
// | ______ __                             __              
// ||      |  |--.---.-.-----.-----.-----.|  |.-----.-----.
// ||   ---|     |  _  |     |  _  |  -__||  ||  _  |  _  |
// ||______|__|__|___._|__|__|___  |_____||__||_____|___  |
// |                                                |_____| 
// +---------------------------------------------------------------------------+
// | 2.220(beta) Item Rules 2
// | - added new actions [UNIDENT] & [IDENTIFY] (default) usable in identify.dis
// | - added new actions [SELL] & [SALVAGE](default) usable in salvageSell.dis
// | - added some minor rule sets to those new files
// | - refactored some code
// | - moved onto latest Trinity 1.7.2.14 thx to rrix
// +---------------------------------------------------------------------------+

Code:
// +---------------------------------------------------------------------------+
// |  ______         __             ______ __                                  
// | |   __ \.--.--.|  |.-----.    |      |  |--.---.-.-----.-----.-----.-----.
// | |      <|  |  ||  ||  -__|    |   ---|     |  _  |     |  _  |  -__|__ --|
// | |___|__||_____||__||_____|    |______|__|__|___._|__|__|___  |_____|_____|
// |                                                        |_____|           
// +---------------------------------------------------------------------------+
// +-since 01.05.2013----------------------------------------------------------+
// | - added some pvp stuff
// | - adjusted storm crow
// | - reworked on weapons, ring & amulets
// | - removed overall rules that where taking crap
// +---------------------------------------------------------------------------+


important to use [UNIDENT] u have to disable the book of cain ... !!!


NEW BETA RELEASE! ItemRules2220UniTrinity1-7-2-14ReleaseDB :p

push the like button ...if u like!!!

HAVE FUN!!!

plz report bugs and errors

CONTACT:
skype: darkfriend77
email: [email protected]
PM demonbuddypage: darkfriend77




Donators:
get access to private repository
get access to beta development
get access to private tools
get access to new rule sets

alv.png

 
hello , i've been asking this somewhere on the forum but i think this is the right place, how do i edit the files to pick up exactly this > Gloves 63, 60/62 rings/amulets & 1 hand 62/63 weapons and unid legendaries ?

thank you.
 
place the following in Plugins\GilesTrinity\ItemRules\Rules\[soft or hard, depends on your Trinity config]\pickup.dis:
[QUALITY] == "Rare" && [LEVEL] > 61 && [BASETYPE] == "Weapon" && [TWOHAND] == false
[QUALITY] == "Rare" && [LEVEL] == 63 && [BASETYPE] == "Armor" && [TYPE] == "Gloves"
[QUALITY] == "Rare" && [LEVEL] > 59 && [BASETYPE] == "Jewelry" && [TYPE] == "Ring"
[QUALITY] == "Rare" && [LEVEL] > 61 && [BASETYPE] == "Jewelry" && [TYPE] == "Amulet"
[QUALITY] == "Rare" -> [IGNORE]

unid legs are controlled in a plugin of the same name afaik
 
thank you very much m8, all i have to do is add that to the bottom?

added lines @ bottom of both soft and hard incase i swap between, ill see if it works! thx mate
 
Last edited:
New Beta Release ... now with [UNIDENT] && [SALVAGE] actions ...

important to use [UNIDENT] u have to disable the book of cain ... in demonbuddy settings!!!

file: identify.dis

ePSimx9.png


file: salvageSell.dis

bUHMmhq.png

fixed settings 25.05.13



push the like button ...if u like!!!

HAVE FUN!!!

plz report bugs and errors

CONTACT:
skype: darkfriend77
email: [email protected]
PM demonbuddypage: darkfriend77




Donators:
get access to private repository
get access to beta development
get access to private tools
get access to new rule sets
 
Last edited:
Back
Top