Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Guild Wars > GW Bots
You last visited: Today at 20:34

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

Advertisement



Problem with GetItemMaxDmg

Discussion on Problem with GetItemMaxDmg within the GW Bots forum part of the Guild Wars category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2016
Posts: 110
Received Thanks: 3
Exclamation Problem with GetItemMaxDmg

Hello!

Can someone help me with GetItemMaxDmg function, please?


Something wrong with variables I think.

THANK YOU!
some ectos for sale is offline  
Old 07/21/2018, 12:45   #2
 
elite*gold: 0
Join Date: Dec 2017
Posts: 46
Received Thanks: 24
Code:
Func IsReq8Max($aItem)
	Local $Req = GetItemReq($aItem)
	Local $Attribute = GetItemAttribute($aItem)
	Local $Rarity = GetRarity($aItem)
	Local $Dmg = GetItemMaxDmg($aItem)

    Switch $Rarity
    Case 2624
	   If $Req = 8 Then
		  If $Attribute = 20 Or $Attribute = 21 Or $Attribute = 17 Then
			 If $Dmg = 22 Or $Dmg = 16 Then
				Return True
			 EndIf
		  EndIf
	   EndIf
    Case 2623
	   If $Req = 8 Then
		  If $Attribute = 20 Or $Attribute = 21 Or $Attribute = 17 Then
			 If $Dmg = 22 Or $Dmg = 16 Then
				Return True
			 EndIf
		  EndIf
	   EndIf
    Case 2626
	   If $Req = 8 Then
		  If $Attribute = 20 Or $Attribute = 21 Or $Attribute = 17 Then
			 If $Dmg = 22 Or $Dmg = 16 Then
				Return True
			 EndIf
		  EndIf
	   EndIf
	EndSwitch
	Return False
EndFunc
This is from what moon posted has gotten plenty of r8's look how getitemmaxdmg is a local variable . You would have to add to your can pick up something like
Code:
 Local $IsReq8 = IsReq8Max($aItem)
 Switch $IsReq8
   Case True
	  Return True ; Is req8 max
   EndSwitch
should add these to your can pick ups
Code:
 Global Const $Rarity_white = 2621
 Global Const $ITEMTYPE_BOW = 5
 Local $ModStruct = GetModStruct($aItem)
 Local $13to25DMG = StringInStr($ModStruct, "0D19A8A7")
 Local $14to25DMG = StringInStr($ModStruct, "0E18A8A7")
 
 
	If $type == $ITEMTYPE_BOW and $13to25DMG and $requirement = 6 and $rarity <> $Rarity_white Then ; Solo DoA Bow
		Return True
	EndIf

	If $type == $ITEMTYPE_BOW and $14to25DMG and $requirement = 6 and $rarity <> $Rarity_white Then ; Solo DoA Bow
		Return True
	EndIf
ayyy_lmao is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
[PROBLEM]HATCHERY PROBLEM[PROBLEM]
07/27/2013 - Facebook - 8 Replies
GUYS I HAVE 3 HATCHERY IN MY ISLAND I WANT TO DELETE THE 2 I CLICK THE REMOVE TOOL THEN CLICK ON THE HATCHERY THEN NOTHING HAPPENS HELP?? THANKS =)
[problem] IB problem
05/11/2008 - Flyff - 2 Replies
Hi , i have problem with IB when i click on this its load the game guard and then Disappear , someone know what the problem? its in the flyff folder i just dont know what the problem whay its disappear , Thnx.
[Problem] Server Inspection Problem
05/01/2008 - Silkroad Online - 1 Replies
Hi, By the update of 1.145 I get the error "The servers is undergoing inspection or updates. Connect to htpp://www.silkroadonline.net for more information." I reinstall the game but I get the same error. And the servers are open! Who can help me. Thank You
Problem with Infinty/ Problem mit Infinity
04/14/2008 - Dekaron - 1 Replies
Hey guys, i donwloadet Infinity from this site http://www.gametribe.com/. K i installed this game and now if i try to start is i get an error message: The game security module update has failed How i can fix this problem, i wont to play it. Ps. I postet it here becoz its the same producer like Dekaronīs Hi Leute, ich hab mir Infinty gedownloadet von http://www.gametribe.com/ und hab es auch installiert, doch jedes mal wenn ich das spiel starten will bekomm ich diesen Fehler: The...



All times are GMT +1. The time now is 20:35.


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.