Help by understanding GWCA commands

11/27/2009 16:52 Ultra Die#1
Hi,

I have got some questions, because I work with GWCA since this week.

1.How I can get the id for the function: Cmd$(CA_DIALOG, id) --> Kilroy Quest
Only autoIT: I do it with MouseClick( x, y)

2.How I can attack my target with a Skill from my Skillbar?
Only autoIT: I do it with ControlSend(“Guild Wars”,””,””, “{3}”)
My Char. Take a nearest target automatically and active his Skill 3 in the Skillbar.
If I use

$SKILL_MegaDmg = 3

Cmd($CA_USESKILLBARSKILL, $SKILL_MegaDmg)
my Char do nothing.

I hope you understand my description, because normally I don’t use the english language.

Have anyone small examples for GWCA witch can show me some solutions? I don’t understand the examples scripts like Backbreaker Bot or Raptor Bot.
Thanks.
11/27/2009 17:08 roho808#2
einfach mal die commands list ansehen und schon sollten sich alle fragen in wohlgefallen auflösen....
11/27/2009 18:06 in MIND#3
aber echt... vielleicht mal schauen welche parameter es braucht... aber scheint wohl zu schwer zu sein
11/27/2009 18:09 Jonas_93#4
1: GWCA Commander
2:Cmd($CA_USESKILLBARSKILL, $SkillSlot,-----> $Target<----)

=> Get a target CmdCB($GetNearestAgentToCoords or sth like that)
=> attack it with skill Cmd($CA_USESKILLBARSKILL,$SKILL_MegaDmg, -2)
11/27/2009 21:34 SuneC#5
Hey, I'll try to answer your question as well as possible :)

Quote:
Originally Posted by Ultra Die View Post
1.How I can get the id for the function: Cmd$(CA_DIALOG, id) --> Kilroy Quest
Only autoIT: I do it with MouseClick( x, y)
Associated with the $CA_Dialog command is the $CA_GetLastDialogId command. To use this in conjunction you may want to use the GWCA Commander, so start it, select the $CA_GetLastDialogId command and now switch window to Guild Wars. Now press the dialog option that you wish to get the id of and jump back to the GWCA Commander window. Press Send & Receive and the dialog id you just pressed will appear! Use this in your script.

Quote:
Originally Posted by Ultra Die View Post
2.How I can attack my target with a Skill from my Skillbar?
Only autoIT: I do it with ControlSend(“Guild Wars”,””,””, “{3}”)
My Char. Take a nearest target automatically and active his Skill 3 in the Skillbar.
If I use

$SKILL_MegaDmg = 3

Cmd($CA_USESKILLBARSKILL, $SKILL_MegaDmg)
my Char do nothing.
I'll assume that you want to target an enemy with your skill.
Use CmdCB($CA_GetNearestAliveEnemyToAgent, -2) to get the id of nearest agent and then do Cmd($CA_UseSkillbarSkill, $SKILL_MegaDmg, $cbVar[0]).

I hope you've taken a look at the First Time User Guide to get a brief idea of how to use GWCA when making your scripts!
11/28/2009 17:31 in MIND#6
Quote:
Originally Posted by Jonas_93 View Post
=> attack it with skill Cmd($CA_USESKILLBARSKILL,$SKILL_MegaDmg, -2)
false, u have to write Cmd($CA_USESKILLBARSKILL, $SKILL_MegaDmg, -1)
12/01/2009 17:34 Ultra Die#7
Hi again,

Do you know the GWCA funktion, witch send a massage in the guild wars chat? If i remember there were a discriktion in the officel forum, but the forum is closed.

Thanks.
12/01/2009 19:19 in MIND#8
Quote:
Originally Posted by Ultra Die View Post
Do you know the GWCA funktion, witch send a massage in the guild wars chat?
yes.
12/01/2009 19:45 Ultra Die#9
and...the function is?
12/01/2009 19:46 Jacob_G#10
Actually the forum just melted together with another one ;).
12/01/2009 19:58 Ultra Die#11
That isnt the awnser of my question...
12/01/2009 20:00 Syc0n#12
Hmm maybe you need to restart your pc to avoid failures.
12/01/2009 20:00 in MIND#13
Quote:
Originally Posted by Ultra Die View Post
and...the function is?
a secret
12/01/2009 20:09 Ultra Die#14
Oh sorry, i dont know that we’re here in the funny division of this forum. Im ssure that i opened my thread in ja question etc. Division...


At Mod: Can you bann “in MIND” from my thread, pls. He is onley a post farmer and he doesnt give constructive awnsers, thanks
12/02/2009 15:51 ddl#15
there are two ways
1. call the game func directly using autoit (i think you meant this one, but can´t remember how it worked, ask Harboe or ACB)
2. write a new func in gwca source code with the basic of i think /resign
and then call it through autoit