Jump to content

weird message - fight class not loading


2wheels

Recommended Posts

This is the fight class im using for the warrior

 

 

I haven't tried other classes to see if the error persist on them.  The grinder profile Im using is the default one in Kun Lai Summit.  Not the beach but the other one.

Link to comment
Share on other sites

Here was the most recent one

 

[Debug] 12:05 - Log file created: 21 Feb 2013 12H05.log.html
[Debug] 12:05 - D3D11 used
[Debug] 12:05 - Operating System Details: Microsoft Windows NT 6.1.7601 Service Pack 1
[Normal] 12:05 - Select game process: 4412 - Set...
[Normal] 12:05 - Initializing SpellBook - (Wait few seconds)
[Normal] 12:05 - Initialize SpellBook Finished (185 spell found)
[Normal] 12:05 - Initialize Grinder Complete
[Fight] 12:05 - Loading Fight class: C:\Users\Steve\Desktop\WRobot\FightClass\Warrior-Arms.xml
[Error]
12:05 - Deserialize(String path, object @object)#2:
System.InvalidOperationException: Unable to generate a temporary class
(result=1).
error CS0019: Operator '!=' cannot be applied to operands of type 'string' and 'int'


at System.Xml.Serialization.Compiler.Compile(Assembly parent, String
ns, XmlSerializerCompilerParameters xmlParameters, Evidence evidence)

at
System.Xml.Serialization.TempAssembly.GenerateAssembly(XmlMapping[]
xmlMappings, Type[] types, String defaultNamespace, Evidence evidence,
XmlSerializerCompilerParameters parameters, Assembly assembly, Hashtable
assemblies)
at System.Xml.Serialization.XmlSerializer.GenerateTempAssembly(XmlMapping xmlMapping, Type type, String defaultNamespace)
at System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultNamespace)
at robotManager.Helpful.XmlSerializer.Deserialize[T](String path)

[Error]
12:05 - static void LoadCcScript(string pathCc, bool settingOnly):
System.NullReferenceException: Object reference not set to an instance
of an object.
at wManager.Wow.Helpers.FightClassCreator.FightClassHelpers.ToCSharpCode(FightClass fightClass)
at wManager.Wow.Helpers.CustomClass.LoadCcScript(String pathCc, Boolean settingOnly)

[Normal] 12:05 - Start Grinder Complete
[Normal] 12:05 - Select zone: Sommet de Kun-Lai
[Debug]
12:05 - Spell(string spellName): spellName=Battle Pet Training, Id
found: 119467, Name found: Battle Pet Training, NameInGame found: Battle
Pet Training, know = True
[Error] 12:05 - Error injection

[Normal] 12:05 - Stop Grinder Complete
[Normal] 12:06 - Stop Grinder Complete
[Normal] 12:06 - Stop Grinder Complete
[Normal] 12:06 - Dispose Grinder Complete

Link to comment
Share on other sites

I have updated bot, say me if this have resolve your problem.<br /><br />If you problem is not solved can you try to reinstall wrobot please (personnaly I don't have problem and I think I am not alone).

Link to comment
Share on other sites

Same problem, before and after reinstall.  :(

 

 

[Debug] 16:05 - Log file created: 21 Feb 2013 16H05.log.html
[Error]
16:05 - WriteFile(string filePath, string value):
System.IO.DirectoryNotFoundException: Could not find a part of the path
'C:\Users\Steve\Desktop\WRobot\Settings\lang.txt'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

at System.IO.FileStream.Init(String path, FileMode mode, FileAccess
access, Int32 rights, Boolean useRights, FileShare share, Int32
bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String
msgPath, Boolean bFromProxy, Boolean useLongPath)
at
System.IO.FileStream..ctor(String path, FileMode mode, FileAccess
access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.StreamWriter.CreateFile(String path, Boolean append)
at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize)
at System.IO.StreamWriter..ctor(String path)
at robotManager.Helpful.Others.WriteFile(String filePath, String value)

[Debug] 16:05 - Operating System Details: Microsoft Windows NT 6.1.7601 Service Pack 1
[Debug] 16:05 - D3D11 used
[Normal] 16:05 - Select game process: 4996 - Set...
[Normal] 16:05 - Initializing SpellBook - (Wait few seconds)
[Normal] 16:05 - Initialize SpellBook Finished (185 spell found)
[Normal] 16:05 - 10 items found
[Normal] 16:05 - Initialize Grinder Complete
[Normal] 16:06 - No Fight Class selected
[Normal] 16:06 - Start Grinder Complete
[Normal] 16:06 - Select zone: Sommet de Kun-Lai
[Debug]
16:06 - Spell(string spellName): spellName=Battle Pet Training, Id
found: 119467, Name found: Battle Pet Training, NameInGame found: Battle
Pet Training, know = True
[Debug]
16:06 - Spell(string spellName): spellName=Revive Battle Pets, Id
found: 125439, Name found: Revive Battle Pets, NameInGame found: Revive
Battle Pets, know = True
[Debug] 16:06 - MOVEBACKWARD were not bind, currently trying to bind it with key: B.
[Normal] 16:06 - Player Attacked by Kafa-Crazed Yeti (lvl 88)
[Normal] 16:06 - Stop Grinder Complete
[Fight] 16:07 - Loading Fight class: C:\Users\Steve\Desktop\WRobot\FightClass\Warrior-Arms.xml
[Error]
16:07 - Deserialize(String path, object @object)#2:
System.InvalidOperationException: Unable to generate a temporary class
(result=1).
error CS0019: Operator '!=' cannot be applied to operands of type 'string' and 'int'


at System.Xml.Serialization.Compiler.Compile(Assembly parent, String
ns, XmlSerializerCompilerParameters xmlParameters, Evidence evidence)

at
System.Xml.Serialization.TempAssembly.GenerateAssembly(XmlMapping[]
xmlMappings, Type[] types, String defaultNamespace, Evidence evidence,
XmlSerializerCompilerParameters parameters, Assembly assembly, Hashtable
assemblies)
at System.Xml.Serialization.XmlSerializer.GenerateTempAssembly(XmlMapping xmlMapping, Type type, String defaultNamespace)
at System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultNamespace)
at robotManager.Helpful.XmlSerializer.Deserialize[T](String path)

[Error]
16:07 - static void LoadCcScript(string pathCc, bool settingOnly):
System.NullReferenceException: Object reference not set to an instance
of an object.
at wManager.Wow.Helpers.FightClassCreator.FightClassHelpers.ToCSharpCode(FightClass fightClass)
at wManager.Wow.Helpers.CustomClass.LoadCcScript(String pathCc, Boolean settingOnly)

[Normal] 16:07 - Select zone: Sommet de Kun-Lai
[Normal] 16:07 - Start Grinder Complete
[Normal] 16:07 - 5 Units hostile Near Kafa-Crazed Yeti
[Normal] 16:07 - 5 Units hostile Near Kafa-Crazed Yeti
[Error] 16:07 - Error injection

[Normal] 16:07 - Stop Grinder Complete
[Normal] 16:07 - Stop Grinder Complete
[Normal] 16:07 - Dispose Grinder Complete

Link to comment
Share on other sites

Can you extract attach files in wrobot folder and bot with it

I extracted the file to my wrobot folder.  It added the Wrobot2 .exe file.  I launched using that file and still got the same error.

 

[Debug] 17:24 - Log file created: 21 Feb 2013 17H24.log.html

[Debug] 17:24 - D3D11 used

[Debug] 17:24 - Operating System Details: Microsoft Windows NT 6.1.7601 Service Pack 1

[Normal] 17:24 - Select game process: 3496 - Set...

[Normal] 17:24 - Initializing SpellBook - (Wait few seconds)

[Normal] 17:24 - Initialize SpellBook Finished (185 spell found)

[Normal] 17:24 - Initialize Grinder Complete

[Fight] 17:24 - Loading Fight class: C:\Users\Steve\Desktop\WRobot\FightClass\Warrior-Arms.xml

[Error]

17:24 - Deserialize(String path, object @object)#2:

System.InvalidOperationException: Unable to generate a temporary class

(result=1).

error CS0019: Operator '!=' cannot be applied to operands of type 'string' and 'int'

at System.Xml.Serialization.Compiler.Compile(Assembly parent, String

ns, XmlSerializerCompilerParameters xmlParameters, Evidence evidence)

at

System.Xml.Serialization.TempAssembly.GenerateAssembly(XmlMapping[]

xmlMappings, Type[] types, String defaultNamespace, Evidence evidence,

XmlSerializerCompilerParameters parameters, Assembly assembly, Hashtable

assemblies)

at System.Xml.Serialization.XmlSerializer.GenerateTempAssembly(XmlMapping xmlMapping, Type type, String defaultNamespace)

at System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultNamespace)

at robotManager.Helpful.XmlSerializer.Deserialize[T](String path)

[Error]

17:24 - static void LoadCcScript(string pathCc, bool settingOnly):

System.NullReferenceException: Object reference not set to an instance

of an object.

at wManager.Wow.Helpers.FightClassCreator.FightClassHelpers.ToCSharpCode(FightClass fightClass)

at wManager.Wow.Helpers.CustomClass.LoadCcScript(String pathCc, Boolean settingOnly)

[Normal] 17:24 - Start Grinder Complete

[Normal] 17:24 - Select zone: Sommet de Kun-Lai

[Error] 17:24 - Error injection

[Normal] 17:24 - Stop Grinder Complete

[Normal] 17:25 - Stop Grinder Complete

[Normal] 17:25 - Stop Grinder Complete

[Normal] 17:25 - Dispose Grinder Complete

Link to comment
Share on other sites

Can you try with this file please

After downloading and extracting that file and replacing the old one it did not work.

 

[Debug] 17:49 - Log file created: 21 Feb 2013 17H49.log.html

[Debug] 17:49 - D3D11 used

[Debug] 17:49 - Operating System Details: Microsoft Windows NT 6.1.7601 Service Pack 1

[Normal] 17:49 - Select game process: 3496 - Set...

[Normal] 17:49 - Initializing SpellBook - (Wait few seconds)

[Normal] 17:49 - Initialize SpellBook Finished (185 spell found)

[Normal] 17:49 - Initialize Grinder Complete

[Fight] 17:49 - Loading Fight class: C:\Users\Steve\Desktop\WRobot\FightClass\Warrior-Arms.xml

[Error]

17:49 - Deserialize(String path, object @object)#2:

System.InvalidOperationException: Unable to generate a temporary class

(result=1).

error CS0019: Operator '!=' cannot be applied to operands of type 'string' and 'int'

at System.Xml.Serialization.Compiler.Compile(Assembly parent, String

ns, XmlSerializerCompilerParameters xmlParameters, Evidence evidence)

at

System.Xml.Serialization.TempAssembly.GenerateAssembly(XmlMapping[]

xmlMappings, Type[] types, String defaultNamespace, Evidence evidence,

XmlSerializerCompilerParameters parameters, Assembly assembly, Hashtable

assemblies)

at System.Xml.Serialization.XmlSerializer.GenerateTempAssembly(XmlMapping xmlMapping, Type type, String defaultNamespace)

at System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultNamespace)

at robotManager.Helpful.XmlSerializer.Deserialize[T](String path)

[Error]

17:49 - static void LoadCcScript(string pathCc, bool settingOnly):

System.NullReferenceException: Object reference not set to an instance

of an object.

at wManager.Wow.Helpers.FightClassCreator.FightClassHelpers.ToCSharpCode(FightClass fightClass)

at wManager.Wow.Helpers.CustomClass.LoadCcScript(String pathCc, Boolean settingOnly)

[Normal] 17:49 - Start Grinder Complete

[Normal] 17:49 - Select zone: Sommet de Kun-Lai

[Error] 17:49 - Error injection

[Normal] 17:49 - Stop Grinder Complete

[Normal] 17:49 - Stop Grinder Complete

[Normal] 17:49 - Stop Grinder Complete

[Normal] 17:49 - Dispose Grinder Complete

Link to comment
Share on other sites

You have clicked on No when wrobot request the update after replace this dll?

I have added log and this is log of the old dll file

What is the lang of your windows?

It never asked me to update.  I just tried and it said there was no update.  Do you mean what is the language of my windows?  If so this is an english language copy.  It is from the US.

Link to comment
Share on other sites

Ok.

 

You have probably not use correctly my file.

 

- Close wrobot

- Download wManager.zip

- Extract downloaded file (wManager.zip) in wrobot folder (normaly this replace wManager.dll file)

- Launch WRobot (don't update it)

- Try if you have again error.

Link to comment
Share on other sites

I just tried what you said. 

 

[Debug] 18:29 - Log file created: 21 Feb 2013 18H29.log.html
[Debug] 18:29 - D3D11 used
[Debug] 18:29 - Operating System Details: Microsoft Windows NT 6.1.7601 Service Pack 1
[Normal] 18:29 - Select game process: 4240 - Set...
[Normal] 18:29 - Initializing SpellBook - (Wait few seconds)
[Normal] 18:29 - Initialize SpellBook Finished (185 spell found)
[Normal] 18:30 - Initialize Grinder Complete
[Fight] 18:30 - Loading Fight class: C:\Users\Steve\Desktop\WRobot\FightClass\Warrior-Arms.xml
[Error]
18:30 - Deserialize(String path, object @object)#2:
System.InvalidOperationException: Unable to generate a temporary class
(result=1).
error CS0019: Operator '!=' cannot be applied to operands of type 'string' and 'int'


at System.Xml.Serialization.Compiler.Compile(Assembly parent, String
ns, XmlSerializerCompilerParameters xmlParameters, Evidence evidence)

at
System.Xml.Serialization.TempAssembly.GenerateAssembly(XmlMapping[]
xmlMappings, Type[] types, String defaultNamespace, Evidence evidence,
XmlSerializerCompilerParameters parameters, Assembly assembly, Hashtable
assemblies)
at System.Xml.Serialization.XmlSerializer.GenerateTempAssembly(XmlMapping xmlMapping, Type type, String defaultNamespace)
at System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultNamespace)
at robotManager.Helpful.XmlSerializer.Deserialize[T](String path)

[Error]
18:30 - static void LoadCcScript(string pathCc, bool settingOnly):
System.NullReferenceException: Object reference not set to an instance
of an object.
at wManager.Wow.Helpers.FightClassCreator.FightClassHelpers.ToCSharpCode(FightClass fightClass)
at wManager.Wow.Helpers.CustomClass.LoadCcScript(String pathCc, Boolean settingOnly)

