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

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

have u set ... to Filebased Scripting rules ... u have the pickup.dis in the right location ....?

Tbh i would like to set this for myself also. I have the same problem and have set the rules to yours in Trinity, also pickup.dis is in the
C:\Users\xxxx\Desktop\db\Plugins\GilesTrinity\ItemRules\Rules\soft .
 
For all of you that think something is wrong with ur pickup.dis or with the oder *.dis ...

u have a log file from ItemRules2 its called ItemRules.log

and it is located in \Demonbuddy\TrinityLogs\<BattleTag>\ItemRules.log ...

u have every item there with the matching rule which made itemrules pick it up ....

201301251916457963.Hero;LOG;PICKUP;[KEY]:2048000321;[BASETYPE]:Armor;[TYPE]:Gloves;[QUALITY]:Rare;[D3QUALITY]:Rare4;[ROLL]:4;[NAME]:WarlordGauntlets;[LEVEL]:60;[ONEHAND]:False;[TWOHAND]:False;[UNIDENT]:True;[INTNAME]:Gloves_norm_base_flippy;[QUALITY]=="Rare"&&[LEVEL]>57&&[BASETYPE]=="Armor"&&[TYPE]=="Gloves"

u get all information in the line ... the action PICKUP the matching rule [QUALITY]=="Rare"&&[LEVEL]>57&&[BASETYPE]=="Armor"&&[TYPE]=="Gloves"

201301251918229868.Hero;LOG;IGNORE;[KEY]:2073428090;[BASETYPE]:Armor;[TYPE]:Chest;[QUALITY]:Rare;[D3QUALITY]:Rare4;[ROLL]:4;[NAME]:WarlordPlate;[LEVEL]:60;[ONEHAND]:False;[TWOHAND]:False;[UNIDENT]:True;[INTNAME]:chestArmor_norm_base_flippy;[QUALITY]=="Rare"&&[LEVEL]<=60&&[BASETYPE]=="Armor"->[IGNORE]

i think that this should be enough for you to decide what went wrong ^^
 
Wow, this thing tried to sell a justice lantern.... Can anyone chime in in regards to what I need to do to fix this? Thank you :D
 
Last edited:
Code:
// +---------------------------------------------------------------------------+
// |  ______         __             ______ __                                  
// | |   __ \.--.--.|  |.-----.    |      |  |--.---.-.-----.-----.-----.-----.
// | |      <|  |  ||  ||  -__|    |   ---|     |  _  |     |  _  |  -__|__ --|
// | |___|__||_____||__||_____|    |______|__|__|___._|__|__|___  |_____|_____|
// |                                                        |_____|           
// +---------------------------------------------------------------------------+
// +-27.01.2013 ---------------------------------------------------------------+
// | - added all low level legendary jewelry (hard) like leoric & puzzle
// +---------------------------------------------------------------------------+
 
hello

i leak of "what are this types?"

[QUALITY] == "Special" are what? xD
[QUALITY] == "Normal" included [BASETYPE] == "Gem" and [BASETYPE] == "Misc".. and what are [BASETYPE] == "Misc" ?? folio? health potion ? :D

why i got [TYPE] == "CraftingPlan" when i got [QUALITY] == "Rare6" & Co ?

at softrules written: [QUALITY] == "Normal" && [TYPE] == "CraftingPlan"


---

edit:

i miss attributes: life per kill and chance to w/e ex stun, freeze & co
 
