• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Default Combat Discussion

    Discussion in 'Combat Routines' started by Ama, Jan 5, 2015.

    1. landonoid

      landonoid New Member

      Joined:
      Sep 9, 2014
      Messages:
      6
      Likes Received:
      0
      Trophy Points:
      0
      I cant' get default to work. Bot loads, routine loads, profile loads. The bot moves around to hotspots, and harvests nodes. But when it sees a mob, it just stops and stares at it indefinitely.
      It can even loot mobs, like if the companion kills it. But even if I initiate combat, the bot just sits there and won't attack.

      There are no other routines in the folder. Plugins were deleted from the plugins folder. log is below. Thanks!
       

      Attached Files:

    2. Cryogenesis

      Cryogenesis Moderator Moderator

      Joined:
      Jul 13, 2010
      Messages:
      2,128
      Likes Received:
      13
      Trophy Points:
      38
      Routine doesnt load, hence the no fighting part.
      Something wrong with the file...
       
    3. alltrueist

      alltrueist Active Member

      Joined:
      Dec 10, 2012
      Messages:
      1,424
      Likes Received:
      16
      Trophy Points:
      38
      I'm seeing tons of object errors. Most likely, someone stealthed near you, which causes the game to fuck up big time (you'll see GetHealth errors when that happens).

      Try running this: https://www.thebuddyforum.com/relea...dependency-wizard.html?highlight=buddy+wizard

      Make sure your game client is in English.

      Clear your CompiledAssemblies folder.

      When this happens in the future, the only thing you can do is restart both the bot AND the game (not just logout, you have to fully restart).
       
    4. landonoid

      landonoid New Member

      Joined:
      Sep 9, 2014
      Messages:
      6
      Likes Received:
      0
      Trophy Points:
      0
      Hmmm.

      Ran the wizard. Re-downloaded buddywing. Set it up in an entirely new folder, separate from the other BW. shut down the game, reopened it. Ran BW as an admin. Still no luck, same behavior.

      Sigh. For some reason the upload wizard isn't working now. Cant upload the log file. It just has that last log file still in there and won't upload the new one. Cuz when it rains, it poors.

      :/

      BUT - is this line the problem?

      [13:55:17.943 N] Unhandled exception during init: System.ArgumentNullException: Value cannot be null.
      Parameter name: type
      at System.Activator.CreateInstance(Type type, Boolean nonPublic)
      at System.Activator.CreateInstance(Type type)
      at DefaultCombat.Core.RotationFactory.Build(String name) in c:\Program Files\bw default\BuddyWing 1.0.1213.689\Routines\DefaultCombat\Core\RotationFactory.cs:line 41
      at DefaultCombat.DefaultCombat.Initialize() in c:\Program Files\bw default\BuddyWing 1.0.1213.689\Routines\DefaultCombat\DefaultCombat.cs:line 55
      at Buddy.CommonBot.RoutineManager.set_Current(ICombat value)
      at Buddy.CommonBot.BotMain.SetCurrentCombatRoutine()
      at Buddywing.MainWindow.‪‏‪‎‏​​*‏‎‬​*​‎**‬**()
      [13:55:17.943 N] Buddy Wing: The Old Robot is ready!


      I even tried manually selecting Default Combat in the routines dropdown, but still didn't work.


      I have another BW folder set up in different place that has Joe's. That one runs fine. It's even relatively stable. It's just... Joe's is kinda old and slow. I'd really like to bot 3.0 style, ya know?

      Any ideas? Thanks for the replies.
       
    5. landonoid

      landonoid New Member

      Joined:
      Sep 9, 2014
      Messages:
      6
      Likes Received:
      0
      Trophy Points:
      0
      I found the typo you were referring to - Saboteur was mispelled. Put in the file you linked above, but it still isn't working. I loaded the bot up on my Sentinel, and default worked like a charm. Is gunslinger just broken? Is anyone else using one?

      I'm not a coder, but I know enough about how it works to figure where some of the errors are:

      based on this:
      [16:24:08.427 D] Routines were reloaded. New routine list:
      [16:24:08.428 D] DefaultCombat v0.0.0.0
      [16:24:08.446 N] [DefaultCombat] Level: 60
      [16:24:08.447 N] [DefaultCombat] Class: Smuggler
      [16:24:08.448 N] [DefaultCombat] Advanced Class: Gunslinger
      [16:24:08.536 N] [DefaultCombat] Discipline: Saboteur
      [16:24:08.652 N] Unhandled exception during init: System.ArgumentNullException: Value cannot be null.
      Parameter name: type
      at System.Activator.CreateInstance(Type type, Boolean nonPublic)
      at System.Activator.CreateInstance(Type type)
      at DefaultCombat.Core.RotationFactory.Build(String name) in c:\Program Files\bw default\BuddyWing 1.0.1213.689\Routines\DefaultCombat\Core\RotationFactory.cs:line 41
      at DefaultCombat.DefaultCombat.Initialize() in c:\Program Files\bw default\BuddyWing 1.0.1213.689\Routines\DefaultCombat\DefaultCombat.cs:line 55
      at Buddy.CommonBot.RoutineManager.set_Current(ICombat value)
      at Buddy.CommonBot.BotMain.SetCurrentCombatRoutine()
      at Buddywing.MainWindow.‪‏‪‎‏​​*‏‎‬​*​‎**‬**()
      [16:24:08.653 N] Buddy Wing: The Old Robot is ready!


      I can surmise the following - can you guys take a look and see anything pops out at you?

      In the file "BuddyWing 1.0.1213.689\Routines\DefaultCombat\Core\RotationFactory.cs" the bot has a problem with line 41, which reads:
      var instance = Activator.CreateInstance(type);

      In the file "BuddyWing 1.0.1213.689\Routines\DefaultCombat\DefaultCombat.cs" BW has a problem with line 55, which reads:
      RotationBase b = f.Build(BuddyTor.Me.Discipline.ToString());

      The other references, referring to System.Activator.Createinstance, and Buddy.commonbot I couldn't make heads or tails of. I dunno if this is helpful, but I thought I'd highlight it incase any obvious syntax errors pop out at you.

      Thanks again for your help.


      While I'm at it, I should ask - if no one else is encountering this problem, I must conclude that saboteur GS is not a popular spec for botting. Anyone have a suggestion as to what might be better?
       
    6. strepie

      strepie New Member

      Joined:
      Jun 11, 2012
      Messages:
      290
      Likes Received:
      2
      Trophy Points:
      0
      You are right. Saboteur is a mess.
       
    7. alltrueist

      alltrueist Active Member

      Joined:
      Dec 10, 2012
      Messages:
      1,424
      Likes Received:
      16
      Trophy Points:
      38
      The typo is fixed for the next build. Is there something else wrong with Saboteur that needs fixing?
       
    8. Cryogenesis

      Cryogenesis Moderator Moderator

      Joined:
      Jul 13, 2010
      Messages:
      2,128
      Likes Received:
      13
      Trophy Points:
      38
      Is the routine also pushed to svn, or only to the devs?
       
    9. alltrueist

      alltrueist Active Member

      Joined:
      Dec 10, 2012
      Messages:
      1,424
      Likes Received:
      16
      Trophy Points:
      38
      Should be pushed to the SVN, which the devs upload with each release. At least, that's my understanding of what's happening-- I could be pushing these updates into the ether.
       
    10. Bombard001

      Bombard001 New Member

      Joined:
      Jun 24, 2015
      Messages:
      30
      Likes Received:
      0
      Trophy Points:
      0
      IM having alot of issues with this.

      Problems with stealth, i get going in and out of stealth like crazy.
      I think stealth is preventing the bot from using Mount.
      There is a way to turn off stealth ?

      Im having FPS issues too.

      Suggestions ?
       
    11. alltrueist

      alltrueist Active Member

      Joined:
      Dec 10, 2012
      Messages:
      1,424
      Likes Received:
      16
      Trophy Points:
      38
      Put a // in front of the line that calls for stealth. If it's the last line, make sure you remove the comma at the end of the previous line.

      Bot shouldn't be stealthing in manual mode, only afk
       
    12. r4vn0s

      r4vn0s Member

      Joined:
      Sep 27, 2012
      Messages:
      81
      Likes Received:
      1
      Trophy Points:
      8
      Routines here are updated to 3.0?
       
    13. SnackS

      SnackS New Member

      Joined:
      Jul 22, 2014
      Messages:
      16
      Likes Received:
      0
      Trophy Points:
      0
    14. alltrueist

      alltrueist Active Member

      Joined:
      Dec 10, 2012
      Messages:
      1,424
      Likes Received:
      16
      Trophy Points:
      38
    15. SnackS

      SnackS New Member

      Joined:
      Jul 22, 2014
      Messages:
      16
      Likes Received:
      0
      Trophy Points:
      0
      I never did a rotation, just added some skills after the //Rotation comment on the default file.
       
    16. alltrueist

      alltrueist Active Member

      Joined:
      Dec 10, 2012
      Messages:
      1,424
      Likes Received:
      16
      Trophy Points:
      38
      You have Mag Shot listed several times on there. If I recall, Mag Shot is a zero-cooldown ability. That means that the bot will just spam Mag Shot, since it's so high in the selector. Priority Selectors work from top to bottom until they hit a useable skill, then they reset to the top again. Therefore, you can't really program it to do a rotation, just select the best ability at any given time.

      EDIT: Mag Shot is the Rail Shot replacement, so it's not zero cooldown. However, having it in there several times is still bad code. From memory, don't you only want to Mag Shot when the target is burning? We can actually check for auras for that.
       
      Last edited: Jun 29, 2015
    17. SnackS

      SnackS New Member

      Joined:
      Jul 22, 2014
      Messages:
      16
      Likes Received:
      0
      Trophy Points:
      0
      Just came back to swtor (played on launch). I just parsed the Opener rotation from dulfy for IO, from the site rotation you use MS a couple of times.
       
    18. pindleskin

      pindleskin Community Developer

      Joined:
      Oct 24, 2012
      Messages:
      1,124
      Likes Received:
      2
      Trophy Points:
      38
      Shadow Serenity - FPS drops to around 10-14 in combat. Even skillbar cooldowns are a bit laggy. Tried to tweak the routine and remove the bloat but still. Other classes work fine.
       
    19. r4vn0s

      r4vn0s Member

      Joined:
      Sep 27, 2012
      Messages:
      81
      Likes Received:
      1
      Trophy Points:
      8
      Some1 has any tips to reduce this fps drop when the bot is in combat?
       
    20. wired203

      wired203 Community Developer

      Joined:
      Jan 22, 2015
      Messages:
      391
      Likes Received:
      1
      Trophy Points:
      18
      Powertech Pyrotech Issues

      So pyrotech comes up as Firebug when the game does it's detection, I edited the file to make it work and then I modified it for some more DPS. Starting dps was 1200 and ended with 2050 so about double the dps output now. Hopefully the game detection can be fixed but until then this will fix you up.
       

      Attached Files:

    Share This Page