annuncio

Comprimi
Ancora nessun annuncio.

[euox] helpfull utilities for mellisande

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

  • [euox] helpfull utilities for mellisande

    helpfull for killing dryads. lights dryads, when u'r close to it, dismounts u and allkills dryad, mounts when dryad is dead

    codice:
    set %alarmhits 110
    set %pet FUDG
    ignoreitem NRBF
    loop:
    finditem EN
    if ( #findcnt <> 0 ) && ( #hits > %alarmhits )
    {
       event ExMsg #CHARID 3 50 DRIAD IS NEARBY
       set %driad #findid
       event ExMsg %driad 3 50 KILL ME! KILL ME!
       set #LTARGETID %driad
       event macro 22 0
       set #LOBJECTID %driad
       event macro 27 0
       finditem %driad
       while ( #findcnt > 0 ) && ( #finddist > 4 )
       {
        event ExMsg %driad 3 50 KILL ME! KILL ME!
        finditem %driad
       }
       if #findcnt > 0
       {
          finditem %pet
          while #findcnt <> 1
          {
           set #LOBJECTID #CHARID
           event macro 17 0
           finditem %pet
          }
          set #LTARGETID %driad
          event macro 1 0 all kill
          target
          event macro 22 0
          finditem %driad
          if #findcnt > 0
          {
             event macro 15 17
             target
             event macro 22 0
          }
          while #findcnt <> 0
          {
             finditem %driad
          }
          event macro 6 0
          set #LOBJECTID %pet
          finditem %pet
          while #findcnt = 1
          {
           event macro 1 0 all follow me
                event macro 17 0
                finditem %pet
          }
       }
    }
    goto loop
    warriors will like it

    codice:
    set #lpc 1000
    set %IUseDisco #false
    set %IUseHonor #true
    ignoreitem NRBF
    loop:
    finditem EN
    if #findcnt > 0
    {
       event ExMsg #CHARID 3 50 DRIAD IS NEARBY
       set %driad #findid
       repeat
                finditem %driad
                event ExMsg %driad 3 50 KILL ME! KILL ME!
                wait 1
       until #finddist < 11 || #findcnt = 0
    
       if #findcnt <> 0
       {
          set #ltargetid %driad
          if %IUseHonor
          {
             event macro 49 1
             target 10
             event macro 22
             wait 1
          }
          if %IUseDisco
          {
             event macro 13 15
             target 10
             event macro 22
             wait 1
          }
          set #LOBJECTID %driad
          event macro 27 0
       }
       repeat
             event ExMsg %driad 3 50 KILL ME! KILL ME!
             finditem %driad
             wait 1
       until #findcnt = 0
    }
    wait 2
    goto loop
    Ultima modifica di fnurov; 15-06-2008, 15:08.

  • #2
    "basketball"
    codice:
    set #lpc 1000
    finditem KDSVPMD
    if #finddist < 3
    {
       finditem KX
       if #findcnt <> 0
       {
                exevent drag #findid
                wait 2
                exevent dropc KDSVPMD
                wait 6
       }
       ground:
       finditem KX G_ , 2
       if #findcnt > 0
       {
       exevent drag #findid
       exevent dropc #backpackid
       goto ground
       }
       finditem hqg
       if #findcnt > 0
       {
       sound
       }
       wait 1
    }
    Ultima modifica di fnurov; 15-06-2008, 15:04.

    Commenta


    • #3
      helpfull for humans. keeps u hidden near basket.

      codice:
      loop:
      finditem KDSVPMD
      if #finddist < 3
      {
      if H notin #charstatus 2
      event macro 13 21
      wait 210
      }
      wait 2
      goto loop
      Ultima modifica di fnurov; 13-05-2008, 09:01.

      Commenta


      • #4
        i found the first script great, but it looks pretty intrusive...
        it should ask you (o set you before run the script) if you want to dismount from your pet :P

        Awesome with word of death(I think i will add a check to wait until the dryad isnt' full HP)

        about find saliva instead harpies it cannot be done with a findstack or findcolor.
        I think is necessary to do a check in the properties of findid if contains saliva...



        I hope i have wrote all correctly.

        Commenta


        • #5
          Assuming Saliva's type is UD (i don't know and i don't want to check it):
          codice:
          loop:
          finditem EN_UD
          if #findkind <> -1 && #findrep < 6
          {
             event property #findid
             if UD in #findtype && Saliva notin #property 2
                ignoreitem #findid
                goto loop
             else
                gosub attack #findid
          }
          wait 5
          goto loop
          
          sub attack
             ...
          return
          The #findrep is necessary to avoid the script to target the quester dryad.
          Waiting for the russian feedback
          Ultima modifica di antonio.gl; 09-05-2008, 21:25.
          ICQ 222293462


          Commenta


          • #6
            script asks nothing because it was made for my pg
            actualy i dont understand why to check for hp. script waits till dryad's alive...
            it doesn't atack quester because of ignoreitem NRBF
            i know how not to atack normal harpies now but lazy to script it, because i dont do melisa now. i l fix it later using event property.
            btw casting precasted need to be fixed, because of "too far away"
            and i m thinking of using "move" to run to dryad by script, but dont know how to stop it if pg's atacked hard...
            the best way is ofcause teleporting, but i don't understand how to take tile's id by xy coords...

            Commenta


            • #7
              This is the way to teleport to a %x %y location:
              codice:
              event macro 15 21 ;cast teleport
              target 3s ;wait until the aim cursor, timeout 3s
              set #ltargetx %x
              set #ltargety %y
              set #ltargetz %z
              set #ltargetkind 2 ;set the last target as a tile
              event macro 22 0
              If you use move, the char will not stop until it reaches the destination tile. In my opinion, you should use event pathfind so you can stop the char with another pathfind.
              Ultima modifica di antonio.gl; 09-05-2008, 23:46.
              ICQ 222293462


              Commenta


              • #8
                thaks a lot for teleporting.
                when pathfind event starts, if i hold rightmouse button it runs to way the mouse look even when i stop holdidng button :/

                Commenta


                • #9
                  True. You got to press the right mouse button again to unlock it. But perhaps that's not really a problem
                  ICQ 222293462


                  Commenta


                  • #10
                    it was a big problem )) first that script pathfinded to dryad :/


                    btw just had fun in doom
                    codice:
                    event macro 15 21
                    target
                    set #ltargetkind 2 ;set the last target as a tile
                    set #ltargetx #charposx
                    set #ltargety #CHARPOSY - 11
                    set #ltargetz #CHARPOSZ
                    event macro 22 0
                    amazing ))

                    Commenta


                    • #11
                      Sorry, i don't see the problem: if the script is running you should just watch your char slaying mobs. Why do you spend your time pressing the mouse button o.O
                      PS: just changed signature, like it?
                      ICQ 222293462


                      Commenta


                      • #12
                        there are 3 spawns of dryad there. that's why i had to run from to another.
                        btw do u know how to check if the tile is suitable for teleporting?

                        Commenta


                        • #13
                          Some fixes ago it was possible using detect hidden skill (it had a 0s delay).
                          Now that skill has a few seconds delay
                          Search in euox library for a different solution.
                          ICQ 222293462


                          Commenta


                          • #14
                            i mean using comand tile :/ i hadn't ever worked with it...

                            Commenta


                            • #15
                              With tile command you can get info about the type (grass, sea, etc), but you cannot check if the tile is out of sight or available for teleporting (trees, rocks, etc).
                              ICQ 222293462


                              Commenta

                              Sto operando...
                              X