Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Guild Wars > GW Bots
You last visited: Today at 18:42

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

Advertisement



Attempting to Find Item Damage/Armor Before Picking Up

Discussion on Attempting to Find Item Damage/Armor Before Picking Up within the GW Bots forum part of the Guild Wars category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2024
Posts: 19
Received Thanks: 3
Attempting to Find Item Damage/Armor Before Picking Up

Hello I am quite new to AutoIt and GWA2. I found there are several useful functions for finding out the item's ModelID, Rarity, and Requirement. But I was wondering if there is anyway to return the item's damage/armor numbers (before picking it up). For example, if I wanted to only pick up max damage swords (15-22) and not anything else.
albino albatross is offline  
Old 03/01/2024, 15:32   #2
 
Kronos8's Avatar
 
elite*gold: 0
Join Date: Apr 2021
Posts: 56
Received Thanks: 57
Hello, this should do the trick :
Quote:
;~ Get the item damage (maximum, not minimum)
Func GetItemMaxDmg($item)
If Not IsDllStruct($item) Then $item = GetItemByItemID($item)
Local $modString = GetModStruct($item)
Local $position = StringInStr($modString, "A8A7"); Weapon Damage
If $position = 0 Then $position = StringInStr($modString, "C867"); Energy (focus)
If $position = 0 Then $position = StringInStr($modString, "B8A7"); Armor (shield)
If $position = 0 Then Return 0
Return Int("0x" & StringMid($modString, $position - 2, 2))
EndFunc
Kronos8 is offline  
Old 03/03/2024, 04:06   #3
 
elite*gold: 0
Join Date: Feb 2024
Posts: 19
Received Thanks: 3
Thank you that works well!
albino albatross is offline  
Reply


Similar Threads Similar Threads
What should I learn first before attempting to mod mabi?
06/11/2012 - Mabinogi - 3 Replies
Well, I'm a complete noob at this. I don't want to jump right into looking for downloads such as mabipake, as I don't think I will get very far knowing nothing about it. What are some things I should learn first? I don't plan on trying to make my own mod anytime soon, but what should I learn in order to do that eventually as well? Not looking for a hand held tutorial on anything, but can someone point me in the right direction? I've gone through quite a bit of threads and haven't found...
Damage Damage Damage
02/28/2012 - Mabinogi Hacks, Bots, Cheats & Exploits - 3 Replies
Because of poor English grammar may be a bit strange May I ask what damage accumulated or MOD



All times are GMT +1. The time now is 18:44.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.