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?
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.
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
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
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.
[Selling] GW1 50/50 HoM + GWAMM + unlinked ~ available until 20.02.2017 ~ 12/28/2016 - Guild Wars Trading - 48 Replies I'm selling amazing account!
Because no1 is buying and I'm trying to sell it for long time, account will be withdrawn from the market 20.02.2017. I will stop selling it after that time.
withdrawn from the market
http://s32.postimg.org/vt0fmhhsl/Ho_M.jpg
http://s32.postimg.org/3za15anh1/main.jpg
Important Notes
- serious buyers only
► Free Avatars Event | Facebook Event | Momo Designs [ July 2 – July 4 ] 07/02/2016 - Freebies - 1 Replies http://www.elitepvpers.com/forum/customavatars/ava tar6844591_19.gif
http://i.epvpimg.com/sxVGh.png
Order you Free Avatar Design now . From 2/7/2016 to 4/7/2016
● like & share our official page on facebook
● post your design details on the wall of event
● your design will be ready in few min
Facebook Page : Here
Event : Here
[Selling] WTS: GW2+GW1 HOM 39/50 GW1 R12 07/09/2015 - Guild Wars 2 Trading - 1 Replies Guild wars acc r12
Im going to sell my Ha r12 Rank guild wars account. Its linked to an GW2 (I will sell both) Account.
I already changed Email-Adress so you will get all the informations u need and you just need to change the E-mail password. (Serial, Email Account Password, Email, GW account password).
Account got fac proph nightfall and eotn + bonus mission pack .
HOM 39/40
I prefer middelman for the deal!
Only will sell to trusted user!