Yoko

All sides of Injection
It is currently 2026-03-10 16:14:56

All times are UTC+02:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Unplayable...HELP!!!
PostPosted: 2004-04-21 18:48:39 
Offline

Joined: 2004-04-21 18:14:43
Posts: 2
When I start a Script the game start to became unplayable cause runs very slow! but ONLY when starts...
I have XP2500+, 512MB PC3200, GeF 5900XT and 240GB RAID HD...enough i think!!!


Top
   
 Post subject: Wait :)
PostPosted: 2004-04-21 19:19:31 
Offline
User avatar

Joined: 2004-04-17 23:02:41
Posts: 48
Location: Odessa, Ukraine
Try using subject:
Wait(1000) [1000 = 1000ms = 1sec.]

Искренне Ваш, Тотус Маньяковски.

_________________
...thinking - 37% complete...


Top
   
 Post subject:
PostPosted: 2004-04-23 21:56:04 
Offline
Site Admin
User avatar

Joined: 2004-04-03 16:49:38
Posts: 1964
if there is empty cycles like

label:
goto label

and all other variants of such situations, this cause all CPU resources consumption.

in each cycle at least 50 ms delay needed, for example
wait(50)


Top
   
 Post subject:
PostPosted: 2004-04-27 20:46:46 
Offline

Joined: 2004-04-21 18:14:43
Posts: 2
I already insert "wait()"...

This is the code...

sub sparro()
var nbende = UO.Count("bandage")
UO.Print("SPARRO macro is Active!!!")
repeat

if nbende > 0 then

if (UO.Life <=25) then
UO.Press(35)
UO.Press(35)
UO.Press(35)
UO.Press(35)
UO.say("...");
UO.Print("...")
end if

if (UO.Life < UO.STR - 55) then
UO.bandageself()
wait(10000)
nbende = UO.Count("bandage")
end if
else
UO.Press(35)
UO.Press(35)
UO.Press(35)
UO.Press(35)
UO.say("...");
UO.Print("...")
end if

until nbende == 0

end sub


Top
   
 Post subject:
PostPosted: 2004-04-28 23:15:19 
Offline
Site Admin
User avatar

Joined: 2004-04-03 16:49:38
Posts: 1964
inlazza wrote:

sub sparro()
repeat
if nbende > 0 then
...
end if

until nbende == 0

end sub


as you see no wait here if nbende <= 0
i told you so before.


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

All times are UTC+02:00


Who is online

Users browsing this forum: Bing [Bot] and 3 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:  
Powered by phpBB® Forum Software © phpBB Limited