[GWA˛] Vaettir A/Mo Farm bot

01/25/2012 16:14 | Moep |#91
Quote:
Originally Posted by Lion2205 View Post
Alright sorry for the long wait ._. ... busy and i have to go take a test in a class... anyways i did a few looking through up and down and there is no reason why it would sell it but just in case replace the CanSell for this code and let me know if it works.

Code:
Func CanSell($q, $m, $r)
	;If $m = 0 OR $q > 1 OR $r = $Rarity_Gold Then
	If $m = 0 Or $q > 1 Then
		Return False
	ElseIf $KeepGoldItems And $r = $RARITY_Gold Then
		Return False
	ElseIf $KeepGreenItems And $r = $RARITY_Green Then
		Return False
	ElseIf $KeepPurpleItems And $r = $RARITY_Purple Then
		Return False
	ElseIf $KeepBlueItems And $r = $RARITY_Blue Then
		Return False
	ElseIf $m > 21785 And $m < 21806 Then ;Elite/Normal Tomes
		Return False
	ElseIf $m = 146 Or $m = 22751 Then ;Dyes/Lockpicks
		Return False
	ElseIf $m = 2991 Or $m = 2992 Or $m = 2989 Or $m = 5899 Then ;Sup ID/Salvage
		Return False
	ElseIf $m = 923 Or $m = 931 Or $m = 6533 Then ;Jade/Eye/Claw
		Return False
	ElseIf $keepgstones And $m = $gstones Then
		Return False
	Else
		Return True
	EndIf
EndFunc   ;==>CanSell
Question, do u updatet the first tread with my founded bug? I Also changed another thing at the farm func for me. The second ping sleep i increased from 4000 to 8000. So the Bot waits until mana is full after casting skill 8. Reason for this, sometimes at restart after dead the bot runs out of mana (with mp 36) and cant cast sf. with the change it looks like working more stable.
01/25/2012 16:42 Lion2205#92
Quote:
Originally Posted by | Moep | View Post
Question, do u updatet the first tread with my founded bug? I Also changed another thing at the farm func for me. The second ping sleep i increased from 4000 to 8000. So the Bot waits until mana is full after casting skill 8. Reason for this, sometimes at restart after dead the bot runs out of mana (with mp 36) and cant cast sf. with the change it looks like working more stable.
Nope i did not make the changes to the first attachment.
Reason: I like people to use their brains on simple stuff like replacing one thing for the other....That and i don't use that bot version anymore...
01/28/2012 17:49 pani87#93
what is the code to pick up lunar tokens?
01/28/2012 18:23 ddarek#94
seems u enjoy bot :)
good to know
01/29/2012 14:56 Litso67#95
Could you please include the code for lunar tokens in the bot ?
01/29/2012 21:26 | Moep |#96
Can u say me how i can insert a mp check with gwca? I tried with:

Code:
$lMe = GetAgentByID(-2)
If DllStructGetData($lMe, 'MP') >= 20.0 Then
...
EndiIf
But didnt work. Iam just wanna mod the Source a little bit more for me.
01/30/2012 15:50 ddarek#97
Quote:
Originally Posted by | Moep | View Post
Can u say me how i can insert a mp check with gwca? I tried with:

Code:
$lMe = GetAgentByID(-2)
If DllStructGetData($lMe, 'MP') >= 20.0 Then
...
EndiIf
But didnt work. Iam just wanna mod the Source a little bit more for me.

You are confusing GWCA with GWA2
What is MP ? Mana Points ?
If energy than
Code:
Func GetEnergy($aAgent = -2)
	If IsDllStruct($aAgent) = 0 Then $aAgent = GetAgentByID($aAgent)
	Return DllStructGetData($aAgent, 'EnergyPercent') * DllStructGetData($aAgent, 'MaxEnergy')
EndFunc   ;==>GetEnergy
so answer for your question is
Code:
If GetEnergy(-2) >= 20.0 Then......
01/30/2012 20:31 shallowedgrave#98
Firstly sorry for asking probably painfully repetitive questions.

i am completely new to botting so i have a few questions, firstly:

1) where can i download an UP TO DATE version on the vaettir bot for A/Mo (a link would be nice)

2) will i need to donwnload any other additional programms to use the bot? (if so links would be good)

3) is the set up fully explained and easily understandable in the 'read me'?

4) i've seen in the thread apparently its selling armour? how do i resolve the issure? (surely just put the armour set and weapons in a equipment pack? the bot shouldnt touch that?)

5) also if i want the bot to keep holiday items and dyes how do i do that?


THANK YOU

much appreciated

shallowed
01/30/2012 20:53 Lion2205#99
Quote:
Originally Posted by shallowedgrave View Post
Firstly sorry for asking probably painfully repetitive questions.

i am completely new to botting so i have a few questions, firstly:

1) where can i download an UP TO DATE version on the vaettir bot for A/Mo (a link would be nice)

2) will i need to donwnload any other additional programms to use the bot? (if so links would be good)

3) is the set up fully explained and easily understandable in the 'read me'?

4) i've seen in the thread apparently its selling armour? how do i resolve the issure? (surely just put the armour set and weapons in a equipment pack? the bot shouldnt touch that?)

5) also if i want the bot to keep holiday items and dyes how do i do that?


THANK YOU

much appreciated

shallowed
The one in the main thread works just fine.
The Bot does not sell armor...
There is no holiday going on so no need to worry about that really..
You would need to download AutoIt
Yes, the set up is easy and i think it's completely explained on the first thread.



@| Moep |
Sorry but i do not know much about gwca i know little bit but not enough...if you did mean gwa2 then i think ddarek answered your question.

@ ddarek , love your work keep going :D
01/30/2012 21:05 | Moep |#100
Quote:
Originally Posted by ddarek View Post
You are confusing GWCA with GWA2
What is MP ? Mana Points ?
If energy than
Code:
Func GetEnergy($aAgent = -2)
	If IsDllStruct($aAgent) = 0 Then $aAgent = GetAgentByID($aAgent)
	Return DllStructGetData($aAgent, 'EnergyPercent') * DllStructGetData($aAgent, 'MaxEnergy')
EndFunc   ;==>GetEnergy
so answer for your question is
Code:
If GetEnergy(-2) >= 20.0 Then......
Big thx, next time i look at the gwa.au3 before. ;)
02/01/2012 10:48 Redeldio#101
What about an update for Lunar Tokens? :)
02/03/2012 13:34 Zhaiso#102
please give us an update about lunar tokens !!!!
02/04/2012 16:54 vic van gangsta#103
thank you very much for posting this lion im new to botting and id like to try it but i have a few questions:
1. i would like to try this bot on an account my friend gave me since he doesnt play anymore and it wouldnt matter if that account would be banned but i dont want to loose my main account so how does the ban function of guild wars work and is there a way to secure my main account(i am not trying to say that i dont believe that this bot isnt working but i really dont wanna loose my main ;p)
2. whats gwa˛ ?

thank you for posting this here btw :)
02/05/2012 14:58 Treagon#104
Thank you dude, but does this work as Mo/A too?
02/05/2012 15:16 Zhaiso#105
my bot is just telling (ready to begin) and dont move ... for like 10min..
i updated my memorys.. i dont know what i can do