ScriptUO

Official ScriptUO EasyUO Scripts => Scripting Chat => Topic started by: Pyargy on February 08, 2010, 08:02:53 PM

Title: Item ID or Item Type
Post by: Pyargy on February 08, 2010, 08:02:53 PM
Trying to add in some new items to a very outdated looting script.  Could someone please let me know if I should be adding in the Item ID or the Item Type?


Thank you
Title: Re: Item ID or Item Type
Post by: Scrripty on February 08, 2010, 08:32:22 PM
Item ID is for specifying a SPECIFIC item in a script, item type is for looting all items of that TYPE. :)  You always want to add item "types" to looting scripts, but I'd suggest trying the CLAw looter hosted here.  It's one of the best.
Title: Re: Item ID or Item Type
Post by: Pyargy on February 09, 2010, 07:36:37 AM
I saw the Claw Script and it looked a bit over my head.  I could not tell if it had been updated to loot the SA ingredients and if not was not sure how I would add them in with the UI.  After reading the posts about it being mind bending code I thought it would be best if I stuck to what I sort of know.

So back to the subject of Item ID and Item Type,  If I am trying to steal a specific item, lets say its the Gargish Luck Totem Item ID- XYSCCRD Item Type- GFZ. I would use the Item ID correct?
Title: Re: Item ID or Item Type
Post by: Cerveza on February 09, 2010, 07:46:11 AM
Lets say you have a bag of Gargish Luck Totems.

If you want to steal any one of them, use GFZ

If you want to steal THE ONE in the upper right corner of the bag, use XYSCCRD

All the Gargish Luck Totems will have an Item Type of GFZ. Only that ONE Gargish Luck Totem in the upper right corner of the bag will have the Item ID of XYSCCRD.
Title: Re: Item ID or Item Type
Post by: Toptwo on February 09, 2010, 07:46:55 AM
I believe you are incorrect. Since every item in game has a individual ID you are going to want to steal the Item Type...GFZ

Opps, Cerv and I must have hit post at the same time...Cerv is correct. (and so am I) !
Title: Re: Item ID or Item Type
Post by: TrailMyx on February 09, 2010, 07:50:31 AM
Very easy with the CLAw.  Just enter "GFZ" in the FINDTYPE: in the UI.  No code editing necessary, the UI handles user-defined FINDTYPE.
Title: Re: Item ID or Item Type
Post by: Scrripty on February 09, 2010, 08:09:33 AM
But hey, dont take my advice and use the claw.  It sucks.  Seriously.
Title: Re: Item ID or Item Type
Post by: Pyargy on February 09, 2010, 09:01:53 AM
Thanks Cervaza and Toptwo, now the light is getting a little brighter  :)

Very easy with the CLAw.  Just enter "GFZ" in the FINDTYPE: in the UI.  No code editing necessary, the UI handles user-defined FINDTYPE.

I will give it a try TrailMyx as I really am tired of trying to bring life back to a very old looter.

But hey, dont take my advice and use the claw.  It sucks.  Seriously.

Nothing personal Twinkle McNugget, the CLAw just looked a tad bit over my head, but now that I have a better understanding of what to type into the UI, I will be giving it a go.
Title: Re: Item ID or Item Type
Post by: TrailMyx on February 09, 2010, 12:10:06 PM
There is a bit of a learning curve with the CLAw, but you'll find it's pretty logical and the UI is very easy to use.  Once you play with it a bit you'll understand what I'm talking about.  After that, the CLAw will become your best friend!  :)
Title: Re: Item ID or Item Type
Post by: Khameleon on February 09, 2010, 01:39:23 PM
just use C2's er... dammit  nm....
Title: Re: Item ID or Item Type
Post by: Pyargy on February 09, 2010, 04:11:59 PM
just use C2's er... dammit  nm....

I think I might be already   ???...... :-X