Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

[Injection] Collecting cotton and flax
#1

Didn't see such script for injection, so decided to post mine:

Code:
sub cotton()
   DIM cf[10]
   cf[0] = '0x0C51'      # FarmableCotton1
   cf[1] = '0x0C52'      # FarmableCotton2
   cf[2] = '0x0C53'      # FarmableCotton3
   cf[3] = '0x0C54'      # FarmableCotton4
   cf[4] = '0x1A99'      # FarmableFlax1
   cf[5] = '0X1A9B'      # FarmableFlax2
   cf[6] = '0X1A9A'      # FarmableFlax3
   cf[7] = '0x0DF9'      # Cotton1
   cf[8] = '0x1A9D'      # Flax1
   cf[9] = '0x1A9C'      # Flax2
   VAR i
while true
   For i = 0 To 6
     If Uo.Countground(cf[i]) >= 1 then
        UO.Usefromground(cf[i])
     Endif
   Next
wait(30)
   For i = 7 To 9
     UO.FindType(cf[i], -1,'ground')
      If UO.FindCount() then
        UO.MoveItem('finditem')
      Endif
   Next
wend
endsub

So well, just run it and walk around cotton or flax.


Forum Jump:


Users browsing this thread: 1 Guest(s)