View Single Post
  #5  
Old 02-13-2013, 06:09 PM
Splorf22 Splorf22 is offline
Planar Protector


Join Date: Mar 2011
Posts: 3,237
Default

So this is some code I have been dying to write. It must be possible to have train detection algorithms. It should be especially easy here on 1999 where if you walk by an aggro mob you aren't added to the hatelist.

There are two cases I can think of:

1. A mob is not aggroed but resetting (but not actually reset yet). In this case, store the hate list as some sort of 'train list'. If the mob aggros another player, then that player was trained by whoever was on the hatelist. Possibly just delete the 'train list' after 10 seconds or so.

2. A mob is aggroed and social aggros onto another mob. In this case, everyone on the hate list for the first mob trained everyone on the hate list for the second mob.

Now obviously these rules are pretty broad, so lets add that you can't train yourself, your group, and your guildmates, which removes the vast majority of pulls. We can make that pretty decent too, for example if the trainer is guild X and you have someone of guild X in your group, you weren't trained. It's not perfect but computers are limited =D

Then the second thing we can do is add that a train must be of sufficient size, relative to the trainee. So if you are L60 you can't be trained by 3 LDCs. Sorry.

I'm sure these aren't perfect heuristics but I would think it should be possible to do SOMETHING that doesn't totally suck.
__________________
Raev | Loraen | Sakuragi <The A-Team> | Solo Artist Challenge | Farmer's Market
Quote:
Originally Posted by Arteker
in words of anal fingers, just a filthy spaniard