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

Error while trying to enhance Trinity

screwedx

New Member
Joined
Feb 18, 2016
Messages
36
Reaction score
0
Hello,

maybe the post is here better.

i've tried to add more mobile Notifications to Trinity.
i've added the following line to Townrun.cs:
Code:
if (Trinity.ForceVendorRunASAP || BrainBehavior.IsVendoring)
                    {
                        if (!LastTownRunCheckResult)
                        {
                            if (BrainBehavior.IsVendoring)
                            {
                                Logger.Log("Looks like we are being asked to force a town-run by a profile/plugin/new DB feature, now doing so.");
	                            [B][I]NotificationManager.AddNotificationToQueue("Looks like we are being asked to force a town-run by a profile/plugin/new DB feature, now doing so.",
	                                "Town Run!", ProwlNotificationPriority.Emergency);[/I][/B]
			    }
                        }
                        SetPreTownRunPosition();
                        Trinity.WantToTownRun = true;
                    }

and then i got the following error on loading db:

Code:
2016-03-30 12:49:02,090 [1] DEBUG AssemblyLoader`1 (null) - Reloading AssemblyLoader<Zeta.Bot.IBot> - BotManager.Reload
2016-03-30 12:49:02,252 [1] DEBUG BotManager (null) - Bots were reloaded. New bot list:
2016-03-30 12:49:02,253 [1] DEBUG BotManager (null) - Combat Bot v1.1.3010.460
2016-03-30 12:49:02,254 [1] DEBUG BotManager (null) - Order Bot v1.1.3010.460
2016-03-30 12:49:02,253 [1] DEBUG BotManager (null) - Script Runner v1.1.3010.460
2016-03-30 12:49:03,537 [1] DEBUG AssemblyLoader`1 (null) - Reloading AssemblyLoader<Zeta.Common.Plugins.IPlugin> - Initializing plugins
2016-03-30 12:49:11,139 [1] INFO  AssemblyLoader`1 (null) - Compiler Error: C:\Users\User\Documents\demonbuddy\Plugins\Adventurer\Game\Exploration\ExplorationGrid.cs(75,24) : warning CS0628: 'ExplorationGrid.MarkNodesNearWall': new protected member declared in sealed class
2016-03-30 12:49:11,143 [1] INFO  AssemblyLoader`1 (null) - Compiler Error: C:\Users\User\Documents\demonbuddy\Plugins\Adventurer\Game\Exploration\IGrid.cs(20,14) : warning CS0108: 'IGrid<T>.Reset()' hides inherited member 'IGrid.Reset()'. Use the new keyword if hiding was intended.
2016-03-30 12:49:11,143 [1] INFO  AssemblyLoader`1 (null) - Compiler Error: C:\Users\User\Documents\demonbuddy\Plugins\Adventurer\Game\Exploration\NavigationGrid.cs(48,24) : warning CS0628: 'NavigationGrid.MarkNodesNearWall': new protected member declared in sealed class
2016-03-30 12:49:11,144 [1] INFO  AssemblyLoader`1 (null) - Compiler Error: C:\Users\User\Documents\demonbuddy\Plugins\Adventurer\Game\Grid\GridPoint.cs(5,19) : warning CS0660: 'GridPoint' defines operator == or operator != but does not override Object.Equals(object o)
2016-03-30 12:49:11,142 [1] INFO  AssemblyLoader`1 (null) - Compiler Error: C:\Users\User\Documents\demonbuddy\Plugins\Adventurer\Game\Exploration\GridPoint.cs(6,19) : warning CS0660: 'GridPoint' defines operator == or operator != but does not override Object.Equals(object o)
2016-03-30 12:49:11,139 [1] INFO  AssemblyLoader`1 (null) - Compiler Error: C:\Users\User\Documents\demonbuddy\Plugins\Adventurer\Game\Exploration\ExplorationGrid.cs(102,40) : warning CS0108: 'ExplorationGrid.GetRayLine(Vector3, Vector3)' hides inherited member 'Grid<ExplorationNode>.GetRayLine(Vector3, Vector3)'. Use the new keyword if hiding was intended.
2016-03-30 12:49:11,142 [1] INFO  AssemblyLoader`1 (null) - Compiler Error: C:\Users\User\Documents\demonbuddy\Plugins\Adventurer\Game\Exploration\GridPoint.cs(6,19) : warning CS0661: 'GridPoint' defines operator == or operator != but does not override Object.GetHashCode()
2016-03-30 12:49:11,145 [1] INFO  AssemblyLoader`1 (null) - Compiler Error: C:\Users\User\Documents\demonbuddy\Plugins\Adventurer\Coroutines\TownPortalCoroutine.cs(118,34) : warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
2016-03-30 12:49:11,146 [1] INFO  AssemblyLoader`1 (null) - Compiler Error: C:\Users\User\Documents\demonbuddy\Plugins\Adventurer\Coroutines\WaitCoroutine.cs(29,33) : warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
2016-03-30 12:49:11,146 [1] INFO  AssemblyLoader`1 (null) - Compiler Error: C:\Users\User\Documents\demonbuddy\Plugins\Adventurer\Coroutines\BountyCoroutines\Subroutines\MoveToScenePositionCoroutine.cs(106,34) : warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
2016-03-30 12:49:11,147 [1] INFO  AssemblyLoader`1 (null) - Compiler Error: C:\Users\User\Documents\demonbuddy\Plugins\Adventurer\Coroutines\BountyCoroutines\Subroutines\MoveToScenePositionCoroutine.cs(161,34) : warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
2016-03-30 12:49:11,145 [1] INFO  AssemblyLoader`1 (null) - Compiler Error: C:\Users\User\Documents\demonbuddy\Plugins\Adventurer\IPluginCommunicator.cs(78,30) : warning CS0168: The variable 'ex' is declared but never used
2016-03-30 12:49:11,144 [1] INFO  AssemblyLoader`1 (null) - Compiler Error: C:\Users\User\Documents\demonbuddy\Plugins\Adventurer\Game\Grid\GridPoint.cs(5,19) : warning CS0661: 'GridPoint' defines operator == or operator != but does not override Object.GetHashCode()
2016-03-30 12:49:11,145 [1] INFO  AssemblyLoader`1 (null) - Compiler Error: C:\Users\User\Documents\demonbuddy\Plugins\Adventurer\IPluginCommunicator.cs(115,34) : warning CS0168: The variable 'ex' is declared but never usedUser

For me as new in Trinity, there is no direct linkage. Maybe you could help me figure out, what went wrong, so i can handle this.

Thanks a lot.

i would like to submit later, when it's working, the changes to Trinity
 
Back
Top