Yoko
http://forum.yoko.com.ua/

my anti-lag solution
http://forum.yoko.com.ua/viewtopic.php?f=20&t=1897
Page 1 of 1

Author:  selila [ 2004-11-09 09:13:23 ]
Post subject:  my anti-lag solution

i define many resource type in uo.
like log ore blankscroll


and here have a sample way to anti-lag .i think it is a good solution

Sript Begin
---------------------------------------
Code:
var log=uo.count("log")

sub bowmake()
       start:
       uo.waitmenu("make","Bow")
       uo.waittargettype("log")
       uo.usetype("dagger")
       waitraw("log",log)
       goto start

end sub

sub waitraw(raw,rawnum)
       var sum=0
       while Uo.Count(raw)==rawnum and sum< 60
              wait(2000)
              sum=sum+1
       wend
       log=uo.count("log")
end sub


-------------------------------------------
Script end

var log is a globe variable in the script

Author:  Yoko [ 2004-11-09 13:01:27 ]
Post subject: 

yes, i using such solution too sometimes, but the back side of it is each resource that changing need to be defined it's way, so it is cumbersome for some scripts with many types of resources in use.

Author:  selila [ 2004-11-09 17:18:32 ]
Post subject: 

yes i define many resource in my script.
:)

Author:  Yoko [ 2004-11-10 10:58:39 ]
Post subject: 

keep notice, that for some scripts it is enough to check does weight changed

Page 1 of 1 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/