What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal
RebornBuddy Forums

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Simcraft Implemented, a Raidbot Derivate with Integrated Combat

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)
 
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)

Fixed, i dont know how well the warlock profiles work though :)
 
Interesting.

Honorbuddy resides in "D:\Games\HB"

All files of Simcraft are in "D:\Games\HB\Bots\Simcraft"
E.g.: "db.dbc" -> "D:\Games\HB\Bots\Simcraft\db.dbc"

Additionally there are
"D:\Games\HB\Simcraft Logs"
"D:\Games\HB\Simcraft Profiles"

The profiles folder contains all files from your profile pack from the first post. I've created these two directories by hand.

I have no clue why the FindDatabase() in SimcraftTop.cs is unable to find the db.dbc in it's own folder...

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.
 
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?
 
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
 
I dont remember there being a "Simcraft Logfiles" folder

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.

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

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.
 
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.
 
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 :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:
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."

Dont worry, it might just be wrongly implemented (actually im pretty sure it is ^^)
 
Dont worry, it might just be wrongly implemented (actually im pretty sure it is ^^)

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:
Aoe_enabled and cooldowns_enabled works fine on hotkeys for me on sv profile and with latest git. And ppl should learn basics of editing and "coding" (no offense), he cant answer us on all our questions..

yeah I been trying to learn believe me, ill check if the aoe is working with bm on the latest git
 
Is there any possibility of feral working in the future?

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)

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

Whats that supposed to do XD ?

Im at work tomorrow but after that ill have 4 free days
 
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
 
Back
Top