Author Topic: Script that scans a container and export properties of items into a text file  (Read 2831 times)

0 Members and 1 Guest are viewing this topic.

Offline ahjianTopic starter

  • Newbie
  • *
  • Posts: 6
  • Activity:
    0%
  • Reputation Power: 1
  • ahjian has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
Hello,

I have large number of full containers with jewels and armors pieces.

I am looking for a script that could scan these containers and export the name and properties of each item inside the containers into a txt file which I can import into excel.

Is there such a script?

Offline Endless Night

  • Global Moderator
  • *
  • *
  • Posts: 5467
  • Activity:
    0%
  • Reputation Power: 62
  • Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!
  • Respect: +393
  • Referrals: 1
    • View Profile
have you checked in the script library
Outlaw Josey Wales - "Manwink, A Long Gone Scripty, and Endless are always teasing us with their private sections lol. What there realy saying is scripters rule and users drool."
Briza - "Your a living breathing vortex of usefulness."

Offline Gemviper

  • Sr. Member
  • *
  • Posts: 481
  • Activity:
    0%
  • Reputation Power: 0
  • Gemviper hides in shadows.
  • Respect: +57
  • Referrals: 2
    • View Profile
There is a particular group of idoc hunters on Atlantic, whom are also gold and rare sellers for real cash, that are using something like this to inventory entire houses while they search for idocs. They don't see into the chests but they do spot every valuable item in all public houses and record it to file.

When a house goes idoc they pull up the file and know if an item is in the house they might want, and get a good idea of the caliber of loot likely to be inside. I learned about this from an ex-player who temporarily returned for the expansion. According to him they were searching all vendors and recording contents to file anyway so this wasn't a big jump for them.

I'd be weary of writing any "record everything to excel" type scripts, the game requires people who want to play for it to survive and the more successful these people are the fewer others want to play. I know this is off topic a little but "all items to excel" is a bad idea, unless used like it is in most scripts where it just scans a few chests actually in use.

Sorry if I misunderstood the goal for your script.

Offline ahjianTopic starter

  • Newbie
  • *
  • Posts: 6
  • Activity:
    0%
  • Reputation Power: 1
  • ahjian has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
I have searched the script library, I could not find the right script.

I have a huge stash of legendary jewels and armor pieces that I would like to catalog and eventually put them up for sale on UO trader hall.

I can do it manually but its too much work so I am looking at script to do this.

Offline Crome969

  • Elite
  • *
  • *
  • Posts: 2098
  • Activity:
    0%
  • Reputation Power: 25
  • Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.
  • Gender: Male
  • UO Enthusiast
  • Respect: +211
  • Referrals: 10
    • View Profile
    • ScriptSDK
Theoreticly its very easy (even in easyuo) :

- Ignore Reset
- Try to Find Items in Container and redo until no result
- if Result get property and store to variable
- Replace "$" with ";" in variable property for csv format
- do cmd action store the property
- Ignore Last Find


without knowing the syntax anymore or anything i would say you need as following :

- http://wiki.easyuo.com/index.php?title=IgnoreItem
- http://wiki.easyuo.com/index.php?title=Repeat..until
- http://wiki.easyuo.com/index.php?title=FindItem
- http://wiki.easyuo.com/index.php?title=Event_Property
- http://wiki.easyuo.com/index.php?title=Str_%28command%29
- http://wiki.easyuo.com/index.php?title=Execute



PS :
On stealth  this would be 5-7 Lines of code....

Offline Endless Night

  • Global Moderator
  • *
  • *
  • Posts: 5467
  • Activity:
    0%
  • Reputation Power: 62
  • Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!
  • Respect: +393
  • Referrals: 1
    • View Profile
Just because of the way you create files in EUO   this would defiantly better done in either stealth or OpenEUO.

As Crome uo lined .. not hard ..  search for contains in reachable distance,  open them all,  search for containers in containers,  open them all.. repeat until nothing left to open.   Search for everything in Containors "c_"  itterate through results get property of each output ONE line at a time to file.

Very slow..  use openeuo or stealth.. if you have alot of containers...

If you are just trying to find an item use TMs item finder script.. that searches containers for matching items...
Outlaw Josey Wales - "Manwink, A Long Gone Scripty, and Endless are always teasing us with their private sections lol. What there realy saying is scripters rule and users drool."
Briza - "Your a living breathing vortex of usefulness."

Tags: