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

(Injection) Picking up cotton and flax.
#1

To turn script off type ",exec cfpicker" one more time. I myself have it on hotkey and toogle it on\off.
Code:
sub cfpicker()
    DIM cf[10]
    cf[0] = '0x0C51'
    cf[1] = '0x0C52'    
    cf[2] = '0x0C53'    
    cf[3] = '0x0C54'    
    cf[4] = '0x1A99'    
    cf[5] = '0x1A9B'    
    cf[6] = '0x1A9A'    
    cf[7] = '0x0DF9'    
    cf[8] = '0x1A9D'    
    cf[9] = '0x1A9C'    
    VAR i
    var pickuper='cfpicker' ; lowercase
    if UO.GetGlobal(pickuper)=='On' then
        UO.SetGlobal(pickuper,0)
        UO.Print('-='+pickuper+' Terminated=-')
        UO.Exec('terminate '+pickuper)
    else
        UO.SetGlobal(pickuper,'On')
        UO.Print('-='+pickuper+' Running=-')
        endif
    UO.Set('finddistance','12')
    while 1==1
        For i = 0 To 6
            If UO.CountGround(cf[i])>0 AND UO.GetDistance(cf[i])<2 then
                UO.UseFromGround(cf[i])
            EndIf
        Next
        wait(100)
        For i = 7 To 9
            UO.FindType(cf[i],-1,'ground')
            If UO.FindCount()>0 AND UO.GetDistance(cf[i])<3 then
                UO.MoveItem('finditem')
            EndIf
        Next
    wend
endsub
#2

Oh this this pretty awesome, I changed it to also pick up arrows ... I'm lazy like that.
#3

if u edit the array don't forget to edit the number of vars ;p meaning..
DIM cf[10] where 10 is total number of vars used.

For i = number that is used in certain following function.

Though, you might know all that. Or you might not, but you don't need the array since you pick up arrows, so well...
#4

I'm learning injection now, I'm a pretty quick learner and added it right away. But its nice organised scripts that make it easy to learn. Thanks a lot!
#5

i got error on script, this one:
Error
Unhandled exception in parser.
#6

If your injection is version 505.18 from this site then it's probably your "Main" tab settings that aren't set up properly.
#7

yea is 505.18, is there another better version??
#8

ey i try 505.18 gump fix, 505.18 gump fix v2, 709.04, 710.16, 712.18, 805.31 <--- injection.dll and 710,712,805 dont work on server and the others working but same problem, i have injection setting like that :
http://in-uo.net/forums/showthread.php?3...-Injection
#9

bump


Forum Jump:


Users browsing this thread: 1 Guest(s)