PDA

View Full Version : Sloot and scripted containers



somethief2
12-24-2017, 09:10 AM
I've seen some similar queries about this but haven't quite managed to fix the problem. Ever since I got my climatewear coat unlocked, sloot seems to have trouble recognizing when I put my weapon away. Any advice? Here's a log:

--- Lich: sloot active.
[sloot]>skin #135296412
You skinned the minotaur warrior, yielding a minotaur horn.
>
[sloot]>search #135296412
You search the minotaur warrior.
You discard the warrior's useless equipment.
He didn't carry any silver.
He had nothing else of value.
The thick skin of a minotaur warrior falls in upon itself as his enormous form decays into a fine dust.
>
[sloot]>put #135286444 in #135286343
You sheathe the vultite dagger into one of the small scabbards sewn inside of your black leather coat.
>
--- Lich: bigshot paused.
[sloot]>inventory containers
You are wearing a high-collared black leather coat, a spidersilk bound weapon harness, a grey leather wrist sheath secured with small black daggers hidden up your sleeve, a battered sand-colored saddlebag branded with an elaborate seal, a capacious sack, and some well-worn boots patched with swaths of dark leather.
>
[sloot]>put #135286444 in #135286382
I could not find what you were referring to.
>
[sloot]>put #135286444 in #135286386
I could not find what you were referring to.
>
[sloot]>put #135286444 in #135286412
I could not find what you were referring to.
>
[sloot]>put #135286444 in #135286442
I could not find what you were referring to.
>
[sloot]>get #135296640
You pick up a minotaur horn.
>
[sloot]>put my horn in #135286343
You tuck the minotaur horn into a small pocket inside of your black leather coat.
>
[sloot]>get #135286444
>
You draw an ivory-hilted vultite dagger from one of the small scabbards sewn inside of your black leather coat.

Mogonis
12-24-2017, 09:13 AM
What version of sloot are you running?

I think I have sloot4 (but renamed it to sloot.lic). I don't see any code (around line 804) that checks messaging when stowing items in hands. I think it simply checks for them being empty or not. Unfortunately that wouldn't explain why it doesn't work after sheathing your weapon, because the messaging wouldn't matter. It would matter if you opened your coat first. You could add the messaging to line 782. I had to add messaging for my auto-closing rolaren mesh sack.


res = dothistimeout "open ##{sack.id}", 5, /^You open .*\.$|Sliding the lever/

somethief2
12-24-2017, 09:21 AM
I'm running just regular Sloot (and not Sloot2, if that's what you mean). I also tried putting the full container name in Sloot setup but I get the same results.

somethief2
12-27-2017, 10:16 AM
Do you find that other Sloot scripts, like Sloot4, are better than the original?

Mogonis
12-27-2017, 10:22 AM
I'm not sure what the timeline is for sloot. I think there were some updated versions from other people because spiffy took a break from the game for a while. I'm not even sure which version I have downloaded. Spiffy has been back for a bit, and he last updated sloot on Dec 19. Is that the version you have?

n0551n3n0m1n3
12-27-2017, 11:01 AM
;repo download sloot.lic

try again.
If still getting the error talk to tillmen as the section is using empty_right_hand which is a Lich function, not a sloot function.

Mogonis
12-27-2017, 11:11 AM
That's the same thing.

somethief2
01-07-2018, 10:54 PM
This seems to have been fixed. Perhaps there was an update to Sloot?