PDA

View Full Version : Pickup Gems



StrayRogue
02-18-2005, 08:02 AM
How can I set my script to pick up a gem if a particular creature drops it? In the Wizard, btw.

[Edited on 18-2-05 by StrayRogue]

Nakiro
02-18-2005, 08:09 AM
1. Step up a table of matches for all expected gems to be dropped.
2. Have each gem go to a string that labels a %S as the gem type
3. Loop all of them to a string that looks like:

put take %s
wait
put open my container
wait
put put my %s in my container
wait
put close my container
wait
goto matchtable

StrayRogue
02-18-2005, 08:23 AM
Hmm, my match table for gems is going to be over the maximum limit. If I pick up a gem that isn't on my first match table, how do I set it to go to a second?

Nakiro
02-18-2005, 08:31 AM
You don't.

Or you use SF which doesn't have a match table limit. Or you simply make a script that has multiple match tables, each designed with a specific area for hunting in mind, and then use a command line variable to designate the match table when choosing a hunting area.

StrayRogue
02-18-2005, 08:39 AM
Bah. Thanks though Nakiro. It just means I'm going to have to do some extensive research, unless someone knows all the gems kiramon happen to drop.

StrayRogue
02-18-2005, 09:09 AM
Oh yeah, how do I skin using my left hand?

Nakiro
02-18-2005, 09:11 AM
skin crittur with my left

or

skin crittur with my specified-item

StrayRogue
02-18-2005, 09:14 AM
Thanks

Nakiro
02-18-2005, 09:21 AM
Welcome.

Mistomeer
02-18-2005, 09:26 AM
You can always do the auto pickup thing in GS then just put the gem away.

Nakiro
02-18-2005, 09:32 AM
That'd work if you were to make sure it was something you'd want.

1. set flag lefthand on
2. do a match or waitfor for "you pick up"
3. set a match table for the items you want to match, trigger it with glance
4. repeat if necessary by matching to another match table with "in your left hand."
5. if no match is found use "drop my left".
6. if a match is found use (you can match for boxes this way too):
put my left in my container
7. match to make sure it goes in by matching for "you put" and "won't fit"
8. create another set of instructions to change the container variable (it can be a save, or a command line using shift)

yah something like that.

StrayRogue
02-18-2005, 09:36 AM
Hmmm, why not then just loot critter, stow l, with matches set in case my container is full?

The only other consideration then is that kiramon occasionally drop more than 1 gem at a time.

Nakiro
02-18-2005, 09:56 AM
you can do that but you'll be picking up some garbage too

Gan
02-18-2005, 10:05 AM
Just set your gem match table for only the mid/high end gems that way your gem table will be smaller.

StrayRogue
02-18-2005, 10:06 AM
The problem is I'd have to find out which gems Kiramon drop specifically. That means research. Research I cannot be bothered to do.

Gan
02-18-2005, 10:11 AM
That means regional research, because EN Kiramon drop different styles of gems as compared to Darkstone Kiramon or Teras Kiramon.

I think your best bet is the open handed looting with a stow command. Half of a double gem drop is better than none at all. That especially goes for the lack of time for research method.

Latrinsorm
02-18-2005, 01:34 PM
You can work around the match limit in Wizard. Just have the 32nd match be "Obvious exits" and have it go to label where you put another look and have a second match table. I had to put a pause in, but I am 100% positive it works. I don't really think you need more than 31 matches for just gems, though. Because I'm feeling generous:

match sapphire sapphire
match ruby ruby
match diamond diamond
match lapis lapis
match pearl pearl
match coral coral
match opal opal
match topaz topaz
match tourmaline tourmaline
match garnet garnet
match gem gem
match quartz quartz
match zircon zircon
match spinel spinel
match stone stone

If they drop smooth stones or heavy quartz orbs, it's still doable. If they drop both, you'll need to pick one of the gems or have multiple match tables as described above.

Teras or EN, dunno, but there is a site with how much each gem is generally worth (which I really wish I had bookmarked).

StrayRogue
02-18-2005, 01:36 PM
Excellent idea. Thanks.

Gan
02-18-2005, 02:28 PM
Here's the only gem guide I've seen. Its a little old though.

Gems (http://hometown.aol.com/Jypta/gems.html)

hectomaner
02-18-2005, 02:48 PM
just do the loot/stow left


kiramon dont drop junk, only gems. only problem will be when they double drop, and if you talk to wilvar, i think it was, he setup a script to loot the double drops

Latrinsorm
02-18-2005, 03:08 PM
Originally posted by Ganalon
Here's the only gem guide I've seen. Its a little old though.

Gems (http://hometown.aol.com/Jypta/gems.html) Ayep, that's the one. Thanks. :)

Mistomeer
02-18-2005, 06:58 PM
match torc torc
match necklace necklace
match brooch brooch
match crown crown
match opal opal
match moonstone moonstone
match ruby ruby
match emerald emerald
match diamond diamond
match feystone feystone
match sapphire sapphire
match blazestar blazestar
match glimaerstone glimaerstone
match pearl pearl
match scroll scroll
match paper paper
match palimpset palimpset
match despanal despanal

Artha
02-18-2005, 07:05 PM
Which kiramon?

Electrawn
02-18-2005, 07:06 PM
Use something recent:

http://www.gs4.org/index.php?pagename=Gems&op=modload&name=pnPhpWiki& file=index

-Elec

gcstader
02-18-2005, 07:39 PM
match starstone starstone
match dreamstone dreamstone
match sunstone sunstone
match feystone feystone
match aetherstone aetherstone
match soulstone soulstone
match diamond diamond
match glimaerstone glimaerstone
match moonstone moonstone
match emerald emerald
match sapphire sapphire
match shell a ruby-lined nassa shell
match ruby ruby
match strongbox strongbox
match coffer coffer
match box box
match chest chest
match trunk trunk
match statue statue
match wand wand
match bloodjewel bloodjewel
match shell shell
match ivory ivory
match opal opal
match pearl pearl
match gem gem
match agate agate
match jade jade
match spinel spinel
match quartz quartz
match tourmaline tourmaline
match mithril mithril-bloom
match nugget nugget
match stone stone
match gold gold ring
match zircon zircon
match garnet garnet
match amber amber
match topaz topaz
match scroll scroll
match peridot peridot
match heliodor heliodor
match figurine figurine
match blazestar blazestar
match bloodjewel bloodjewel
match caederine caederine
match ora-bloom ora-bloom
match rhimar-bloom rhimar-bloom
match sardonyx sardonyx
match soulstone soulstone
match hyacinth hyacinth
match jade jade
match mica mica
match mithril-bloom mithril-bloom
match turquoise turquoise
match shard shard
match jacinth jacinth

~Greg

StrayRogue
02-18-2005, 07:40 PM
Shame I use the wizard, as posted, which makes the above useless.

Meges
02-21-2005, 11:52 AM
That match table Greg posted is not useless for the FE. Just do the double or triple look "technique" to sidestep the match limit like mentioned earlier. Divide that table into 2 or 3 labels. At least you won't have to type all those gems out; it's already done for you. You can also add other items, like boxes, scrolls, wands, skins etc., and you can add other containers, but you'd need to change the "PICKUP" label a bit and add a couple of others.

An example, or template if you will, that you'd obviously need to tailor to your own needs. (My apologies on the lack of indentation, but those didn't seem to want to carry over to here).:


MainLoop:

Match LOOK1 You search whatever critter
Match LOOK1 get123

#You can type get123, or whatever you specify at any time to make the script cycle through your pickup actions.

Match LOOK1 ...

#Whatever else you can think of that you might want to trigger the script to start picking items up from the floor.

Matchwait

LOOK1:
Put Look

Match GET gem1
Match GET gem2
Match GET gem3
Match LOOK2 obvious exit

#Use the above match if there's more than 31 gem types in your hunting grounds. "Obvious exit" is not a gem type...

Matchwait

LOOK2:
Put Look

Match GET gem33
Match GET gem34
Match GET gem35
Match LOOK3 obvious exit

#Use the above match if there's more than 63 gem types.

Matchwait

LOOK3:
Put Look

Match GET gem65
Match ...

#Same type of deal as the other "LOOK%" labels.

Match DONE obvious exit

Matchwait

GEM1:
SAVE gem1
Goto PICKUP
GEM2:
SAVE gem2
Goto PICKUP
GEM3:
SAVE gem3
Goto PICKUP
GEM4:
SAVE gem4
Goto PICKUP

#Etc., ad nauseum

PICKUP:

Put Shea
Waitfor .
Put Get %s
Waitfor .

Put Stow r
Waitfor .

Put power
Waitfor Mana

#The "power" put above is in case your script starts matching the gem you're putting up, which happens and causes the script to malfunction and "run away" on you.

goto Look1

DONE:

Put unshe
Waitfor .

#Once you unsheathe your weapon, you're obviously ready to move on.

Goto MainLoop

---
At any rate, maybe this will help you out. I'm not claiming that this is a perfect script by any means, but it'll give you a general idea of what some of the people here have been saying. Also, you might consider turning off your room description (set desc off), because a script like this will scroll your screen a bit from multiple LOOKs, but at least you won’t have to type...

Meges

StrayRogue
02-21-2005, 01:25 PM
Heh, thats great. Thankyou.

Meges
02-21-2005, 11:07 PM
I just noticed an error in that example I posted, which would cause it not to work. Each one of those "GET" matches should actually be a label for each specific gem. Like below.

LOOK1:
Put Look

Match SAP sapphire
Match DIA diamond
Match STO stone
Match LOOK2 obvious exit
#Etc.
Matchwait

#Then you'd have labels that would save the name of the stone for pickup. This part of the script could be pretty large depending on how many items you want to specify to be picked up.

SAP:
SAVE sapphire
Goto PICKUP

DIA:
SAVE diamond
Goto PICKUP

STO:
SAVE stone
Goto PICKUP

#Etc.
---
I was in a rush when I posted. Sorry about that.

Meges