What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

PVP Auto Fighting Plugin

damarius

New Member
Joined
Dec 10, 2010
Messages
63
Reaction score
0
Is it possible to make a plug in that would detect if another player is near within a given level range to attack, if it is then it auto attacks the player. This would enable a player that participates in open pvp to not only proactively protect ourselves but also lets us get more pvp points. It also would be nice if it could detect pvp flags on non pvp servers.

This would be mainly for users on pvp servers however it could also be used for non-pvp servers if people are flagged

Feel free to add some ideas concerning this request or let me know if it is even possible.

Thanks
 
I wrote a Plugin to improve targeting for PvE/PvP/RaF:

http://www.thebuddyforum.com/honorb...ombathelper-combat-fix-moonkin-mount-fix.html

It is currently designed to ignore PvP targets while not in battlegrounds (which I think is the safest thing to do). I find that typically other players will ignore you, and the bot often fails at PvP, so you're probably just going to die more often by engaging targets that might otherwise leave you alone. However, if your CC is really beast, I suppose you could farm some honor this way =P.

Here is how the plugin could be modified to meet your needs:
1. Download CombatHelper v2.2
2. Add the following code after line 132:

Code:
// Attack nearby players first
foreach (WoWUnit unit in allUnits)
{
    if (unit.IsPlayer && IsGoodTarget(unit, MaxTargetDistance))
    {
        Log("Attacking player...");
        EngageUnit(unit);
        return;
    }
}

3. Delete the following lines from the IsGoodTarget() method:

Code:
if (unit.IsPlayer && unit != Me.CurrentTarget)
{
    // Ignore PvP targets while not in battle grounds
    // unless attacked first or CC targeted a player
    if (showTrace) Log("Unit is another player and not current target!");
    return false;
}
 
I wrote a Plugin to improve targeting for PvE/PvP/RaF:

http://www.thebuddyforum.com/honorb...ombathelper-combat-fix-moonkin-mount-fix.html

It is currently designed to ignore PvP targets while not in battlegrounds (which I think is the safest thing to do). I find that typically other players will ignore you, and the bot often fails at PvP, so you're probably just going to die more often by engaging targets that might otherwise leave you alone. However, if your CC is really beast, I suppose you could farm some honor this way =P.

Here is how the plugin could be modified to meet your needs:
1. Download CombatHelper v2.2
2. Add the following code after line 132:

Code:
// Attack nearby players first
foreach (WoWUnit unit in allUnits)
{
    if (unit.IsPlayer && IsGoodTarget(unit, MaxTargetDistance))
    {
        Log("Attacking player...");
        EngageUnit(unit);
        return;
    }
}

3. Delete the following lines from the IsGoodTarget() method:

Code:
if (unit.IsPlayer && unit != Me.CurrentTarget)
{
    // Ignore PvP targets while not in battle grounds
    // unless attacked first or CC targeted a player
    if (showTrace) Log("Unit is another player and not current target!");
    return false;
}


Lofi I was thinking a plug in would be better that way we could use the bots that we use everyday to level, an example would be using shamwow or skiwarlock then have the plugin to detect players outside of battlegrounds. I am going to be creating a character on the pvp server and that would be alot of fun.
 
Back
Top