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

exception during chicken

Your exceptions are coming from the GemLeveler plugin, and not our code.

The implementation posted was a port of the old gem leveler updated to the new API, but the logic done in that plugin is not really applicable to the new API or project setup.

There's a lot of things to change in that plugin if you were to use it, but the cause of your issue is:

Code:
// We never want to update gems while stash is open, because we access all inventories, which causes
// more stash pages to be requested than we want.
if (LokiPoe.InGameState.StashPanel.IsOpened)
    return;

Plugins can run at times when that line would throw the exception you'd see, so a possible fix would be to make sure you are in game before checking that:

Code:
if (!LokiPoe.IsInGame || LokiPoe.InGameState.StashPanel.IsOpened)
    return;

I'll try to get an official gem leveler example added soon(tm) that shows how to do it using the new API.
 
Back
Top