• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Simcraft Implemented, a Raidbot Derivate with Integrated Combat

    Discussion in 'Botbases' started by Kane49_2, Feb 15, 2015.

    1. Cicrocoft

      Cicrocoft New Member

      Joined:
      Aug 15, 2010
      Messages:
      468
      Likes Received:
      12
      Trophy Points:
      0
      Think I read somewhere that "Chat Notifications" are a big no-no? Might confuse it with something else though.

      Anyhow: Could you give an example of some Simcraft code "converted" to the code you use for the bot?
       
    2. Kane49_2

      Kane49_2 New Member

      Joined:
      Jun 13, 2012
      Messages:
      450
      Likes Received:
      22
      Trophy Points:
      0
      1. Its a simple lua print, it uses the chat window rather than the actual wow chat.
      2. Sure, its inside spoiler tags in the first post since i didnt wanna bore people with details unless they want to know more :)
       
      Last edited: Feb 16, 2015
    3. Kane49_2

      Kane49_2 New Member

      Joined:
      Jun 13, 2012
      Messages:
      450
      Likes Received:
      22
      Trophy Points:
      0
      Last edited: Feb 16, 2015
    4. orzly

      orzly New Member

      Joined:
      Dec 10, 2014
      Messages:
      69
      Likes Received:
      0
      Trophy Points:
      0
      *cheers*
      A routine for frost DK would be awesome :)
       
    5. oly182

      oly182 New Member

      Joined:
      Jul 8, 2014
      Messages:
      79
      Likes Received:
      1
      Trophy Points:
      0
      Hello,

      Do we have to update this profile each time or is they a link to re download?
       
    6. orzly

      orzly New Member

      Joined:
      Dec 10, 2014
      Messages:
      69
      Likes Received:
      0
      Trophy Points:
      0
      you can use the provided link as a svn and update it like that.
       
    7. oly182

      oly182 New Member

      Joined:
      Jul 8, 2014
      Messages:
      79
      Likes Received:
      1
      Trophy Points:
      0
    8. oly182

      oly182 New Member

      Joined:
      Jul 8, 2014
      Messages:
      79
      Likes Received:
      1
      Trophy Points:
      0
      Any chance of doing a Arms warrior routine in future? :)
       
    9. Kane49_2

      Kane49_2 New Member

      Joined:
      Jun 13, 2012
      Messages:
      450
      Likes Received:
      22
      Trophy Points:
      0
      Yeah ill make it after lunch
       
    10. Mirabis

      Mirabis Community Developer

      Joined:
      Jun 14, 2010
      Messages:
      4,475
      Likes Received:
      86
      Trophy Points:
      48
      I remember chatting with numerous devs about writing such a script, parsing simc. Nice to see someone took the challenge ; )
       
    11. Cicrocoft

      Cicrocoft New Member

      Joined:
      Aug 15, 2010
      Messages:
      468
      Likes Received:
      12
      Trophy Points:
      0
      Thanks!

      A few stupid questions:

      1. I know that || means sort of "or", but what does one | mean?
      2. What is the importance of Capital letters at the beginning of each spell?
      3. How important is the Spaces inbetween everything? If not important, Simcraft code can be convertet to your C code in 11 simple steps and one final step of copy/paste of ); to each line.
       
    12. rascal9

      rascal9 Member

      Joined:
      Aug 8, 2012
      Messages:
      774
      Likes Received:
      5
      Trophy Points:
      18
      Havent tried it yet but seems genius!
      Simcraft For DPS
      Now if we can pull Zygor to auto script quests.
       
    13. Kane49_2

      Kane49_2 New Member

      Joined:
      Jun 13, 2012
      Messages:
      450
      Likes Received:
      22
      Trophy Points:
      0
      1. The same, c&p error
      2. Nothing, i just have a bunch of constants with the spell names so i can code with autocomplete. These constants can be renamed freely, heck you could even change all those Strings to SpellIds and it wont change much :)
      3. Whitespaces mean nothing

      It would indeed be simple to convert from the simc apl to C# code in most cases, however there are a bunch of corner cases and special commands that simcraft uses which can not be easily replicated.
       
    14. rascal9

      rascal9 Member

      Joined:
      Aug 8, 2012
      Messages:
      774
      Likes Received:
      5
      Trophy Points:
      18
      So its possible to pull in simcraft results per toon correct? Let say i have different talents or gear. Your results will change slightly based on gear and talents. So i go home, run sim, spit results out, and pull them in.... its feesable? With a little know how?
       
    15. Kane49_2

      Kane49_2 New Member

      Joined:
      Jun 13, 2012
      Messages:
      450
      Likes Received:
      22
      Trophy Points:
      0
      The Simcraft APL accounts for different talents being selected and in turn the bot does it too, however i have yet to see a rotation being changed because of gear unless you mean on use trinkets.
       
    16. rascal9

      rascal9 Member

      Joined:
      Aug 8, 2012
      Messages:
      774
      Likes Received:
      5
      Trophy Points:
      18
      Meant trinkets and procing but maybe im wrong. If i wasn't at work id be playing with this right now!! Cool stuff man iM gonna try Hunter out when i get home. Using TuanHA paid and cant complain but just curious.

      Did you just pull from Max DPS?

      MaxDPS.com - WoD 6.0.3 Survival Hunter DPS SimulationCraft Profile
       
    17. Kane49_2

      Kane49_2 New Member

      Joined:
      Jun 13, 2012
      Messages:
      450
      Likes Received:
      22
      Trophy Points:
      0
      I simed my hunter and used that config ^^ It doesnt account for changing trinkets and their procs / on use effects right now.
      Simcraft itself does though

      Item usage in general is far from complete
       
      Last edited: Feb 16, 2015
    18. darkshadow210

      darkshadow210 New Member

      Joined:
      Aug 21, 2014
      Messages:
      26
      Likes Received:
      0
      Trophy Points:
      0
      this is so cool cant wait to try and make a ret pally one
       
    19. spacebooger

      spacebooger New Member

      Joined:
      Jan 29, 2012
      Messages:
      91
      Likes Received:
      0
      Trophy Points:
      0
      Ret please :D
       
    20. rascal9

      rascal9 Member

      Joined:
      Aug 8, 2012
      Messages:
      774
      Likes Received:
      5
      Trophy Points:
      18
      This should be evrything you need to get started :) For your lovely Ret DPS machine

      [HIDE]# Executed before combat begins. Accepts non-harmful actions only.

      actions.precombat=flask,type=greater_draenic_strength_flask
      actions.precombat+=/food,type=sleeper_surprise
      actions.precombat+=/blessing_of_kings,if=!aura.str_agi_int.up
      actions.precombat+=/blessing_of_might,if=!aura.mastery.up
      actions.precombat+=/seal_of_truth,if=active_enemies<2
      actions.precombat+=/seal_of_righteousness,if=active_enemies>=2
      # Snapshot raid buffed stats before combat begins and pre-potting is done.
      actions.precombat+=/snapshot_stats
      actions.precombat+=/potion,name=draenic_strength

      # Executed every time the actor is available.

      actions=rebuke
      actions+=/potion,name=draenic_strength,if=(buff.bloodlust.react|buff.avenging_wrath.up|target.time_to_die<=40)
      actions+=/auto_attack
      actions+=/speed_of_light,if=movement.distance>5
      actions+=/execution_sentence
      actions+=/lights_hammer
      actions+=/holy_avenger,sync=seraphim,if=talent.seraphim.enabled
      actions+=/holy_avenger,if=holy_power<=2&!talent.seraphim.enabled
      actions+=/avenging_wrath,sync=seraphim,if=talent.seraphim.enabled
      actions+=/avenging_wrath,if=!talent.seraphim.enabled
      actions+=/use_item,name=vial_of_convulsive_shadows,if=buff.avenging_wrath.up
      actions+=/blood_fury
      actions+=/berserking
      actions+=/arcane_torrent
      actions+=/seraphim
      actions+=/call_action_list,name=aoe,if=active_enemies>=5
      actions+=/call_action_list,name=cleave,if=active_enemies>=3
      actions+=/call_action_list,name=single

      actions.single=divine_storm,if=buff.divine_crusader.react&holy_power=5&buff.final_verdict.up
      actions.single+=/divine_storm,if=buff.divine_crusader.react&holy_power=5&active_enemies=2&!talent.final_verdict.enabled
      actions.single+=/divine_storm,if=holy_power=5&active_enemies=2&buff.final_verdict.up
      actions.single+=/divine_storm,if=buff.divine_crusader.react&holy_power=5&(talent.seraphim.enabled&cooldown.seraphim.remains<=4)
      actions.single+=/templars_verdict,if=holy_power=5|buff.holy_avenger.up&holy_power>=3&(!talent.seraphim.enabled|cooldown.seraphim.remains>4)
      actions.single+=/templars_verdict,if=buff.divine_purpose.react&buff.divine_purpose.remains<4
      actions.single+=/divine_storm,if=buff.divine_crusader.react&buff.divine_crusader.remains<4&!talent.final_verdict.enabled
      actions.single+=/final_verdict,if=holy_power=5|buff.holy_avenger.up&holy_power>=3
      actions.single+=/final_verdict,if=buff.divine_purpose.react&buff.divine_purpose.remains<4
      actions.single+=/hammer_of_wrath
      actions.single+=/judgment,if=talent.empowered_seals.enabled&((seal.truth&buff.maraads_truth.remains<cooldown.judgment.duration*2)|(seal.righ
      teousness&buff.liadrins_righteousness.remains<cooldown.judgment.duration*2))
      actions.single+=/exorcism,if=buff.blazing_contempt.up&holy_power<=2&buff.holy_avenger.down
      actions.single+=/seal_of_truth,if=talent.empowered_seals.enabled&buff.maraads_truth.remains<(cooldown.judgment.duration)&buff.maraads_truth.
      remains<=3
      actions.single+=/divine_storm,if=buff.divine_crusader.react&buff.final_verdict.up&(buff.avenging_wrath.up|target.health.pct<35)
      actions.single+=/final_verdict,if=buff.divine_purpose.react|target.health.pct<35
      actions.single+=/templars_verdict,if=buff.avenging_wrath.up|target.health.pct<35&(!talent.seraphim.enabled|cooldown.seraphim.remains>4)
      actions.single+=/crusader_strike
      actions.single+=/divine_storm,if=buff.divine_crusader.react&(buff.avenging_wrath.up|target.health.pct<35)&!talent.final_verdict.enabled
      actions.single+=/divine_storm,if=buff.divine_crusader.react&buff.final_verdict.up
      actions.single+=/final_verdict
      actions.single+=/seal_of_righteousness,if=talent.empowered_seals.enabled&buff.liadrins_righteousness.remains<(cooldown.judgment.duration)&bu
      ff.liadrins_righteousness.remains<=3
      actions.single+=/judgment
      actions.single+=/templars_verdict,if=buff.divine_purpose.react
      actions.single+=/divine_storm,if=buff.divine_crusader.react&!talent.final_verdict.enabled
      actions.single+=/templars_verdict,if=holy_power>=4&(!talent.seraphim.enabled|cooldown.seraphim.remains>4)
      actions.single+=/exorcism
      actions.single+=/templars_verdict,if=holy_power>=3&(!talent.seraphim.enabled|cooldown.seraphim.remains>4)
      actions.single+=/holy_prism

      actions.cleave=final_verdict,if=buff.final_verdict.down&holy_power=5
      actions.cleave+=/divine_storm,if=holy_power=5&buff.final_verdict.up
      actions.cleave+=/divine_storm,if=holy_power=5&(!talent.seraphim.enabled|cooldown.seraphim.remains>4)&!talent.final_verdict.enabled
      actions.cleave+=/exorcism,if=buff.blazing_contempt.up&holy_power<=2&buff.holy_avenger.down
      actions.cleave+=/hammer_of_wrath
      actions.cleave+=/judgment,if=talent.empowered_seals.enabled&seal.righteousness&buff.liadrins_righteousness.remains<=5
      actions.cleave+=/divine_storm,if=(!talent.seraphim.enabled|cooldown.seraphim.remains>4)&!talent.final_verdict.enabled
      actions.cleave+=/crusader_strike
      actions.cleave+=/final_verdict,if=buff.final_verdict.down
      actions.cleave+=/divine_storm,if=buff.final_verdict.up
      actions.cleave+=/judgment
      actions.cleave+=/exorcism
      actions.cleave+=/holy_prism

      actions.aoe=divine_storm,if=holy_power=5&(!talent.seraphim.enabled|cooldown.seraphim.remains>4)
      actions.aoe+=/exorcism,if=buff.blazing_contempt.up&holy_power<=2&buff.holy_avenger.down
      actions.aoe+=/hammer_of_the_righteous
      actions.aoe+=/judgment,if=talent.empowered_seals.enabled&seal.righteousness&buff.liadrins_righteousness.remains<=5
      actions.aoe+=/hammer_of_wrath
      actions.aoe+=/divine_storm,if=(!talent.seraphim.enabled|cooldown.seraphim.remains>4)
      actions.aoe+=/exorcism,if=glyph.mass_exorcism.enabled
      actions.aoe+=/judgment
      actions.aoe+=/exorcism
      actions.aoe+=/holy_prism[/HIDE]
       

    Share This Page