[Normal] 18:30 - Select zone: Sommet de Kun-Lai
[Normal] 18:30 - Start Grinder Complete
[Debug]
18:30 - Spell(string spellName): spellName=Battle Pet Training, Id
found: 119467, Name found: Battle Pet Training, NameInGame found: Battle
Pet Training, know = True
[Debug]
18:30 - Spell(string spellName): spellName=Revive Battle Pets, Id
found: 125439, Name found: Revive Battle Pets, NameInGame found: Revive
Battle Pets, know = True
[Navigator] 18:30 - Failure No mesh for HawaiiMainLand (Path: C:\Users\Steve\Desktop\WRobot\Meshes)
[Navigator] 18:30 - Download map "HawaiiMainLand\HawaiiMainLand_27_27.tile"
[Navigator] 18:30 - Load finish: C:\Users\Steve\Desktop\WRobot\Meshes\HawaiiMainLand\HawaiiMainLand_27_27.tile
[Navigator] 18:30 - Download map "HawaiiMainLand\HawaiiMainLand_28_27.tile"
[Navigator] 18:30 - Load finish: C:\Users\Steve\Desktop\WRobot\Meshes\HawaiiMainLand\HawaiiMainLand_28_27.tile
[Navigator] 18:30 - Download map "HawaiiMainLand\HawaiiMainLand_27_26.tile"
[Navigator] 18:30 - Load finish: C:\Users\Steve\Desktop\WRobot\Meshes\HawaiiMainLand\HawaiiMainLand_27_26.tile
[Navigator] 18:30 - Download map "HawaiiMainLand\HawaiiMainLand_28_26.tile"
[Navigator] 18:30 - Load finish: C:\Users\Steve\Desktop\WRobot\Meshes\HawaiiMainLand\HawaiiMainLand_28_26.tile
[Navigator] 18:30 - Warning, partial result: PartialResult, Success
[Navigator] 18:30 - Warning, partial result: PartialResult, Success
[Navigator] 18:30 - Path Count: 4
[Error] 18:30 - Error injection

[Normal] 18:30 - Stop Grinder Complete
[Normal] 18:30 - Stop Grinder Complete
[Normal] 18:30 - Stop Grinder Complete
[Normal] 18:30 - Dispose Grinder Complete

Link to comment
Share on other sites

Debug] 18:48 - Log file created: 21 Feb 2013 18H48.log.html
[Debug] 18:48 - D3D11 used
[Debug] 18:48 - Operating System Details: Microsoft Windows NT 6.1.7601 Service Pack 1
[Normal] 18:49 - Select game process: 4240 - Set...
[Normal] 18:49 - Initializing SpellBook - (Wait few seconds)
[Normal] 18:49 - Initialize SpellBook Finished (185 spell found)
[Normal] 18:49 - Initialize Grinder Complete
[Normal] 18:49 - Start Grinder failed
[Fight] 18:49 - Loading Fight class: C:\Users\Steve\Desktop\WRobot\FightClass\Warrior-Arms.xml
[Error]
18:49 - Deserialize(String path, object @object)#2:
System.InvalidOperationException: Unable to generate a temporary class
(result=1).
error CS0019: Operator '!=' cannot be applied to operands of type 'string' and 'int'


at System.Xml.Serialization.Compiler.Compile(Assembly parent, String
ns, XmlSerializerCompilerParameters xmlParameters, Evidence evidence)

at
System.Xml.Serialization.TempAssembly.GenerateAssembly(XmlMapping[]
xmlMappings, Type[] types, String defaultNamespace, Evidence evidence,
XmlSerializerCompilerParameters parameters, Assembly assembly, Hashtable
assemblies)
at System.Xml.Serialization.XmlSerializer.GenerateTempAssembly(XmlMapping xmlMapping, Type type, String defaultNamespace)
at System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultNamespace)
at robotManager.Helpful.XmlSerializer.Deserialize[T](String path)

[Error]
18:49 - static void LoadCcScript(string pathCc, bool settingOnly):
System.NullReferenceException: Object reference not set to an instance
of an object.
at wManager.Wow.Helpers.FightClassCreator.FightClassHelpers.ToCSharpCode(FightClass fightClass)
at wManager.Wow.Helpers.CustomClass.LoadCcScript(String pathCc, Boolean settingOnly)

[Normal] 18:49 - Start Grinder Complete
[Normal] 18:49 - Select zone: Sommet de Kun-Lai
[Error] 18:50 - Error injection

[Normal] 18:50 - Stop Grinder Complete

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...