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

Problem implementing Bladevortex in oldroutine worked before 3.0

Bier

Member
Joined
Sep 6, 2011
Messages
55
Reaction score
0
Hi guys,

i´m not getting bladevortex to work in the new EB3.0 oldroutine. It worked fine before the 3.0 update.

Thats my code:
First setting the Barslot....
private int _bladevortexSlot = 5;

Then the Stopwatch:
private readonly Stopwatch _bladevortexStopwatch = Stopwatch.StartNew();

And the Logic:

// Blade Vortex CoH & PCoC
if (_bladevortexSlot == 5 && _bladevortexStopwatch.ElapsedMilliseconds > 4000)
{
var skill = LokiPoe.InGameState.SkillBarHud.Slot(_bladevortexSlot);
if (skill.CanUse() && NumberOfMobsNear(LokiPoe.Me, 15) >= 1)
{
await DisableAlwaysHiglight();
await Coroutines.FinishCurrentAction();

var err1 = LokiPoe.InGameState.SkillBarHud.Use(skill.Slot, true);
if (err1 == LokiPoe.InGameState.UseResult.None)
{
await Coroutines.FinishCurrentAction(false);
_bladevortexStopwatch.Restart();
return true;

}

_bladevortexStopwatch.Restart();
}
}

If i use this before 3.0 it worked fine... now i´m getting that error:


