• 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. rimdab

      rimdab New Member

      Joined:
      Oct 2, 2011
      Messages:
      66
      Likes Received:
      0
      Trophy Points:
      0

      actions+=/stampede,if=cooldowns_enabled
      actions+=/barrage,if=aoe_enabled
       
    2. PriorityCR

      PriorityCR New Member

      Joined:
      Feb 26, 2015
      Messages:
      108
      Likes Received:
      0
      Trophy Points:
      0
      Where put this? Thanks
       
    3. shineey

      shineey Member

      Joined:
      Nov 14, 2014
      Messages:
      133
      Likes Received:
      0
      Trophy Points:
      16
      I'm getting this error trying to select a profile for my warlock (error occurs on all 3 specs)

      Code:
      ************** Exception Text **************
      System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: 'Simcraft.spell_data_t' does not contain a definition for 'Name'
         at CallSite.Target(Closure , CallSite , Object )
         at Simcraft.SimcraftImpl.MovingCast(String spell, CanRunDecoratorDelegate del, WoWUnit _target, String Reason) in e:\Program Files (x86)\Honorbuddy\Bots\simpl\trunk\SimcraftImpl.cs:line 677
         at Simcraft.SimcraftImpl.MovingCast(String spell, CanRunDecoratorDelegate del, String r) in e:\Program Files (x86)\Honorbuddy\Bots\simpl\trunk\SimcraftImpl.cs:line 777
         at Simcraft.UWGQIKEKIH.GenerateWarlockDemonologyPvEBehavior()
         --- End of inner exception stack trace ---
         at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
         at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
         at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
         at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
         at System.Type.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args)
         at Simcraft.ActionPrioriyList.CreateBehavior() in e:\Program Files (x86)\Honorbuddy\Bots\simpl\trunk\APL\ActionPrioriyList.cs:line 141
         at Simcraft.ProfileSelector.button2_Click(Object sender, EventArgs e) in e:\Program Files (x86)\Honorbuddy\Bots\simpl\trunk\ProfileSelector.cs:line 66
         at System.Windows.Forms.Control.OnClick(EventArgs e)
         at System.Windows.Forms.Button.OnClick(EventArgs e)
         at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
         at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
         at System.Windows.Forms.Control.WndProc(Message& m)
         at System.Windows.Forms.ButtonBase.WndProc(Message& m)
         at System.Windows.Forms.Button.WndProc(Message& m)
         at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
         at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
         at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
      
       
    4. Kane49_2

      Kane49_2 New Member

      Joined:
      Jun 13, 2012
      Messages:
      450
      Likes Received:
      22
      Trophy Points:
      0
      Fixed, i dont know how well the warlock profiles work though :)
       
    5. Kane49_2

      Kane49_2 New Member

      Joined:
      Jun 13, 2012
      Messages:
      450
      Likes Received:
      22
      Trophy Points:
      0
      Thats very odd, your file structure is pretty much exactly like mine.
      I pushed a new build that probably won't fix your problem but will generate a more concise error message so that i can fix it with more info.
       
    6. highend

      highend Member

      Joined:
      Jan 15, 2010
      Messages:
      422
      Likes Received:
      1
      Trophy Points:
      18
      I've upgraded to rev 44 and... the error is gone oO

      It just states "Looking for db.dbc in D:\Games\HB and all its Subdirectories" in the log but it doesn't throw any error after that.

      Btw, iirc you said that we should create the log folder ("Simcraft Logfiles") in the main HB folder. But why does Simcraft create the folder
      "D:\Games\HB\Logs\Simcraft" by itself then?
       
    7. Kane49_2

      Kane49_2 New Member

      Joined:
      Jun 13, 2012
      Messages:
      450
      Likes Received:
      22
      Trophy Points:
      0
      Simcraft creates its logfiles folder and Profile folder on first start if you did not have them in the correct locations.
      I dont remember there being a "Simcraft Logfiles" folder but the Logfile Location has changed a couple of times over the iterations

      Rev44 fixing the problem is just as odd XD
      All i did was adding that output and to throw a real FileNotFoundException
       
    8. highend

      highend Member

      Joined:
      Jan 15, 2010
      Messages:
      422
      Likes Received:
      1
      Trophy Points:
      18
      Sorry, my fault. I meant "Simcraft Logs".

      So I created a "D:\Games\HB\Simcraft Logs" folder when I read https://www.thebuddyforum.com/honor...ntegrated-combat-post1874005.html#post1874005

      But Simcraft creates "D:\Games\HB\Logs\Simcraft" even if "D:\Games\HB\Simcraft Logs" already exists.

      Absolutely :)
       
    9. Kane49_2

      Kane49_2 New Member

      Joined:
      Jun 13, 2012
      Messages:
      450
      Likes Received:
      22
      Trophy Points:
      0
      D:\Games\HB\Logs\Simcraft is where it will put new logs, "Simcraft Logs" isnt used anymore
       
    10. rimdab

      rimdab New Member

      Joined:
      Oct 2, 2011
      Messages:
      66
      Likes Received:
      0
      Trophy Points:
      0
      Kane, bot doesnt use focusing shot while aspect of fox is up ..i've tried ,if=buff.aspect_of_the_fox.up and react.
       
    11. Kane49_2

      Kane49_2 New Member

      Joined:
      Jun 13, 2012
      Messages:
      450
      Likes Received:
      22
      Trophy Points:
      0
      React and Up are the same for honorbuddy, did you put the Action high enough in the Action list?

      Otherwise it may be a bug, ill check it out
       
    12. rimdab

      rimdab New Member

      Joined:
      Oct 2, 2011
      Messages:
      66
      Likes Received:
      0
      Trophy Points:
      0
      Well its at the bottom but it doesnt cast anything at 10focus & while moving.. I've even tried focusing_shot,moving=-1 but its probably not implemented.
       
    13. Kane49_2

      Kane49_2 New Member

      Joined:
      Jun 13, 2012
      Messages:
      450
      Likes Received:
      22
      Trophy Points:
      0
      Not sure simcraft supports moving=-1

      moving=1
      moving=0

      are supported though, you could also use &moving in your condition

      Check the log and see if it created a MovingCast
       
    14. rimdab

      rimdab New Member

      Joined:
      Oct 2, 2011
      Messages:
      66
      Likes Received:
      0
      Trophy Points:
      0
      Edit: well I'm confused now :D

      "moving (default: -1), when different from -1, will flag the action as usable only when the players are moving (moving=1) or not moving (moving=0). When left to -1, the action will be usable anytime."
       
      Last edited: Mar 3, 2015
    15. Kane49_2

      Kane49_2 New Member

      Joined:
      Jun 13, 2012
      Messages:
      450
      Likes Received:
      22
      Trophy Points:
      0
      Dont worry, it might just be wrongly implemented (actually im pretty sure it is ^^)
       
    16. rimdab

      rimdab New Member

      Joined:
      Oct 2, 2011
      Messages:
      66
      Likes Received:
      0
      Trophy Points:
      0
      Nps :). Btw can you implement wait and wait_until_ready if you didn't already :) ty!

      Edit ; and if you can make this work : actions+=/explosive_trap,if=target.debuff.flying.react=0 Cheers
       
      Last edited: Mar 3, 2015
    17. paperc07

      paperc07 Member

      Joined:
      Dec 16, 2011
      Messages:
      829
      Likes Received:
      9
      Trophy Points:
      18
      yeah I been trying to learn believe me, ill check if the aoe is working with bm on the latest git
       
    18. nflk2k2man

      nflk2k2man New Member

      Joined:
      Jan 18, 2015
      Messages:
      2
      Likes Received:
      0
      Trophy Points:
      0
      Is there any possibility of feral working in the future?
       
    19. Kane49_2

      Kane49_2 New Member

      Joined:
      Jun 13, 2012
      Messages:
      450
      Likes Received:
      22
      Trophy Points:
      0
      Yes, first i need to all stupid bugs and rewrite a part of the but Feral and Sub Rogue working is definitely on my list (maybe this weekend)

      Whats that supposed to do XD ?

      Im at work tomorrow but after that ill have 4 free days
       
    20. rimdab

      rimdab New Member

      Joined:
      Oct 2, 2011
      Messages:
      66
      Likes Received:
      0
      Trophy Points:
      0
      target.debuff.flying.react (default: 0), when different from zero, will flag the action as usable only when the target is flying.

      # Let's use explosive trap only when the target is on the ground.
      actions+=/explosive_trap,if=target.debuff.flying.react=0
       

    Share This Page