• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • LazyRaider/Combatbot

    Discussion in 'Buddy Wing Forum' started by distiny, Feb 3, 2013.

    1. distiny

      distiny Member

      Joined:
      Oct 3, 2010
      Messages:
      141
      Likes Received:
      2
      Trophy Points:
      18
      Last edited: Apr 28, 2013
    2. 15outland

      15outland New Member

      Joined:
      Mar 27, 2011
      Messages:
      1,056
      Likes Received:
      0
      Trophy Points:
      0
      How exactly would this work, as I used an empty profile yesterday for combat only purposes, only for it to pick what to shoot, I'd be running and it would stop and shoot every nearby, when I preferred it wouldn't.
       
    3. distiny

      distiny Member

      Joined:
      Oct 3, 2010
      Messages:
      141
      Likes Received:
      2
      Trophy Points:
      18
      Haven't you used honorbuddy's lazyraider/combatbot before in wow ? the current bot is too bloated for good dps in pvp/ops (i know i know, grind bot ...)
       
    4. Ama

      Ama New Member

      Joined:
      Jun 6, 2011
      Messages:
      1,171
      Likes Received:
      33
      Trophy Points:
      0
      I was working on a LazyRaider routine for Swtor a while back. It was based of Pure... Anytime Ive worked on routines for BW, I run into probs. I might look at it again. Ive got some new ideas for debugging.

      Its pretty much good to go for dps and tank stuff though, just need to make a folder for the class and make the routine. The only one I started on was sorcerer. Between F2P being so shitty and being forced to change the names of all my toons, my motivation to debug was pretty low.

      The lazy raider stuff is all in place though, wont move or target. If you add classes, it will load them.

      https://disccc.googlecode.com/svn/trunk/PureSwtor
       
      distiny likes this.
    5. distiny

      distiny Member

      Joined:
      Oct 3, 2010
      Messages:
      141
      Likes Received:
      2
      Trophy Points:
      18
      Nice I'll take a look at it :)
      Thanks mate
       
    6. alltrueist

      alltrueist Active Member

      Joined:
      Dec 10, 2012
      Messages:
      1,424
      Likes Received:
      16
      Trophy Points:
      38
      Is this just a CR or is a botbase included? I think the big problem with BuddyWing is that there is no Tyrael or Lazyraider combat-only botbase we can use to run our CRs.
       
    7. Ama

      Ama New Member

      Joined:
      Jun 6, 2011
      Messages:
      1,171
      Likes Received:
      33
      Trophy Points:
      0
      This is just CR framework really.. I didnt do the routines b/c I had some issues with healing, causing me to give up on swtor.

      Only a few lines of code are needed to disable movement and targeting. These are included in this CR. Framelock type stuff is another story.
       
    8. alltrueist

      alltrueist Active Member

      Joined:
      Dec 10, 2012
      Messages:
      1,424
      Likes Received:
      16
      Trophy Points:
      38
      I just played around with this, and holy shit, this is EXACTLY what I have been waiting for! It ran the default CR smoothly and without lag (!!!!) with my 5 year old computer on maxed settings. Running any other botbase with Buddywing causes massive lag on the lowest settings, so I don't know what you did but it's awesome.

      Just a few questions:
      You said you can disable movement and targeting by editing a few lines of code-- how? If I could edit it out myself it would be the exact bot I'm looking for (now I just need a functional-for-2.0 CR).

      It sucks you gave up on SWTOR because you obviously have a lot of skill with writing code :(

      Thanks Ama!
       
    9. Jests

      Jests New Member

      Joined:
      Feb 13, 2013
      Messages:
      488
      Likes Received:
      1
      Trophy Points:
      0
      I'm confused, what is that and how do I use it? My other computer isn't multi-core so I can't do the affinities fix and I'm anticipating the performance issues alltrueist is talking about.
       
    10. alltrueist

      alltrueist Active Member

      Joined:
      Dec 10, 2012
      Messages:
      1,424
      Likes Received:
      16
      Trophy Points:
      38
      Lazyraider and Tyrael are botbases for Honorbuddy (they run profiles basically). What Ama made was a profile for Buddywing that only runs the combat routine. So no movement, no POIs, no interaction with NPCs-- just combat. This cuts down drastically on the memory usage of the program (which might help you, although SWTOR is still a beast on lower systems). It's really only useful if you're at the keyboard, though. I like to use Lazyraider and Tyrael for raiding and dungeons, so my hands don't get tired/sore. With an optimized routine (which we don't really have for Buddywing right now), you will also pull more DPS/HPS than any player.
       
    11. Jests

      Jests New Member

      Joined:
      Feb 13, 2013
      Messages:
      488
      Likes Received:
      1
      Trophy Points:
      0
      Ahh, ok Thanks!
       
    12. Ama

      Ama New Member

      Joined:
      Jun 6, 2011
      Messages:
      1,171
      Likes Received:
      33
      Trophy Points:
      0
      There aren't really a lot of people that develop for this game. You guys can probably write what you want, it will just take a little learning! Thats how a lot of devs around these forums got started...

      Everything is already in place here for you to write your own rotation. I will give you an example here. All you need is visual studio express, and Tortoise svn.

      1) commit disccc - Revision 741: /trunk/PureSwtor to your routines folder

      2) open PureSWTor.csproj

      You will see the solution explorer on the right or left. Looks like this:

      [​IMG]

      3) Right click "Classes" Folder and add a new folder. Name this after the class. (ie: Sith, Juggernaut)

      4) Right click that folder you just added and hit "Add new Item".

      5) Select new class and name it after the spec you are creating. (ie: Corruption.cs or Rage.cs)

      Ive attached a dummy rotation for you...

      6) A few things you should change. Look at the circled crap. You want to change it to match the spec you are writing!

      PureSWTor.Classes.Juggernaut should be changed to PureSWTor.Classes.<name of folder you made>

      SWTorSpec.JuggernautRage... delete the ".JuggernautRage" and retype the dot, you should be able to scroll through the specs with intellisense

      String name part is up to you really.

      [​IMG]

      7) Lastly your rotation!!

      I made 4 sections for you to work in: PreCombat, HandleCoolDowns, HandleAOE and HandleSingleTarget. They will check in that order! PreCombat will do nothing if mounted or in combat.. HandleAOE will do nothing if less than 3 mobs in 4 meter distance.

      Notice these spells were cast in 2 ways...

      Spell.Cast("MyBuff", ret => !Me.HasBuff("MyBuff"))

      Spell.Cast("Ball Buster")

      One has the name of spell and a condition, the other just the name of the spell. Remember to put "ret => " before your condition!

      Also remember to separate the Spell.Cast methods with a comma!

      IE:
      Spell.Cast("Ball Buster"),
      Spell.Cast("Nut *****er"),
      Spell.Cast("Ball Destroyer")

      This should get you started. Remember, when you run into problems, you have a community of developers at your disposal that will answer your questions and help you learn!
      Good Luck!
       

      Attached Files:

      • Rage.cs
        File size:
        2.8 KB
        Views:
        168
      Developer likes this.
    13. distiny

      distiny Member

      Joined:
      Oct 3, 2010
      Messages:
      141
      Likes Received:
      2
      Trophy Points:
      18
      Thanks for making it easier for others I hope this is the start for some good CC's as joe did


      PS: Guy's, don't forget to add the exe and the dll as a reference to your project to enable intellisense :p You'll be able to spot syntax errors aswell


      (couldn't give you rep since I need to give others first but You'll get it asap!)


      how to reference the files:

      right click project and select add reference
      [​IMG]

      then go to browse -> BW folder and select the 3 files in the SS (I do believe only 1 dll was needed but can't remember) then press OK and you can start

      [​IMG]
       
      Last edited: Apr 21, 2013
    14. Ama

      Ama New Member

      Joined:
      Jun 6, 2011
      Messages:
      1,171
      Likes Received:
      33
      Trophy Points:
      0
      I took some code from buddywing for party and spec type stuff last night and worked on heal manager a little more. Ill try it out later, if it works, I may finish this framework up and put empty routines in that people can fill if they want.
       
    15. calidor

      calidor New Member

      Joined:
      Jan 17, 2013
      Messages:
      8
      Likes Received:
      0
      Trophy Points:
      0
      Good job ama. As its not that complex as wingit.. it crashes just from time to time :)
       
    16. alltrueist

      alltrueist Active Member

      Joined:
      Dec 10, 2012
      Messages:
      1,424
      Likes Received:
      16
      Trophy Points:
      38
      Thank you so much Ama and distiny! I just repped you both a bunch and will try stuff out. I have some PhD essays due this week and next, but after that I plan to spend my summer writing some nice CRs for Jedi Guardians and Jedi Shadows. This post will help me as I have no coding background.
       
    17. alltrueist

      alltrueist Active Member

      Joined:
      Dec 10, 2012
      Messages:
      1,424
      Likes Received:
      16
      Trophy Points:
      38
      When I try to open the PureSWTOR project file, I get an error that says something like "this project is not compatible with this version of Visual Studio." Am I opening the wrong file?
       
    18. Ama

      Ama New Member

      Joined:
      Jun 6, 2011
      Messages:
      1,171
      Likes Received:
      33
      Trophy Points:
      0
      I have the pro version.. I can't see that being an issue. If it is, just start a new project and add all the files
       
    19. distiny

      distiny Member

      Joined:
      Oct 3, 2010
      Messages:
      141
      Likes Received:
      2
      Trophy Points:
      18
      I did a basic Marauder Rage rotation which worked well during the initial tests on dummy and random mobs

      Add it to x:\BuddyWing\Routines\PureSwtor\Classes\Marauder

      tips, feedback much appreciated
       

      Attached Files:

      • Rage.cs
        File size:
        3.8 KB
        Views:
        175
    20. Ama

      Ama New Member

      Joined:
      Jun 6, 2011
      Messages:
      1,171
      Likes Received:
      33
      Trophy Points:
      0
      Thanks for all the interest and thanks to distiny for writing a new rotation!

      I took a couple classes from WingIt that were needed for healing. I have always had problems getting party members and such. WingIt could do that quite well.. I used that stuff to rewrite the healing manager. Also added distiniy's Marauder rotation to the SVN!

      SVN: https://disccc.googlecode.com/svn/trunk/PureSwtor

      Make sure you delete the "Sith" folder from old stuff... renamed it "Sorcerer" :p
       
      Last edited: Apr 21, 2013

    Share This Page