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

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

// +---------------------------------------------------------------------------+
// | ______ __ __
// || | |--.---.-.-----.-----.-----.| |.-----.-----.
// || ---| | _ | | _ | -__|| || _ | _ |
// ||______|__|__|___._|__|__|___ |_____||__||_____|___ |
// | |_____| |_____|
// +---------------------------------------------------------------------------+
// | 2.006(beta):
// | - fixed the PICKUP validation ...
// +---------------------------------------------------------------------------+
// | 2.005(beta):
// | - better pickup identification with PICKUP & IGNORE
// | - better logging and fixed some bugs
// | - added pickup rules
// | - workaround for name bug
// | - fixed some rules
// | - added soft rules
// | - added language legendary.dis for fr, it, ru
// | - moved UnifiedTrinity CE 1.7.1.3 to 1.7.1.4
// +---------------------------------------------------------------------------+

https://riouxsvn.com/svn/dbplugins/02 - beta/ItemRules2006UniTrinity1-7-1-4stable.zip
 
Darkfriend

is it possible for me to pickup level 60 tulwars basilards and godendags? They are ilvl 60 1 handers and ignore 2 handers all together?
 
nm looks like what he posted has the HARD rules on it. Figured it out.

Seems like he hasnt update medium rules yet just hard and soft.
 
I think the easy medium and hard are from the original ItemRules release.
 
Under config.dis do I need to add a line for Pickup.dis for it to be used?


Also would this effectivly make it ignore 2h weps
[QUALITY] == "Rare" && [TWOHAND] == "True" -> [IGNORE]

or do I need to write it like this

[QUALITY] == "Rare" && [TWOHAND] # "True" -> [IGNORE]


or is this the correct way?
[QUALITY] == "Rare" && [BASETYPE] == "Weapon" && [TWOHAND] == "True" -> [IGNORE]
 
Last edited:
Under config.dis do I need to add a line for Pickup.dis for it to be used?


Also would this effectivly make it ignore 2h weps
[QUALITY] == "Rare" && [TWOHAND] == "True" -> [IGNORE]

or do I need to write it like this

[QUALITY] == "Rare" && [TWOHAND] # "True" -> [IGNORE]


or is this the correct way?
[QUALITY] == "Rare" && [BASETYPE] == "Weapon" && [TWOHAND] == "True" -> [IGNORE]

pickup.dis ... is fix ... u dont have to add a line


should work ^^ ...
[QUALITY] == "Rare" && [TWOHAND] == "True" -> [IGNORE]


isnt necessary ...
[QUALITY] == "Rare" && [BASETYPE] == "Weapon" && [TWOHAND] == "True" -> [IGNORE]
 
Code:
// +---------------------------------------------------------------------------+
// | _______         ___                             __   __              
// ||_     _|.-----.'  _|.-----.----.--------.---.-.|  |_|__|.-----.-----.
// | _|   |_ |     |   _||  _  |   _|        |  _  ||   _|  ||  _  |     |
// ||_______||__|__|__|  |_____|__| |__|__|__|___._||____|__||_____|__|__|
// |++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++                                                                                                                                                                                   
// +---------------------------------------------------------------------------+
// | - actual beta development can be downloaded separate on the
// |   donators repository.
// | - actual beta rules can be downloaded separate on the donators repository
// | - contributors are welcome to help building rules
// | - rules sets provide a best effort for valuable items (not beeing perfect)
// | - donators: https://riouxsvn.com/svn/dbplugins
// | - public:   https://subversion.assembla.com/svn/CustomTrinity/trunk
// +---------------------------------------------------------------------------+
// | ______ __                             __              
// ||      |  |--.---.-.-----.-----.-----.|  |.-----.-----.
// ||   ---|     |  _  |     |  _  |  -__||  ||  _  |  _  |
// ||______|__|__|___._|__|__|___  |_____||__||_____|___  |
// |                         |_____|                |_____|
// +---------------------------------------------------------------------------+
// | 2.0061(beta):
// | - fixed the PICKUP validation ...
// | - fix selling craftingPlan
// +---------------------------------------------------------------------------+
// | 2.005(beta):
// | - better pickup identification with PICKUP & IGNORE
// | - better logging and fixed some bugs
// | - added pickup rules
// | - workaround for name bug
// | - fixed some rules
// | - added soft rules
// | - added language legendary.dis for fr, it, ru
// | - moved UnifiedTrinity CE 1.7.1.3 to 1.7.1.4
// +---------------------------------------------------------------------------+
// | 2.004(alpha):
// | - starting on implementation for pickup.dis
// | - separate pickup rules for itemtypes possible
// | - added some medium rules from tesslerc
// +---------------------------------------------------------------------------+
// | 2.003(beta):
// | - fixed bug, ... hope so 
// +---------------------------------------------------------------------------+
// | 2.0021(beta):
// | - dirty hack to loot all 58+ rare gloves fix applied
// | - added better rules for legendary 2-h weapons
// | - experimentel try on Cached Items - working stable so far
// | - rewrote some rules to be easier readable
// +---------------------------------------------------------------------------+
// | 2.001(beta):
// | - Fixed CraftingPlans
// +---------------------------------------------------------------------------+       
// | 2.00(beta):
// | - no major issues (i think)         
// | - moved UnifiedTrinity 0.44 to 0.45
// | - moved UnifiedTrinity CE 1.7.1.2 to 1.7.1.3
// | - added the converted rules to section hard
// | - added some documentation
// | - added better rules for legendary 1-h weapons
// +---------------------------------------------------------------------------+
// | 2.00(alpha):
// | - complete new scripting engine
// | - allowing much more flexibility
// | - converted all rules to 2.0 standard
// | - more information comming                                               
// +---------------------------------------------------------------------------+
// | 1.03a(fix1):
// | - Fixed selling of crafting plans
// | - added a version in repository with UnifiedTrinity v0.44                                                
// +---------------------------------------------------------------------------+
// | 1.03a(final):
// | - working on rule set ... relying on auctionhouse values
// | - better log's
// | - changed [DMGFACTOR] to include also average dmg
// | - added [OFFSTATS] and [DEFSTATS]
// | - crafting plans settings now in special.dis
// | - fixed crafting plans [TYPE] == CraftingPlan,
// |   [QUALITY] == Legendary,Rare6,Rare5,Rare4
// | - added rules for class specific one-hand weapons
// | - added rules for class specific two-hand weapons
// | - added rules for class specific helms and chest .. cloak
// +---------------------------------------------------------------------------+

STATUS: PUBLIC DOWNLOAD (since 04.12.12)


public release contains actual beta
including rules sets from private dev.
- hard rare rules
- soft legendary rules
- common pickup rules

HAVE FUN!!!

plz report bugs and errors

PUBLIC RELEASE : RELEASED! :p


CONTACT:
skype: darkfriend77
email: [email protected]
PM demonbuddypage: darkfriend77
 
