• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Greater Rift Profile - Almost finished, just need 1 tiny bit of help

    Discussion in 'Archives' started by doesntdoit, Sep 2, 2014.

    1. doesntdoit

      doesntdoit New Member

      Joined:
      Apr 29, 2014
      Messages:
      14
      Likes Received:
      0
      Trophy Points:
      0
      Can almost upload my amended greater rifting & trial key profile, however I need to know how to obtain the HashID of a button in the UI, essentially so I can program in a plugin for clicking the gem upgrading buttons.

      The profile is useless without the ability to claim the rewards and then be able to turn in the quest and reset the rift.


      The demonbuddy info dumping tab has a "last clicked" but this doesn't seem to update for any buttons I click.


      Any ideas guys?


      Thanks.
       
    2. Eonas

      Eonas New Member

      Joined:
      Apr 5, 2014
      Messages:
      79
      Likes Received:
      0
      Trophy Points:
      0
      I think you might have to wait for DB to support Urshi's dialog =/
       
    3. jrfnlm

      jrfnlm New Member

      Joined:
      Jul 2, 2014
      Messages:
      39
      Likes Received:
      0
      Trophy Points:
      0
      also you dont need it to do anything you can just have the bot close the rift or leave the game and you will be able to upgrade the gems later (i have 18stacks saved up now)
       
    4. Winchester

      Winchester New Member

      Joined:
      Jun 8, 2014
      Messages:
      548
      Likes Received:
      2
      Trophy Points:
      0
      lol, are you high?
      You can not close the rift without getting the reward.
      When you leave the game without claiming the reward, the reward is lost.
      So No, you HAVE to do something to get the reward.
       
      Last edited: Sep 4, 2014
    5. jrfnlm

      jrfnlm New Member

      Joined:
      Jul 2, 2014
      Messages:
      39
      Likes Received:
      0
      Trophy Points:
      0
      i promise u unless it was patched (havnt done greater rift since the first day) that u can because i literally today just spend 21 rewards saved up at the end of my rift because when it first came out i had no fucking clue how to do it AND had no gems(i didnt uniditfy them) perhaps thats why it stored them?

      idk maybe ur fucking high for not being able to think of more than one scenario<3 HUE
       
    6. cfalls

      cfalls Member

      Joined:
      May 19, 2014
      Messages:
      97
      Likes Received:
      0
      Trophy Points:
      6

      just confirmed it, you do lose your rewards if you dont claim them
       
    7. HououinKyouma

      HououinKyouma New Member

      Joined:
      Jul 11, 2014
      Messages:
      28
      Likes Received:
      0
      Trophy Points:
      0
      I look forward to this. I have been waiting for a G-Rift profile. Best of luck with getting this completed!
       
    8. Winchester

      Winchester New Member

      Joined:
      Jun 8, 2014
      Messages:
      548
      Likes Received:
      2
      Trophy Points:
      0
      Pic or it never happened.
      FYI, i tried more than one scenario and another FYI there isn't much combination you can do.
      maybe you hit your head or your mom dropped you as a baby.
      lol


      On Topic
      Best to reach out to rrrix or DyingHymn or oksehode
      cant wait for it man.
       
    9. sponkey22

      sponkey22 New Member

      Joined:
      May 15, 2014
      Messages:
      75
      Likes Received:
      0
      Trophy Points:
      0
      Looking forward to this. Got almost 300 trial keys stored up and lots of gem upgrading! This should at least get all my gems up to the 20s fairly quickly.
       
    10. AgentK

      AgentK New Member

      Joined:
      Aug 31, 2012
      Messages:
      51
      Likes Received:
      0
      Trophy Points:
      0
      troll
       
    11. AgentK

      AgentK New Member

      Joined:
      Aug 31, 2012
      Messages:
      51
      Likes Received:
      0
      Trophy Points:
      0
      i meant to reply this. totally troll
       
    12. TwoCigars

      TwoCigars Active Member

      Joined:
      May 4, 2014
      Messages:
      992
      Likes Received:
      41
      Trophy Points:
      28
      OP: Post up a BETA or your work in progress if you need help.

      There are a lot of amazing people around here that are willing to give you a hand where you need it. They can look at the code in full it will be better for them to make an assessment.

      ----------------------

      To those of you junking up this thread: Go Away. Save your trolls and flames for people making new topics without using the Search function. We can at least condone your treatment of those individuals.
       
    13. doesntdoit

      doesntdoit New Member

      Joined:
      Apr 29, 2014
      Messages:
      14
      Likes Received:
      0
      Trophy Points:
      0
      Okay so,

      I need help with the following code because its not clicking the interface buttons. For now I will only work off the premise that I want to upgrade 1 button, I can get the rest to work no worries.

      I will run this scenario and maybe someone can tell me why its not clicking this button, although its returning true, and logging the message that the button has been clicked (and therefore was valid and visible).

      Code:
      
              /* Added to file GameUI.cs */
      
              private const ulong rewardKeystoneHash = 0x4BDE2D63B5C36134; 	//Root.NormalLayer.vendor_dialog_mainPage.riftReward_dialog.LayoutRoot.rewardChoicePane.Container.advance_button
              private const ulong rewardGemHash = 0x826E5716E8D4DD05; 		//Root.NormalLayer.vendor_dialog_mainPage.riftReward_dialog.LayoutRoot.rewardChoicePane.Container.upgrade_button1
              private const ulong rewardChoseHash = 0x1A089FAFF3CB6576; 		//Root.NormalLayer.vendor_dialog_mainPage.riftReward_dialog.LayoutRoot.rewardChoicePane.Container.Continue
              private const ulong rewardUpgradeHash = 0xD365EA84F587D2FE; 	//Root.NormalLayer.vendor_dialog_mainPage.riftReward_dialog.LayoutRoot.gemUpgradePane.upgrade_button
              private const ulong rewardGem_01Hash = 0x680DEF43A98CB228; 		//trapped		//Root.NormalLayer.vendor_dialog_mainPage.riftReward_dialog.LayoutRoot.gemUpgradePane.items_list._content._stackpanel._tilerow0._item0
      
              public static UIElement rewardKeystone
              {
                  get { return UIElement.FromHash(rewardKeystoneHash); }
              }
      		
              public static UIElement rewardGem
              {
                  get { return UIElement.FromHash(rewardGemHash); }
              }
      		
              public static UIElement rewardChose
              {
                  get { return UIElement.FromHash(rewardChoseHash); }
              }
      		
              public static UIElement rewardUpgrade
              {
                  get { return UIElement.FromHash(rewardUpgradeHash); }
              }
      		
              public static UIElement rewardGem_01
              {
                  get { return UIElement.FromHash(rewardGem_01Hash); }
              }
      
      
              public static void SafeClickUIButtons()
              {
                  if (ZetaDia.IsLoadingWorld)
                      return;
      
                  if (ZetaDia.IsInGame && SafeClickElement(BountyRewardDialog, "Bounty Reward Dialog"))
                      return;
                  if (ZetaDia.IsInGame && SafeClickElement(ConversationSkipButton, "Conversation Button"))
                      return;
                  if (ZetaDia.IsInGame && SafeClickElement(PartyLeaderBossAccept, "Party Leader Boss Accept", true))
                      return;
                  if (ZetaDia.IsInGame && SafeClickElement(PartyFollowerBossAccept, "Party Follower Boss Accept", true))
                      return;
                  if (ZetaDia.IsInGame && SafeClickElement(TalktoInteractButton1, "Conversation Button"))
                      return;
      
                  if (DateTime.UtcNow.Subtract(_lastCheckedUiButtons).TotalMilliseconds <= 250)
                      return;
      
                  _lastCheckedUiButtons = DateTime.UtcNow;
      							
      [B]			//Greater Rift
                  Logger.Log("Checking Greater Rift UI Elements");
      			if(_greaterRiftButtonStep==0){
      				if (ZetaDia.IsInGame && SafeClickElement(rewardGem, "Gem Reward Dialog")){
      					_greaterRiftButtonStep = 1;
      					return;
      				}
      			}
      			if(_greaterRiftButtonStep==1){
      				if (ZetaDia.IsInGame && SafeClickElement(rewardChose, "Accept Reward Dialog")){
      					_greaterRiftButtonStep = 2;
      					return;
      				}
      			}
      			if(_greaterRiftButtonStep==0 || _greaterRiftButtonStep==2){
      				if (ZetaDia.IsInGame && SafeClickElement(rewardGem_01, "Choose Trapped Dialog")){
      					_greaterRiftButtonStep = 3;
      					return;
      				}
      			}
      			if(_greaterRiftButtonStep==0 || _greaterRiftButtonStep==3){
      				if (ZetaDia.IsInGame && SafeClickElement(rewardUpgrade, "Upgrade Gem Dialog")){
      					return;
      				}
      			}
      			_greaterRiftButtonStep = 0;
      			//End Greater Rift[/B]
      
                  int loopingAnimationEndTime = 0;
                  try
                  {
                      loopingAnimationEndTime = ZetaDia.Me.LoopingAnimationEndTime;
                  }
                  catch (Exception ex) { Logger.LogDebug("Error in getting LoopingAnimationEndTime {0}", ex.Message); }
      
                  if (loopingAnimationEndTime > 0)
                      return;
      				
                  if (ZetaDia.IsInGame && SafeClickElement(MercenaryOKButton, "Mercenary OK Button"))
                      return;
                  if (SafeClickElement(GenericOK, "GenericOK"))
                      return;
                  if (SafeClickElement(UIElements.ConfirmationDialogOkButton, "ConfirmationDialogOKButton", true))
                      return;
                  if (ZetaDia.IsInGame && SafeClickElement(ConfirmTimedDungeonOK, "Confirm Timed Dungeon OK Button", true))
                      return;
              }
      
      



      The weird part, is if I manually click on the "Gem" button, then click the "Continue" button, and then select a gem to upgrade, it will automate the clicking of the "upgrade gem" button. But its not clicking any of the "image" buttons if that makes sense.


      So to sumamrize the only issue I have is that when I supply this:

      SafeClickElement(UIElement.FromHash(0x826E5716E8D4DD05), "Gem Reward Dialog")

      Its detecting the button, detecting its visible, but has not clicked the button, yet still returns true.
       
    14. doesntdoit

      doesntdoit New Member

      Joined:
      Apr 29, 2014
      Messages:
      14
      Likes Received:
      0
      Trophy Points:
      0
      Message sent to Rrrix and Nesox.
       
    15. TwoCigars

      TwoCigars Active Member

      Joined:
      May 4, 2014
      Messages:
      992
      Likes Received:
      41
      Trophy Points:
      28
      Try sending a message to BuddyMe (KeyBot), TonyX (gearwap), DyingHymn or Oksehode (Riftbot)... All of them have been very helpful and active around the community as of late.
       
    16. Imodorox

      Imodorox New Member

      Joined:
      Nov 1, 2012
      Messages:
      61
      Likes Received:
      0
      Trophy Points:
      0
      any news?
       
    17. Winchester

      Winchester New Member

      Joined:
      Jun 8, 2014
      Messages:
      548
      Likes Received:
      2
      Trophy Points:
      0
      Check my profile
       
    18. BuddyMe

      BuddyMe Community Developer

      Joined:
      Jun 13, 2014
      Messages:
      447
      Likes Received:
      16
      Trophy Points:
      0
      UIElement.Click();
       
    19. traedoril

      traedoril Member

      Joined:
      Aug 8, 2014
      Messages:
      93
      Likes Received:
      0
      Trophy Points:
      6
      At OP: You are going to want to consider using a PlugIn to handle whether to upgrade Gems or Keystones. I personally want to farm up MANY leg gems by upgrading keys BEFORE I upgrade gems. That way I can collect pretty much all the gems I want then seriously farm the rifts for gem upgrades last. Since I am botting I don't care if it takes a couple days to upgrade my gems.
       
    20. fo011y

      fo011y New Member

      Joined:
      Apr 12, 2014
      Messages:
      12
      Likes Received:
      0
      Trophy Points:
      1
      any news?
       

    Share This Page