annuncio

Comprimi
Ancora nessun annuncio.

[Razor Enhanced] Script varii

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

  • [Razor Enhanced] Script varii

    Poffa

    codice:
    piece = Target.PromptTarget()
    Journal.Clear()
    while Items.BackpackCount(0x1006, 0x0973) > 0:
        if Journal.Search("improved any further"):
            break
        Items.UseItemByID(0x1006, 0x0973)
        Target.WaitForTarget(7000, True)
        Target.TargetExecute(piece)
        Misc.Pause(300)
    Pet Grades

    codice:
    """
    ================== Pet Grades ==================
    =                by Cookie Lover               =
    =            Latest Release: 06/14/2017        =
    =                                              =
    =    What you need:                            =
    =    - Animal Lore                             =
    ================================================
    """
    Pet Grades

    Auto Pouch

    codice:
    """
    ================= Auto Pouch =================
    =               by Cookie Lover              =
    =           Latest Release: 06/14/2017       =
    =                                            =            
    =   What you need:                           =
    =   - magically trapped pouches              =
    =   - greater heal pots, otherwise, set      =
    =     DrinkPot to False                      =
    ==============================================
    """
    Auto Pouch

    Summon Wisp

    codice:
    fil = Mobiles.Filter()
    fil.Enabled = True
    fil.RangeMax = 2
    followers = Mobiles.ApplyFilter(fil)
    dispelled = False
    for f in followers:
        if f.Body == 0x00A5:
            Misc.WaitForContext(f.Serial, 9000)
            Misc.ContextReply(f.Serial, 0)
            dispelled = True
            Misc.Pause(500)
            break
            
    if not dispelled:
        Gumps.ResetGump()
        Spells.CastNecro("Summon Familiar")
        Gumps.WaitForGump(545409390, 9000)
        Gumps.SendAction(545409390, 2)

    Stasera se riesco ne posto altri.

  • #2
    Grazie!

    Commenta


    • #3

      Champ Spam

      codice:
      fil = Mobiles.Filter()
      fil.Enabled = True
      fil.RangeMax = 2
      while not Player.IsGhost:
          enemies = Mobiles.ApplyFilter(fil)
          for enemy in enemies:
              if 2 <enemy.Notoriety < 6:
                  if not Player.HasSpecial:
                      Player.WeaponSecondarySA() # whirlwind in radiant scimitar/double axe
                  Player.Attack(enemy.Serial)
                  Misc.Pause(1250)
                  break
      Dispella Fey/Imp

      codice:
      fil = Mobiles.Filter()
      fil.Enabled = True
      fil.RangeMax = 2
      followers = Mobiles.ApplyFilter(fil)
      Player.ChatSay(70, "all follow me")
      Misc.Pause(1500)
      for f in followers:
          if f.Body in [0x0080, 0x004A]:
              Misc.WaitForContext(f.Serial, 9000)
              Misc.ContextReply(f.Serial, 5)
              Misc.Pause(500)
      Expiring SOPs

      codice:
      """
      ================ Expiring SOPs ================
      =               by Cookie Lover               =
      =           Latest Release: 06/14/2017        =
      ===============================================
      """
      sopchest = []
      # for i in xrange(ContainerCount): in case you want to use more containers
      chest = Target.PromptTarget()
      sopchest.append(chest)   
      for c in sopchest:
          Items.WaitForContents(Items.FindBySerial(c), 5000)
          sops = [i for i in Items.FindBySerial(c).Contains if i.ItemID == 0x14F0]
          if not sops: continue
          for sop in sops:
              Items.WaitForProps(sop, 5000)
              days = int(list(i for i in Items.GetPropStringList(sop))[-1].replace(" days until deletion", ""))
              if days < 20:
                  Items.Move(sop, Player.Backpack, 0)
                  Misc.Pause(700)
      Teleport

      codice:
      class Coord:
          X = Y = Z = 0
          def __init__(self, x, y):
              self.X = x + Player.Position.X
              self.Y = y + Player.Position.Y
              self.Z = Player.Position.Z
      
      Tiles = 9
      Dir = {
          'North' : Coord(0, -Tiles),
          'South' : Coord(0, Tiles),
          'West' : Coord(-Tiles, 0),
          'East' : Coord(Tiles, 0),
          'Up' : Coord(-Tiles, -Tiles),
          'Down' : Coord(Tiles, Tiles),
          'Left' : Coord(-Tiles, Tiles),
          'Right' : Coord(Tiles, -Tiles)
          }
          
      
      Rel = Dir[Player.Direction]
      if Items.BackpackCount(0x1F42, 0) > 0: # TP Scrolls
          Items.UseItemByID(0x1F42, 0)
      else:
          Spells.CastMagery("Teleport")
      
      Target.WaitForTarget(9000, True)
      Target.TargetExecute(Rel.X, Rel.Y, Rel.Z)
      Ultima modifica di CookieLover; 15-06-2017, 19:30. Motivo: Modificata una linea in dispella fey-imp

      Commenta


      • #4
        Complimenti! Veramente fatti bene !!

        Commenta


        • #5
          Originariamente inviato da Alexdan Visualizza il messaggio
          Complimenti! Veramente fatti bene !!
          Un like anche da parte mia
          sigpic

          Commenta


          • #6
            Questo è uno script vecchio che ho rivisto poco fa per fare qualche correzione:

            TrashaKeepSopsSots

            Permette di trashare le sot "inutili", spostare sop e sot da uno o più contenitori ad un altro e creare dei file *.txt con una lista per skill - punti totali - numero di sop/sot.

            Credo sia necessario avere Python installato per via dei moduli (time e thread).

            codice:
            """
            ============ TrashaKeep SOTs/SOPs ============
            =               by Cookie Lover              =
            =           Latest Release: 06/16/2017       =
            ==============================================
            """
            TrashaKeepSopsSots
            Ultima modifica di CookieLover; 16-06-2017, 05:12.

            Commenta


            • #7
              Inscription Trainer

              codice:
              """
              ================ Inscription Trainer ================
              =                   by Cookie Lover                 = 
              =           Latest Release: 06/17/2017              =
              =                                                   =
              =   What you need:                                  =
              =   - a chest with ingots, reagents and blank       =
              =     scrolls                                       =
              =   - at least 30.0 inscription                     =
              =====================================================
              """
              Inscription Trainer

              Commenta


              • #8
                Crafts Checker
                codice:
                #===========================================#
                #               Crafts Checker              #
                #===========================================#
                #                                           #
                #   Author: CookieLover                     #
                #   Release Date: 10/04/2017                #
                #                                           #
                #===========================================#
                #                                           #
                #   What you need:                          #
                #   - a bag with crafts in it               #
                #   - tools if you want to smelt/cut        #
                #                                           #
                #   Info:                                   #
                #   - the bag mustn't be your backpack      #
                #   - if a tool is checked, everything      #
                #     that doesn't meet the standards will  #
                #     be smelted/cut if possible            #
                #   - if you check None, unwanted equips    #
                #     will stay inside the bag and wanted   #
                #     ones will be put in your backpack     #
                #   - the value for properties with no      #
                #     value such as Balanced, Exceptional,  #
                #     Slayer, etc. is 1                     #
                #   - you can add properties not listed     #
                #     by filling the box                    #
                #                                           #
                #===========================================#


                Crafts Checker
                Ultima modifica di CookieLover; 04-10-2017, 14:03.

                Commenta


                • #9
                  Era da un po' che volevo fare uno script che sostituisse quello per i tesori di EasyUO, in realtà si può usare anche per i bauli in casa, anche se in tal caso una ricerca mirata sarebbe un'idea migliore.

                  New: ho aggiunto l'auto re-hide dopo aver preso un oggetto e un timer per riutilizzare hiding.

                  Chest Content Viewer
                  codice:
                  #===================================================#
                  #               Chest Content Viewer                #
                  #===================================================#
                  #                                                   #
                  #   Author: CookieLover                             #
                  #   Release Date: 10/05/2017                        #
                  #                                                   #
                  #===================================================#
                  #                                                   #
                  #   What you need:                                  #
                  #   - a container to ransack                        #
                  #                                                   #
                  #   Info:                                           #
                  #   - you can move the selected item into your      #
                  #     backpack by pressing Get                      #
                  #   - upon creating the list a file will be saved   #
                  #     in your Razor Enhanced main folder named      #
                  #     chest_*.txt with * being the current date     #
                  #     and time to avoid overwriting                 #
                  #                                                   #
                  #===================================================#


                  Chest Content Viewer
                  Ultima modifica di CookieLover; 05-10-2017, 16:04. Motivo: new feature

                  Commenta


                  • #10
                    Questo potrebbe essere utile ai pescatori. Alcuni settori potrebbero mancare, l'ho testato con poche sos, nel caso vi uscisse qualche Sector None fatemelo sapere.

                    SOS Manager
                    codice:
                    #===============================================#
                    #                   SOS Manager                 #
                    #===============================================#
                    #                                               #
                    #   Author: CookieLover                         #
                    #   Latest Release: 10/07/2017                  #
                    #                                               #
                    #===============================================#
                    #                                               #
                    #   Info:                                       #
                    #   - by selecting a SOS and hitting Move       #
                    #     all the SOS in that sector will be moved  #
                    #     in the targeted container                 #
                    #                                               #
                    #   What you need:                              #
                    #   - a bag full of SOS                         #
                    #                                               #
                    #   Credits:                                    #
                    #   the degrees - coordinates formula is taken  #   
                    #   from Enhanced Map                           #
                    #                                               #
                    #===============================================#


                    SOS Manager
                    Ultima modifica di CookieLover; 07-10-2017, 15:48. Motivo: new feature

                    Commenta


                    • #11
                      Alchemist Crafts

                      Fixato un bug del destock/count

                      codice:
                      #===============================================#
                      #               Alchemist Crafts                #
                      #===============================================#
                      #                                               #
                      #   Author: CookieLover                         #
                      #   Latest Release: 11/12/2017                  #
                      #                                               #
                      #===============================================#
                      #                                               #
                      #   What you need:                              #
                      #   - a container with reagents, bottles and    #
                      #     ingots                                    #
                      #   - tinkering and at least a toolkit          #
                      #                                               #
                      #===============================================#


                      Alchemist Crafts
                      Ultima modifica di CookieLover; 12-11-2017, 18:58.

                      Commenta


                      • #12
                        Sop Manager
                        codice:
                        #=================================================#
                        #                   Sop Manager                   #
                        #=================================================#
                        #                                                 #
                        #   Author: CookieLover                           #
                        #   Release Date: 10/11/2017                      #
                        #                                                 #
                        #=================================================#
                        #                                                 #
                        #   What you need:                                #
                        #   - a container to ransack                      #
                        #                                                 #
                        #   Info:                                         #
                        #   - you can move the selected item into your    #
                        #     backpack by pressing Get                    #
                        #   - upon creating the list a file will be saved #
                        #     in your Razor Enhanced main folder named    #
                        #     sopchest_*.txt with * being the current     #
                        #     date and time to avoid overwriting          #
                        #                                                 #
                        #=================================================#


                        Sop Manager
                        Ultima modifica di CookieLover; 11-10-2017, 13:06.

                        Commenta


                        • #13
                          very nice work !!

                          By chance, do you have script example of "Pathfinding" "Rail moving" ?

                          Thanks

                          Commenta


                          • #14
                            Regex Equip Scan
                            codice:
                            #==============================================#
                            #               Regex Equip Scan               #
                            #==============================================#
                            #                                              #
                            #   Author: CookieLover                        #
                            #   Release Date: 12/21/2017                   #
                            #                                              #
                            #==============================================#
                            #                                              #
                            #   Info:                                      #
                            #   - target a player to scan his equip        #
                            #     properties. The list will be saved in    #
                            #     Razor Enhanced main folder.              #
                            #                                              #
                            #==============================================#
                            Regex Equip Scan

                            Commenta


                            • #15
                              Jewel Manager
                              codice:
                              #===========================================#
                              #               Jewel Manager               #
                              #===========================================#
                              #                                           #
                              #   Author: CookieLover                     #
                              #   Release Date: 12/24/2017                #
                              #                                           #
                              #===========================================#
                              #                                           #
                              #   Info:                                   #
                              #   - target a container to scan its        #
                              #     contents and show jewelry props;      #
                              #   - use get to place the item in your     #
                              #     backpack;                             #
                              #   - use prev/next to switch page.         #
                              #                                           #
                              #===========================================#

                              (click to enlarge)

                              Jewel Manager

                              Commenta

                              Sto operando...
                              X