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!

Need help from Devs

DarkBen

New Member
Joined
Jan 15, 2010
Messages
299
Hi,

I've been having some headaches myself trying to detect what in my could be causing this with no sucess.

If i load my Warlock with my Custom class, it will work fine.

But if i load any other class to bot, the bot only says "there is no combat class loaded".


The code below is what starts to be spamed in the Logs even with HB stoped.
Code:
[02:04:21:271]  Uma exce??o foi acionada pelo destino de uma chamada. - From: mscorlib   em System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
   em System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
   em System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
   em System.Activator.CreateInstance(Type type, Boolean nonPublic)
   em System.Activator.CreateInstance(Type type)
   em Styx.Helpers.ClassCollection`1.LoadClasses(String dllPath)
   em Styx.Helpers.ClassCollection`1..ctor(String path, Boolean loadRecursive)
   em Styx.Global.()A chave fornecida n?o estava presente no dicion?rio.
[02:04:21:280]  Uma exce??o foi acionada pelo destino de uma chamada. - From: mscorlib   em System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
   em System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
   em System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
   em System.Activator.CreateInstance(Type type, Boolean nonPublic)
   em System.Activator.CreateInstance(Type type)
   em Styx.Helpers.ClassCollection`1.LoadClasses(String dllPath)
   em Styx.Helpers.ClassCollection`1..ctor(String path, Boolean loadRecursive)
   em Styx.Global.()A chave fornecida n?o estava presente no dicion?rio.
[02:04:21:289] No combat class loaded.
[02:04:21:358]  Exception has been thrown by the target of an invocation. - From: mscorlib   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
   at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
   at System.Activator.CreateInstance(Type type, Boolean nonPublic)
   at System.Activator.CreateInstance(Type type)
   at Styx.Helpers.ClassCollection`1.LoadClasses(String dllPath)
   at Styx.Helpers.ClassCollection`1..ctor(String path, Boolean loadRecursive)
   at Styx.Global.()The given key was not present in the dictionary.
[02:04:21:609]  Exception has been thrown by the target of an invocation. - From: mscorlib   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
   at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
   at System.Activator.CreateInstance(Type type, Boolean nonPublic)
   at System.Activator.CreateInstance(Type type)
   at Styx.Helpers.ClassCollection`1.LoadClasses(String dllPath)
   at Styx.Helpers.ClassCollection`1..ctor(String path, Boolean loadRecursive)
   at Styx.Global.()The given key was not present in the dictionary.
[02:04:21:872]  Exception has been thrown by the target of an invocation. - From: mscorlib   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
   at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
   at System.Activator.CreateInstance(Type type, Boolean nonPublic)
   at System.Activator.CreateInstance(Type type)
   at Styx.Helpers.ClassCollection`1.LoadClasses(String dllPath)
   at Styx.Helpers.ClassCollection`1..ctor(String path, Boolean loadRecursive)
   at Styx.Global.()The given key was not present in the dictionary.

Now if i delete my CC from the CC folders, everything works. So i know my CC is breaking something on HB since 1.247.
Could not test older versions of hb as i have already deleted it, but i already tested it in 1.248 and 1.249 (hawker posted it in a thread for testing) and all gave same error.

My CC is a DLL to simplify it?s deployment (it has a Gui), as i believe deploying several .cs files as a CC may lead to problems.

I dont know what to look for, or whatever is causing the error.

My last version gives the same error.

i?m placing it here with the project source.

Please i need help. :confused:
 
Last edited:
Any hb dev can check this for me, or even experienced CC devs?

fpsware? hawker? Erenion?

i'm really annoyed with this.
 
Does it happen to anyone else? It looks like an error in .net 1.0
 
Win 7 doenst have .net 1.0
I have 2.0
and 3.5sp1 which was installed by Visual Studio 2008.
 
What's the version on your C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll?

2.0.50727.4297 here.
 
Found the Issue!

It was a variable defined at start with a SpellManager Value can be null. Thus throwing execptions even after you press start in the bot.
 
I've had the same issue at times. Usually when an exception is thrown early in the CC.
 
Back
Top