Last edited:
Hi my bot dosnt read russian rules.
I try all trynity for DB298:
ItemRules2100UniTrinity1-7-1-15DB298
ItemRules2101UniTrinity1-7-1-16DB298
ItemRules2103UniTrinity1-7-1-17DB298
with russian rules from donator repository, try to fix Scanner.cs - nothing works :(
Any ideas?
 
Yes I have set ... to Filebased Scripting rules ... but where I have tu put the pickup.dis?
 
Hi my bot dosnt read russian rules.
I try all trynity for DB298:
ItemRules2100UniTrinity1-7-1-15DB298
ItemRules2101UniTrinity1-7-1-16DB298
ItemRules2103UniTrinity1-7-1-17DB298
with russian rules from donator repository, try to fix Scanner.cs - nothing works :(
Any ideas?

ur using russian legendary.dis?
 
ur using russian legendary.dis?
Yes.
And i put it in right folder.
Trinity read only english base rules like
Code:
[QUALITY] == "Legendary" && [BASETYPE] == "Jewelry" # [MAXSTATVIT] > 100 && [DMGFACTOR] > 3 && [ALLRES] > 60
i read All this thread and doo all that is possible and it did not help :(
 
Anything wrong here? it reads the code and when i enter another line i can se it reads one more so it is the right file i am loading. But i have proberly made a mistake somewhere


[QUALITY] == "Rare" && [TYPE] == "Helm" -> [IGNORE]
[QUALITY] == "Rare" && [TYPE] == "MightyBelt" -> [IGNORE]
[QUALITY] == "Rare" && [TYPE] == "SpiritStone" -> [IGNORE]
[QUALITY] == "Rare" && [TYPE] == "VoodooMask" -> [IGNORE]
[QUALITY] == "Rare" && [TYPE] == "WizardHat" -> [IGNORE]
[QUALITY] == "Rare" && [TYPE] == "Cloak" -> [IGNORE]
[QUALITY] == "Rare" && [TYPE] == "Quiver" -> [IGNORE]
[QUALITY] == "Rare" && [TYPE] == "Shield" -> [IGNORE]
[QUALITY] == "Rare" && [TYPE] == "Mojo" -> [IGNORE]
 
Last edited:
Possible replacements in \hard\rare.dis:

from:
Code:
[QUALITY] == "Rare" && [TYPE] == "Wand" # [DPS] > 1100

to:
Code:
[QUALITY] == "Rare" && [TYPE] == "Wand" # [DPS] > 1200


from:
Code:
[QUALITY] == "Rare" && [BASETYPE] == "Weapon" && [ONEHAND] # [DPS] > 700 && [CRITDMG%] > 50 && [SOCKETS] > 0 && [LOH] > 500

to:
Code:
[QUALITY] == "Rare" && [BASETYPE] == "Weapon" && [ONEHAND] # [DPS] > 700 && [CRITDMG%] > 80 && [SOCKETS] > 0 && [LOH] > 500
 
Last edited:
I am fairly sure it ignores my pickup.dis and just loads random default pickup.dis instead :D All the rules are working, except for the pickup ones.
 
Im getting really confused because im not really into Computer scripting etc. and i dont know which file i have to edit.


I want my bot to just pickup:

yellow ilvl 62 and 63 1Hand Swords, Maces, Axes (no 2 Handers except legendary)
yellow Jewelry ilvl 60+
yellow ilvl 63 Gloves, Bracers and Boots
Flawless Square Emeralds
Inferno crafting tomes
all Plans dropped (JC and Blacksmith)
Mythic Healing Potions
Goldstacks bigger than 200
and of course all Legendaries


And stash the Items id?ed or unid regardless of stats

but i just cant figure out how to edit the files to do it the way i like it to. So if anybody could be so nice and help me with that.
 
Last edited:
Code:
// +---------------------------------------------------------------------------+
// | ______ __                             __              
// ||      |  |--.---.-.-----.-----.-----.|  |.-----.-----.
// ||   ---|     |  _  |     |  _  |  -__||  ||  _  |  _  |
// ||______|__|__|___._|__|__|___  |_____||__||_____|___  |
// |                                                |_____| 
// +---------------------------------------------------------------------------+
// | 2.110(public release)
// | - added [WEIGHTS] you can use now scoring from DB inside rules
// | - fixed [AS%] working now on weapon, armor and jewelry
// | - name is now correctly working (item name bug is fixed)
// | - changed [AS%] now working also on weapons
// | - changed [BLOCK%] now working also on shield
// | - added [TOTBLOCK%] for total blockchance on shield
// | - added [DMGVSELITE%] for percent damage bonus vs elite
// | - added [DMGREDELITE%] for percent damage reduction from elite
// | - added [EXPBONUS] for experience bonus
// | - added [LOK] for Life on kill
// | - added [REQLEVEL] for item required level
// | - added [WEAPDMGTYPE] (Arcane,Holy, etv.)
// | - added [WEAPDMG%] for damage % enhancment on wepon
// | - added [ROLL] representing the attribut roll on magic and rare items
// | - added [D3QUALITY] orginal db quality rare3,rare4 etc.
// | - Polearm and Andariels workaround removed again ... DB is right now
// | - maximum function is now usable examples will follow
// +---------------------------------------------------------------------------+

I pushed it into the up comming release of Trinity ... have fun ...
 
I am fairly sure it ignores my pickup.dis and just loads random default pickup.dis instead :D All the rules are working, except for the pickup ones.


it loads the pickup.dis that is in the same folder as ur using for the other rules ...

ex. if u use hard rules it uses the pickup.dis from ur hard rules ...for soft the one in soft...

u can see in the demonbuddy log on start how many rules from pickup got loaded ...

[22:31:53.810 N] [Trinity]PICKLOG 3
[22:31:53.810 N] [Trinity]KEEPLOG 3
[22:31:53.810 N] [Trinity]RULEPATH D:\Bot\DBItemRules\
[22:31:53.810 N] [Trinity]reading ... pickup.dis
[22:31:53.811 N] [Trinity] ... loaded: 17 pickup rules
 
Anything wrong here? it reads the code and when i enter another line i can se it reads one more so it is the right file i am loading. But i have proberly made a mistake somewhere


[QUALITY] == "Rare" && [TYPE] == "Helm" -> [IGNORE]
[QUALITY] == "Rare" && [TYPE] == "MightyBelt" -> [IGNORE]
[QUALITY] == "Rare" && [TYPE] == "SpiritStone" -> [IGNORE]
[QUALITY] == "Rare" && [TYPE] == "VoodooMask" -> [IGNORE]
[QUALITY] == "Rare" && [TYPE] == "WizardHat" -> [IGNORE]
[QUALITY] == "Rare" && [TYPE] == "Cloak" -> [IGNORE]
[QUALITY] == "Rare" && [TYPE] == "Quiver" -> [IGNORE]
[QUALITY] == "Rare" && [TYPE] == "Shield" -> [IGNORE]
[QUALITY] == "Rare" && [TYPE] == "Mojo" -> [IGNORE]

it depends if there are other rules before those .. that match ... maybee u show the whole file
 
Back
Top