Bot Line of Sight- Yay or Nay?

Bot related discussion.
Ydiss
Posts: 1193

Re: Bot Line of Sight- Yay or Nay?

Post#21 » Tue Apr 20, 2010 5:25 pm

striat wrote:
Ydiss wrote:Reverting code, in my opinion, should be done only when the reason is critical (game breaking, in this case). The custom change that has now been reverted was originally implemented for a reason, wasn't it? Effectively, by reverting it, that reason has now been forgotten, or it has been considered not worth the risk of the exploit that it allowed.


and

Ydiss wrote:As I know nothing of the code, I can't comment further than that, of course. I only felt that it would have been a more elegant solution, one that has the lowest impact on the general population, to attempt to restrict LOS only on specific actions that exploited it, rather than reverting the entire custom code nugget.


The use of exploits was harming the server to a greater extent than the benefit created by our initial the removal of the LoS check. This was seen as an emergency response. Apparently, some of the old problems still exist, which is why I will review the bot code soon.

There are also numerous other aspects related to bots not having a LoS. One example is bots attacking through walls.

Also, we're talking about a one line adjustment in the code. It was not as though it was given exceptional thought when I removed it to begin with. So, you're probably right in that a more elegant solution is possible. However, the limiting factor for me up until now has been time. And time just was not available in the past.

Finally, do understand two things. First, when I say that I will review something, it normally means that I'll look into a better, permanent solution. Normally, I do not make temp fixes except in emergencies like this. Second, I do appreciate your feedback. Normally, it is really helpful and can sometimes help me (or us) choose the best direction. In this case, I kind of already had an idea of what I wanted to do. I just am trying to work it into the schedule.

Thanks for your feedback.

-Striat
All understood and thanks again :)

striat
Posts: 393

Re: Bot Line of Sight- Yay or Nay?

Post#22 » Thu Apr 22, 2010 2:02 am

Bot LoS has been changed on the test server. Kept LoS restriction, but it is limited by bot or player. This means if you have a LoS and your bot doesn't, he'll attack now. Also, the distance restriction is now the same as that of a pet. Hopefully, things will improve when they changes go love tomorrow. If they do not, please do post it here!

Return to “BoTs”

Who is online

Users browsing this forum: No registered users and 0 guests