Register for your free account! | Forgot your password?

You last visited: Today at 10:42

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

Advertisement



ID Function Broken

Discussion on ID Function Broken within the GW Exploits, Hacks, Bots, Tools & Macros forum part of the Guild Wars category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2020
Posts: 35
Received Thanks: 12
ID Function Broken

hi all

thanks to anyone who tries to help

i've had a working ID function for a while now
haven't changed anything to it

for some reason, yesterday it stopped working
it just stays stuck in the loop, without ever IDing anything
if my bags are empty, it will just finish the function
if my bag has UNIDs, it will just keep looping, without doing anything

thanks!

Code:
Func Ident($bagIndex)
	$bag = GetBag($bagIndex)
	Local $r = 0
	For $i = 1 To DllStructGetData($bag, 'slots')
		FINDIDKIT()
		out("found ID kit")
		$aitem = GetItemBySlot($bagIndex, $i)
		out("checking rarity")
		If DllStructGetData($aitem, 'ID') = 0 Then ContinueLoop
		$r = GetRarity($aItem)
		If $r==$RARITY_Gold Then IdentifyItem($aitem)
		If $r==$RARITY_Purple Then IdentifyItem($aitem)
		If $r==$RARITY_Blue Then IdentifyItem($aitem)
	    If $r==$RARITY_White Then IdentifyItem ($aitem)
		   ContinueLoop
		   ;out("white")
		;If Not GetIsIDed($aitem) Then IdentifyItem($aitem)
		Sleep(Random(400, 750))
	Next
EndFunc
GWA Func:
Code:
Func IdentifyItem($aItem)
	If GetIsIDed($aItem) Then Return

	Local $lItemID
	If IsDllStruct($aItem) = 0 Then
		$lItemID = $aItem
	Else
		$lItemID = DllStructGetData($aItem, 'ID')
	EndIf

	Local $lIDKit = FindIDKit()
	If $lIDKit == 0 Then Return

	SendPacket(0xC, $HEADER_ITEM_ID, $lIDKit, $lItemID)

	Local $lDeadlock = TimerInit()
	Do
		Sleep(20)
	Until GetIsIDed($lItemID) Or TimerDiff($lDeadlock) > 5000
	If Not GetIsIDed($lItemID) Then IdentifyItem($aItem)
EndFunc   ;==>IdentifyItem
ooklaba is offline  
Old 05/08/2020, 22:44   #2
 
elite*gold: 0
Join Date: Jul 2018
Posts: 2
Received Thanks: 2
what happens if not FINDIDKIT() ??
LunaD is offline  
Reply


Similar Threads Similar Threads
std::function of a function returning an std::function
11/11/2013 - C/C++ - 19 Replies
Nun muss ich nach langer Zeit auch mal wieder einen Thread erstellen, weil mir Google nicht mehr weiterhelfen kann. Ich verzweifle an Folgendem Vorhaben: #include <Windows.h> #include <string> #include <iostream> using namespace std;
Büny™ Public V6 | Broken Sunset ZombieOPK, Telekill, OPK, Broken Sunset Hacks..
02/24/2011 - WarRock Hacks, Bots, Cheats & Exploits - 79 Replies
http://img593.imageshack.us/img593/1686/screensq.j pg Virustotal (Don't worry, it's packed) Download Credits: Büny™ BlackLegend



All times are GMT +1. The time now is 10:42.


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.