VaultNetwork.netVault Network Boards
Author Topic: VT Classic Looter 101 - Need help transitioning away from alnico or other looter plugins? Try here. [Locked]
PicaroLC  1 star
Posts: 225
Registered:
KeyboardToucher posted:

I've got one for ya. How do I set up a rule in the classic looter to loot "Crystalline Shard" but not "Rare Crystalline Shard"? Is there a way to do an exact name match?



Hmm, interesting one indeed. I only know of one name match requirement,

Requirement Type: "String Value Match"

Acts on: "Name"

String Value Pattern: NameOfItem


But it triggers if the "String Value Pattern" you enter is anywhere in the items name, thus it would loot the "Rare Crystalline Shard" as well.


We would have to add a 2nd requirement to this same rule that excludes the "Rare Crystalline Shard".


I can't explain what all the special charactors mean on this, all I know is the word you put in the middle of this mess when used with the same requirement as above will not get looted. So this is in a sense, a "Not" version of that same requirement. The entire string to use for "String Value Pattern" is:

^((?!PutWordHere).)*$


In your case, you'd replace PutWordHere with Rare


So, your rule should have the following two requirments:


Requirement Type: "String Value Match"

Acts on: "Name"

String Value Pattern: Crystalline Shard


Requirement Type: "String Value Match"

Acts on: "Name"

String Value Pattern: ^((?!Rare).)*$


-Picaro
KeyboardToucher
Posts: 7
Registered:
That worked perfectly. Thanks!
PicaroLC  1 star
Posts: 225
Registered:
Hey KeyboardToucher! can you test this out for me? reduce your 2 requirement entries down to a single requirement entry...


^((?!Rare).)*(Crystalline Shard)$


Let me know if it works. =)


I just found out from somebody else on another thread that we're working with "RegEx" so I googled it. Not sure how the space between "Crystalline" and "Shard" will be treated yet though. ?? hmm..
Azrakin
Posts: 10
Registered:
PicaroLC posted:

Hey KeyboardToucher! can you test this out for me? reduce your 2 requirement entries down to a single requirement entry...

^((?!Rare).)*(Crystalline Shard)$

Let me know if it works. =)

I just found out from somebody else on another thread that we're working with "RegEx" so I googled it. Not sure how the space between "Crystalline" and "Shard" will be treated yet though. ?? hmm..



I tested this, works fine. Pretty much a space is a space.
That expression does work to see Crystalline Shards, but not Rare Crystalline Shards. It would however also match things like Aggregate shards because they do not have the word Rare in them.
To -exactly- match Crysalline Shards and nothing else, the simplest way from me messing around is actually just doing

^Crystalline Shard$

If there is anything before or after "Crystalline Shard" it will not be a match.
Zeek350
Posts: 37
Registered:
beings no one has posted any wands here is 1


Slashing Baton, +10%vs. Monsters, 15%md, 10%mc, Major Item Enchantment Aptitude, Mystic's Blessing, War Magic 355 to Wield, Diff 285, Craft 8


[VTank] --------------Object dump--------------
[VTank] [Meta] Create count: 1
[VTank] [Meta] Create time: 1/20/2012 8:49 AM
[VTank] [Meta] Has identify data: True
[VTank] [Meta] Last ID time: 1/20/2012 8:49 AM
[VTank] [Meta] Worldfilter valid: True
[VTank] ID: B74C12E1
[VTank] ObjectClass: WandStaffOrb
[VTank] (S) Name: Slashing Baton
[VTank] (S) FullDescription: Slashing Baton of Lightningbolt
[VTank] (I) CreateFlags1: -1855373160
[VTank] (I) Type: 31819
[VTank] (I) Icon: 24713
[VTank] (I) Category: 32768
[VTank] (I) Behavior: 18
[VTank] (I) Value: 37176
[VTank] (I) Unknown10: 6291461
[VTank] (I) UsageMask: 16
[VTank] (I) IconOutline: 1025
[VTank] (I) Container: 1343138763
[VTank] (I) EquipableSlots: 16777216
[VTank] (I) Burden: 50
[VTank] (I) HookMask: 2
[VTank] (I) Material: 39
[VTank] (I) PhysicsDataFlags: 137345
[VTank] (I) WieldReqValue: 355
[VTank] (I) GemSettingQty: 4
[VTank] (I) GemSettingType: 20
[VTank] (I) SkillLevelReq: 0
[VTank] (I) Workmanship: 8
[VTank] (I) Spellcraft: 271
[VTank] (I) CurrentMana: 3423
[VTank] (I) DescriptionFormat: 7
[VTank] (I) MaximumMana: 3423
[VTank] (I) WandElemDmgType: 1
[VTank] (I) LoreRequirement: 285
[VTank] (I) WieldReqType: 2
[VTank] (I) RankRequirement: 0
[VTank] (I) WieldReqAttribute: 34
[VTank] (D) SalvageWorkmanship: 8
[VTank] (D) ElementalDamageVersusMonsters: 1.1
[VTank] (D) ManaCBonus: 0.1
[VTank] (D) MeleeDefenseBonus: 1.15
[VTank] (D) ManaRateOfChange: -0.0555555555555556
[VTank] Palette Entry 0: ID 0x001E9C, Ex Color: 9C7C41, 1/100
[VTank] Palette Entry 1: ID 0x001EA3, Ex Color: 006C9B, 101/100
[VTank] Palette Entry 2: ID 0x001E9E, Ex Color: 000000, 201/55
PicaroLC  1 star
Posts: 225
Registered:
Azrakin posted:

