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)
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.
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?
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
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
Kane, bot doesnt use focusing shot while aspect of fox is up ..i've tried ,if=buff.aspect_of_the_fox.up and react.
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
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.
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
Edit: well I'm confused now "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."
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
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
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