GW1 Bots working in July 2017

02/13/2019 15:56 Nezorek#2101
Quote:
Originally Posted by rockygns View Post
is there a leecher bot for vaettire?

what are the benefits to leech the vaettire ?
02/13/2019 17:04 LordKillfox#2102
Quote:
Originally Posted by Nezorek View Post
what are the benefits to leech the vaettire ?
Norn-Title Points
02/13/2019 17:38 Akira25#2103
Quote:
Originally Posted by YueNiu View Post
Salvages everything that is salvageable and that is in inventory at the start of it.
It had problems with finding merch and chest so i commented those things out and i buy salvage kits myself. It is fast so it is not big deal.
Bot salvages very slow. any idea to do little faster?
02/13/2019 19:03 YueNiu#2104
Quote:
Originally Posted by Akira25 View Post
Bot salvages very slow. any idea to do little faster?
Toolbox off and if you have other account opened just minimize it.
Also i buy kits alone and i buy more than 1 at a time. Once it uses kit and there is no other in inv it will slow down until you restart.
02/13/2019 20:23 diguano#2105
Good evening, I'm looking for a raptor bot in warrior with the build, someone would have it in stock please? cordially
02/13/2019 21:18 maril15#2106
Hello guys,

I'm running into some problems with these functions. When I use the HasEffect(1043) (SkillID from the skill "Rush" which I found while using "Rush" and watching in the Effects/Buffs). The function HasEffect seems to ALWAYS return False (tested with various Effects & Buffs), it always returns False. I'm not able to manage to find why it is going so wrong. I'm hopping that someone can help me.

Code:
;~ Description: Returns time remaining before an effect expires, in milliseconds.
Func GetEffectTimeRemaining($aEffect)
	If Not IsDllStruct($aEffect) Then $aEffect = GetEffect($aEffect)
	If IsArray($aEffect) Then Return 0
	Return DllStructGetData($aEffect, 'Duration') * 1000 - (GetSkillTimer() - DllStructGetData($aEffect, 'TimeStamp'))
EndFunc   ;==>GetEffectTimeRemaining
Code:
;Pass skill ID, returns True if you're under the effect
Func HasEffect($Effect)
	If IsDllStruct($Effect) = 0 Then $Effect = GetSkillByID($Effect)
	If DllStructGetData(GetEffect($Effect), 'SkillID') < 1 Then ; If you're not under effect
		Return False
	Else
		Return True
	EndIf
EndFunc   ;==>HasEffect
Code:
;~ Description: Returns effect struct or array of effects.
Func GetEffect($aSkillID = 0, $aHeroNumber = 0)
	Local $lEffectCount, $lEffectStructAddress
	Local $lReturnArray[1] = [0]

	Local $lOffset[4]
	$lOffset[0] = 0
	$lOffset[1] = 0x18
	$lOffset[2] = 0x2C
	$lOffset[3] = 0x510
	Local $lCount = MemoryReadPtr($mBasePointer, $lOffset)
	ReDim $lOffset[5]
	$lOffset[3] = 0x508
	Local $lBuffer
	For $i = 0 To $lCount[1] - 1
		$lOffset[4] = 0x24 * $i
		$lBuffer = MemoryReadPtr($mBasePointer, $lOffset)
		If $lBuffer[1] == GetHeroID($aHeroNumber) Then
			$lOffset[4] = 0x1C + 0x24 * $i
			$lEffectCount = MemoryReadPtr($mBasePointer, $lOffset)
			ReDim $lOffset[6]
			$lOffset[4] = 0x14 + 0x24 * $i
			$lOffset[5] = 0
			$lEffectStructAddress = MemoryReadPtr($mBasePointer, $lOffset)

			If $aSkillID = 0 Then
				ReDim $lReturnArray[$lEffectCount[1] + 1]
				$lReturnArray[0] = $lEffectCount[1]

				For $i = 0 To $lEffectCount[1] - 1
					$lReturnArray[$i + 1] = DllStructCreate('long SkillId;long EffectType;long EffectId;long AgentId;float Duration;long TimeStamp')
					$lEffectStructAddress[1] = $lEffectStructAddress[0] + 24 * $i
					DllCall($mKernelHandle, 'int', 'ReadProcessMemory', 'int', $mGWProcHandle, 'int', $lEffectStructAddress[1], 'ptr', DllStructGetPtr($lReturnArray[$i + 1]), 'int', 24, 'int', '')
				Next

				ExitLoop
			Else
				Local $lReturn = DllStructCreate('long SkillId;long EffectType;long EffectId;long AgentId;float Duration;long TimeStamp')

				For $i = 0 To $lEffectCount[1] - 1
					DllCall($mKernelHandle, 'int', 'ReadProcessMemory', 'int', $mGWProcHandle, 'int', $lEffectStructAddress[0] + 24 * $i, 'ptr', DllStructGetPtr($lReturn), 'int', 24, 'int', '')
					If DllStructGetData($lReturn, 'SkillID') = $aSkillID Then Return $lReturn
				Next
			EndIf
		EndIf
	Next
	Return $lReturnArray
