Author Topic: Item ID or Item Type  (Read 4749 times)

0 Members and 1 Guest are viewing this topic.

Offline PyargyTopic starter

  • Jr. Member
  • **
  • Posts: 31
  • Activity:
    0%
  • Reputation Power: 0
  • Pyargy has no influence.
  • Respect: +6
  • Referrals: 0
    • View Profile
Item ID or Item Type
« on: February 08, 2010, 08:02:53 PM »
0
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

Scrripty

  • Guest
Re: Item ID or Item Type
« Reply #1 on: February 08, 2010, 08:32:22 PM »
0
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.

Offline PyargyTopic starter

  • Jr. Member
  • **
  • Posts: 31
  • Activity:
    0%
  • Reputation Power: 0
  • Pyargy has no influence.
  • Respect: +6
  • Referrals: 0
    • View Profile
Re: Item ID or Item Type
« Reply #2 on: February 09, 2010, 07:36:37 AM »
0
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?

Offline Cerveza

  • Hacksimus Maximus
  • Scripthack
  • *
  • Posts: 5857
  • Activity:
    0%
  • Reputation Power: 80
  • Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!
  • Gender: Male
  • So... Hows that Hopey-Changey thing working out?
  • Respect: +403
  • Referrals: 11
    • View Profile
Re: Item ID or Item Type
« Reply #3 on: February 09, 2010, 07:46:11 AM »
0
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.
XXXXXXXXXX________________________________________] 20%
I've forgotten more about this game then most people will ever know.
Thank you for controlling your children. Their manners reflect your love for them.
Give a man a fish and you feed him for a day. Don't teach a man to fish, and you feed yourself. He's a grown man. Fishing's not that hard.

Offline Toptwo

  • SunTigress's Hero!
  • Global Moderator
  • *
  • *
  • Posts: 2087
  • Activity:
    0%
  • Reputation Power: 21
  • Toptwo might someday be someone...Toptwo might someday be someone...Toptwo might someday be someone...Toptwo might someday be someone...
  • Gender: Male
  • Respect: +131
  • Referrals: 1
    • View Profile
Re: Item ID or Item Type
« Reply #4 on: February 09, 2010, 07:46:55 AM »
0
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) !
The final weapon is the brain. All else is supplemental.....  If you find yourself in a fair fight, your tactics suck.

Offline TrailMyx

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13303
  • Activity:
    0.4%
  • Reputation Power: 154
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Viper!
  • Respect: +1349
  • Referrals: 33
    • View Profile
    • ScriptUO
Re: Item ID or Item Type
« Reply #5 on: February 09, 2010, 07:50:31 AM »
0
Very easy with the CLAw.  Just enter "GFZ" in the FINDTYPE: in the UI.  No code editing necessary, the UI handles user-defined FINDTYPE.
Please read the ScriptUO site RULES
Come play RIFT with me!

Scrripty

  • Guest
Re: Item ID or Item Type
« Reply #6 on: February 09, 2010, 08:09:33 AM »
0
But hey, dont take my advice and use the claw.  It sucks.  Seriously.

Offline PyargyTopic starter

  • Jr. Member
  • **
  • Posts: 31
  • Activity:
    0%
  • Reputation Power: 0
  • Pyargy has no influence.
  • Respect: +6
  • Referrals: 0
    • View Profile
Re: Item ID or Item Type
« Reply #7 on: February 09, 2010, 09:01:53 AM »
0
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.

Offline TrailMyx

  • Officially retired from UO
  • Administrator
  • *
  • *
  • Posts: 13303
  • Activity:
    0.4%
  • Reputation Power: 154
  • TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!TrailMyx is awe-inspiring!
  • Gender: Male
  • Viper!
  • Respect: +1349
  • Referrals: 33
    • View Profile
    • ScriptUO
Re: Item ID or Item Type
« Reply #8 on: February 09, 2010, 12:10:06 PM »
0
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!  :)
Please read the ScriptUO site RULES
Come play RIFT with me!

Offline Khameleon

  • Script Tester - Team Leader
  • Elite
  • *
  • *
  • Posts: 2574
  • Activity:
    0%
  • Reputation Power: 30
  • Khameleon is a rising star!Khameleon is a rising star!Khameleon is a rising star!Khameleon is a rising star!Khameleon is a rising star!Khameleon is a rising star!
  • Gender: Male
  • Respect: +238
  • Referrals: 0
    • View Profile
Re: Item ID or Item Type
« Reply #9 on: February 09, 2010, 01:39:23 PM »
0
just use C2's er... dammit  nm....

Offline PyargyTopic starter

  • Jr. Member
  • **
  • Posts: 31
  • Activity:
    0%
  • Reputation Power: 0
  • Pyargy has no influence.
  • Respect: +6
  • Referrals: 0
    • View Profile
Re: Item ID or Item Type
« Reply #10 on: February 09, 2010, 04:11:59 PM »
0
just use C2's er... dammit  nm....

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

Tags: