• Visit Rebornbuddy
  • [Plugin] FlaskHelper

    Discussion in 'Archives' started by toNyx, May 26, 2014.

    1. neskagy

      neskagy New Member

      Joined:
      Oct 18, 2014
      Messages:
      25
      Likes Received:
      0
      Trophy Points:
      0
    2. toNyx

      toNyx Well-Known Member

      Joined:
      Oct 29, 2011
      Messages:
      3,770
      Likes Received:
      35
      Trophy Points:
      48
      Updated for Beta, sorry for the waiting.
       
    3. neskagy

      neskagy New Member

      Joined:
      Oct 18, 2014
      Messages:
      25
      Likes Received:
      0
      Trophy Points:
      0
    4. toNyx

      toNyx Well-Known Member

      Joined:
      Oct 29, 2011
      Messages:
      3,770
      Likes Received:
      35
      Trophy Points:
      48
      Look at the spot you unzipped it bro, it's not good. :)
       
    5. botelho

      botelho Member

      Joined:
      Nov 13, 2013
      Messages:
      279
      Likes Received:
      12
      Trophy Points:
      18
      Great job, finally I can retire ahk again. Thank you.
       
    6. zhenk

      zhenk Member

      Joined:
      Jun 12, 2012
      Messages:
      101
      Likes Received:
      0
      Trophy Points:
      16
      god bless
       
    7. Laugh

      Laugh New Member

      Joined:
      Apr 26, 2014
      Messages:
      46
      Likes Received:
      0
      Trophy Points:
      0
      Hey toNyx, Any plans for the bot to use quicksilver flasks? That flask alone would make my clear times 2-3 times faster since the bot hates using flame dash for whatever reason
       
    8. Laugh

      Laugh New Member

      Joined:
      Apr 26, 2014
      Messages:
      46
      Likes Received:
      0
      Trophy Points:
      0
      Nvm I'm blind, didn't see the little quicksilver button
       
    9. xujin

      xujin Member

      Joined:
      Oct 10, 2012
      Messages:
      68
      Likes Received:
      1
      Trophy Points:
      8
    10. toNyx

      toNyx Well-Known Member

      Joined:
      Oct 29, 2011
      Messages:
      3,770
      Likes Received:
      35
      Trophy Points:
      48
      Yup, you have to edit RoutineHelper(s).cs to fit your routine Namespace
       
    11. xujin

      xujin Member

      Joined:
      Oct 10, 2012
      Messages:
      68
      Likes Received:
      1
      Trophy Points:
      8
      Thank you very much.

      I am not good at edit the code. Just make another copy of whole EB and change the RoutineHelpers.cs to

      PHP:
      using Loki.Bot;

      namespace 
      FlaskHelper.Helpers
      {
          public class 
      RoutineHelpers
          
      {
              private 
      Totemizer.Totemizer routine;
              private 
      Totemizer.TotemizerSettings settings;

              public 
      RoutineHelpers()
              {
                  
      routine = (Totemizer.Totemizer)RoutineManager.CurrentRoutine;
                  
      settings = (Totemizer.TotemizerSettings)routine.Settings;
              }

              public 
      bool IsCrDisabled get { return GetCombatRange() < 5; } }
                  
              public 
      int GetCombatRange()
              {
                  return 
      settings.CombatRange;
              }
          }
      }
      Now, it works.
       
    12. thatwasshick

      thatwasshick New Member

      Joined:
      Apr 12, 2014
      Messages:
      5
      Likes Received:
      0
      Trophy Points:
      0
      doesnt work divination build srs

      doesnt work divination flask Trigger


      my build is SRS. anyone have same trouble :eek:?

      sorry not good english
       
    13. toNyx

      toNyx Well-Known Member

      Joined:
      Oct 29, 2011
      Messages:
      3,770
      Likes Received:
      35
      Trophy Points:
      48
      What was the situation, it works only if best target is a unique.
       
    14. thatwasshick

      thatwasshick New Member

      Joined:
      Apr 12, 2014
      Messages:
      5
      Likes Received:
      0
      Trophy Points:
      0
    15. toNyx

      toNyx Well-Known Member

      Joined:
      Oct 29, 2011
      Messages:
      3,770
      Likes Received:
      35
      Trophy Points:
      48
      Do you know how to retrieve the ID of the "buff" you get when using divination?

      Else just go in objectexplorer,
      Drink potion,
      Refresh,
      See player's auras and search for the flask's one, gimme the infos about it.
       
    16. thatwasshick

      thatwasshick New Member

      Joined:
      Apr 12, 2014
      Messages:
      5
      Likes Received:
      0
      Trophy Points:
      0
      [Aura]
      BaseAddress: 0x94694938
      SubInfo: 0xAC48BF08
      Name: Divination Distillate
      InternalName: unique_flask_divination_distillate
      Description: Grants increased Item Quantity, Item Rarity, Maximum Elemental Resistances and Light Radius
      CasterId: 72
      OwnerId: 0
      BuffType: 0
      TimeLeft: 00:00:03.0400000
      MaxTimeLeft: 00:00:04.4240000
      Charges: 1
      IsInvisible: False
      IsRemovable: False

      [Aura]
      BaseAddress: 0x94698528
      SubInfo: 0xAC488B60
      Name: Regenerating Mana
      InternalName: flask_effect_mana
      Description:
      CasterId: 72
      OwnerId: 0
      BuffType: 0
      TimeLeft: 00:00:03.0400000
      MaxTimeLeft: 00:00:04.4240000
      Charges: 1
      IsInvisible: True
      IsRemovable: False

      https://gyazo.com/b0bed66121e4e8d0474ff7754f9b7d71


      Is it all right?
       
    17. toNyx

      toNyx Well-Known Member

      Joined:
      Oct 29, 2011
      Messages:
      3,770
      Likes Received:
      35
      Trophy Points:
      48
      Yup, so the aura is good, maybe the target is null or something, need to figure this out.

      Can you please edit Usage.cs and find this line :

      Code:
      var bt = TargetHelpers.BestTarget;
      Add this after it :

      Code:
      			if (bt == null)
      				Main.Log.ErrorFormat("[FlaskHelper][Divination Distillate] Error, target is null.");
      			else
      				Log.ErrorFormat("[FlaskHelper][Divination Distillate] Target name : {0}", bt.Name);
      Now monitor if the target is ALWAYS null, if so it's a code-sided error
       
    18. thatwasshick

      thatwasshick New Member

      Joined:
      Apr 12, 2014
      Messages:
      5
      Likes Received:
      0
      Trophy Points:
      0
    19. Crazydog

      Crazydog New Member

      Joined:
      Apr 25, 2014
      Messages:
      22
      Likes Received:
      0
      Trophy Points:
      1
      Gj so far! Any love for Taste of Hate Flask? :cool:
       
    20. d3vourm3nt

      d3vourm3nt Member

      Joined:
      May 5, 2014
      Messages:
      61
      Likes Received:
      0
      Trophy Points:
      6
      i get this error how to fix this please help
       

      Attached Files:

    Share This Page