Autoattack

EQ2Emulator Development forum.

Moderator: Team Members

Post Reply
User avatar
Ememjr
Team Member
Posts: 975
Joined: Wed Mar 15, 2017 9:41 am
EQ2Emu Server: Perseverance

Autoattack

Post by Ememjr » Thu May 02, 2019 10:16 am

does anyone know what triggers autoattack in our code,

i know when i attack it does turn on autoattack but i cannot turn it off it just turns off at the end of combat

it should look at the option set in the client as to whether its autoattack or forced
the way it supposed to work is
autoattack off
ie if you attack with melee you click the attack button every time you push the button
auto attack on
when you attack with melee click the button once you continously attack, press again and you start attacking again

this is important as there are instances on live where fighters can do melee damage for a period of time (during a specific detrimate)
also makes it easier to test spells and procs

Jabantiz
Lead Developer
Posts: 2912
Joined: Wed Jul 25, 2007 2:52 pm
Location: California

Re: Autoattack

Post by Jabantiz » Thu May 02, 2019 3:08 pm

I believe it is an opcode that is sent when you hit the key for auto attack

User avatar
Ememjr
Team Member
Posts: 975
Joined: Wed Mar 15, 2017 9:41 am
EQ2Emu Server: Perseverance

Re: Autoattack

Post by Ememjr » Thu May 02, 2019 4:03 pm

ok next ? do you know if we are doing anything with options set in the client yet

oh yes we are for some , they are stored in character details under flags which is beign quirky right now

i will have to check a collect while switching Auto Attack MOde to see if it is changing the flag or if it is its own itm to store

Jabantiz
Lead Developer
Posts: 2912
Joined: Wed Jul 25, 2007 2:52 pm
Location: California

Re: Autoattack

Post by Jabantiz » Thu May 02, 2019 4:53 pm

As far as I know we just toggle the type of auto attack that was activated (melee or ranged)

User avatar
Ememjr
Team Member
Posts: 975
Joined: Wed Mar 15, 2017 9:41 am
EQ2Emu Server: Perseverance

Re: Autoattack

Post by Ememjr » Thu May 02, 2019 5:45 pm

my autoattack button was not working but i fixed it , forgot to change the flags back after testing on charactersheet

is for the options it does not look like we handle the autoattacking type specifivally yet in code but it appears it client handles that with the same flags we are using, i will add that to the list of things that need fixed or updated

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests