• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • [Plugin] Anti PVP - prevent attacking other players during questing

    Discussion in 'Combat' started by paxxx, Sep 21, 2016.

    1. paxxx

      paxxx Community Developer

      Joined:
      Jan 15, 2010
      Messages:
      260
      Likes Received:
      9
      Trophy Points:
      18
      Hey everyone,

      during questing (WorldQuests, Leveling...) there are times you dont want to target any other faction players to prevent PVP combat.

      This plugin blacklists any other players the bot maybe have targeted.

      Just copy it to HB\Plugins\AntiPVP folder.

      Changelog:
      Version 1.0.1 - fixed some little exception error.
      Version 1.0.2 - fixed the multiple blacklisting behaviour
      Version 1.0.3 - Pets should now be recalled and are not fighting the other faction
      Version 1.0.4 - you need to have this one to get working!
      Version 1.0.5 - some more tuning, should run better now. please report any errors with log.
      Version 1.0.7 - during questing bot (100-110) there could be some questgiver blacklisting happening, additional checks added

      Please take care of my signature below.
       

      Attached Files:

      Last edited: Oct 7, 2016
      jotd likes this.
    2. zerucool

      zerucool New Member

      Joined:
      Jul 23, 2012
      Messages:
      46
      Likes Received:
      0
      Trophy Points:
      0
      Thanks alot dude!

      Gonna test it right now!
       
    3. JayK

      JayK Member

      Joined:
      Dec 5, 2011
      Messages:
      41
      Likes Received:
      0
      Trophy Points:
      6
      Thanks man, really helpful for World Quests. Will try it out when i get home!
       
    4. paxxx

      paxxx Community Developer

      Joined:
      Jan 15, 2010
      Messages:
      260
      Likes Received:
      9
      Trophy Points:
      18
      Glad you like it.

      I have updated to 1.0.3 - where now the Pets from you guys should no longer attack the other factions after blacklisting.

      I am not sure if its working correct, so please give feedback - then I am able to improve.
       
    5. Johnbogos

      Johnbogos New Member

      Joined:
      Jul 24, 2016
      Messages:
      3
      Likes Received:
      0
      Trophy Points:
      0
      Thank you for your work. I will test it for some hours today.
       
    6. negrio

      negrio New Member

      Joined:
      Apr 30, 2012
      Messages:
      24
      Likes Received:
      0
      Trophy Points:
      1
      Thk's for the puglin
       
    7. Lollone

      Lollone New Member

      Joined:
      Oct 24, 2012
      Messages:
      18
      Likes Received:
      0
      Trophy Points:
      0
      Thanks gonna test
       
    8. alphaUK

      alphaUK New Member

      Joined:
      Apr 2, 2016
      Messages:
      12
      Likes Received:
      0
      Trophy Points:
      1
      Thank you for the plugin. I'm only level 107. I'll test it later, if I have something useful to you. I'll post it here.
       
    9. Dr.Spike

      Dr.Spike Member

      Joined:
      Aug 25, 2010
      Messages:
      117
      Likes Received:
      1
      Trophy Points:
      18
      Tryed it, it still do pvp, bot wont stop PvPing, if it target a player it will continue untill it die or target die.
      Thanks for it atleast.
       
    10. paxxx

      paxxx Community Developer

      Joined:
      Jan 15, 2010
      Messages:
      260
      Likes Received:
      9
      Trophy Points:
      18
      try the new version, it should work.

      otherwise please log
       
    11. Joker76

      Joker76 Member

      Joined:
      Feb 8, 2010
      Messages:
      835
      Likes Received:
      9
      Trophy Points:
      18
      Fantastic plugin, thank you!

      I did have some minor issues running it last night though. In one instance, it kept targeting and untargeting the same enemy and running in circles. It avoided combat, but it looked very weird/bottish when doing so.

      Also, it seems to be spamming blacklist, even when there are no PvP targets in range;

      Code:
      [04:32:16.723 N] ------------------------------
      [04:32:16.723 N] Target Rimescale Legionnaire Level: 110
      [04:32:16.723 D] Valid: True, Attackable: True, InLoS: True, Distance: 44.9, DistanceExt 44.9, CombatReach: 1.5, MeleeRange: 5, CurrentHealth: 648,092 MaxHealth: 1,039,267 Entry: (102170) CanInteract: False Blacklist: False
      [04:32:16.723 N] ------------------------------
      [04:32:16.724 N] [AntiPVP] ok seems we have something to blacklist...
      [04:32:16.726 D] Moving to <1746.599, 835.9193, 25.8167> from <1727.325, 874.3631, 12.937>
      [04:32:16.756 N] [AntiPVP] ok seems we have something to blacklist...
      [04:32:17.164 D] Activity: Moving to interact with Rimescale Legionnaire (id: 102170, dist: 41.5, TtB: 24s)
      [04:32:17.190 N] [AntiPVP] ok seems we have something to blacklist...
      [04:32:17.594 N] [09:17] Casted Spirit Bomb (227255) on [Tank] Lvl 110 Horde DemonHunter HP: 100 Distance: 0 yards
      [04:32:17.597 N] [AntiPVP] ok seems we have something to blacklist...
      [04:32:18.167 D] Activity: Moving to interact with Rimescale Legionnaire (id: 102170, dist: 34.0, TtB: 23s)
      [04:32:18.194 N] [AntiPVP] ok seems we have something to blacklist...
      [04:32:18.591 N] [09:18] Casted Spirit Bomb (227255) on [Tank] Lvl 110 Horde DemonHunter HP: 100 Distance: 0 yards
      [04:32:18.593 N] [AntiPVP] ok seems we have something to blacklist...
      [04:32:18.759 D] Casting Fiery Brand (204021) on Rimescale Legionnaire HP: 32 - Distance: 29.63 (29.63) (FieryBrand)
      [04:32:18.789 N] [AntiPVP] ok seems we have something to blacklist...
      [04:32:18.823 D] Casting Fiery Brand (204021) on Rimescale Legionnaire HP: 32 - Distance: 29.16 (29.16) (FieryBrand)
      [04:32:18.856 N] [AntiPVP] ok seems we have something to blacklist...
      [04:32:18.897 N] [09:18] Casted Fiery Brand (204021) on [Tank] Lvl 110 Horde DemonHunter HP: 100 Distance: 0 yards
      [04:32:18.899 N] [AntiPVP] ok seems we have something to blacklist...
      [04:32:18.900 D] Casting Fiery Brand (204021) on Rimescale Legionnaire HP: 1 - Distance: 28.64 (28.64) (FieryBrand)
      [04:32:18.925 N] [AntiPVP] ok seems we have something to blacklist...
      [04:32:18.991 D] DrUpdate: Adding new record for Rimescale Legionnaire level 1 category Silence, exprire in 18.1 seconds base on Avenger's Shield (31935) - SPELL_AURA_REMOVED
      [04:32:18.993 N] [AntiPVP] ok seems we have something to blacklist...
      [04:32:18.997 D] [Flightor] Set up for movement from <1734.425, 860.1552, 19.03777> to <1746.599, 835.9193, 25.86182>
      [04:32:19.023 N] [AntiPVP] ok seems we have something to blacklist...
      [04:32:19.030 D] [Flightor] Set up for movement from <1734.525, 859.9548, 19.08391> to <1746.599, 835.9193, 25.83157>
      [04:32:19.067 N] [AntiPVP] ok seems we have something to blacklist...
      [04:32:19.072 D] [Flightor] Set up for movement from <1734.653, 859.6981, 19.14304> to <1746.599, 835.9193, 25.81694>
      [04:32:19.098 N] [AntiPVP] ok seems we have something to blacklist...
      [04:32:19.177 N] ------------------------------
      [04:32:19.177 N] Target Clear
      [04:32:19.177 N] ------------------------------
       
    12. paxxx

      paxxx Community Developer

      Joined:
      Jan 15, 2010
      Messages:
      260
      Likes Received:
      9
      Trophy Points:
      18
      Yeah I have seen this with the new version which has a fix which resulted in that behaviour.
      I will look into this and try to adapt.
       
    13. Archaic00

      Archaic00 New Member

      Joined:
      Dec 2, 2015
      Messages:
      7
      Likes Received:
      0
      Trophy Points:
      1
      Fantastic plugin. Thanks for your continued support.
       
    14. paxxx

      paxxx Community Developer

      Joined:
      Jan 15, 2010
      Messages:
      260
      Likes Received:
      9
      Trophy Points:
      18
      CHANGELOG: Version 1.0.7 - during questing bot (100-110) there could be some questgiver blacklisting happening, additional checks added
       
    15. Shaded

      Shaded Member

      Joined:
      Apr 18, 2011
      Messages:
      336
      Likes Received:
      0
      Trophy Points:
      16
      AWESOME plugin! woop
       
    16. mrJones2k

      mrJones2k Member

      Joined:
      Mar 14, 2010
      Messages:
      86
      Likes Received:
      0
      Trophy Points:
      6
      quick question: what happens if another faction player on purpose engages in pvp combat? will there still be blacklisting?
       
    17. paxxx

      paxxx Community Developer

      Joined:
      Jan 15, 2010
      Messages:
      260
      Likes Received:
      9
      Trophy Points:
      18
      Yes there will be still blacklisting - for 90% of the case during World Questing / Usual Questing - you dont want to attack other players - and most of the times,
      they attack you by AoE Damage - so not on purpose.

      So in the end, the plugin is really useful during afk questing - so you do not end up getting gank'd by angry players.
       
    18. chasemay

      chasemay New Member

      Joined:
      May 21, 2010
      Messages:
      105
      Likes Received:
      0
      Trophy Points:
      0
      I have been looking for something like this since WQs came out! Will try out this afternoon. Thanks!
       

    Share This Page