^Crystalline Shard$



Ah, perfect.


Thanks for the feedback.
PicaroLC  1 star
Posts: 225
Registered:
Zeek350 posted:

Slashing Baton, +10%vs. Monsters, 15%md, 10%mc, Major Item Enchantment Aptitude, Mystic's Blessing, War Magic 355 to Wield, Diff 285, Craft 8



Ok, which of those stats are you concerned with, and how close to perfect do you want them?


Like my wands rules only check for: (unknown) Skill 355 to Wield, +10% PvM and +15% md. I don't check for % mc, Craft or built-in spells.


[VTank] (I) WieldReqValue: 355 ** I say (unknown) because this will match Void as well. **

[VTank] (D) ElementalDamageVersusMonsters: 1.1 ** 1.09 = 9%, 1.1 = 10%, 1.11 = 11%, 1.12 = 12%.... **

[VTank] (D) MeleeDefenseBonus: 1.15 ** 1.15 = 15% same principle as above. **


I'm pretty sure each of these requirements are of the "Long Value Key" type, and you'd want to use the >= version.

If you don't want Void wands, i'd have to examine one of mine later today, I think the property for wand type is:


[VTank] (I) WieldReqType: 2 ** Since this came from your example, i'm guessing 2 = War, Not sure what Void's # is yet. **


-Picaro
PicaroLC  1 star
Posts: 225
Registered:
Ok, looks like I was wrong about WieldReqType: 2 being War. I actually don't yet know what "WieldRegType" would be used for just yet.


The correct property that shows what skill the WieldReg is for is:

[VTank] (I) WieldReqAttribute: 34

(34 being War.)


The other skill numbers (except Void which is 43) are obtainable from the Info section at the bottom of VTCL. The middle drop down "<Select a Skill>". Hopefully either VI or Mag-nus will be updating that list in VTCL after the February patch. =)


Also, I was wrong about all of these being "Long Value Key". Some are "Double Value Key".


So to recap, the requirements I use for wands are:

"Long Value Key >=" "WieldReqValue" "355"

"Double Value Key >=" "ElementalDamageVersusMonsters" "1.1"

"Double Value Key >=" "MeleeDefenseBonus" "1.15"


A requirement to only loot War wands and not Void wands (which I don't use becaues I loot both) is:

"Long Value Key ==" "WieldReqAttribute" "34"


You know what, I'm starting to see a pattern on Long Value vrs Double Value. If it's a intiger the requirement is under Long Value, if it has a decimal point the requirement is under Double Value. I think, this requires more playing to be sure.
PicaroLC  1 star
Posts: 225
Registered:
Here's a copy of the propertydump for a wand, with the 4 lines Bolded that we're using in the rule (kinda paints a good picture of why getting a simpler gui is such a pain):


[VTank] --------------Object dump--------------

[VTank] [Meta] Create count: 1

[VTank] [Meta] Create time: 1/20/2012 8:49 AM

[VTank] [Meta] Has identify data: True

[VTank] [Meta] Last ID time: 1/20/2012 8:49 AM

[VTank] [Meta] Worldfilter valid: True

[VTank] ID: B74C12E1

[VTank] ObjectClass: WandStaffOrb

[VTank] (S) Name: Slashing Baton

[VTank] (S) FullDescription: Slashing Baton of Lightningbolt

[VTank] (I) CreateFlags1: -1855373160

[VTank] (I) Type: 31819

[VTank] (I) Icon: 24713

[VTank] (I) Category: 32768

[VTank] (I) Behavior: 18

[VTank] (I) Value: 37176

[VTank] (I) Unknown10: 6291461

[VTank] (I) UsageMask: 16

[VTank] (I) IconOutline: 1025

[VTank] (I) Container: 1343138763

[VTank] (I) EquipableSlots: 16777216

[VTank] (I) Burden: 50

[VTank] (I) HookMask: 2

[VTank] (I) Material: 39

[VTank] (I) PhysicsDataFlags: 137345

[VTank] (I) WieldReqValue: 355

[VTank] (I) GemSettingQty: 4

[VTank] (I) GemSettingType: 20

[VTank] (I) SkillLevelReq: 0

[VTank] (I) Workmanship: 8

[VTank] (I) Spellcraft: 271

[VTank] (I) CurrentMana: 3423

[VTank] (I) DescriptionFormat: 7

[VTank] (I) MaximumMana: 3423

[VTank] (I) WandElemDmgType: 1

[VTank] (I) LoreRequirement: 285

[VTank] (I) WieldReqType: 2

[VTank] (I) RankRequirement: 0

[VTank] (I) WieldReqAttribute: 34

[VTank] (D) SalvageWorkmanship: 8

[VTank] (D) ElementalDamageVersusMonsters: 1.1

[VTank] (D) ManaCBonus: 0.1

[VTank] (D) MeleeDefenseBonus: 1.15

[VTank] (D) ManaRateOfChange: -0.0555555555555556

[VTank] Palette Entry 0: ID 0x001E9C, Ex Color: 9C7C41, 1/100

[VTank] Palette Entry 1: ID 0x001EA3, Ex Color: 006C9B, 101/100

[VTank] Palette Entry 2: ID 0x001E9E, Ex Color: 000000, 201/55
Zeek350
Posts: 37
Registered:
and here is a melee

Flaming Takuba, 28.88-55, +20%a, +20%md, Minor Sword Aptitude, Blood Drinker VI, Sword 400 to Wield, Diff 113, Craft 7, Value 12,112, BU 392

max damage for tier 7 is 36-60


[VTank] --------------Object dump--------------
[VTank] [Meta] Create count: 1
[VTank] [Meta] Create time: 1/21/2012 10:41 AM
[VTank] [Meta] Has identify data: True
[VTank] [Meta] Last ID time: 1/21/2012 11:13 AM
[VTank] [Meta] Worldfilter valid: True
[VTank] ID: BFF83AD3
[VTank] ObjectClass: MeleeWeapon
[VTank] (S) Name: Flaming Takuba
[VTank] (S) FullDescription: Flaming Takuba
[VTank] (I) CreateFlags1: -1860091240
[VTank] (I) Type: 3895
[VTank] (I) Icon: 5753
[VTank] (I) Category: 1
[VTank] (I) Behavior: 18
[VTank] (I) Value: 12112
[VTank] (I) Unknown10: 1
[VTank] (I) IconOutline: 33
[VTank] (I) EquipType: 1
[VTank] (I) Container: 1343144798
[VTank] (I) EquipableSlots: 1048576
[VTank] (I) Burden: 392
[VTank] (I) HookMask: 2
[VTank] (I) Material: 33
[VTank] (I) PhysicsDataFlags: 137345
[VTank] (I) WieldReqValue: 400
[VTank] (I) ActivationReqSkillId: 11
[VTank] (I) GemSettingQty: 4
[VTank] (I) GemSettingType: 49
[VTank] (I) SkillLevelReq: 252
[VTank] (I) Workmanship: 7
[VTank] (I) Spellcraft: 232
[VTank] (I) CurrentMana: 1001
[VTank] (I) DescriptionFormat: 5
[VTank] (I) MaximumMana: 1001
[VTank] (I) LoreRequirement: 113
[VTank] (I) WieldReqType: 2
[VTank] (I) RankRequirement: 0
[VTank] (I) 47: 6
[VTank] (I) WieldReqAttribute: 11
[VTank] (I) DamageType: 16
[VTank] (I) WeapSpeed: 38
[VTank] (I) EquipSkill: 11
[VTank] (I) MaxDamage: 55
[VTank] (D) SalvageWorkmanship: 7
[VTank] (D) MeleeDefenseBonus: 1.2
[VTank] (D) ManaRateOfChange: -0.05
[VTank] (D) Variance: 0.475
[VTank] (D) DamageBonus: 1
[VTank] (D) Range: 0
[VTank] (D) AttackBonus: 1.2

VaultNetwork.net is an independently operated community forum and is not affiliated with, endorsed by, or technically based on IGN, GameSpy, FilePlanet, GameStats, or the former IGN/GameSpy Vault Network.
References to VaultNetwork.net mean this site/domain. VNBoards-style presentation is a visual homage only. By using this site, you agree to the forum rules.