Yoko

All sides of Injection
It is currently 2025-12-21 16:42:28

All times are UTC+02:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
 Post subject: uo.IgnoreReset() problem
PostPosted: 2005-06-12 11:16:36 
Offline

Joined: 2005-03-06 02:57:06
Posts: 17
I made a script like this...

uo.findtype('type')
while not uo.findcount()==0
uo.grab('0','finditem')
uo.ignore('finditem')
uo.findtype('type')
endif
uo.ignorereset()
endsub

But when the sub ends the item is not removed from de ignore list, it still being ignored by the client.

Need help plz.


Top
   
 Post subject:
PostPosted: 2005-06-12 22:57:13 
Offline

Joined: 2005-03-06 02:57:06
Posts: 17
When it finishes and grab all itens i try to use grab on them or use massmove and they dont get moved and when i try to do it manually the client crashes!


Top
   
PostPosted: 2005-06-12 23:36:22 
Offline
Expert!
User avatar

Joined: 2004-08-11 23:56:17
Posts: 746
Location: The Citadel
drowned wrote:
I made a script like this...

uo.findtype('type')
while not uo.findcount()==0
uo.grab('0','finditem')
uo.ignore('finditem')
uo.findtype('type')
endif
uo.ignorereset()
endsub

But when the sub ends the item is not removed from de ignore list, it still being ignored by the client.

Need help plz.


Whel, first of all - you didn't end your while not uo.findcount()==0 cycle. You should do it with Wend, but instead you wrote endif.
Here is the correct form:

Code:
uo.findtype('type')
while not uo.findcount()==0
uo.grab('0','finditem')
uo.ignore('finditem')
uo.findtype('type')
Wend
uo.ignorereset()
endsub



Also, you should probably use some Wait() after you grab an item.
Whell, it depends on your shard.


Top
   
 Post subject:
PostPosted: 2005-06-13 10:59:33 
Offline

Joined: 2005-03-06 02:57:06
Posts: 17
My mistake sorry... but my script have Wend and wait(300) and when the while finishes uo.ignorereset() and send message ('Stop Looting') but the uo.ignorereset() doesnt work.


Top
   
 Post subject:
PostPosted: 2005-06-13 23:09:02 
Offline
Expert!

Joined: 2004-04-03 17:36:29
Posts: 2544
Location: Saint-Petersburg
What is "UO.IgnoreReset not work"? UO.Ignore and UO.IgnoreReset work for UO.Findtype ONLY. These commands not affect with UO client. Check your parameters. Maybe you use small pause? Write ',resend' in client.


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: No registered users and 1 guest


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