Last edited:
Seems swapping for Monk is enabled by default, with tickbox on or off it still wants to do it :( No way to not have it work.
[17:47:08.815 N] ========== Grid segmentation resetting!!! ============
[17:47:13.668 N] [Swapper] Crashed during a swap, no fear all is ok.

pause button doesn't work anymore, won't come out of a paused state, you have to physically stop and start the bot again, this is really fucked, was my fav feature :(

I assume these are 1.7.1.4 problems though and posted in that thread.

G
 
Last edited:
I edited pickup.dis to ignore all the limitations imposed on pickup, I pickup everything. Surely the easiest way for Blizz to spot a bot is to see a character will pickup only certain items on the ground and leave others without inspecting them, to me by setting minimum pickup levels etc is the easiest way to detect a bot, I personally think it is stupid and I pick up every yellow item and every bit of gold I see. Others may think differently, but this game is dead now, the 5 minutes an hour wasted pickup up everything makes no difference now to anything, just not picking up stuff increases your chance of getting caught IMHO.

G
 
Seems swapping for Monk is enabled by default, with tickbox on or off it still wants to do it :( No way to not have it work.
[17:47:08.815 N] ========== Grid segmentation resetting!!! ============
[17:47:13.668 N] [Swapper] Crashed during a swap, no fear all is ok.

pause button doesn't work anymore, won't come out of a paused state, you have to physically stop and start the bot again, this is really fucked, was my fav feature :(

I assume these are 1.7.1.4 problems though and posted in that thread.

G

... hmm sry ... the weapon swap ... i gona put the version back to default ... https://subversion.assembla.com/svn/CustomTrinity/trunk/ItemRules20062UniTrinity1-7-1-4stable.zip
 
Pausing is working for me, unpauses fine.

Giving this a go, thanks for the release darkfriend. I'm still a little unsure about how to use this properly.

So I selected "File based script rules", diabled looting all the trash in the Item settings. Should I be leaving scores under "town runs" as default, because these file based rules will sort everything out, or should I bump them up so all the bad gear gets vendored? Do these rules cover all rares and legendaries, or do some slip through and get sorted by Giles score rules?
 
I edited pickup.dis to ignore all the limitations imposed on pickup, I pickup everything. Surely the easiest way for Blizz to spot a bot is to see a character will pickup only certain items on the ground and leave others without inspecting them, to me by setting minimum pickup levels etc is the easiest way to detect a bot, I personally think it is stupid and I pick up every yellow item and every bit of gold I see. Others may think differently, but this game is dead now, the 5 minutes an hour wasted pickup up everything makes no difference now to anything, just not picking up stuff increases your chance of getting caught IMHO.

G


... that's a way of thinking

.... my goal is to optimize number of items i get until i get banned
and

u try to optimize the time till u get banned .....
 
Pausing is working for me, unpauses fine.

Giving this a go, thanks for the release darkfriend. I'm still a little unsure about how to use this properly.

So I selected "File based script rules", diabled looting all the trash in the Item settings. Should I be leaving scores under "town runs" as default, because these file based rules will sort everything out, or should I bump them up so all the bad gear gets vendored? Do these rules cover all rares and legendaries, or do some slip through and get sorted by Giles score rules?

How item pickup is handled with "file based scripting rules"

Code:
               EVENT
             Item Drop
       FileBasedScriptingRules
                 |
                 |
                 V
             pickup.dis ----> matching rule
                 |              |
                 |              |-> PICKUP item
                 V              |-> IGNORE item
           no matching rule
                 |
                 |
                 V
          trinity setting
          decide if item
              pickup

How Stashing and Trashing is handled with "file based scripting rules"

Code:
               EVENT
            Item Stash\Trash
       FileBasedScriptingRules
                 |
                 |
                 V
            legendary.dis --> matching rule
             rare.dis           |
             magic.dis          |
            special.dis         |-> KEEP item
                 |              |-> TRASH item
                 |              |
                 V              V
           no matching rule   SCORE item
                 |              |
                 |<-------------+
                 V
          trinity scoring
          decide if item
        is stashed/trashed


Does this help?
 
Yeah, kinda. So I should bump up the trinity scores to make sure any item that isn't covered by the file based rules is vendored if it has a low score I suppose.

How often would you say is a legendary/rare not covered by file based rules? Like, a rough guess, 1/100, 1/1000?
 
I read through your post and I understand the system perfectly fine, I do however not see how to integrate this into HB. Can you please explain where to put the files? I'm guessing the option will show up in the unified version of trinity once the files are dropped the right place.
 
The file you download includes trinity. Delete all other trinities and use this.
 
No worries.

Uhm, does any file contain the version number btw? Like, once I unzipped it all? As in version 20061 or 20062?
 
I edited pickup.dis to ignore all the limitations imposed on pickup, I pickup everything. Surely the easiest way for Blizz to spot a bot is to see a character will pickup only certain items on the ground and leave others without inspecting them, to me by setting minimum pickup levels etc is the easiest way to detect a bot, I personally think it is stupid and I pick up every yellow item and every bit of gold I see. Others may think differently, but this game is dead now, the 5 minutes an hour wasted pickup up everything makes no difference now to anything, just not picking up stuff increases your chance of getting caught IMHO.

G

total bullshit man...when I play i know name of items by heart and don't even need to check it cause i know already what type and ilvl it is...So if bot ignores some certeain items is nothing suspicious...
 
Back
Top