• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Fight at Joe's

    Discussion in 'Archives' started by JoeBrewski, Nov 11, 2012.

    1. JoeBrewski

      JoeBrewski New Member

      Joined:
      Jul 4, 2012
      Messages:
      315
      Likes Received:
      4
      Trophy Points:
      0
      Great, and thanks, I was thinkin about a request for 'Sticky-ing' this thread. A note on Sleeps - yeah I know they're not desirable but since the code is more procedural and doesn't use framelocks/native 'PrioritySelector's everywhree, it hasn't been too much of a problem for me aside from (previous) UseObject(s) in questing scripts. My main goal from the beginning was to eliminate the crashing and hangs. Glad to hear you're doing a rewrite - great work :) And thanks again for the Sticky on this, very much appreciate it :)

      Joe
       
    2. JoeBrewski

      JoeBrewski New Member

      Joined:
      Jul 4, 2012
      Messages:
      315
      Likes Received:
      4
      Trophy Points:
      0
      Let me know which class/spec you're using and I'll look into it. I also just 'bastardized' the unhandled (where it wouldn't do anything, period, for combat) so it will use the closest-matching routine I have coded. If you like you can look at it - MercHelpers.cs - the 'combat dispatching routine' is called (you can do a find on it) void MyCombat()

      Joe
       
    3. xMasterPandax

      xMasterPandax New Member

      Joined:
      Sep 30, 2013
      Messages:
      91
      Likes Received:
      1
      Trophy Points:
      0
      Don't take it the wrong way, I'm very appreciative. I know you are busy and can't do everything. Thanks and keep up the good work.
       
    4. walter

      walter Active Member

      Joined:
      Jun 25, 2012
      Messages:
      1,112
      Likes Received:
      10
      Trophy Points:
      38
      No worries keep up the great work as always. Only reason I even started to use buddywing was your CC when I had no clue how to program in treesharp! Glad to see another person willing to invest their free time into this. Just a fun project for me as well can't say I regret any of it!
       
    5. Manolitox

      Manolitox New Member

      Joined:
      Jan 1, 2013
      Messages:
      119
      Likes Received:
      0
      Trophy Points:
      0
      oh my god, welcome back Joe! Good to have you back mate!
       
    6. JoeBrewski

      JoeBrewski New Member

      Joined:
      Jul 4, 2012
      Messages:
      315
      Likes Received:
      4
      Trophy Points:
      0
      Thanks, appreciate it :)

      Joe
       
    7. Adisan

      Adisan New Member

      Joined:
      Sep 27, 2013
      Messages:
      22
      Likes Received:
      0
      Trophy Points:
      0
      Just thought i'd try this out as no other classes seem to work stable on my sith assassin (tank)
      All this does is sits down and stays there.. I also came across this on my console:
       
    8. JoeBrewski

      JoeBrewski New Member

      Joined:
      Jul 4, 2012
      Messages:
      315
      Likes Received:
      4
      Trophy Points:
      0
      It's trying to mount using the 'x' key, as noted in the notes I posted. 'x' defaults to /sit in SWTOR.

      Edit MercHelpers.cs and update chMount to ' ' (a space, for jump - effectively an 'Ignore Mount') if the character can't yet mount, or map your mount to 'x' in SWTOR.

      Joe
       
    9. Cryogenesis

      Cryogenesis Moderator Moderator

      Joined:
      Jul 13, 2010
      Messages:
      2,128
      Likes Received:
      13
      Trophy Points:
      38
      Hey Joe,

      I need your help on my problem.
      When the profile needs to UseObject, your routine scans the area for using it.
      Sadly when there are other objects around with the same name, its not following the profile, but only following your scan result.

      Code:
      [15:33:05.050 N] [JoesCombat] POI Object Scan: Found [Grommik's Cache], working on getting there now.
      [15:33:17.329 D] Generating path to Grommik's Cache <30.26872, 44.71626, -227.8979>
      [15:33:17.369 D] Waiting for path request to finish...
      [15:33:17.410 D] Nav callback called.
      [15:33:19.815 N] [JoesCombat] POI Object Scan: Found [Grommik's Cache], working on getting there now.
      [15:33:32.031 D] Generating path to Grommik's Cache <30.26872, 44.71626, -227.8979>
      [15:33:32.031 D] Nav Service path generated.
      [15:33:32.031 D] Generated path to <30.26872, 44.71626, -227.8979> (Grommik's Cache) with 15 hops.
      [15:33:34.605 N] [JoesCombat] POI Object Scan: Found [Grommik's Cache], working on getting there now.
      [15:33:46.819 D] Moving to next hop: <72, 44, -281.6>, T: None (Grommik's Cache) D: 10,22802
      [15:33:49.306 N] [JoesCombat] POI Object Scan: Found [Grommik's Cache], working on getting there now.
      [15:33:49.307 D] Generating path to  <79.559, 44.5721, -288.5555>
      [15:33:49.350 D] Waiting for path request to finish...
      [15:33:49.388 D] Nav callback called.
      [15:33:49.552 D] Generating path to  <79.559, 44.5721, -288.5555>
      [15:33:49.565 D] Nav Service path generated.
      [15:33:49.565 D] Generated path to <79.559, 44.5721, -288.5555> () with 2 hops.
      [15:33:50.177 D] Moving to next hop: <79.559, 44.5721, -288.5555>, T: None () D: 2,938983
      [15:33:55.277 D] Start/Stop Button Clicked!
      
      So in the profile ive got the following script:
      Code:
      <If Condition="((HasQuest(0xE000CD19F6C033BB)) and (not IsBranchStepComplete(0xE000CD19F6C033BB, 4, 4)))">
        <If Condition="(not IsBranchTaskComplete(0xE000CD19F6C033BB, 4, 4, 0))">
            <UseObject QuestId="0xE000CD19F6C033BB" Name="Grommik's Cache" BranchId="4" StepId="4" TaskId="0" Radius="20" WaitTime="5" X="79.49243" Y="44.63616" Z="-288.2816" />
        </If>		 
        <If Condition="(not IsBranchTaskComplete(0xE000CD19F6C033BB, 4, 4, 1))">
          <UseObject QuestId="0xE000CD19F6C033BB" Name="Grommik's Cache" BranchId="4" StepId="4" TaskId="1" Radius="20" WaitTime="5" X="30.26872" Y="44.71626" Z="-227.8979" />
        </If>		
        <If Condition="(not IsBranchTaskComplete(0xE000CD19F6C033BB, 4, 4, 2))">
          <UseObject QuestId="0xE000CD19F6C033BB" Name="Grommik's Cache" BranchId="4" StepId="4" TaskId="2" Radius="20" WaitTime="5" X="76.97251" Y="44.63871" Z="-211.2475" />
        </If>	
      </If>
      
      It goes nicely to the first Grommik's Cache, but when that one is used, it has to go to the next according to the profile. but your routine goes into scan mode and reverts the bot back to the first Grommik's Cache.
      So it keeps in a loop and not continuing like the profile says.

      With other routines this problem does not occur!

      Any help is appreciated!
       
    10. Adisan

      Adisan New Member

      Joined:
      Sep 27, 2013
      Messages:
      22
      Likes Received:
      0
      Trophy Points:
      0
      The only problem I have now is with my sith assassin it will only use the 2 lightning spells and overload. It won't initalise any combat with my lightsaber at all, and tends to die.
       
    11. JoeBrewski

      JoeBrewski New Member

      Joined:
      Jul 4, 2012
      Messages:
      315
      Likes Received:
      4
      Trophy Points:
      0
      Sorry on that, I've disabled that, CheckPOI() call from OOC(). You can try the latest.

      Joe
       
    12. JoeBrewski

      JoeBrewski New Member

      Joined:
      Jul 4, 2012
      Messages:
      315
      Likes Received:
      4
      Trophy Points:
      0
      Will look into it and notify in a bit.

      Joe
       
    13. Cryogenesis

      Cryogenesis Moderator Moderator

      Joined:
      Jul 13, 2010
      Messages:
      2,128
      Likes Received:
      13
      Trophy Points:
      38
      Thanks man!
       
    14. Adisan

      Adisan New Member

      Joined:
      Sep 27, 2013
      Messages:
      22
      Likes Received:
      0
      Trophy Points:
      0
      Thanks alot :)
       
    15. JoeBrewski

      JoeBrewski New Member

      Joined:
      Jul 4, 2012
      Messages:
      315
      Likes Received:
      4
      Trophy Points:
      0
      No problem :) Ok, I've updated the Assassin calls in MyCombat() - download the latest and give it a shot now. I'll need to try and dig around s'more on abilities running thru 55 - I don't have a 55 Assassin.

      Joe
       
    16. Cryogenesis

      Cryogenesis Moderator Moderator

      Joined:
      Jul 13, 2010
      Messages:
      2,128
      Likes Received:
      13
      Trophy Points:
      38
      Aint it better to use SVN?
      Your updating quiet a bit...
       
    17. Adisan

      Adisan New Member

      Joined:
      Sep 27, 2013
      Messages:
      22
      Likes Received:
      0
      Trophy Points:
      0
      Agreed. I can give you a SVN space on my server if you wanted Joe.
       
    18. JoeBrewski

      JoeBrewski New Member

      Joined:
      Jul 4, 2012
      Messages:
      315
      Likes Received:
      4
      Trophy Points:
      0
      Thanks, but quick either way and personally I just find it easier w/.Zips (mebbe I'm just a grumpy ole bastard) - so will just stick with .zips if that's ok. For me SVN just seems to add to the complexity of it all - no offense intended.

      Joe
       
    19. Adisan

      Adisan New Member

      Joined:
      Sep 27, 2013
      Messages:
      22
      Likes Received:
      0
      Trophy Points:
      0
      From what I understand, all you do is upload the latest files through FTP and the SVN updates on the clients pc's?
      not 100% sure ;)
       
    20. JoeBrewski

      JoeBrewski New Member

      Joined:
      Jul 4, 2012
      Messages:
      315
      Likes Received:
      4
      Trophy Points:
      0
      ... and on this - if you wanna take a look at and tweak the routine should you have a 50+ Assassin feel free and let me know - file MercHelpers.cs (pretty much everything in there), routine is AssassinCombat() if you're comfortable with the result, I can incorporate it.

      Joe
       

    Share This Page