• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • [Plugin] MapRunner

    Discussion in 'Archives' started by ExVault, Oct 27, 2014.

    Thread Status:
    Not open for further replies.
    1. toNyx

      toNyx Well-Known Member

      Joined:
      Oct 29, 2011
      Messages:
      3,770
      Likes Received:
      35
      Trophy Points:
      48
      dbf is an accident, this isn't :D
       
    2. darkbluefirefly

      darkbluefirefly Community Developer

      Joined:
      Nov 8, 2013
      Messages:
      1,927
      Likes Received:
      18
      Trophy Points:
      38
      I'm telling chinajade on you!
       
    3. wittle

      wittle Member

      Joined:
      Aug 28, 2015
      Messages:
      117
      Likes Received:
      1
      Trophy Points:
      18
      Copy paste this : Channel Map

      And paste it in your ignore list.

      Don't say you already tried, jusd to it :p
       
    4. toNyx

      toNyx Well-Known Member

      Joined:
      Oct 29, 2011
      Messages:
      3,770
      Likes Received:
      35
      Trophy Points:
      48
      he tried CHANNEL MAP, i guess it's the same as saying "I love you little fucks" but writing it "I LOVE YOU LITTLE FUCKS".
       
    5. Mr.DF

      Mr.DF Member

      Joined:
      Jan 25, 2012
      Messages:
      81
      Likes Received:
      0
      Trophy Points:
      6
      It's not working for me, I have a fresh install and all i get is "Fail to find a proper map in the Map Tab". I haven't done anything. I told it what tab my level 66 maps are in and put the max level to 66.. Thats it... Wont work, just gives me that error msg =( What am i doing wrong?
       
    6. ExVault

      ExVault Moderator Moderator Buddy Core Dev

      Joined:
      Oct 23, 2013
      Messages:
      748
      Likes Received:
      57
      Trophy Points:
      28
      66 level maps are legacy only. Do you have a tab full of legacy maps? Anyway, try set max map level to some higher value.
       
    7. Platoo

      Platoo New Member

      Joined:
      May 9, 2014
      Messages:
      43
      Likes Received:
      0
      Trophy Points:
      0
      Although a 'ToLower().Contains()' would solve alot of problems for people I guess.
       
    8. Tormiasz

      Tormiasz Community Developer

      Joined:
      Jun 16, 2014
      Messages:
      701
      Likes Received:
      5
      Trophy Points:
      18
      In SellMapsTask
      Code:
      Log.WarnFormat("[SellMapTask] Min map amount reached.");
      break;
      Imho it should be changed to continue, otherwise ignored maps are not going to be sold if some non-ignored maps are first in the loop.
       
    9. Erson

      Erson Member Legendary

      Joined:
      Jun 27, 2012
      Messages:
      270
      Likes Received:
      0
      Trophy Points:
      16
      Is it possible to set up max death per map less then 6 ? i want 3 in my case
       
    10. ExVault

      ExVault Moderator Moderator Buddy Core Dev

      Joined:
      Oct 23, 2013
      Messages:
      748
      Likes Received:
      57
      Trophy Points:
      28
      Didn't you see the outer if? (!MapRunnerSettings.Instance.SellIgnoredMaps || !groupArray[0].IsIgnored())



      MapRunner does not provide any "max death per map" functionality at all. Where did that 6 value come from?
       
    11. Tormiasz

      Tormiasz Community Developer

      Joined:
      Jun 16, 2014
      Messages:
      701
      Likes Received:
      5
      Trophy Points:
      18
      I see it. Let me clarify

      1) MapRunnerSettings.Instance.SellIgnoredMaps set to true.
      2) We have two grouped maps: Dungeon Map, Crypt Map.
      3) Crypt Map is ignored in settings.
      4) !MapRunnerSettings.Instance.SellIgnoredMaps returned false but !groupArray[0].IsIgnored() returned true for Dungeon Map
      5) !MinMapAmountCheck(amountForMove) returned true for Dungeon Map. It's not going to be sold.
      6) Loop breaks, Crypt Map that should be sold is not being checked for sell.


      Now this code
      Code:
      if (!MapRunnerSettings.Instance.SellIgnoredMaps || !groupArray[0].IsIgnored())
                      {
                          if (!MinMapAmountCheck(amountForMove))
                          {
                              Log.WarnFormat("[SellMapTask] Min map amount reached. Won't sell {0}", groupArray[0].Name);
                              if (!MapRunnerSettings.Instance.SellIgnoredMaps)
                                  break;
      
                               continue;
                          }
                      }
      
      1) MapRunnerSettings.Instance.SellIgnoredMaps set to true.
      2) We have two grouped maps: Dungeon Map, Crypt Map.
      3) Crypt Map is ignored in settings.
      4) !MapRunnerSettings.Instance.SellIgnoredMaps returned false but !groupArray[0].IsIgnored() returned true for Dungeon Map
      5) !MinMapAmountCheck(amountForMove) returned true for Dungeon Map. It's not going to be sold.
      6) !MapRunnerSettings.Instance.SellIgnoredMaps returned false, loop continues.
      7) (!MapRunnerSettings.Instance.SellIgnoredMaps || !groupArray[0].IsIgnored()) returned false for Dungeon Map, it's being sold.
       
    12. darkbluefirefly

      darkbluefirefly Community Developer

      Joined:
      Nov 8, 2013
      Messages:
      1,927
      Likes Received:
      18
      Trophy Points:
      38
      wait what? Sec let me re-read your logic, something's wrong.

      !MapRunnerSettings.Instance.SellIgnoredMaps means, check if SellIgnoreMaps isn't checked

      !groupArray[0].IsIgnored() so first element in our grouped list is not ignored

      Dungeon Map = false(because it is checked), true because it isn't ignored.

      Code:
      var groupArray = mapGroup.ToArray();
                      int amountForMove = groupArray.Length - (groupArray.Length%3);
      Code:
      private static bool MinMapAmountCheck(int moveAmount)
              {
                  if (MapRunnerSettings.Instance.MinMapAmount == 0) return true;
      
                  int mapAmount = Stash.CurrentTabInventory.Items
                      .OfType<Map>()
                      .Count(m => m.Rarity != Rarity.Unique);
      
                  return (mapAmount - moveAmount) > MapRunnerSettings.Instance.MinMapAmount;
              }
      sec. will continue..



      Ok, what's your "Min Map amount" set to?
       
      Last edited: Feb 23, 2016
    13. ExVault

      ExVault Moderator Moderator Buddy Core Dev

      Joined:
      Oct 23, 2013
      Messages:
      748
      Likes Received:
      57
      Trophy Points:
      28
      Yes, in that rarest case when a group of unignored maps are processed before another group of ignored maps and you have reached the min map amount, the group of ignored maps will not be sold. Not much to worry about however, plugin sells map groups when they become available, so that group of ignored maps should be already sold before this can even happen.

      p.s I will change that to continue, as you suggested, to completely avoid that "rarest case".
       
      Last edited: Feb 23, 2016
    14. darkbluefirefly

      darkbluefirefly Community Developer

      Joined:
      Nov 8, 2013
      Messages:
      1,927
      Likes Received:
      18
      Trophy Points:
      38
      Exactly, Exy took the words out of my mouth.
       
    15. Sh1N3

      Sh1N3 New Member

      Joined:
      Oct 25, 2015
      Messages:
      11
      Likes Received:
      0
      Trophy Points:
      0
      Since the BETA is out today, can you please give information on when a working maprunner will be out? :) Thanks in advance
       
    16. Tormiasz

      Tormiasz Community Developer

      Joined:
      Jun 16, 2014
      Messages:
      701
      Likes Received:
      5
      Trophy Points:
      18
      12 days, 3 hours and 5 seconds.

      That question is wrong on so many levels. It will be out when it is done.
       
    17. StrongBG

      StrongBG Banned

      Joined:
      Mar 13, 2012
      Messages:
      428
      Likes Received:
      0
      Trophy Points:
      16
      Someone from the devs give ExVault a call he might not be aware that the bot is up!!!
       
    18. Tormiasz

      Tormiasz Community Developer

      Joined:
      Jun 16, 2014
      Messages:
      701
      Likes Received:
      5
      Trophy Points:
      18
      He is aware :)
       
    19. StrongBG

      StrongBG Banned

      Joined:
      Mar 13, 2012
      Messages:
      428
      Likes Received:
      0
      Trophy Points:
      16
      Hope he has time to make it work as soon as possible.What will you bot if there isnt map runner...Dried lake?Rly bad idea :)
       
    20. ExVault

      ExVault Moderator Moderator Buddy Core Dev

      Joined:
      Oct 23, 2013
      Messages:
      748
      Likes Received:
      57
      Trophy Points:
      28
      Working on it :)
       
    Thread Status:
    Not open for further replies.

    Share This Page