EndFunc   ;==>GetEffect
02/14/2019 13:17 yesoyeso#2107
Hello, is there any bot that allows for automated transfer (trading) of say material stacks between accounts? Thanks!
02/14/2019 15:59 Akira25#2108
Quote:
Originally Posted by YueNiu View Post
Toolbox off and if you have other account opened just minimize it.
Also i buy kits alone and i buy more than 1 at a time. Once it uses kit and there is no other in inv it will slow down until you restart.
hmmm...
only 1 Account running and no Toolbox and 10 Salvage Kits available -> Bot salvages 1item every ~5 sec
02/14/2019 16:05 dernap65#2109
Somebody got the Kilroy Bot working from page 140? My char is not accepting the quest..
02/14/2019 18:40 AneleClap#2110
I got most bots working from the thread, hmu if I can help anyone out. (best would be via PM)
02/14/2019 19:45 DerMoench14#2111
Quote:
Originally Posted by AneleClap View Post
I got most bots working from the thread, hmu if I can help anyone out. (best would be via PM)
No, best would be to post your bots right here so we can verify if you've insert harmful code inside.
02/14/2019 20:01 Kugitest#2112
Quote:
Originally Posted by maril15 View Post
I'm Searching for a solution to make the bot check if i'm under a specific effect (like Dash or Shadow Form,....). Can someone help me pls ?
I use the GetEffectTimeRemaining()- Function

For example if you want to cast Dark Escape, when Dash has ended and cast Dash when Dark Escape ended I would write smth like:

1. Skill Dash: Skill ID is 1043
2. Skill Dark Escape: Skill ID is 1037

Code:
Func UseRunningSkill()

If GetEffectTimeRemaining(1043) = 0 and IsRecharged(1037) Then
UseSkill(2)
EndIf

If GetEffectTimeRemaining(1037) = 0 and IsRecharged(1043) Then
UseSkill(1)
EndIf

EndFunc
Call this Function with Adlibregister() ...

I didn't test it in this case but I think it should work. Of Course there will be better ways to do stuff, but I use similar codefragments in my own Ministry Farm Bot and it works ^^

I think some better Coders could give you a better example.
02/15/2019 23:08 MyNutz31#2113
Hey,
Could someone fix the selling function of this chest bot?
I tried to replace the GWA2 by a recent one but it didn't work.
Thx for the help!
02/16/2019 05:07 JnMWhite#2114
Can anyone help me with the GWA2 Title Package Bot? I ran it through the API Patcher but now i'm getting this error when I go to start it
[Only registered and activated users can see links. Click Here To Register...]
02/16/2019 05:27 buddyleex#2115
Quote:
Originally Posted by MyNutz31 View Post
Hey,
Could someone fix the selling function of this chest bot?
I tried to replace the GWA2 by a recent one but it didn't work.
Thx for the help!
find: "byte quantity"
replace: "short quantity"