Cannot load [Legacy] because an exception occurred [C:\Users\Stephan\Desktop\EB_3_0_292\3rdParty\_CONFIGS_\Leveln\Legacy\Content-78248687\PythonExample\PythonExample.cs(81,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.
C:\Users\Stephan\Desktop\EB_3_0_292\3rdParty\_CONFIGS_\Leveln\Legacy\Content-78248687\AreaVisualizer\AreaVisualizer.cs(78,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.
C:\Users\Stephan\Desktop\EB_3_0_292\3rdParty\_CONFIGS_\Leveln\Legacy\Content-78248687\Breaches\HandleBreachesTask.cs(209,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.
C:\Users\Stephan\Desktop\EB_3_0_292\3rdParty\_CONFIGS_\Leveln\Legacy\Content-78248687\AutoPassives\AssignPassivesTask.cs(245,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.
C:\Users\Stephan\Desktop\EB_3_0_292\3rdParty\_CONFIGS_\Leveln\Legacy\Content-78248687\ExternalCommunication\ExternalCommunication.cs(64,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.
C:\Users\Stephan\Desktop\EB_3_0_292\3rdParty\_CONFIGS_\Leveln\Legacy\Content-78248687\DumpTab\Gui.xaml.cs(596,15) : warning CS0168: The variable 'subparts' is declared but never used
C:\Users\Stephan\Desktop\EB_3_0_292\3rdParty\_CONFIGS_\Leveln\Legacy\Content-78248687\AutoFlask\AutoFlask.cs(228,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.
C:\Users\Stephan\Desktop\EB_3_0_292\3rdParty\_CONFIGS_\Leveln\Legacy\Content-78248687\DumpTab\DumpTab.cs(71,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.
C:\Users\Stephan\Desktop\EB_3_0_292\3rdParty\_CONFIGS_\Leveln\Legacy\Content-78248687\ItemFilterEditor\ItemFilterEditor.cs(82,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.
C:\Users\Stephan\Desktop\EB_3_0_292\3rdParty\_CONFIGS_\Leveln\Legacy\Content-78248687\DevTab\DevTab.cs(90,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.
C:\Users\Stephan\Desktop\EB_3_0_292\3rdParty\_CONFIGS_\Leveln\Legacy\Content-78248687\Monoliths\HandleMonolithsTask.cs(337,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.
C:\Users\Stephan\Desktop\EB_3_0_292\3rdParty\_CONFIGS_\Leveln\Legacy\Content-78248687\ObjectExplorer\ObjectExplorer.cs(66,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.
C:\Users\Stephan\Desktop\EB_3_0_292\3rdParty\_CONFIGS_\Leveln\Legacy\Content-78248687\OldRoutine\OldRoutine.cs(1970,13) : error CS0029: Cannot implicitly convert type 'bool' to 'Loki.Bot.LogicResult'
C:\Users\Stephan\Desktop\EB_3_0_292\3rdParty\_CONFIGS_\Leveln\Legacy\Content-78248687\GemLeveler\GemLeveler.cs(334,16) : warning CS0414: The field 'GemLeveler._needsToCloseInventory' is assigned but its value is never used
].
System.Exception: C:\Users\Stephan\Desktop\EB_3_0_292\3rdParty\_CONFIGS_\Leveln\Legacy\Content-78248687\PythonExample\PythonExample.cs(81,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.
C:\Users\Stephan\Desktop\EB_3_0_292\3rdParty\_CONFIGS_\Leveln\Legacy\Content-78248687\AreaVisualizer\AreaVisualizer.cs(78,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.
C:\Users\Stephan\Desktop\EB_3_0_292\3rdParty\_CONFIGS_\Leveln\Legacy\Content-78248687\Breaches\HandleBreachesTask.cs(209,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.
C:\Users\Stephan\Desktop\EB_3_0_292\3rdParty\_CONFIGS_\Leveln\Legacy\Content-78248687\AutoPassives\AssignPassivesTask.cs(245,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.
C:\Users\Stephan\Desktop\EB_3_0_292\3rdParty\_CONFIGS_\Leveln\Legacy\Content-78248687\ExternalCommunication\ExternalCommunication.cs(64,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.
C:\Users\Stephan\Desktop\EB_3_0_292\3rdParty\_CONFIGS_\Leveln\Legacy\Content-78248687\DumpTab\Gui.xaml.cs(596,15) : warning CS0168: The variable 'subparts' is declared but never used
C:\Users\Stephan\Desktop\EB_3_0_292\3rdParty\_CONFIGS_\Leveln\Legacy\Content-78248687\AutoFlask\AutoFlask.cs(228,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.
C:\Users\Stephan\Desktop\EB_3_0_292\3rdParty\_CONFIGS_\Leveln\Legacy\Content-78248687\DumpTab\DumpTab.cs(71,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.
C:\Users\Stephan\Desktop\EB_3_0_292\3rdParty\_CONFIGS_\Leveln\Legacy\Content-78248687\ItemFilterEditor\ItemFilterEditor.cs(82,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.
C:\Users\Stephan\Desktop\EB_3_0_292\3rdParty\_CONFIGS_\Leveln\Legacy\Content-78248687\DevTab\DevTab.cs(90,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.
C:\Users\Stephan\Desktop\EB_3_0_292\3rdParty\_CONFIGS_\Leveln\Legacy\Content-78248687\Monoliths\HandleMonolithsTask.cs(337,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.
C:\Users\Stephan\Desktop\EB_3_0_292\3rdParty\_CONFIGS_\Leveln\Legacy\Content-78248687\ObjectExplorer\ObjectExplorer.cs(66,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.
C:\Users\Stephan\Desktop\EB_3_0_292\3rdParty\_CONFIGS_\Leveln\Legacy\Content-78248687\OldRoutine\OldRoutine.cs(1970,13) : error CS0029: Cannot implicitly convert type 'bool' to 'Loki.Bot.LogicResult'
C:\Users\Stephan\Desktop\EB_3_0_292\3rdParty\_CONFIGS_\Leveln\Legacy\Content-78248687\GemL
eveler\GemLeveler.cs(334,16) : warning CS0414: The field 'GemLeveler._needsToCloseInventory' is assigned but its value is never used

bei Loki.Bot.ThirdPartyLoader.‍‏‎‏‭‏‮‬‮‬‌‏‫‫‬‬‬‭‮(Dictionary`2 , String )

Can someone help whats wrong?
 
OldRoutine.cs(1970,13) : error CS0029: Cannot implicitly convert type 'bool' to 'Loki.Bot.LogicResult'
OldRoutine.cs(1970,13) : error CS0029: Cannot implicitly convert type 'bool' to 'Loki.Bot.LogicResult'

Check the current OldRoutine code as you need to update something you've kept from 2.6.

In the code you posted "return true;" -> "return LogicResult.Provided;"
 
Back
Top