EXPLAINED: Take all.item all.container

... post your favorite game bugs here for the coders' attention. Please, please, please, show the steps necessary to repeat the bug. Otherwise they can't be solved and they will be ignored...

Moderator: Aureus

Daisy

EXPLAINED: Take all.item all.container

Post by Daisy » Thu Jan 21, 2021 8:32 am

I've noticed this with my take all.coin all.corpse alias, but this is the first time I have noticed it with anything else.

take all.scalp all.sack
You can't find any scalps in a brown sack.
You get the death scalp of the giant tarantula slain in Amadicia from a brown sack.

* HP:Healthy SP:Bursting MV:Strong >
take all.scalp all.sack
You can't find any scalps in a brown sack.
You get the death scalp of an ailing ogier slain in the Mountains of Mist from a brown sack.

* HP:Healthy SP:Bursting MV:Strong >
take all.scalp all.sack
You can't find any scalps in a brown sack.
You get the death scalp of an ailing ogier slain in the Mountains of Mist from a brown sack.

* HP:Healthy SP:Bursting MV:Strong >
take all.scalp all.sack
You can't find any scalps in a brown sack.
You get the death scalp of an ailing ogier slain in the Mountains of Mist from a brown sack.

* HP:Healthy SP:Bursting MV:Strong >
take all.scalp all.sack
You can't find any scalps in a brown sack.
You get the death scalp of an ailing ogier slain in the Mountains of Mist from a brown sack.

* HP:Healthy SP:Bursting MV:Strong >
take all.scalp all.sack
You can't find any scalps in a brown sack.
You get the death scalp of an ailing ogier slain in the Mountains of Mist from a brown sack.

* HP:Healthy SP:Bursting MV:Strong >
take all.scalp all.sack
You can't find any scalps in a brown sack.
You get the death scalp of an ailing ogier slain in the Mountains of Mist from a brown sack.

* HP:Healthy SP:Bursting MV:Strong >
take all.scalp all.sack
You can't find any scalps in a brown sack.
You get the death scalp of the giant tarantula slain in Amadicia from a brown sack.

* HP:Healthy SP:Bursting MV:Strong >
take all.scalp all.sack
take all.scalp all.sack
You can't find any scalps in a brown sack.
You get the death scalp of the giant tarantula slain in Amadicia from a brown sack.

take all.scalp all.sack
take all.scalp all.sack
* HP:Healthy SP:Bursting MV:Strong > You can't find any scalps in a brown sack.
You get the death scalp of the giant tarantula slain in Amadicia from a brown sack.

Mhaliah
Posts: 873
Joined: Wed Feb 25, 2015 11:48 am

Re: Take all.item all.container

Post by Mhaliah » Sat Jan 30, 2021 2:24 pm

Had an issue with this today.


get all.crown all
You get a wealth of gold crowns from a backpack.
There doesn't seem to be a crown in a soft leather pouch.

inv
You are carrying:
a wealth of gold crowns (574)
a backpack
a soft leather pouch
a bronze headed war axe

l in pack
backpack (used) :
a handful of goatstongue
a wealth of copper pennies (123)

l in pouch
pouch (used) :
a stable ticket
a wealth of gold crowns (136)
eighteen copper pennys
a water skin
[2] a lantern
a jade signet ring
a thin, black chain
[2] a silver Kandori wristcuff
[2] a cup of thready brown tea
a cup of thick syrup

get crown pouch
You get a wealth of gold crowns from a soft leather pouch.

inv
You are carrying:
a wealth of gold crowns (710)
a backpack
a soft leather pouch
a bronze headed war axe


time
It is 12 o'clock am, on the 27th day of the month of Shaldine, year 1381.
According to legend and prophecy, this is the Zunth Turn of the Wheel.
Forums: https://forums.wotmud.info Wiki: wotmud.wikia.com

(Server: Sat Jan 30 14:27:00 2021 EST, last rebooted 14 hours, 16 minutes ago)

Sanguine
Posts: 351
Joined: Thu Oct 08, 2015 9:48 pm

Re: Take all.item all.container

Post by Sanguine » Sun Jan 31, 2021 12:08 pm

Was pack or pouch worn/held or in inv? I think if I wear a pack and have a pack in inv., g all.coins all.pack (or perhaps g all.coins all) just looks at packs in inv.

Mhaliah
Posts: 873
Joined: Wed Feb 25, 2015 11:48 am

Re: Take all.item all.container

Post by Mhaliah » Mon Feb 01, 2021 11:18 am

Pouch was worn, Pack in inventory.

Sanguine
Posts: 351
Joined: Thu Oct 08, 2015 9:48 pm

Re: Take all.item all.container

Post by Sanguine » Mon Feb 01, 2021 1:57 pm

I don't remember seeing a message like "There doesn't seem to be a crown in a soft leather pouch." but it behaved the way I'd expect it to, not saying that's the right way for it to behave. Though I usually have a modifier after the last "all" like if I'm wearing a purse and get a bunch of purses from bandits or brigands or something, I'd "g all.coins all.purse" to only empty those in my inventory.

Itesh
Posts: 828
Joined: Sat Feb 14, 2015 4:59 am

Re: Take all.item all.container

Post by Itesh » Tue Feb 02, 2021 10:33 am

If all containers are in inventory, this works:

Code: Select all

inv
You are carrying:
[2] a brown sack

l in 1.sack
sack (carried) : 
a soapstone hedgehog

l in 2.sack
sack (carried) : 
a soapstone hedgehog

get all.hedgehog all.sack
You get a soapstone hedgehog from a brown sack.
You get a soapstone hedgehog from a brown sack.
If a container contains another container, this will *not* work:

Code: Select all

put hedgehog 1.sack
You put a soapstone hedgehog in a brown sack.

put hedgehog 2.sack
You put a soapstone hedgehog in a brown sack.

put 1.sack 2.sack
You put a brown sack in a brown sack.

inv
You are carrying:
a brown sack

get all.hedgehog all.sack
You get a soapstone hedgehog from a brown sack.
If you are holding a sack, the command will remove items only from the sack in inventory:

Code: Select all

take all.hedgehog all.sack
You get a soapstone hedgehog from a brown sack.

l in sack
sack (used) : 
a soapstone hedgehog

l in 2.sack
sack (carried) : 
 Nothing.
TLDR: Pretty sure this only works on items in your inventory, not equipped.

Locked