• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Flagging Issues with PVP on PVE server, Tethers issues, Mob Flagging/Targeting Issues

    Discussion in 'Wildbuddy Developers' started by walter, Jan 6, 2015.

    1. walter

      walter Active Member

      Joined:
      Jun 25, 2012
      Messages:
      1,112
      Likes Received:
      10
      Trophy Points:
      38
      If the opposite faction switches to PVP Flag and I am unflagged I will attack them. This is only if they enter the zone and then flag PVP. I will just ignore mobs and shoot them. Had a player flag himself then it would just turn and auto shoot him nonstop around mobs. Throwing a red flag since I am NOT flagged for PVP.

      Also if opposite faction is tethered (cc type) the bot will stop attacking. ( I will post logs later when I have better data)

      People then realize you are a bot and that's kind of an issue.

      If some one else is attacking the same mob you are the bot will just stop aggro and wait doing nothing. I need to find a log but will post one asap once I make it happen again.
       
      Last edited: Jan 6, 2015
    2. Apoc

      Apoc Moderator Staff Member Moderator

      Joined:
      Jan 16, 2010
      Messages:
      2,790
      Likes Received:
      94
      Trophy Points:
      48
      For the PVP flag thing, I think this comes down to issues with PvE vs PvP servers. I can have it not attack *any* players if you yourself are not flagged. Is this happening with Grind tags? Or others? (If this happens only when in combat, that's also important, since the CR does not share the same targeting system that the bot does)

      Opposite faction? You'll need to clarify a bit here. There's a chance that the bot is attempting to cast something to break the CC when it shouldn't be, and just getting "stuck". (This would come down to the CR, as the bot literally does nothing when in combat, it hands over all logic to the CR)

      And as for the last one, again, you'll need to clarify a bit more.
       
    3. walter

      walter Active Member

      Joined:
      Jun 25, 2012
      Messages:
      1,112
      Likes Received:
      10
      Trophy Points:
      38

      Sorry after reading what I wrote seems I was all over the place.

      I am grinding mobs in a set area. A player of the opposite faction comes up to me and is not flagged. I will not attack him at all. Then the player will flag himself and the bot will attack him even though I am currently flagged PVE. This happens while I am in combat attacking mobs then the player would flag himself running into mobs. Then I would just keep attacking that player nonstop.

      When I am attacking mobs that some one else is attacking the bot will stop all attacks until those mobs are dead. This even happens if I tag the mobs first.

      For tether the issue I am having is that when another player is tethered I will start attacking the enemies tether mine even though I can't damage it. Thus making me not kill the mobs around me :D.

      Sorry for the wording before just yea :(.


      Also do you have any insight on why the bot moves back and forth during grinding if the tagged mob in the hotspot moves while running to new location? It will back track and fourth looking kinda botty. Is this a routine issue or core logic?
       
      Last edited: Jan 7, 2015
    4. Apoc

      Apoc Moderator Staff Member Moderator

      Joined:
      Jan 16, 2010
      Messages:
      2,790
      Likes Received:
      94
      Trophy Points:
      48
      I just fixed this. If you're not flagged for PVP, all players are just flat out ignored from the Grind tag's logic.

      This is an issue with the CR's targeting logic. I'll have to look into it.

      Again, an issue with targeting logic. I added a property not long ago which is basically "CanAttack". This may be the case with the tethers.

      1) Word is "insight" ;)
      2) I've never seen this happen, and by your explanation, it's still not clear exactly what you mean. Sorry if it's just me, but could you clarify just a little more?
       
    5. walter

      walter Active Member

      Joined:
      Jun 25, 2012
      Messages:
      1,112
      Likes Received:
      10
      Trophy Points:
      38

      I will record a video and PM to you. Just give me a day or so since I will just play 2 accounts to react it.

      I will let you know if I have issues with a player again. I had some one report me last night and was talking to a GM in-game. After I messaged him asking how my class was he just left. Since we all know GMs are invisible in game.

      Seems players notice how we would attack enemy tethers. Was just asking around :D.

      Yea spelling isn't my strong suit also that early in the morning I don't know whats going on half the time before work :D! No coffee no thinky
       
      Last edited: Jan 7, 2015
    6. walter

      walter Active Member

      Joined:
      Jun 25, 2012
      Messages:
      1,112
      Likes Received:
      10
      Trophy Points:
      38
      Here is log where when a mob moves while grinding it loses the location and moves backwards then forwards again. Only happens if the mob is a moving mob it will throw object error. Seems something with targeting going to look at it in default routine. I also is it possible for default routine to have SVN I can access and update? I have a huge update for the routine that adds gadget use and few other tweaks.

      This issue seems to happen once some one else also tags the mobs and is attacking them. We just stop attacking and then wait til they are finished killing mobs before moving to next hotspot.

      [HIDE]Vendoring items...
      Can not go for a repair run without having a vendor specified in the profile.
      Repairing items...
      Attempting to repair without any valid repair NPCs defined in profile!
      Moving to current hotspot...
      Grind Tag is set to kill [AFF653 - NonPlayer | 41882] Malicious Crawler , Position: X:392.9431 Y:-1078.707 Z:-5339.491, Facing: X:0.001146078 Y:0 Z:-0.9999993 W:0, Heading: -0.001146078
      Moving to next hop. Distance from current: 0, distance to next: 11.56568
      Proceeding to next hop at X:413.6 Y:-1078.615 Z:-5327. Distance: 11.56568
      Moving to next hop. Distance from current: 0.4838626, distance to next: 8.284293
      Proceeding to next hop at X:413.6 Y:-1078.615 Z:-5327. Distance: 8.284293
      Moving to next hop. Distance from current: 0.6079329, distance to next: 6.608867
      Proceeding to next hop at X:413.6 Y:-1078.615 Z:-5327. Distance: 6.608867
      Moving to next hop. Distance from current: 0.3189226, distance to next: 4.258208
      Proceeding to next hop at X:413.6 Y:-1078.615 Z:-5327. Distance: 4.258208
      Moving to next hop. Distance from current: 0.5864074, distance to next: 2.087722
      Proceeding to next hop at X:413.6 Y:-1078.615 Z:-5327. Distance: 2.087722
      Moving to next hop. Distance from current: 0.7636372, distance to next: 0.7896305
      Proceeding to next hop at X:413.6 Y:-1078.615 Z:-5327. Distance: 0.7896305
      Moving to next hop. Distance from current: 0.9374929, distance to next: 5.277339
      Proceeding to next hop at X:410.2 Y:-1078.615 Z:-5329.8. Distance: 5.277339
      Moving to next hop. Distance from current: 1.078813, distance to next: 0.4483196
      Proceeding to next hop at X:413.6 Y:-1078.615 Z:-5327. Distance: 0.4483196
      Moving to next hop. Distance from current: 0.5297123, distance to next: 3.885544
      Proceeding to next hop at X:410.2 Y:-1078.615 Z:-5329.8. Distance: 3.885544
      Moving to next hop. Distance from current: 0.5330845, distance to next: 7.458437
      Proceeding to next hop at X:405.4 Y:-1078.615 Z:-5335. Distance: 7.458437
      Moving to next hop. Distance from current: 1.305965, distance to next: 1.186084
      Proceeding to next hop at X:410.2 Y:-1078.615 Z:-5329.8. Distance: 1.186084
      Exception during execution of profile tag <Grind /> (Line #3)System.NullReferenceException: Object reference not set to an instance of an object.
      at Buddy.Wildstar.BotCommon.ProfileTags.Grind.***‏‬‏‬​
*‬‏‫‪‏*
*()
      at Buddy.Wildstar.BotCommon.CommonBehaviors.}1>;\&RwjG\[%mhzE6v( Ci-.()
      --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
      at Buddy.Wildstar.BotCommon.ProfileTags.Grind.9"eUq\*F{^bk"%O_t51'Ux$D^.()
      --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at Buddy.ProfileBot.ProfileBot.Bhn7{mGJsKyUTgjuJRWL_@40.MoveNext()

      Vendoring items...
      Can not go for a repair run without having a vendor specified in the profile.
      Repairing items...
      Attempting to repair without any valid repair NPCs defined in profile!
      Moving to current hotspot...
      Moving to next hop. Distance from current: 0.2072882, distance to next: 1.686515
      Proceeding to next hop at X:410.2 Y:-1078.615 Z:-5329.8. Distance: 1.686515
      Moving to next hop. Distance from current: 1.553942, distance to next: 5.944269
      Proceeding to next hop at X:413.6 Y:-1078.615 Z:-5327. Distance: 5.944269
      Moving to next hop. Distance from current: 1.365237, distance to next: 3.597464
      Proceeding to next hop at X:416 Y:-1078.615 Z:-5326.8. Distance: 3.597464
      We reached our destination (the hotspot location). Setting next hotspot...
      Switching search area to hotspot: Name: New Hotspot, Range: 40, Timeout: 60, Position: X:445.115 Y:-1078.707 Z:-5384.961
      Vendoring items...
      Can not go for a repair run without having a vendor specified in the profile.
      Repairing items...
      Attempting to repair without any valid repair NPCs defined in profile!
      Moving to current hotspot...
      Grind Tag is set to kill [B0CEA8 - NonPlayer | 41882] Malicious Crawler , Position: X:408.2434 Y:-1078.645 Z:-5396.586, Facing: X:-0.4011627 Y:0 Z:-0.9160068 W:0, Heading: 0.4127858
      Moving to next hop. Distance from current: 1.084301, distance to next: 4.846711
      Proceeding to next hop at X:410.2 Y:-1078.615 Z:-5329.8. Distance: 4.846711
      Moving to next hop. Distance from current: 1.138716, distance to next: 2.85378
      Proceeding to next hop at X:409.4 Y:-1078.615 Z:-5331.4. Distance: 2.85378
      Moving to next hop. Distance from current: 1.09147, distance to next: 66.12271
      Proceeding to next hop at X:408.2434 Y:-1078.645 Z:-5396.586. Distance: 66.12271
      Moving to next hop. Distance from current: 0.5054865, distance to next: 39.98538
      Proceeding to next hop at X:406.6555 Y:-1078.622 Z:-5395.072. Distance: 39.98538
      Exception during execution of profile tag <Grind /> (Line #3)System.NullReferenceException: Object reference not set to an instance of an object.
      at Buddy.Wildstar.BotCommon.ProfileTags.Grind.***‏‬‏‬​
*‬‏‫‪‏*
*()
      at Buddy.Wildstar.BotCommon.CommonBehaviors.}1>;\&RwjG\[%mhzE6v( Ci-.()
      --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
      at Buddy.Wildstar.BotCommon.ProfileTags.Grind.9"eUq\*F{^bk"%O_t51'Ux$D^.()
      --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at Buddy.ProfileBot.ProfileBot.Bhn7{mGJsKyUTgjuJRWL_@40.MoveNext()

      Vendoring items...
      Can not go for a repair run without having a vendor specified in the profile.
      Repairing items...
      Attempting to repair without any valid repair NPCs defined in profile!
      Moving to current hotspot...
      Moving to next hop. Distance from current: 0.3308024, distance to next: 7.047805
      Proceeding to next hop at X:416 Y:-1078.615 Z:-5356.8. Distance: 7.047805
      Moving to next hop. Distance from current: 0.7730139, distance to next: 2.463947
      Proceeding to next hop at X:417.6 Y:-1078.615 Z:-5357.4. Distance: 2.463947
      Moving to next hop. Distance from current: 1.109185, distance to next: 4.698252
      Proceeding to next hop at X:420.2 Y:-1078.615 Z:-5360. Distance: 4.698252
      Moving to next hop. Distance from current: 1.621235, distance to next: 8.549328
      Proceeding to next hop at X:425 Y:-1078.615 Z:-5365. Distance: 8.549328
      Moving to next hop. Distance from current: 1.480633, distance to next: 12.36771
      Proceeding to next hop at X:432.8 Y:-1078.615 Z:-5372.6. Distance: 12.36771
      Moving to next hop. Distance from current: 1.53063, distance to next: 4.639766
      Proceeding to next hop at X:435 Y:-1078.615 Z:-5374.8. Distance: 4.639766
      Moving to next hop. Distance from current: 1.28949, distance to next: 8.500457
      Proceeding to next hop at X:440 Y:-1078.615 Z:-5380. Distance: 8.500457
      We reached our destination (the hotspot location). Setting next hotspot...
      Switching search area to hotspot: Name: New Hotspot, Range: 40, Timeout: 60, Position: X:395.0364 Y:-1078.707 Z:-5322.534
      Vendoring items...
      Can not go for a repair run without having a vendor specified in the profile.
      Repairing items...
      Attempting to repair without any valid repair NPCs defined in profile!
      Moving to current hotspot...
      Grind Tag is set to kill [B24E47 - NonPlayer | 50224] Malicious Creeper , Position: X:408.557 Y:-1078.707 Z:-5358.603, Facing: X:1.509958E-07 Y:0 Z:1 W:0, Heading: -3.141593
      Moving to next hop. Distance from current: 1.666523, distance to next: 6.524765
      Proceeding to next hop at X:435 Y:-1078.615 Z:-5374.8. Distance: 6.524765
      Moving to next hop. Distance from current: 1.437397, distance to next: 4.546262
      Proceeding to next hop at X:432.8 Y:-1078.615 Z:-5372.6. Distance: 4.546262
      Moving to next hop. Distance from current: 1.472966, distance to next: 3.217623
      Proceeding to next hop at X:431.2 Y:-1078.615 Z:-5371.8. Distance: 3.217623
      Moving to next hop. Distance from current: 1.082093, distance to next: 18.14943
      Proceeding to next hop at X:414.4 Y:-1078.615 Z:-5368.4. Distance: 18.14943
      Down: -1439155944
      Up: -1891565552
      Vendoring items...
      Can not go for a repair run without having a vendor specified in the profile.
      Repairing items...
      Attempting to repair without any valid repair NPCs defined in profile!
      Moving to current hotspot...
      Grind Tag is set to kill [B24E47 - NonPlayer | 50224] Malicious Creeper , Position: X:406.7513 Y:-1078.704 Z:-5358.19, Facing: X:-0.8924007 Y:0 Z:0.4512438 W:0, Heading: 2.038955
      Moving to next hop. Distance from current: 0.000579834, distance to next: 8.755507
      Proceeding to next hop at X:414.4 Y:-1078.615 Z:-5368.4. Distance: 8.755507[/HIDE]

      Also if you have any insight on why it doesn't see the vendors when grinding and throws up errors even though I don't need repairs yet and inventory is not full. Only happens when grinding profiles.

      Thanks
       
      Last edited: Jan 10, 2015
    7. Apoc

      Apoc Moderator Staff Member Moderator

      Joined:
      Jan 16, 2010
      Messages:
      2,790
      Likes Received:
      94
      Trophy Points:
      48
      By default, the bot wants to go for a mail/vendor run when you have <= 3 open bag slots.

      Also, it will try to repair if any of your equipment is <= 3% durability. (Martin seems to have muffed that setting value)

      You can change both in the settings. (There is currently no UI binding for those settings)

      As for the following lines:

      Code:
      [COLOR=#333333]Can not go for a repair run without having a vendor specified in the profile.[/COLOR]
      [COLOR=#333333]Repairing items...[/COLOR]
      [COLOR=#333333]Attempting to repair without any valid repair NPCs defined in profile!
      I really can't figure out why it's doing this. It seems like the serializer isn't actually pulling in the vendor tags for some reason. I'll debug this tonight.[/COLOR]
       

    Share This Page