annuncio

Comprimi
Ancora nessun annuncio.

[EASYUO] fast mace and shield

Comprimi
X
 
  • Filtro
  • Ora
  • Visualizza
Elimina tutto
nuovi messaggi

  • [EASYUO] fast mace and shield

    U R NOT ALLOWED TO USE THIS SCRIPT AFK ON UOD

    takes money, buys axes, donates
    turn on razor buy agent for axes with amount u can carry

    codice:
    set %needgold 2400 ; amount of gold to take from bank
    set %runebank DWLHXMD ; rune in bank
    set %runelibrary ZVLHXMD ; rune near warror tram
    set %runebs1 MWLHXMD ; rune in brit tram bs shop
    set %runebs2 UWLHXMD ; rune in luna bs shop
    set %vendor11 XRF
    set %vendor12 APE
    set %vendor21 MUFH
    set %vendor22 KUFH
    set %axe BSF
    set %librarian ODYM
    set %gold POF
    set %bsq 2
    set %bsi 1
    set %vi 2
    
    
    set #lpc 1000
    
    
    
    loop:
         repeat
               set %bsi %bsi + 1
               if %bsi > %bsq
                  set %bsi 1
               gosub buyitems
         until #result
    
         gosub giveitems
         if #gold < 300
            gosub takegold
    goto loop
    
    sub takegold
        gosub recall %runebank
        repeat
        {
              set %nextrecalltobank #systime + 500
              set %bankopened #false
              set %goldfound #false
              msg bank $
              while #systime < %nextrecalltobank && %bankopened = #false
              {
                    set %nextjinedxend #jindex
                    if !jindex <= %nextjinedxend
                    {
                       for %i !jindex %nextjinedxend
                       {
                           scanjournal %i
                           if container in #journal
                           {
                              set %bankopened #true
                              set %waitforlootbag #systime + 1000000
                           }
                       }
                       set !jindex %nextjinedxend + 1
                    }
                    sleep 10
              }
              if %bankopened
              {
                 while #systime < %waitforlootbag && %goldfound = #false
                 {
                    finditem %gold C
                    for #findindex 1 #findcnt
                    {
                        if #FINDBAGID <> #BackPackid
                        {
                           set %goldfound #true
                           break
                        }
                    }
                    sleep 10
                 }
              }
        until %goldfound = #true
        repeat
              finditem %Gold C
              for #findindex 1 #findcnt
              {
                  if #FINDBAGID <> #BackPackid
                     break
              }
              set %amounttodrag %needgold - #GOLD
              if #findstack < %amounttodrag
                 set %amounttodrag #findstack
              exevent drag #findid %amounttodrag
              wait 2
              exevent dropc #backpackid
              wait 7
        until #GOLD >= %needgold
    return
    
    sub giveitems
    
        gosub recall %runelibrary
    
        menuagain:
        set %menuagain #false
        set #lobjectid %librarian
        event macro 17 0
    
        finditem %axe C_ , #backpackid
        while #findkind <> -1 && %menuagain = #false
        {
              for #findindex 1 #findcnt
              {
                  set %menuagain #false
                  set %fadewait #systime + 1000
                  while ( ( #CONTNAME <> generic_gump ) || ( #CONTSIZE <> 345_359 ) ) && ( #systime < %fadewait )
                  {
                        sleep 20
                  }
                  if #systime >= %fadewait
                  {
                     set %menuagain #true
                     break
                  }
                  set %clickx #CONTPOSX + 306
                  set %clicky #CONTPOSy + 345
                  click %clickx %clicky dmc
                  set #targcurs 0
                  wait 1
                  set %clickx #CONTPOSX + 39
                  set %clicky #CONTPOSy + 205
                  click %clickx %clicky dmc
                  target
                  if ( #CONTNAME = generic_gump ) && ( #CONTSIZE = 345_359 )
                  {
                     set %menuagain #true
                     break
                  }
                  set #ltargetid #findid
                  event macro 22 0
              }
              wait 3
              finditem %axe C_ , #backpackid
        }
        if %menuagain
           goto menuagain
    return
    
    
    sub buyitems
    
        set %nextvendor #systime + 4000
        gosub recall %runebs . %bsi
        repeat
              set %index %bsi , %vi
              repeat
                    finditem %vendor . %index
                    wait 10
              until ( #findkind <> -1 ) || ( #systime > %nextvendor )
              exevent popup %vendor . %index 2
              if %vi = 2
                 set %vi 1
              else
                  set %vi 2
              set %finishtfindaxe #systime + 1000
              repeat
                    sleep 20
                    finditem %axe C_ , #backpackid
              until ( #findkind <> -1 ) || ( #systime > %finishtfindaxe )
        until ( #findkind <> -1 ) || ( #systime > %nextvendor )
        if ( #systime > %nextvendor ) && ( #findkind = -1 )
           return #false
    
    return #true
    
    sub recall
              set %_oldx #charposx
              set %_oldy #charposy
        repeat
              set #targcurs 0
              while #mana < 10
              {
                    sleep 10
              }
              event macro 15 210
              target
              set #ltargetid %1
              set #ltargetkind 1
              set !jindex #jindex + 1
              event macro 22 0
              set !w4serr #scnt + 3
              set %nextjinedxend #jindex
              set %castagain #false
              set %runabloccata #false
              set !w4serr #scnt + 10
              set %castagain #false
              while %_oldx = #charposx && %_oldy = #charposy && #scnt < !w4serr && %castagain = #false
              {
                    set %nextjinedxend #jindex
                    if !jindex <= %nextjinedxend
                    {
                       for %i !jindex %nextjinedxend
                       {
                           scanjournal %i
                           if THAT_LOCATION_IS_BLOCKED in #journal || disturbed in #journal || recovered in #journal || You_cannot_cast_a_spell_while_frozen. in #journal
                              set %castagain #true
                           if Thou_art_too_encumbered_to_move. in #journal
                           {
                              set %amounttodrop #weight - #maxweight - 60
                              set %amounttodrop %amounttodrop / 4
                              set %amounttodrop %amounttodrop + 1
                              finditem %axe C_ , #backpackid
                              for #findindex 1 #findcnt
                              {
                                  exevent drag #findid
                                  wait 2
                                  exevent dropg #charposx #charposy #charposz
                                  wait 7
                                  if #findindex = %amounttodrop
                                     break
                              }
                              set %castagain #true
                           }
                       }
                       set !jindex %nextjinedxend + 1
                    }
                    sleep 10
              }
              if ( %castagain || #scnt > !w4serr ) && %_oldx = #charposx && %_oldy = #charposy
                 set %castagain #true
              else
                  set %castagain #false
        until %castagain = #false
    return
    Ultima modifica di fnurov; 05-08-2009, 22:06.

  • #2
    fnurov i like you intelligence for make script...but you dont think ,buy axes for mace and shield is very very expensive?


    marcobigo@live.it
    _________________________________________________
    - MIAMI SUPERCOPS -
    "I poliziotti dell'ottava strada"
    Space Trip [LvX]
    John McLane[EOS]
    Yasha Marciano[EOS]
    http://www.youtube.com/watch?v=R10iBZhYIsA <<NON SONO UN DIO.

    Commenta


    • #3
      Originariamente inviato da spacetrip Visualizza il messaggio
      fnurov i like you intelligence for make script...but you dont think ,buy axes for mace and shield is very very expensive?
      3.2kk

      i new it before starting making script and it was ok.

      the fact is, that i was jailed for 5 days after something like 3 hours of script usage. so i bought glasses for 8kk and forgot about this headacke.

      Commenta


      • #4
        Originariamente inviato da fnurov Visualizza il messaggio
        3.2kk

        i new it before starting making script and it was ok.

        the fact is, that i was jailed for 5 days after something like 3 hours of script usage. so i bought glasses for 8kk and forgot about this headacke.
        ok but 4 people noob,or people poor (who dont have 3,2kk for buy axes)isn't good for me....everybody may have possibility to take mace and shield reading sunglasses(also havent money but only whit mining,tinkering,worker pg), or isnt'?


        marcobigo@live.it
        _________________________________________________
        - MIAMI SUPERCOPS -
        "I poliziotti dell'ottava strada"
        Space Trip [LvX]
        John McLane[EOS]
        Yasha Marciano[EOS]
        http://www.youtube.com/watch?v=R10iBZhYIsA <<NON SONO UN DIO.

        Commenta


        • #5
          Originariamente inviato da spacetrip Visualizza il messaggio
          ok but 4 people noob,or people poor (who dont have 3,2kk for buy axes)isn't good for me....everybody may have possibility to take mace and shield reading sunglasses(also havent money but only whit mining,tinkering,worker pg), or isnt'?
          longer.
          some people make library quests for earning.

          Commenta


          • #6
            visto

            Commenta


            • #7
              i can add other 2 or 4 vendors??

              Commenta


              • #8
                Originariamente inviato da Alexchess Visualizza il messaggio
                i can add other 2 or 4 vendors??
                yes, but u need to change 2 to 3 or 4everywhere in script. and it doesnt have sence, because axes on vendors spawn 20 than 40 ... and than 999 after an hour or 2, so 4 vendors are more than enough.

                Commenta


                • #9
                  often the script is blocked, it is buying the axes, and blocks them, or who has the axes, and fail to go to the bank

                  Commenta


                  • #10
                    Originariamente inviato da Alexchess Visualizza il messaggio
                    often the script is blocked, it is buying the axes, and blocks them, or who has the axes, and fail to go to the bank
                    i know. i spent just about 3hours total making this script just to have some tool to ger this glasses, becuase nobody sold. actuly this thread shouldn't have beed upped. but as it's so, i write, that i m not going develop-debug-optimise this script.
                    scripts for making quests afk are evil scripts )) and i also have already glasses )

                    Commenta


                    • #11
                      razor buy agent




                      Commenta


                      • #12
                        just the same with recal instead of sacred journey. but this version was never tested.
                        codice:
                        set %needgold 2400 ; amount of gold to take from bank
                        set %runebank DWLHXMD ; rune in bank
                        set %runelibrary ZVLHXMD ; rune near warror tram
                        set %runebs1 MWLHXMD ; rune in brit tram bs shop
                        set %runebs2 UWLHXMD ; rune in luna bs shop
                        set %vendor11 XRF
                        set %vendor12 APE
                        set %vendor21 MUFH
                        set %vendor22 KUFH
                        set %axe BSF
                        set %librarian ODYM
                        set %gold POF
                        set %bsq 2
                        set %bsi 1
                        set %vi 2
                        
                        
                        set #lpc 1000
                        
                        
                        
                        loop:
                             repeat
                                   set %bsi %bsi + 1
                                   if %bsi > %bsq
                                      set %bsi 1
                                   gosub buyitems
                             until #result
                        
                             gosub giveitems
                             if #gold < 300
                                gosub takegold
                        goto loop
                        
                        sub takegold
                            gosub recall %runebank
                            repeat
                            {
                                  set %nextrecalltobank #systime + 500
                                  set %bankopened #false
                                  set %goldfound #false
                                  msg bank $
                                  while #systime < %nextrecalltobank && %bankopened = #false
                                  {
                                        set %nextjinedxend #jindex
                                        if !jindex <= %nextjinedxend
                                        {
                                           for %i !jindex %nextjinedxend
                                           {
                                               scanjournal %i
                                               if container in #journal
                                               {
                                                  set %bankopened #true
                                                  set %waitforlootbag #systime + 1000000
                                               }
                                           }
                                           set !jindex %nextjinedxend + 1
                                        }
                                        sleep 10
                                  }
                                  if %bankopened
                                  {
                                     while #systime < %waitforlootbag && %goldfound = #false
                                     {
                                        finditem %gold C
                                        for #findindex 1 #findcnt
                                        {
                                            if #FINDBAGID <> #BackPackid
                                            {
                                               set %goldfound #true
                                               break
                                            }
                                        }
                                        sleep 10
                                     }
                                  }
                            until %goldfound = #true
                            repeat
                                  finditem %Gold C
                                  for #findindex 1 #findcnt
                                  {
                                      if #FINDBAGID <> #BackPackid
                                         break
                                  }
                                  set %amounttodrag %needgold - #GOLD
                                  if #findstack < %amounttodrag
                                     set %amounttodrag #findstack
                                  exevent drag #findid %amounttodrag
                                  wait 2
                                  exevent dropc #backpackid
                                  wait 7
                            until #GOLD >= %needgold
                        return
                        
                        sub giveitems
                        
                            gosub recall %runelibrary
                        
                            menuagain:
                            set %menuagain #false
                            set #lobjectid %librarian
                            event macro 17 0
                        
                            finditem %axe C_ , #backpackid
                            while #findkind <> -1 && %menuagain = #false
                            {
                                  for #findindex 1 #findcnt
                                  {
                                      set %menuagain #false
                                      set %fadewait #systime + 1000
                                      while ( ( #CONTNAME <> generic_gump ) || ( #CONTSIZE <> 345_359 ) ) && ( #systime < %fadewait )
                                      {
                                            sleep 20
                                      }
                                      if #systime >= %fadewait
                                      {
                                         set %menuagain #true
                                         break
                                      }
                                      set %clickx #CONTPOSX + 306
                                      set %clicky #CONTPOSy + 345
                                      click %clickx %clicky dmc
                                      set #targcurs 0
                                      wait 1
                                      set %clickx #CONTPOSX + 39
                                      set %clicky #CONTPOSy + 205
                                      click %clickx %clicky dmc
                                      target
                                      if ( #CONTNAME = generic_gump ) && ( #CONTSIZE = 345_359 )
                                      {
                                         set %menuagain #true
                                         break
                                      }
                                      set #ltargetid #findid
                                      event macro 22 0
                                  }
                                  wait 3
                                  finditem %axe C_ , #backpackid
                            }
                            if %menuagain
                               goto menuagain
                        return
                        
                        
                        sub buyitems
                        
                            set %nextvendor #systime + 4000
                            gosub recall %runebs . %bsi
                            repeat
                                  set %index %bsi , %vi
                                  repeat
                                        finditem %vendor . %index
                                        wait 10
                                  until ( #findkind <> -1 ) || ( #systime > %nextvendor )
                                  exevent popup %vendor . %index 2
                                  if %vi = 2
                                     set %vi 1
                                  else
                                      set %vi 2
                                  set %finishtfindaxe #systime + 1000
                                  repeat
                                        sleep 20
                                        finditem %axe C_ , #backpackid
                                  until ( #findkind <> -1 ) || ( #systime > %finishtfindaxe )
                            until ( #findkind <> -1 ) || ( #systime > %nextvendor )
                            if ( #systime > %nextvendor ) && ( #findkind = -1 )
                               return #false
                        
                        return #true
                        
                        sub recall
                                  set %_oldx #charposx
                                  set %_oldy #charposy
                            repeat
                                  set #targcurs 0
                                  while #mana < 10
                                  {
                                        sleep 10
                                  }
                                  event macro 15 31
                                  target 60
                                  set #ltargetid %1
                                  set #ltargetkind 1
                                  set !jindex #jindex + 1
                                  event macro 22 0
                                  set !w4serr #scnt + 3
                                  set %nextjinedxend #jindex
                                  set %castagain #false
                                  set %runabloccata #false
                                  set !w4serr #scnt + 10
                                  set %castagain #false
                                  while %_oldx = #charposx && %_oldy = #charposy && #scnt < !w4serr && %castagain = #false
                                  {
                                        set %nextjinedxend #jindex
                                        if !jindex <= %nextjinedxend
                                        {
                                           for %i !jindex %nextjinedxend
                                           {
                                               scanjournal %i
                                               if THAT_LOCATION_IS_BLOCKED in #journal || disturbed in #journal || recovered in #journal || You_cannot_cast_a_spell_while_frozen. in #journal
                                                  set %castagain #true
                                               if Thou_art_too_encumbered_to_move. in #journal
                                               {
                                                  set %amounttodrop #weight - #maxweight - 60
                                                  set %amounttodrop %amounttodrop / 4
                                                  set %amounttodrop %amounttodrop + 1
                                                  finditem %axe C_ , #backpackid
                                                  for #findindex 1 #findcnt
                                                  {
                                                      exevent drag #findid
                                                      wait 2
                                                      exevent dropg #charposx #charposy #charposz
                                                      wait 7
                                                      if #findindex = %amounttodrop
                                                         break
                                                  }
                                                  set %castagain #true
                                               }
                                           }
                                           set !jindex %nextjinedxend + 1
                                        }
                                        sleep 10
                                  }
                                  if ( %castagain || #scnt > !w4serr ) && %_oldx = #charposx && %_oldy = #charposy
                                     set %castagain #true
                                  else
                                      set %castagain #false
                            until %castagain = #false
                        return

                        Commenta


                        • #13
                          how long will it take to finish the quest? approximately

                          Commenta


                          • #14
                            Originariamente inviato da Maui Visualizza il messaggio
                            how long will it take to finish the quest? approximately
                            i counted it as 24h

                            Commenta

                            Sto operando...
                            X