AutoRoller
/action logic
Action can be none, need, greed, or disenchant
Logic can be any lua statement that evaluates to true or false
Add -- at the beginning of the line to disable:
--/need purple
Constants
| poor | 0 |
| common | 1 |
| uncommon | 2 |
| rare | 3 |
| epic | 4 |
| legendary | 5 |
| artifact | 6 |
| heirloom | 7 |
| silver | 100 |
| gold | 10000 |
Variables
| raid | boolean | true if you are in a raid |
| party | boolean | false if you are in a raid |
| combat | boolean | true if you are in combat |
| quality | number | 0 to 7, use constants above |
| itype | string | Armor, Weapon, etc |
| subtype | string | see http://www.wowwiki.com/ItemType |
| ilvl | number | item level |
| reqlvl | number | required level to equip |
| name | string | name of item, case sensitive |
| id | number | itemID |
| boe | boolean | true if item is bind on equip |
| bop | boolean | true if item is bind on pickup |
| zone | string | current zone from GetZoneText() |
| subzone | string | current sub zone from GetSubZoneText() |
| value | number | vender cost of an item in copper |
| green | boolean | true if uncommon |
| blue | boolean | true if rare |
| purple | boolean | true if epic |
| need | boolean | true if you can roll need |
| greed | boolean | true if you can roll greed |
| disenchant | boolean | true if you can roll disenchant |
| betterilvl | boolean | true if the item's ilvl is higher than equipped |
GearScore or GearScoreLite required
| gearscore | number | gearscore of the item |
| bettergs | boolean | true if item's gearscore is higher than equipped |
The following is the filter set I use on one of my alts.
/none (subtype == "Pet") or (subtype == 'Mount') /need (name == "Battered Hilt") /disenchant green /greed (name == 'Frozen Orb') or not (need or disenchant) /disenchant party and blue and (value < (7 * gold)) and not betterilvl /greed party and blue and not betterilvl
-
View User Profile
-
Send Message
Posted Mar 9, 2010For example:
BOE <-- NEED
BOP <-- NEED
BOE <-- DE
BOP <-- DE
the second 2 DE's will never get reached, even if the first 2 rules are unsuccessful. There are certain items you cant need on, so it should automatically fall back to DE for those items.
-
View User Profile
-
Send Message
Posted Mar 9, 2010-
View User Profile
-
Send Message
Posted Mar 9, 20101. bool rule <-- function, return 1 for success 0 for fail
2. Check to see if you rolled anything
3. Return 1 for success and 0 for fail
4. if 0 go to next rule (check for null or segfault!)
good work so far btw, saves me the hassle of clicking stuff.
-
View User Profile
-
Send Message
Posted Mar 9, 2010what am i doing wrong? how do yu add rules? is there a guide? explanation somewhere maybe? remember im not a coder i don't know all this stuff.
-
View User Profile
-
Send Message
Posted Mar 3, 2010ALso how do i set it up so it rolls need on frozen orbs only? i want it to roll greed on everything else but frozen orbs i want need roll since everyone else rolls need on them. as i have it no it rolls greed and i lose every time.
-
View User Profile
-
Send Message
Posted Mar 4, 2010You need to add a new rule with: name == "Frozen Orb"
and set the action to Need. Make sure you move that rule to the top.
-
View User Profile
-
Send Message
Posted Mar 15, 2010-
View User Profile
-
Send Message
Posted Dec 8, 2009-
View User Profile
-
Send Message
Posted Sep 30, 2009-
View User Profile
-
Send Message
Posted Oct 2, 2009-
View User Profile
-
Send Message
Posted Sep 25, 2009Regards,
Highend
-
View User Profile
-
Send Message
Posted Sep 11, 2009I, do however, get the confirmation dialog on every boss loot.
-
View User Profile
-
Send Message
Posted Sep 11, 2009-
View User Profile
-
Send Message
Posted Sep 12, 2009AutoRollerDB = {
["profileKeys"] = {
["Siaka - Cenarius"] = "Default",
["Sambe - Cenarius"] = "Default",
["Omawd - Cenarius"] = "Default",
["Kendis - Cenarius"] = "Default",
["Clotha - Cenarius"] = "Default",
["Demesne - Cenarius"] = "Default",
["Kency - Cenarius"] = "Default",
["Loail - Cenarius"] = "Default",
},
["profiles"] = {
["Default"] = {
["rules"] = {
{
["logic"] = "boe and ( quality == rare or quality == uncommon )",
}, -- [1]
{
["enabled"] = false,
}, -- [2]
{
["enabled"] = false,
}, -- [3]
},
["chat"] = false,
},
},
}
-
View User Profile
-
Send Message
Posted Sep 13, 2009-
View User Profile
-
Send Message
Posted Aug 29, 2009-
View User Profile
-
Send Message
Posted Aug 29, 2009-
View User Profile
-
Send Message
Posted Jun 26, 2009-
View User Profile
-
Send Message
Posted Aug 28, 2009-
View User Profile
-
Send Message
Posted Aug 29, 2009