Thank you, how can i pick up blue armor but not blue weapons?
You would define it by "Type". You can find the type of armor if you use the botdeveloper I posted yesterday. Then to use it is as simple as:
Code:
Func CanPickUpArmor($aItem)
Local $Type = DllStructGetData($aItem, 'Type')
Switch $Type
Case ; Number for the type of armor
Return True
EndSwitch
Return False
EndFunc
You would define it by "Type". You can find the type of armor if you use the botdeveloper I posted yesterday. Then to use it is as simple as:
Code:
Func CanPickUpArmor($aItem)
Local $Type = DllStructGetData($aItem, 'Type')
Switch $Type
Case ; Number for the type of armor
Return True
EndSwitch
Return False
EndFunc
I asked the wrong question, is there a list of blue armor ids?
I asked the wrong question, is there a list of blue armor ids?
That would be a stupid amount of work.
Code:
Func CanPickUp($aItem)
Local $Type = DllStructGetData($aItem, 'Type')
Local $Rarity = GetRarity($aItem)
Switch $Type
Case ; Armor Type
If $Rarity = 2626 Then
Return True ; blue - I think?
ElseIf $Rarity = 2624 Then
Return True ; Gold?
Else
Return False
EndIf
EndSwitch
Return False
You really do not need a list of every blue armor in the game. Just pick up blue armor or whatever you want through Type and then use the modstructs Savsuds posted to find the runes you want to keep.
Func CanPickUp($aItem)
Local $Type = DllStructGetData($aItem, 'Type')
Local $Rarity = GetRarity($aItem)
Switch $Type
Case ; Armor Type
If $Rarity = 2626 Then
Return True ; blue - I think?
ElseIf $Rarity = 2624 Then
Return True ; Gold?
Else
Return False
EndIf
EndSwitch
Return False
You really do not need a list of every blue armor in the game. Just pick up blue armor or whatever you want through Type and then use the modstructs Savsuds posted to find the runes you want to keep.
Awesome thank you, still learning. I appreciate the help!
Thanks to all the information that savsuds loves to post all over the place, I have managed to complete the entire shield set and am only missing 2 attributes for ritualist on the caster weapons. I added some mods which have a 100% chance of NOT dropping, just for the sake of looking more complete. Also split the regular/elite Tomes into separate functions since I am tired of having 50 stacks of each normal tome.
Also updated the rune table for the most expensive runes currently available.
All updated on page 1 to keep the information together, check it out!
If there is anything you think should be added/would like added, just let me know!
Also split the regular/elite Tomes into separate functions since I am tired of having 50 stacks of each normal tome.
I will trade you for the normal tomes. (Not all 50 stacks of each, but a few stacks). The below info is free.
Code:
$ofCommuningMagic, "14201824" ; Communing Magic +1 (20% chance while using skills)
$ofRestorationMagic, "14211824" ; Restoration Magic +1 (20% chance while using skills)
$ofChannelingMagic, "14221824" ; Channeling Magic +1 (20% chance while using skills)
$ofSpawningMagic, "14241824" ; only mod I have not confirmed.
I will trade you for the normal tomes. (Not all 50 stacks of each, but a few stacks). The below info is free.
Code:
$ofCommuningMagic, "14201824" ; Communing Magic +1 (20% chance while using skills)
$ofRestorationMagic, "14211824" ; Restoration Magic +1 (20% chance while using skills)
$ofChannelingMagic, "14221824" ; Channeling Magic +1 (20% chance while using skills)
$ofSpawningMagic, "14241824" ; only mod I have not confirmed.
Your a superstar Sav Thank you!
Quote:
Originally Posted by RiflemanX
Can you please post your functions for:
IsSpecialItem()
IsPcon()
IsRareMaterial()
Along with any any associated globals and arrays.
~Thanks!
Updated the first post!
To everyone, everything appears all finished, just need to confirm Spawning magic, although it should be correct.
This is brill, just using this code for my bot and did some housekeeping and thought I'd give some feedback.
Most of the 20% mods that are for an attribute use the hex code of the attribute in the modstring. Heres an example that I quickly edited from your IsPerfectStaff function:
Code:
Func IsPerfectStaff($aItem)
Local $A = GetItemAttribute($aItem), $ModStruct = GetModStruct($aItem)
Switch $A
Case 12 ; Energy Storage - search for 08, 09, 0A, 0B, or 0C attributes
Return StringRegExp($ModStruct,"0[89ABC]141822")
Case 16 ; Divine - search for 0D, 0E, or 0F attributes
Return StringRegExp($ModStruct,"0[DEF]141822")
Case Else ; Everything else - search explicitly for the hex value of this attribute.
Return StringInStr($ModStruct,Hex($A,2)&"141822")
EndSwitch
EndFunc
Does make it a bit harder to figure out whats going on here, but cuts a lot of the cruft out.
This is brill, just using this code for my bot and did some housekeeping and thought I'd give some feedback.
Most of the 20% mods that are for an attribute use the hex code of the attribute in the modstring. Heres an example that I quickly edited from your IsPerfectStaff function:
Code:
Func IsPerfectStaff($aItem)
Local $A = GetItemAttribute($aItem), $ModStruct = GetModStruct($aItem)
Switch $A
Case 12 ; Energy Storage - search for 08, 09, 0A, 0B, or 0C attributes
Return StringRegExp($ModStruct,"0[89ABC]141822")
Case 16 ; Divine - search for 0D, 0E, or 0F attributes
Return StringRegExp($ModStruct,"0[DEF]141822")
Case Else ; Everything else - search explicitly for the hex value of this attribute.
Return StringInStr($ModStruct,Hex($A,2)&"141822")
EndSwitch
EndFunc
Does make it a bit harder to figure out whats going on here, but cuts a lot of the cruft out.
Appreciate the insight, if I ever decide to add more to it or re-write it ill make sure to structure it like this. I will never deny that the functions/lists are hugely cluttered, but they work haha!
Although one reason for the clutter is that we want to avoid mis-matched stats like a divine req staff with 20% earth for instance, which is a big reason for all the clutter. Any idea how that would work with the code you've provided?
The above code only matches the attribute, unless the attribute is energy storage of divine favor - in those special cases (12 and 16), it looks for the ele or monk attributes using a RegExp
Hey everyone, as fun as this list was while it worked since the may patch it no longer does. While i know how to get the ids from items with desired mods this costs time and even worse requires me to have atleast 2 of the items with the desired mods; therefore i'm wondering whether there is a purely mathematical way of figuring out the mod ids?(e.g. i know the vs demons id so i can calculate the vs dwarves one)
Of course alternatively if someone has the currently correct modstructs and they're willing to share that'd be great too.
Keiran GWA2 Version PvEovled 07/02/2014 - GW Exploits, Hacks, Bots, Tools & Macros - 7 Replies Closed because no feedback from community
[GWA2] War Supply Bot 06/01/2014 - Trading - 0 Replies Opening up a thread here again to advertise my war supply bot. I've sold over 80 copies on ************ and sold it a couple times to epvpers a few years ago.
You can reach me on ************ or on skype: raskofshadows.
Prices are set in stone and source is available for a fee.
gwa2 autoit broblem 04/06/2014 - GW Bots - 0 Replies Hat Sich Erledigt kann Gelöscht werden ^^
GWA2 A/mo Vaettir Bot; Need Help!! 02/19/2012 - GW Bots - 1 Replies http://www.elitepvpers.com/forum/gw-exploits-hacks -bots-tools-macros/1568881-gwa-vaettir-mo-farm-bot .html
ENGLISH:
I can't seem to get this to work. I've spent 3-4 hours, read the entire thread here, tried to search for a detailed guide on how to get this to work but it's not.
What I've done was: Downloaded the 2 files shown in the Original Post... "GWA2 A_Mo Vaettirs Farm by bl4ck3lit3.zip"
Extracted it to desktop
Ran GW.EXE as admin.
Set-up assassin with appropriate gear and...