Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Guild Wars > GW Guides & Templates
You last visited: Today at 04:20

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[GWA2] ModStructs For Perfect Items

Discussion on [GWA2] ModStructs For Perfect Items within the GW Guides & Templates forum part of the Guild Wars category.

Reply
 
Old 09/24/2018, 00:49   #16
 
Underavelvetmoon's Avatar
 
elite*gold: 0
Join Date: May 2011
Posts: 98
Received Thanks: 85
Quote:
Originally Posted by OuttaControlX View Post
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
Underavelvetmoon is offline  
Old 09/24/2018, 01:07   #17
 
elite*gold: 0
Join Date: Jul 2014
Posts: 41
Received Thanks: 3
Quote:
Originally Posted by Underavelvetmoon View Post
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?
OuttaControlX is offline  
Old 09/24/2018, 01:44   #18
 
Underavelvetmoon's Avatar
 
elite*gold: 0
Join Date: May 2011
Posts: 98
Received Thanks: 85
Quote:
Originally Posted by OuttaControlX View Post
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.
Underavelvetmoon is offline  
Old 09/25/2018, 01:17   #19
 
elite*gold: 0
Join Date: Jul 2014
Posts: 41
Received Thanks: 3
Quote:
Originally Posted by Underavelvetmoon View Post
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.

Awesome thank you, still learning. I appreciate the help!
OuttaControlX is offline  
Thanks
1 User
Old 09/25/2018, 18:37   #20
 
elite*gold: 0
Join Date: Jul 2010
Posts: 23
Received Thanks: 6
I lost the botdeveloper autoit script to find ID etc. Someone still have it and can share it here please ?
seymon is offline  
Old 09/26/2018, 00:39   #21
 
Underavelvetmoon's Avatar
 
elite*gold: 0
Join Date: May 2011
Posts: 98
Received Thanks: 85
Quote:
Originally Posted by seymon View Post
I lost the botdeveloper autoit script to find ID etc. Someone still have it and can share it here please ?
Right here!

Underavelvetmoon is offline  
Old 09/27/2018, 08:44   #22
 
elite*gold: 0
Join Date: Jul 2010
Posts: 23
Received Thanks: 6
Quote:
Originally Posted by Underavelvetmoon View Post
Right here!

Thanks mate !
seymon is offline  
Old 10/08/2018, 10:40   #23
 
Underavelvetmoon's Avatar
 
elite*gold: 0
Join Date: May 2011
Posts: 98
Received Thanks: 85
Big update today!

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!
Underavelvetmoon is offline  
Thanks
2 Users
Old 10/08/2018, 17:17   #24
 
elite*gold: 0
Join Date: Nov 2012
Posts: 134
Received Thanks: 49
Quote:
Originally Posted by Underavelvetmoon View Post
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.
savsuds is offline  
Old 10/09/2018, 05:55   #25
 
elite*gold: 0
Join Date: Feb 2014
Posts: 181
Received Thanks: 337
Can you please post your functions for:

IsSpecialItem()
IsPcon()
IsRareMaterial()

Along with any any associated globals and arrays.

~Thanks!
Attached Images
File Type: jpg Error Messages AutoIt.jpg (90.3 KB, 50 views)
RiflemanX is offline  
Old 10/09/2018, 17:49   #26
 
Underavelvetmoon's Avatar
 
elite*gold: 0
Join Date: May 2011
Posts: 98
Received Thanks: 85
Quote:
Originally Posted by savsuds View Post
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 View Post
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.
Underavelvetmoon is offline  
Old 10/23/2018, 16:15   #27
 
3vangelist's Avatar
 
elite*gold: 0
Join Date: Jan 2018
Posts: 46
Received Thanks: 14
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.
3vangelist is offline  
Thanks
2 Users
Old 10/23/2018, 17:42   #28
 
Underavelvetmoon's Avatar
 
elite*gold: 0
Join Date: May 2011
Posts: 98
Received Thanks: 85
Quote:
Originally Posted by 3vangelist View Post
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?
Underavelvetmoon is offline  
Old 10/23/2018, 17:45   #29
 
3vangelist's Avatar
 
elite*gold: 0
Join Date: Jan 2018
Posts: 46
Received Thanks: 14
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
3vangelist is offline  
Old 11/14/2019, 13:54   #30
 
richpianagroyper's Avatar
 
elite*gold: 0
Join Date: Oct 2019
Posts: 11
Received Thanks: 2
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.
richpianagroyper is offline  
Reply

« Beginners Guide | - »

Similar Threads Similar Threads
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...



All times are GMT +2. The time now is 04:20.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.