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

uo.IgnoreReset() problem
http://forum.yoko.com.ua/viewtopic.php?f=3&t=4210
Page 1 of 1

Author:  drowned [ 2005-06-12 11:16:36 ]
Post subject:  uo.IgnoreReset() problem

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.

Author:  drowned [ 2005-06-12 22:57:13 ]
Post subject: 

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!

Author:  flake [ 2005-06-12 23:36:22 ]
Post subject:  Re: uo.IgnoreReset() problem

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.

Author:  drowned [ 2005-06-13 10:59:33 ]
Post subject: 

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.

Author:  Edred [ 2005-06-13 23:09:02 ]
Post subject: 

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.

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