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

ExampleRoutine.cs:line 331

artub6ib9

New Member
Joined
Aug 12, 2013
Messages
6
Reaction score
0
ystem.NullReferenceException: Object reference not set to an instance of an object.
at ExampleRoutine.ExampleRoutine.Tick() in ********************************\ExampleRoutine\ExampleRoutine.cs:line 331
at Loki.Bot.RoutineManager.Tick(IRoutine routine)

that come up in red all the time dont really see what its doing or not doing to the toon. any iders
 
Thank you for reporting, it's a CR bug.

Code:
var srs = LokiPoe.InGameState.SkillBarPanel.Skills.FirstOrDefault(s => s.Name == "Summon Raging Spirit");
                if (IsCastableHelper(ss))
                {
                    _summonRagingSpiritSlot = srs.Slot;
                }

should be:

Code:
var srs = LokiPoe.InGameState.SkillBarPanel.Skills.FirstOrDefault(s => s.Name == "Summon Raging Spirit");
                if (IsCastableHelper(srs))
                {
                    _summonRagingSpiritSlot = srs.Slot;
                }

This will be fixed in the next version, but you can modify your current ExampleRoutine.cs with this change to fix the problem.
 
Back
Top