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

Error compiling quest behaviors after update - Log attached

Status
Not open for further replies.

robbdeman

Member
Joined
Feb 6, 2010
Messages
84
Reaction score
0
Here is the section of the log I am referring to, mind you this is heppening both with an upadted HB and a Fresh install.
"[17:49:06.453 N] [Compiler Error]: c:\Users\*Blanked*\Downloads\Honorbuddy 2.5.7346.637\Quest Behaviors\InteractWithEscort.cs(453,17) : error CS0453: The type 'Honorbuddy.QuestBehaviorCore.XmlElements.MobType' must be a non-nullable value type in order to use it as parameter 'T' in the generic type or method 'Styx.CommonBot.Profiles.CustomForcedBehavior.GetAttributeAsNullable<T>(string, bool, Styx.CommonBot.Profiles.CustomForcedBehavior.IConstraintChecker<T>, string[])'[17:49:06.453 V] [Compiler Warning]: c:\Users\*Blanked*\Downloads\Honorbuddy 2.5.7346.637\Quest Behaviors\InteractWithEscort.cs(1319,26) : warning CS0219: The variable 'minionWeighting' is assigned but its value is never used
[17:49:06.453 V] [Compiler Warning]: c:\Users\*Blanked*\Downloads\Honorbuddy 2.5.7346.637\Quest Behaviors\KillOrder.cs(239,76) : warning CS0472: The result of the expression is always 'true' since a value of type 'int' is never equal to 'null' of type 'int?'
[17:49:06.453 V] [Compiler Warning]: c:\Users\*Blanked*\Downloads\Honorbuddy 2.5.7346.637\Quest Behaviors\KillOrder.cs(239,98) : warning CS0472: The result of the expression is always 'true' since a value of type 'int' is never equal to 'null' of type 'int?'
[17:49:06.453 V] [Compiler Warning]: c:\Users\*Blanked*\Downloads\Honorbuddy 2.5.7346.637\Quest Behaviors\KillOrder.cs(239,120) : warning CS0472: The result of the expression is always 'true' since a value of type 'int' is never equal to 'null' of type 'int?'
[17:49:06.453 V] [Compiler Warning]: c:\Users\*Blanked*\Downloads\Honorbuddy 2.5.7346.637\Quest Behaviors\KillOrder.cs(239,142) : warning CS0472: The result of the expression is always 'true' since a value of type 'int' is never equal to 'null' of type 'int?'
[17:49:06.453 V] [Compiler Warning]: c:\Users\*Blanked*\Downloads\Honorbuddy 2.5.7346.637\Quest Behaviors\KillOrder.cs(239,164) : warning CS0472: The result of the expression is always 'true' since a value of type 'int' is never equal to 'null' of type 'int?'
[17:49:06.453 V] [Compiler Warning]: c:\Users\*Blanked*\Downloads\Honorbuddy 2.5.7346.637\Quest Behaviors\KillOrder.cs(239,186) : warning CS0472: The result of the expression is always 'true' since a value of type 'int' is never equal to 'null' of type 'int?'
[17:49:06.453 V] [Compiler Warning]: c:\Users\*Blanked*\Downloads\Honorbuddy 2.5.7346.637\Quest Behaviors\KillOrder.cs(239,98) : warning CS0429: Unreachable expression code detected
[17:49:06.453 V] [Compiler Warning]: c:\Users\*Blanked*\Downloads\Honorbuddy 2.5.7346.637\Quest Behaviors\KillOrder.cs(239,120) : warning CS0429: Unreachable expression code detected
[17:49:06.453 V] [Compiler Warning]: c:\Users\*Blanked*\Downloads\Honorbuddy 2.5.7346.637\Quest Behaviors\KillOrder.cs(239,142) : warning CS0429: Unreachable expression code detected
[17:49:06.453 V] [Compiler Warning]: c:\Users\*Blanked*\Downloads\Honorbuddy 2.5.7346.637\Quest Behaviors\KillOrder.cs(239,164) : warning CS0429: Unreachable expression code detected
[17:49:06.453 V] [Compiler Warning]: c:\Users\*Blanked*\Downloads\Honorbuddy 2.5.7346.637\Quest Behaviors\KillOrder.cs(239,186) : warning CS0429: Unreachable expression code detected
[17:49:06.453 V] [Compiler Warning]: c:\Users\*Blanked*\Downloads\Honorbuddy 2.5.7346.637\Quest Behaviors\MrFishIt.cs(299,17) : warning CS0252: Possible unintended reference comparison; to get a value comparison, cast the left hand side to type 'string'
[17:49:10.176 D] Styx.HonorbuddyUnableToStartException: Errors in quest behaviors!"
 

Attachments

my log has different issues

Code:
[02:37:20.107 N] [Compiler Error]: c:\Users\justin\Documents\Honorbuddy\Quest Behaviors\QuestBehaviorCore\Utilities.cs(294,24) : error CS0111: Type 'Honorbuddy.QuestBehaviorCore.QuestBehaviorBase' already defines a member called 'UpdateGoalText' with the same parameter types[02:37:20.107 N] [Compiler Error]: c:\Users\justin\Documents\Honorbuddy\Quest Behaviors\QuestBehaviorCore\UtilityBehaviors\UtilityBehaviors_Combat.cs(188,73) : error CS0426: The type name 'ProvideBoolDelegate' does not exist in the type 'Honorbuddy.QuestBehaviorCore.QuestBehaviorBase'
[02:37:20.107 N] [Compiler Error]: c:\Users\justin\Documents\Honorbuddy\Quest Behaviors\QuestBehaviorCore\UtilityBehaviors\UtilityBehaviors_Combat.cs(188,93) : error CS1750: A value of type '<null>' cannot be used as a default parameter because there are no standard conversions to type 'Honorbuddy.QuestBehaviorCore.QuestBehaviorBase.ProvideBoolDelegate'
[02:37:20.114 N] Errors in quest behaviors!

full log below

I also tried to just delete the affected QB and it came up with the same errors just for a different QB
 

Attachments

Status
Not open for further replies.
Back
Top