annuncio

Comprimi
Ancora nessun annuncio.

my script crashes client. why?

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

  • my script crashes client. why?

    codice:
    set %corpse YFM
    set %bag CKF
    set %lastcont #contid
    :loop
    finditem %corpse G_2
    set %foundcorpse #findid
    set #LOBJECTID %foundcorpse
    event macro 17
    wait 15
    finditem OZF  C_ , %foundcorpse
    if #FINDCNT > 0
       {
       Exevent Drag #findid #findstack
       Exevent Dropc #backpackid
       }
    ignoreItem %foundcorpse
    if #weight > #maxweight
       {
       finditem %bag C_ , #backpackid
       if #FINDCNT > 0
          {
           set %foundbag #findid
           finditem OZF C_ , #backpackid
           if #FINDCNT > 0
              {
               set #LOBJECTID %foundbag
               event macro 17
               wait 10
               set #LTARGETID #findid
               event macro 22 0
              }
           }
       }
    goto loop

  • #2
    loop: instead of :loop?

    and I suggest you to change

    set #LOBJECTID %foundbag
    event macro 17
    wait 10
    set #LTARGETID #findid
    event macro 22 0

    into

    set #LOBJECTID %foundbag
    event macro 17
    target
    set #LTARGETID #findid
    event macro 22 0

    so if you lag it will wait for the target
    Ultima modifica di pstexano; 16-01-2008, 17:15.

    Commenta

    Sto operando...
    X