Author Topic: ScriptUO Heartwood Quester v1.19  (Read 349497 times)

0 Members and 3 Guests are viewing this topic.

Offline ggamangom

  • Newbie
  • *
  • Posts: 1
  • Activity:
    0%
  • Reputation Power: 0
  • ggamangom has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
Re: ScriptUO Heartwood Quester v1.16
« Reply #300 on: February 16, 2009, 06:20:18 AM »
0
thx! u save me!

Offline bliss

  • Jr. Member
  • **
  • Posts: 15
  • Activity:
    0%
  • Reputation Power: 0
  • bliss has no influence.
  • Respect: +2
  • Referrals: 0
    • View Profile
Re: ScriptUO Heartwood Quester v1.16
« Reply #301 on: February 17, 2009, 03:02:57 PM »
0
ok i guess the secret is out about the quester lol. my prob is changing the rail to and from quest i assume its just one rail so my question is how do i make the rail to go back and forth through the portal? i can get in just fine and make the rail all the way to the quester but when it goes back it stops just short of the portal and says the last way point is not accessable tried to fig it out for like 3 hours lol its prob somehting simple but i have no clue

Offline TrailMyxTopic starter

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13302
  • Activity:
    0.2%
  • Reputation Power: 154
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Viper!
  • Respect: +1349
  • Referrals: 33
    • View Profile
    • ScriptUO
Re: ScriptUO Heartwood Quester v1.16
« Reply #302 on: February 17, 2009, 03:28:22 PM »
0
I've attached a rail I use to go down there:

http://www.scriptuo.com/smf/index.php?topic=945.0
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline zuran

  • New User
  • Posts: 0
  • Activity:
    0%
  • Reputation Power: 0
  • zuran has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
Re: ScriptUO Heartwood Quester v1.16
« Reply #303 on: February 17, 2009, 04:10:56 PM »
0
thx for the great script

Offline FalkenDK

  • New User
  • Posts: 0
  • Activity:
    0%
  • Reputation Power: 0
  • FalkenDK has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
Re: ScriptUO Heartwood Quester v1.16
« Reply #304 on: February 20, 2009, 02:17:19 AM »
0
Looks awsome .. looking forward to try it out.

Offline alexandrealk

  • New User
  • Posts: 0
  • Activity:
    0%
  • Reputation Power: 0
  • alexandrealk has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
Re: ScriptUO Heartwood Quester v1.16
« Reply #305 on: February 21, 2009, 03:01:31 AM »
0
I love this script =)

Offline Hollywood_Shono

  • Full Member
  • ***
  • Posts: 113
  • Activity:
    0%
  • Reputation Power: 0
  • Hollywood_Shono has no influence.
  • Respect: +19
  • Referrals: 0
    • View Profile
Re: ScriptUO Heartwood Quester v1.16
« Reply #306 on: February 23, 2009, 05:03:09 AM »
0
Hi I am looking throught his script my friend wrote a similiar one to do this. But does this script go through the loot bags as well?

Offline Hollywood_Shono

  • Full Member
  • ***
  • Posts: 113
  • Activity:
    0%
  • Reputation Power: 0
  • Hollywood_Shono has no influence.
  • Respect: +19
  • Referrals: 0
    • View Profile
Re: ScriptUO Heartwood Quester v1.16
« Reply #307 on: February 23, 2009, 05:04:36 AM »
0
TM, is there anyway instead of your recall sub to the runes, you can put in your Gate Sub to do it?

Offline Hollywood_Shono

  • Full Member
  • ***
  • Posts: 113
  • Activity:
    0%
  • Reputation Power: 0
  • Hollywood_Shono has no influence.
  • Respect: +19
  • Referrals: 0
    • View Profile
Re: ScriptUO Heartwood Quester v1.16
« Reply #308 on: February 23, 2009, 05:12:33 AM »
0
TM Do you have your gate sub some where. I think i got it out of 12TimesOver's mining script... is this all i need?

Code: [Select]
;########################################################
;                TM_TravelFromRunebook
;########################################################
; %1 = Method (RE, GA, SJ)
; %2 = index location within runebook (1-16)
; %3 = index location within runebook (1-16), try up to this point
; %4 = runebook item id
; returns #TRUE if error, #FALSE for no error
sub TM_TravelFromRunebook
  namespace push
  namespace local RFR
  set #LTARGETKIND 1
  set !method %1
  set !locindex %2
  set !locindexend %3
  set !rbook %4

  finditem !rbook C_ , #BACKPACKID
  if !method notin RE_GA_SJ || #FINDKIND = -1
  {
    namespace pop
    return #TRUE
  }
  if !locindex notin 1_2_3_4_5_6_7_8_9_10_11_12_13_14_15_16
  {
    namespace pop
    return #TRUE
  }
  if !locindexend notin 1_2_3_4_5_6_7_8_9_10_11_12_13_14_15_16
  {
    namespace pop
    return #TRUE
  }

  TravelFromRunebook_loop1:
    set #LOBJECTID !rbook
    set #LTARGETKIND 1
    event macro 17 0
    gosub GumpWait generic_gump generic_gump

    set !runeclickx 140 ; page 1, rune 1
    set !runeclickx ( #CONTPOSX + !runeclickx + ( 35 * ( ( !locindex - 1 ) / 2 ) ) )
    if !locindex > 8
    {
      set !runeclickx 310 ; page 2, rune 1
      set !runeclickx ( #CONTPOSX + !runeclickx + ( 35 * ( ( !locindex - 9 ) / 2 ) ) )
    }
    set !runeclicky #CONTPOSY + 196
    click !runeclickx !runeclicky
    wait 5

    set !runeclicky #CONTPOSY + 24
    set !runeclickx #CONTPOSX + 164 ; page 1 set to default
    if !locindex % 2 = 0
    {
      set !runeclickx #CONTPOSX + 305 ; page 2 set to default
    }
    click !runeclickx !runeclicky
    wait 5
    set !oldx #CHARPOSX
    set !oldy #CHARPOSY
    if !method = RE
      gosub TM_NewCastSpell 31 !rbook -1 10 10 ; recall until successful
    if !method = GA
    {
      gosub TM_NewCastSpell 51 !rbook -1 10 20 ; gate until successful
      set !temp_cnt #SCNT + 10
      repeat
        finditem KEF_OTF_JEF G_0
      until #FINDKIND <> -1 || #SCNT > !temp_cnt
      if #FINDKIND <> -1
      {
        set #LOBJECTID #FINDID
        wait 10
        event macro 17 0
        wait 20
        if #CONTNAME = generic_gump && #CONTSIZE = 420_280
        {
          gosub TM_AdvJournalSync SPELLCAST 100
          set !clickx #CONTPOSX + 26
          set !clicky #CONTPOSY + 261
          click !clickx !clicky ; click ok
        }
      }
      else
         goto TravelFromRunebook_loop1
    }

    if !method = SJ
      gosub TM_NewCastSpell 210 !rbook -1 10 30 ; sacred journey until successful
    wait 30

    set !tempscnt #SCNT + 10
  WaitforTravel_loop1:
    gosub TM_AdvJournalScan SPELLCAST NONE spell_fizzles location_is_blocked something_is_blocking you_spirit_lacks
    if #RESULT = #TRUE
    {
      gosub TM_AdvJournalSync SPELLCAST 100
      set !locindex !locindex + 1
      if !locindex > !locindexend
      {
        namespace pop
        return #TRUE
      }
      goto TravelFromRunebook_loop1
    }
    if ( ( #CHARPOSX = !oldx && #CHARPOSY = !oldy ) && #SCNT < !tempscnt )
      goto WaitforTravel_loop1

  if #CONTNAME = generic_gump && #CONTSIZE = 452_236 ; RunUO close runebook
  {
    set !clickx #CONTPOSX + 120
    set !clicky #CONTPOSY + 60
    click !clickx !clicky mc r
    wait 5
  }
  namespace pop
  click 401 254 n
return #FALSE



;########################################################
;                  SUB TM_NewCastSpell
;########################################################
; %1 = spell number
; %2 = #TARGETID or SELF or NONE
; %3 = retry count (-1 = cast until successful)
; %4 = cast delay
; %5 = recovery delay
sub TM_NewCastSpell
  namespace push
  namespace local NCS
  set !lpc #LPC
  set #LPC 100
  set !whichspell %1
  set !whichtarget %2
  set !castretrymax %3
  set !waitdelay %4
  set !recovery_delay %5

  set !castretry 0
  set !temp_ltargetid #LTARGETID
  set !temp_ltargetkind #LTARGETKIND

  NewCastSpell_loop1:
    if !castretrymax < 0
      goto NewCastSpell_cont1
    if !castretry > !castretrymax
      goto NewCastSpell_end1
    NewCastSpell_cont1:
      gosub TM_AdvJournalSync SPELLCAST 100
      set #LTARGETKIND 1
      set #LTARGETID !whichtarget
      set !tempmana #MANA
      event macro 15 !whichspell ; cast the spell
      wait !waitdelay
      set !targettimeout #SCNT + 7
      NewCastSpell_wait1:
        gosub TM_AdvJournalScan SPELLCAST NONE spell_fizzles you_have_not_yet mana your_spirit more_reagents
        if #RESULT = #TRUE || #SCNT > !targettimeout
        {
          set !casttimeout #SCNT2 + !recovery_delay
          repeat
          until #SCNT2 > !casttimeout     ; finish up cast delay
          set !castretry !castretry + 1
          goto NewCastSpell_loop1
        }
        if !whichtarget = NONE
          goto NewCastSpell_skip1
        if #TARGCURS = 1
          goto NewCastSpell_targ1
        goto NewCastSpell_wait1 ; wait for target cursor

  NewCastSpell_targ1:
    if !whichtarget = SELF
      event macro 23
    else
      event macro 22

  NewCastSpell_skip1:
    wait 5
    set !casttimeout #SCNT2 + !recovery_delay
    NewCastSpell_skip2:
      if !whichspell >= 0 && !whichspell <= 63 ; Magery
      {
        gosub TM_AdvJournalScan SPELLCAST NONE spell_fizzles there_is_already mana your_spirit more_reagents
      }
      else
      {
        set !cont #FALSE  ; Chivalry, Necromancy, etc
        finditem !whichtarget *
        if !whichtarget in SELF_NONE || #FINDKIND <> -1
          set !cont #TRUE

        if #MANA >= !tempmana && !cont = #TRUE ; check if target is still there
          set #RESULT #TRUE
        else
          set #RESULT #FALSE
      }
      repeat
      until #SCNT2 > !casttimeout     ; finish up cast delay
      if #RESULT = #TRUE
      {
        if !castretrymax > -1
        {
          set !castretry !castretry + 1 ; %castretrymax of -1 will cast until successful
          if !castretry > !castretrymax
            goto NewCastSpell_end1
        }
        goto NewCastSpell_loop1
      }
      if #SCNT2 <= !casttimeout     ; finish up cast delay
        goto NewCastSpell_skip2
  NewCastSpell_end1:
    set #LTARGETID !temp_ltargetid
    set #LTARGETKIND !temp_ltargetkind
    set #LPC !lpc
    namespace pop
return

*Cerveza - I know the code tag button isn't working, but you can still manually use them. {code} with []
« Last Edit: February 23, 2009, 05:19:57 AM by Cerveza »

Offline TrailMyxTopic starter

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13302
  • Activity:
    0.2%
  • Reputation Power: 154
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Viper!
  • Respect: +1349
  • Referrals: 33
    • View Profile
    • ScriptUO
Re: ScriptUO Heartwood Quester v1.16
« Reply #309 on: February 23, 2009, 05:17:32 AM »
0
If you take a look at 1.16, there's a combo box that lets you select what you want to use.

Code: [Select]
menu Combo Add recall Recall
menu Combo Add recall Gate Travel
menu Combo Add recall Sacred Journey

So just select it; it's in the script already.
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline Hollywood_Shono

  • Full Member
  • ***
  • Posts: 113
  • Activity:
    0%
  • Reputation Power: 0
  • Hollywood_Shono has no influence.
  • Respect: +19
  • Referrals: 0
    • View Profile
Re: ScriptUO Heartwood Quester v1.16
« Reply #310 on: February 23, 2009, 05:23:24 AM »
0
I apologise sorry about that. My last question for this script. Does it sort through all the bags then put the runics in the secure or does it put all the bags you get from heartwood into secure containers where you have to look through that after. *currently* thats how mine is set up....

Offline TrailMyxTopic starter

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13302
  • Activity:
    0.2%
  • Reputation Power: 154
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Viper!
  • Respect: +1349
  • Referrals: 33
    • View Profile
    • ScriptUO
Re: ScriptUO Heartwood Quester v1.16
« Reply #311 on: February 23, 2009, 05:26:21 AM »
0
It uses BMEval for loot evaluation.  So that will loot the goodies, but the quester itself loots the heartwoods.  All loot is placed into your secure when you go back for wood.

Remember this script doesn't work very well on freeshards....
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline Hollywood_Shono

  • Full Member
  • ***
  • Posts: 113
  • Activity:
    0%
  • Reputation Power: 0
  • Hollywood_Shono has no influence.
  • Respect: +19
  • Referrals: 0
    • View Profile
Re: ScriptUO Heartwood Quester v1.16
« Reply #312 on: February 23, 2009, 05:27:02 AM »
0
It uses BMEval for loot evaluation.  So that will loot the goodies, but the quester itself loots the heartwoods.  All loot is placed into your secure when you go back for wood.

Remember this script doesn't work very well on freeshards....

Alright thanks TM yeah im on SP no free shard heh

papasmurf

  • Guest
Re: ScriptUO Heartwood Quester v1.16
« Reply #313 on: February 23, 2009, 04:36:29 PM »
0
Just ran into a problem with newer computer...its a Vista 64bit.  Program was running great until I had to take and get it fixed, so I just ran the program on the older computer which is running on Windows XP.  Just now got the new computer back and copied all the files back, but when I run the program it just cyles thru the quests and nevers stops.  Not sure if has something to do with a UO patch and Vista 64 or I'm doing something wrong, eventhough I've ran it on this computer before.
« Last Edit: February 23, 2009, 04:39:42 PM by papasmurf »

Offline Khameleon

  • Script Tester - Team Leader
  • Elite
  • *
  • *
  • Posts: 2574
  • Activity:
    0%
  • Reputation Power: 30
  • Khameleon is a rising star!Khameleon is a rising star!Khameleon is a rising star!Khameleon is a rising star!Khameleon is a rising star!Khameleon is a rising star!
  • Gender: Male
  • Respect: +238
  • Referrals: 0
    • View Profile
Re: ScriptUO Heartwood Quester v1.16
« Reply #314 on: February 23, 2009, 04:40:33 PM »
0
sounds like the OCR is messed up.. is there any way to configure that?