View Single Post
  #181  
Unread 11-20-2008, 02:37 AM
ananigma ananigma is offline
A Brown Bear
 
Join Date: Aug 2005
Server: Antonia Bayle
Posts: 12
Default

I think it's gonna be hard to keep it from working right until you get the code to only trigger when autoattack lands or misses. Any other substitute will bug it out.

Here's the problem I had. I got a code to work just from having autoattack on but when I spammed Ca's. It crashed.

I determined the reason was when we use a ca, the game automatically pauses (or shuts off autoattack) and then reapplies after you are done casting. So everytime I would cast a CA, the autoattack trigger would reapply over and over in between the delay. With a delay of 4 seconds or so, and spamming 3-4 cas in between. You can see how that would cause a problem.

So there may not be a whole lot wrong with your code Dragowulf but you'll never really be able to know that until the trigger is coded correctly.

On that subject, instead of having ProxyActor read combat bubbles. Is there a way to get it to read the chat window? Say everytime "YOU" is shown, it will trigger the timer?? ("YOU" is the text for autoattacks)