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

Last edited: