• Visit Rebornbuddy
  • How change MaxInstances?

    Discussion in 'Archives' started by Mordimer, Dec 29, 2015.

    1. Mordimer

      Mordimer New Member

      Joined:
      Dec 29, 2015
      Messages:
      4
      Likes Received:
      0
      Trophy Points:
      0
      [JoinNew] _instanceCount (13) > maxInstances (10)
      [TakeWaypoint] JoinNew returned TooManyInstances.
      [TakeWaypointTo] TakeWaypoint returned TooManyInstances.
      [TravelToGrindZoneTask] TakeWaypointTo returned TooManyInstances.
      [Stop] Now requesting the BotThread to stop

      Could someone tell me how change it? I read documentation but i dont know which file i need edit.
      Sorry for my english.
       
    2. flairdevil

      flairdevil Community Developer

      Joined:
      Jul 18, 2011
      Messages:
      371
      Likes Received:
      1
      Trophy Points:
      0
      Is this when it dies to a boss X amount of times in a row and resets to town instead of continuing to attempt the boss? If so, yeah it is annoying, I usually stop the bot after a few tries and restart it thus removing the possibility of that happening, because EVENTUALLY it will kill the boss, just might take a bunch of attempts lol
       
    3. Mordimer

      Mordimer New Member

      Joined:
      Dec 29, 2015
      Messages:
      4
      Likes Received:
      0
      Trophy Points:
      0
      No, when bot are running docks currupted area , he open a lots of instances until find one with corrupted area . Usually stop after 3-4 so it is pointless
       
    4. pushedx

      pushedx Moderator Moderator Buddy Core Dev

      Joined:
      Sep 24, 2013
      Messages:
      4,252
      Likes Received:
      290
      Trophy Points:
      83
      High instance creation is easily tracked by GGG and something they look for when trying to find botters. The functionality you are seeing was added as a safe-guard to help prevent the bot from creating too many instances during runs either due to a 3rd party plugin that was not working as expected, or some other issues where your bot is creating too many instances.

      There's no "setting" to change this, but you can change it though code.

      Loki.Bot.Logic.Bots.OldGrindBot.TravelToGrindZoneTask.MaxInstances = 20;

      Would change that limit of 10 to 20. You can execute that code in your CR in Start, for example (https://gyazo.com/fa12be2b2bebd1f6313cd965edbceb44), or in any plugins or though the dev tab. However, I'd caution you against it because if you're creating so many instances and botting extended periods of time, it's going to increase the chance of getting caught for "bot like activity".
       
    5. darkbluefirefly

      darkbluefirefly Community Developer

      Joined:
      Nov 8, 2013
      Messages:
      1,927
      Likes Received:
      18
      Trophy Points:
      38
      After the 25th instance, be ready for a peek from GGG.
       
    6. Mordimer

      Mordimer New Member

      Joined:
      Dec 29, 2015
      Messages:
      4
      Likes Received:
      0
      Trophy Points:
      0
      thank you alot
       

    Share This Page