help unsticking player

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Message
Author
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: help unsticking player

#21 Post by rock5 » Fri Feb 25, 2011 11:39 pm

I've been doing some extensive tests with SirPacco's files. The amount it gets stuck is crazy. Luckily it only happens when quick turn is disabled so I sugest people use quick turn for best results.

What I've been able to figure out is it's turning for too long. After some tests it looks like the culprit is the findEnemy function which it does while turning. The findenemy function takes about 700ms so instead of turning for about 100ms it's turning for nearly a full second. The best solution I can think of is to have it not look for enemies while turning. Other solutions I've tried don't really work. I'll write the code later and try it out.
  • Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
  • I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
  • How to: copy and paste in micromacro
    ________________________
    Quote:
    • “They say hard work never hurt anybody, but I figure, why take the chance.”
          • Ronald Reagan

SirPacco
Posts: 10
Joined: Wed Jan 26, 2011 2:14 pm

Re: help unsticking player

#22 Post by SirPacco » Sat Feb 26, 2011 6:15 am

Setting quick turn to "true" solve the problem.
Thank you very much Rock5!

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 5 guests