ScriptUO

Official ScriptUO EasyUO Scripts => Scripting Chat => Topic started by: kenshin87 on February 21, 2010, 10:53:24 AM

Title: auto insure?
Post by: kenshin87 on February 21, 2010, 10:53:24 AM
is there a command or another script that i can pick apart that will allow me to scan my backpack for an item and auto insure it? i feel like i came across omething like it but never could find it afterwards. any help would be appreciated thank you!
Title: Re: auto insure?
Post by: kenshin87 on February 21, 2010, 11:14:36 AM
ok so i was looking further into what someone else has posted and i figured out to do a backpack scan and not a journal scan


set %itemdrop UES_XDI
repeat

  finditem %ItemDrop C_ , #backpackid
  if #findcnt > 0
  }
  ****************
  IGNOREITEM #FINDID
  }

until #CharGhost = YES
While #Charghost = YES
  Wait 1

so that is what i have so far the ***** are for where i need help with auto insuring the item. i dont know the exact ID of the item yet either if anyone knows the id of the night eyes or the tangle that would be a great help. also if someone can help with the insuring part. is there a macro to insure an item?

i got this information from
http://www.scriptuo.com/index.php?topic=4398.0;highlight=backpack+scan
**Update

UES   XDI those are the ids of the two items
Title: Re: auto insure?
Post by: Cerveza on February 21, 2010, 12:17:38 PM
Pretty sure we have a script to auto insure pack drops around here... try a search?

There's one over at EasyUO (http://www.easyuo.com/forum/viewtopic.php?p=136399#136399) you could probably mod for yourself.
Title: Re: auto insure?
Post by: kenshin87 on February 21, 2010, 12:30:36 PM
i stand corrected. thank you very much for the link. helps out a lot. must have missed it when iw as looking at scripts over there. thank you again
Title: Re: auto insure?
Post by: Scrripty on February 21, 2010, 01:32:48 PM
Pretty sure we have a script to auto insure pack drops around here... try a search?

There's one over at EasyUO (http://www.easyuo.com/forum/viewtopic.php?p=136399#136399) you could probably mod for yourself.

If you are doing this by hand, make SURE to put an event property in there and check the item you are about to insure to be ABSOLUTELY positive it's not ALREADY insured... You don't want the script uninsuring items you already have insured....
Title: Re: auto insure?
Post by: NObama on February 21, 2010, 04:58:54 PM
Unless you're in Fel and standing next to me, that is.

 ;)
Title: Re: auto insure?
Post by: kenshin87 on February 21, 2010, 06:04:30 PM
haha yeah i will make sure i specifically do it next to you obama. throw my tangle in my back and run the script without the check. lol
Title: Re: auto insure?
Post by: Petkiller on February 21, 2010, 08:18:12 PM
I think a crimmy is same object id as tangle.  I know my navery script got mixed up once and signaled me I had a drop and my crimmy was in my pack instead of on my paperdoll.   I have yet to see that new necklace if someone gets the ID off it please post it.
Title: Re: auto insure?
Post by: kenshin87 on February 23, 2010, 08:00:58 AM
so a friend pointed out that it wasnt completely working for him. so i went about and tried to see what was going wrong. i figured out that if you are on mount you will need to adjust some things. on line 37 38 you will need to adjust that just a little bit. also in line 53 instead of it being goto waitforcursor have it set for goto loop
Title: Re: auto insure?
Post by: kenshin87 on February 26, 2010, 09:40:26 AM
another thing to note if you are running this script with another scirpt that is targeting another player and or monster becareful of it. this will either lose the target of the monster and if your script doesnt have it retarget your script will be pretty much dead use until its fixed or you wont insure your item. and keep in mind this can be used for any script such as the heartwood quester or others. just set the id of the item at the top