I am new to the forum, but have lurked in the past I was wondering if I could get some advice, I want to edit the Vaettir bot to work with E/Me - I'm comfortable with editing the au3 script file to get the skill sequencing correct and so on but I'm not sure how I would go about getting the Skill IDs to use in the script to monitor cooldown etc for recasting and stuff.
Anyone can point me to a resource or a page that lists the skill IDs of skills? Or if anyone could help me in editing the bot (I won't upload the bot here as I'm 100% no one here will download it nor should considering I'm a new member)
I got the bot off the GW Working Bots 2019 forum and its the Ident_Sell_Storgoldis one.
I am new to the forum, but have lurked in the past I was wondering if I could get some advice, I want to edit the Vaettir bot to work with E/Me - I'm comfortable with editing the au3 script file to get the skill sequencing correct and so on but I'm not sure how I would go about getting the Skill IDs to use in the script to monitor cooldown etc for recasting and stuff.
Anyone can point me to a resource or a page that lists the skill IDs of skills? Or if anyone could help me in editing the bot (I won't upload the bot here as I'm 100% no one here will download it nor should considering I'm a new member)
I got the bot off the GW Working Bots 2019 forum and its the Ident_Sell_Storgoldis one.
Thanks in advance!
Donwload the Bot Developer Helper by DerMoench(), you can use it to find the SKillIDs and other usefull stuff like Coordinates, ModelIDs etc
Func Enemiesinrange($aAgent = -2, $aRange = 1250)
Local $lAgent, $lDistance
Local $lCount = 0
If Not IsDllStruct($aAgent) Then $aAgent = GetAgentByID($aAgent)
For $i = 1 To GetMaxAgents()
$lAgent = GetAgentByID($i)
If BitAND(DllStructGetData($lAgent, 'typemap'), 262144) Then ContinueLoop
If DllStructGetData($lAgent, 'Type') <> 0xDB Then ContinueLoop
If DllStructGetData($lAgent, 'Allegiance') <> 3 Then ContinueLoop
If DllStructGetData($lAgent, 'HP') <= 0 Then ContinueLoop
If BitAND(DllStructGetData($lAgent, 'Effects'), 0x0010) > 0 Then ContinueLoop
$lDistance = GetDistance($lAgent)
If $lDistance > $aRange Then ContinueLoop
$lCount += 1
Next
Return $lCount
EndFunc
currently im just trying to get a bot to tell me how many foes are in range but it doesnt work im using this setup :
Func Enemiesinrange($aAgent = -2, $aRange = 1250)
Local $lAgent, $lDistance
Local $lCount = 0
If Not IsDllStruct($aAgent) Then $aAgent = GetAgentByID($aAgent)
For $i = 1 To GetMaxAgents()
$lAgent = GetAgentByID($i)
If BitAND(DllStructGetData($lAgent, 'typemap'), 262144) Then ContinueLoop
If DllStructGetData($lAgent, 'Type') <> 0xDB Then ContinueLoop
If DllStructGetData($lAgent, 'Allegiance') <> 3 Then ContinueLoop
If DllStructGetData($lAgent, 'HP') <= 0 Then ContinueLoop
If BitAND(DllStructGetData($lAgent, 'Effects'), 0x0010) > 0 Then ContinueLoop
$lDistance = GetDistance($lAgent)
If $lDistance > $aRange Then ContinueLoop
$lCount += 1
Next
Return $lCount
EndFunc
currently im just trying to get a bot to tell me how many foes are in range but it doesnt work im using this setup :
before i attempt this myself i wanted to ask here whether someone has a working movebackwards function. while movebackwards exists in gwa2 and it should work(havent tested it yet) you cant specify where to move directly in the function. im aware that a function like that wont have pathing like the moveto function as it isnt something that is in the game like that. id assume that after a moveto into the exact opposite direction you could than do a do movebackwards until playergetcords(x/y) but havent tried that if anyone has something like that and is willing to share thatd be great
what are you trying to do and you need to move backwards, why exactly you need something like that
I was looking into a whirling farmer to farm destroyer cores in glints challenge, but since it uses a speedboost the destroyers drop aggro even in hard mode. the solution would be either to move backwards or strafe which is what youre supposed to do as a real player in these scenarios or the other thing you might try is do partial movetos with regular sleep(afewseconds). the destroyers come from two sides and since they also have diffrent attackranges they need to be pulled quite speficially and having a good movebackwords would help with that.
the bot would have to be able to consistently ball up destroyers so you get the vast majority of them in adjecent range so they can be killed by whirling.
before i attempt this myself i wanted to ask here whether someone has a working movebackwards function. while movebackwards exists in gwa2 and it should work(havent tested it yet) you cant specify where to move directly in the function. im aware that a function like that wont have pathing like the moveto function as it isnt something that is in the game like that. id assume that after a moveto into the exact opposite direction you could than do a do movebackwards until playergetcords(x/y) but havent tried that if anyone has something like that and is willing to share thatd be great
Depending on your farming code, you can setup a move backwards function pretty easy yourself....a couple of ways...
The easiest way is to reverse the direction of your FOR $countervariable
you can do a simply if statement in your waypoint array loop right before the next function some like....
If $movebackward = True and $countervariable is >= 2 then $countervariable -= 2
next
this subtracts 2 from your FOR NEXT loop way point variable then the NEXT adds one (in essence subtracting 1) , thus your Moveto($waypoint($countervariable,0),$waypoint($co untervariable,1)) will now run you the reverse direction in your array until $movebackward is no longer True or until your counter variable brings you back to the first waypoint.
there are many other ways to do this but I findthis particular methodmost useful.
Hey folks, is there a script to accept and abandon mobstopper quest?
while i havent tested this myself there are abandon and pickup features in gwa2 so it should just work to do something like:
AcceptQuest(1123)
AbandonQuest(1123)
with 1123 being the questid of every bit helps
Hey, I'm having trouble with salvaginig items. Is there a way to close the salvage window (where you choose between components, materials etc) ?
Also, I often get disconnected when I salvage my whole inventory. Any idea where this might come from ?
Here's what I'm running:
Code:
For $i = 1 To 4
$bag = Getbag($i)
For $j = 1 To DllStructGetData($bag, 'Slots')
$item = GetItemBySlot($i, $j)
If CanSalvage($item) Then
StartSalvage($item)
RndSleep(250)
SalvageMaterials()
RndSleep(250)
EndIf
Next
Next
Hello guys, i got hacked and gm didnt help me :( so i ask for help here 12/22/2009 - Kal Online - 25 Replies Hello guys, i got hacked 7 days ago, i sent a c/s to gms connected my id card, they told me twrite back after 7 days...
GM Reply
Hello.
This is Kalonline.
We checked over your report and blocked hackers.
HELP! I need help scripting 02/06/2007 - Conquer Online 2 - 1 Replies OK, I want to know how u ppl do it! I what program do u use to make them? cause i wanna help but i dun know how... somone plz reply!
L2Walker, scripting questions/help 12/13/2006 - Lineage 2 - 0 Replies Hey, just asking a few questions hope you don't mind ^_^
I'm looking to make a script so when I cast magic on something, the walker bot will cast, say Wind Strike, on the same thing, at the same time.
I've looked through the options in walker and have it setup now, but it doesn't cast at the same time, but when I've finished casting.
If this isn't possible, last time I checked Walker scripts could not pickup what was said in chat, is this still the case?
Thanks. ^_^
Note: If you...
I need help scripting 09/05/2006 - General Coding - 0 Replies Ok I am tired of leeching I am ready to try my hand at scripting but I dont know where to start and I was wondering if someone could help me get started or tell me a website that can help me learn so I can make my own hacks and contribute to the epvp community that we all love :D