Currently Tested With: SVN Stable Revision 1681
1st off a huge thanks to noob and cybertech on IRC for working through this over the last 2 days with me.
What is this patch?
It is a proposed change to address the way EveBot:Ratter deploys drones. I wanted something that waited for all targets that should lock and actually start shooting the bot before deploying drones.
What makes this patch different from the proposed changes already available?
I've tested this patch a great deal personally and feel confident it should work as described. I have not personally had a chance to run it under the code that is being deployed today. I also have not encountered a hauler spawn with it yet either. If people can provide input there I would greatly appreciate it.
In order to get the files on the board it had to be zipped. A .patch file is not accepted.
Enjoy People!
~ rockstar ~
:: Update: 20 Dec 2010 ::
- I have ran this code under the current TQ release (Incursion 1.0.2) and it works as advertised with the exception of not having a hauler spawn to test this on yet.
:: Update: 28 Dec 2010 ::
- Tested with upstream SVN releases
- Changed obj_Drones.iss to not spam the logs as much (commented out a DEBUG line)
- Changed obj_Drones.iss default values to bring drones back earlier than past cases if agro is mis-calculated somehow to prevent drone armor damage
1st off a huge thanks to noob and cybertech on IRC for working through this over the last 2 days with me.
What is this patch?
It is a proposed change to address the way EveBot:Ratter deploys drones. I wanted something that waited for all targets that should lock and actually start shooting the bot before deploying drones.
What makes this patch different from the proposed changes already available?
- We've added code to obj_Targets.iss for a function to solely detect hauler type special spawns. This is needed because haulers are counted in the belt but do not normally shoot the bot and would have made our generic deployment code in obj_Combat.iss in-accurate in those cases.
- We've added code to obj_Combat.iss to detect not when an NPC has simply locked you (yellow boxed) but rather when they are actually shooting you (red boxed). Thanks to CCP logic if they simply yellow box you and you deploy drones the NPC may switch to a drone, if you are red boxed they will never stop targeting you. This was the fault with the original changes I've seen on the forums (using GetTargetedBy, GetTargets).
- Also you will see a lot of code that seems to replicate the function of GetAttackers. It is accurate to say that. According to CyberTech the GetAttackers and GetAttackers[:index] functions are broken at the Eve level therefore we needed to re-invent the wheel a bit.
I've tested this patch a great deal personally and feel confident it should work as described. I have not personally had a chance to run it under the code that is being deployed today. I also have not encountered a hauler spawn with it yet either. If people can provide input there I would greatly appreciate it.
In order to get the files on the board it had to be zipped. A .patch file is not accepted.
Enjoy People!
~ rockstar ~
:: Update: 20 Dec 2010 ::
- I have ran this code under the current TQ release (Incursion 1.0.2) and it works as advertised with the exception of not having a hauler spawn to test this on yet.
:: Update: 28 Dec 2010 ::
- Tested with upstream SVN releases
- Changed obj_Drones.iss to not spam the logs as much (commented out a DEBUG line)
- Changed obj_Drones.iss default values to bring drones back earlier than past cases if agro is mis-calculated somehow to prevent drone armor damage
Attachments
-
1.5 KB Views: 508
Last edited: