annuncio

Comprimi
Ancora nessun annuncio.

[EASYUo REQ] aggiungere due funzionalità

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

  • [EASYUo REQ] aggiungere due funzionalità

    è possibile aggiungere 2 funzionalità a questo looter? (Preso dal sito di easyuo)

    Script Name: Skin, Cut, & Loot;
    Author: Twice_;
    Version: 1.10

    Questo script,praticamente,quando si passa sul corpo del defunto,lo taglia,taglia le pelli,poi prende le pelli e la carne e la mette nello zaino.
    Richieste:
    (1) si puo aggiungere il loot dei soldi (se sono presenti)???
    (2) si puo aggiungere una funzione che,alla pressione di un determinato tasto,faccia scendere il pg dal beetle e metta le pelli nel backpack di questo?

    Grazie mille a chi risponderà

  • #2
    Ti consiglio di postare lo script per intero tramite i tag [code] oppure di linkarlo almeno, sennò è difficile la cosa =)

    Commenta


    • #3
      Ho fatto una mod veloce:
      codice:
      [COLOR="Red"]//[/COLOR]
      Ultima modifica di Drael; 24-04-2007, 21:50.
      Slyon su Lost Paradise.
      Downfall, and it all falls down
      I fall from grace I got your taste

      Turn off your mind, unwind
      and see how high the cloudy sky

      Run away Run away
      Leave your lemon drop

      Soak it up Soak it up
      Won't you crush on me
      Boom Boom Satellites - Shut up and Explode | In cerca di un nuovo passatempo.

      Commenta


      • #4
        non so perchè,ma adesso il looter non funziona più bene,apre il corpo,lo taglia,ma loota solo la carne,le pelli tagliate rimangono nel cadavere
        Quando inizia lo script non accade nulla,non vengono visualizzati i messaggi che DRAEL ha inserito.

        il codice originale è il seguente:
        codice:
        ;==================================
        ; Script Name: Skin, Cut, & Loot
        ; Author: Twice_
        ; Version: 1.10
        ; Client Tested with: 5.0.7.1
        ; EUO version tested with: 1.5-101
        ; Shard OSI / FS: Freeshard Only
        ; Revision Date: 12/24/2006
        ; Public Release: 12/31/2006
        ; Global Variables Used: N/A
        ; Purpose: Meant to cut down on the
        ; hassle of skinning a corpse, then
        ; cutting the leather, then looting
        ; it.
        ;==================================
        ; SET YOUR HOTKEY TO PAUSE SCRIPT
        ;==================================
        set %hotkey SCROLLLOCK
        ;==================================
        ; DO NOT MODIFY ANYTHING BELOW THIS
        ;==================================
        set %daggar 0
        set %scissors 0
        set %blades WSF
        set %sciss JAG_KAG
        set %hides EEG_GED_DEG_
        set %leather JJG
        set %meat VRD
        set %corpse 0
        set %paused false
        
        goto Main
        
        Main:
        {
             finditem %leather C_ , #backpackid
             if #findkind <> -1
             {
                 ignoreitem #findid
             }
        
             finditem %meat C_ , #backpackid
             if #findkind <> -1
             {
                 ignoreitem #findid
             }
             
             finditem %blades C_ , #backpackid
             if #findkind <> -1
             {
                 set %daggar #findid
             }
             else
             {
                 display ok No daggar found, halting.
                 halt
             }
             
             finditem %sciss C_ , #backpackid
             if #findkind <> -1
             {
                 set %scissors #findid
             }
             else
             {
                 display ok No scissors found, halting.
                 halt
             }
             
             goto Loop
        }
        
        Loop:
        {
             onhotkey %hotkey
             {
                 event sysmessage Paused.
                 wait 10
                 goto Pause
             }
        
             finditem YFM G_1
             if #findkind <> -1
             {
                 set %corpse #findid
                 ignoreitem #findid
                 goto OpenCorpse
             }
             else
                 goto Loop
                 
             goto Loop
        }
        
        OpenCorpse:
        {
             set #lobjectid %corpse
             event macro 17
             scanjournal 1
             wait 13
             goto CutCorpse
        }
        
        CutCorpse:
        {
             set #lobjectid %daggar
             set #ltargetid %corpse
             event macro 17
             target
             event macro 22
             wait 13
             goto CutHides
        }
        
        CutHides:
        {
             finditem %hides C_
             
             if #findkind <> -1
             {
                  set #lobjectid %scissors
                  set #ltargetid #findid
                  event macro 17
                  target
                  event macro 22
                  wait 13
                  goto Loot
             }
             else
                  goto Loop
        }
        
        Loot:
        {
             finditem %leather C_
        
             if #findkind <> -1
             {
                  exevent drag #findid #findstack
                  wait 5
                  exevent dropc #backpackid
        
                  ignoreitem #findid
                  wait 3
                  
                  goto Loot
              }
              else
              {
                  finditem %meat C_
                  
                  if #findkind <> -1
                  {
                     exevent drag #findid #findstack
                     wait 5
                     exevent dropc #backpackid
                     
                     ignoreitem #findid
                     wait 3
                     
                     goto Loop
                  }
              }
        
        }
        
        Pause:
        {
             set %paused #true
             
             while %paused = #true
             {
                onhotkey %hotkey
                {
                    event sysmessage Resumed.
                    set %paused #false
                    wait 10
                    goto Loop
                }
             }
        }
        la funzionalità più importante è quella del loot dei soldi

        io ho fatto una prima modifica molto grezza,nella sub Loot,sostituendo al prelievo della carne quello dei soldi.

        codice:
        Loot:
        {
             finditem %leather C_
        
             if #findkind <> -1
             {
                  exevent drag #findid #findstack
                  wait 5
                  exevent dropc #backpackid
        
                  ignoreitem #findid
                  wait 3
                  
                  goto Loot
              }
              else
              {
                  //finditem %meat C_   sostituito con finditem %gold X_
                  
                  if #findkind <> -1
                  {
                     exevent drag #findid #findstack
                     wait 5
                     exevent dropc #backpackid
                     
                     ignoreitem #findid
                     wait 3
                     
                     goto Loop
                  }
              }
        
        }
        è una porcata?o puo andare bene?
        Ultima modifica di campioncino; 24-04-2007, 11:39.

        Commenta


        • #5
          Prova ora, non avendo bene capito come lootava avevo fatto una modifica errata:
          codice:
          [COLOR="Red"]//[/COLOR]
          Ultima modifica di Drael; 24-04-2007, 21:50.
          Slyon su Lost Paradise.
          Downfall, and it all falls down
          I fall from grace I got your taste

          Turn off your mind, unwind
          and see how high the cloudy sky

          Run away Run away
          Leave your lemon drop

          Soak it up Soak it up
          Won't you crush on me
          Boom Boom Satellites - Shut up and Explode | In cerca di un nuovo passatempo.

          Commenta


          • #6
            non va,cioè,apre il corpo,taglia le pelli e le mette nella mia borsa,ma il resto meat (e altro) rimane nel cadavere.
            Per quanto riguarda il fatto di mettere tutto nel beetle,no va proprio,premendo il tasto F1 scende solamente dal beatle ma non sposta nulla,di preciso cosa dovrebbe fare con le tue modifiche?
            Io ho modificato il tasto f1 con f11,perche con quel tasto ho gia un'altra macro?puo essere questo il problema?

            A me tuttora non appaiono messaggi di notifica di nessun genere,tipo il "seleziona il tuo pet" che hai inserito.

            Commenta


            • #7
              si lo so sono andato un po' di fretta e non avevo notato di aver messo quei mex dopo il goto asd. Sistemo ed edito.

              Dimmi che va se no mi impicco. asd
              codice:
              ;==================================
              ; Script Name: Skin, Cut, & Loot
              ; Author: Twice_
              ; Version: 1.10
              ; Client Tested with: 5.0.7.1
              ; EUO version tested with: 1.5-101
              ; Shard OSI / FS: Freeshard Only
              ; Revision Date: 12/24/2006
              ; Public Release: 12/31/2006
              ; Global Variables Used: N/A
              ; Purpose: Meant to cut down on the
              ; hassle of skinning a corpse, then
              ; cutting the leather, then looting
              ; it.
              ;==================================
              ; SET YOUR HOTKEY TO DROP TO BEETLE
              ;==================================
              set %hotkey2 F1
              ;==================================
              ; SET YOUR HOTKEY TO PAUSE SCRIPT
              ;==================================
              set %hotkey SCROLLLOCK
              ;==================================
              ; DO NOT MODIFY ANYTHING BELOW THIS
              ;==================================
              set %daggar 0
              set %scissors 0
              set %blades WSF
              set %sciss JAG_KAG
              set %hides EEG_GED_DEG_
              set %leather JJG_POF
              set %leather2 JJG
              set %meat VRD
              set %corpse 0
              set %paused false
              
              
              Set #lObjectId #CharID
              Event Macro 17
              Display Ok Seleziona il tuo pet!
              Set #TargCurs 1
              While #TargCurs = 1
                Wait 10
              Set %Pet #lTargetID
              Event SysMessage Pet selezionato corretamente!
              Set #lObjectID %Pet
              Event Macro 17
              
              goto Main
              Main:
              {
                   finditem %leather C_ , #backpackid
                   if #findkind <> -1
                   {
                       ignoreitem #findid
                   }
              
                   finditem %meat C_ , #backpackid
                   if #findkind <> -1
                   {
                       ignoreitem #findid
                   }
                   
                   finditem %blades C_ , #backpackid
                   if #findkind <> -1
                   {
                       set %daggar #findid
                   }
                   else
                   {
                       display ok No daggar found, halting.
                       halt
                   }
                   
                   finditem %sciss C_ , #backpackid
                   if #findkind <> -1
                   {
                       set %scissors #findid
                   }
                   else
                   {
                       display ok No scissors found, halting.
                       halt
                   }
                   
                   goto Loop
              }
              
              Loop:
              {
                   onhotkey %hotkey
                   {
                       event sysmessage Paused.
                       wait 10
                       goto Pause
                   }
              
                   onhotkey %hotkey2
                      GoSub DropToPet
              
                   finditem YFM G_1
                   if #findkind <> -1
                   {
                       set %corpse #findid
                       ignoreitem #findid
                       goto OpenCorpse
                   }
                   else
                       goto Loop
                       
                   goto Loop
              }
              
              OpenCorpse:
              {
                   set #lobjectid %corpse
                   event macro 17
                   scanjournal 1
                   wait 13
                   goto CutCorpse
              }
              
              CutCorpse:
              {
                   set #lobjectid %daggar
                   set #ltargetid %corpse
                   event macro 17
                   target
                   event macro 22
                   wait 13
                   goto CutHides
              }
              
              CutHides:
              {
                   finditem %hides C_
                   
                   if #findkind <> -1
                   {
                        set #lobjectid %scissors
                        set #ltargetid #findid
                        event macro 17
                        target
                        event macro 22
                        wait 13
                        goto Loot
                   }
                   else
                        goto Loop
              }
              
              Loot:
              {
                   finditem %leather C_ 
              
                   if #findkind <> -1
                   {
                        exevent drag #findid #findstack
                        wait 5
                        exevent dropc #backpackid
              
                        ignoreitem #findid
                        wait 3
                        
                        goto Loot
                    }
                    else
                    {
                        finditem %meat C_
                        
                        if #findkind <> -1
                        {
                           exevent drag #findid #findstack
                           wait 5
                           exevent dropc #backpackid
                           
                           ignoreitem #findid
                           wait 3
                           
                           goto Loop
                        }
                    }
              
              }
              
              Pause:
              {
                   set %paused #true
                   
                   while %paused = #true
                   {
                      onhotkey %hotkey
                      {
                          event sysmessage Resumed.
                          set %paused #false
                          wait 10
                          goto Loop
                      }
                   }
              }
              
              Sub DropToPet
              Set #lObjectID #CharId
              Event Macro 17
              Wait 10
              FindItem %Leather2 C_ . #BackPackId
              ExEvent Drag #FindID #FindStack
              Wait 10
              ExEvent DropC %Pet
              Set #lObjectID %Pet
              Event Macro 17
              Return
              Ultima modifica di Drael; 26-04-2007, 19:46.
              Slyon su Lost Paradise.
              Downfall, and it all falls down
              I fall from grace I got your taste

              Turn off your mind, unwind
              and see how high the cloudy sky

              Run away Run away
              Leave your lemon drop

              Soak it up Soak it up
              Won't you crush on me
              Boom Boom Satellites - Shut up and Explode | In cerca di un nuovo passatempo.

              Commenta


              • #8
                ehm...è quasi perfetta,funziona tutto alla perfezione,tanto che il looter sembra anche piu veloce di prima,ma la parte in cui mette la roba nel pet non va,il pet viene selezionato all'avvio,se premo F1,il mio pg scende e risale.ma non sposta le pelli,solo i soldi

                mi correggo,funziona in modo anomalo per quanto riguarda il drag&drop nel beetle.
                a volte funziona solo con i soldi,altre volte funziona anche con le pelli,a volte non funziona affatto..
                Ultima modifica di campioncino; 25-04-2007, 00:24.

                Commenta


                • #9
                  Corretto ed editato il post sopra...
                  Slyon su Lost Paradise.
                  Downfall, and it all falls down
                  I fall from grace I got your taste

                  Turn off your mind, unwind
                  and see how high the cloudy sky

                  Run away Run away
                  Leave your lemon drop

                  Soak it up Soak it up
                  Won't you crush on me
                  Boom Boom Satellites - Shut up and Explode | In cerca di un nuovo passatempo.

                  Commenta


                  • #10
                    no,non va,sposta nel pet solo i soldi,per quanto riguarda le pelli,non le sposta,non scende neanche dal pet per provare a spostarle nel beetle.

                    Tra l'altro adesso,la macro funziona su un corpo solo,il secondo cadavere ,e i successivi,non vengono aperti...come se entrasse in uno strano loop dopo aver lootato il primo corpo...il problema non so da cosa dipenda,ho provato a eliminare la sub che sposta tutto nel beetle,ma il problema rimane...prima filava tutto liscio :'(

                    Dopo varie prove posso dire che il comportamento è del tutto aleatorio,su 10 prove,all'avvio,avendo le pelli nella borsa insieme ai soldi 8 volte su 10 sposta i soldi nel beetle,2 volte ci sposta le pelli...ma dopo 1 max 2 corpi lootati si rincretinisce e non apre piu i corpi
                    Ultima modifica di campioncino; 26-04-2007, 19:34.

                    Commenta


                    • #11
                      Riportata come era prima e tolto il drop dei soldi, non capisco in cosa sbaglio. cmq adesso mette solo la pelle nel beetle...
                      Slyon su Lost Paradise.
                      Downfall, and it all falls down
                      I fall from grace I got your taste

                      Turn off your mind, unwind
                      and see how high the cloudy sky

                      Run away Run away
                      Leave your lemon drop

                      Soak it up Soak it up
                      Won't you crush on me
                      Boom Boom Satellites - Shut up and Explode | In cerca di un nuovo passatempo.

                      Commenta


                      • #12
                        boh,no va..non so proprio il perchè,non va piu il looter,e droppa nel beetle 1 volta ogni tanto...ma dove posso trovare una guida per scriptare con easyuo?visto che i link presenti qui sul forum nn funzionano
                        Ultima modifica di campioncino; 26-04-2007, 20:51.

                        Commenta


                        • #13
                          www.easyuo.com , sezione documentation, cmq non capisco perchè si blocca visto che non ho modificato nulla oltre la sub dopo =\
                          Slyon su Lost Paradise.
                          Downfall, and it all falls down
                          I fall from grace I got your taste

                          Turn off your mind, unwind
                          and see how high the cloudy sky

                          Run away Run away
                          Leave your lemon drop

                          Soak it up Soak it up
                          Won't you crush on me
                          Boom Boom Satellites - Shut up and Explode | In cerca di un nuovo passatempo.

                          Commenta


                          • #14
                            Come dovrebbe essere lo script?(fammi una lista di quel che deve fare)
                            Drael un consiglio personale,nn ti impelagare a modificare gli script su euo che son tutti incasinati,molto meglio riscriverli da 0

                            Commenta


                            • #15
                              cosa dovrebbe fare lo script:
                              1)aprire il cadavere
                              2)lootare i soldi
                              3)tagliare il corpo,tagliare le pelli e lootarle
                              4)lootare la carne (non strettament necessario)
                              5)tramite un tasto,spostare le pelli nel beetle (tipo tramite f7)

                              lo script originale,faceva quasi tutto (modificato lootava anche i soldi) tranne spostare tutto nel beetle.

                              Commenta

                              Sto operando...
                              X