Yoko

All sides of Injection
It is currently 2025-10-16 23:20:32

All times are UTC+02:00




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
 Post subject: my anti-lag solution
PostPosted: 2004-11-09 09:13:23 
Offline

Joined: 2004-10-16 16:32:27
Posts: 10
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


Top
   
 Post subject:
PostPosted: 2004-11-09 13:01:27 
Offline
Site Admin
User avatar

Joined: 2004-04-03 16:49:38
Posts: 1964
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.


Top
   
 Post subject:
PostPosted: 2004-11-09 17:18:32 
Offline

Joined: 2004-10-16 16:32:27
Posts: 10
yes i define many resource in my script.
:)


Top
   
 Post subject:
PostPosted: 2004-11-10 10:58:39 
Offline
Site Admin
User avatar

Joined: 2004-04-03 16:49:38
Posts: 1964
keep notice, that for some scripts it is enough to check does weight changed


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 4 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited