PDA

View Full Version : Set sloot to not pick up certain things?



Tgo01
02-10-2013, 08:28 PM
Is there a way to make it so sloot does not pick up certain items, like cursed gems in The Rift? I could have sworn there was but the only thing I see is an option to not loot certain critters.

Or is there another loot script that does this that all the cool kids are using?

SpiffyJr
02-10-2013, 08:55 PM
I've been meaning to add it just haven't found the motivation lately. Once I move to teras and hunt Skayl's or something I'll add it.

Tgo01
02-10-2013, 09:00 PM
Ah that would be awesome.

Tgo01
02-10-2013, 09:11 PM
While we're talking about loot I was wondering how to get the "fetchloot" command working in a lich script? According to this link (http://www.krakiipedia.org/wiki/Lich_scripting_reference#fetchloot) it's supposed to pick up and stow all loot on the ground except the things you've added to the excludeloot setting. I figure that would work for now but if I make a script with the command in it the script does nothing.

subzero
02-10-2013, 09:34 PM
The older version should have an exclude list, though I'm not entirely sure if the one on the repo is the one I'm using or not.

Manamethis
02-10-2013, 10:09 PM
Sloot3 has a do not loot area for creature names

Tillmen
02-12-2013, 04:47 AM
All the cool kids use loot as a loot script. Downsides are it only uses one container, unless you count a disk for boxes, and no GUI setup. I'm not aware of any other problems with it. You set excludes with a regex, like ;loot exclude=black ora|^urglaes fang$

Also, it runs in the background, so if you want to use it with bigshot, tell bigshot your loot script is waitloot.

Tgo01
02-12-2013, 05:06 AM
That's a pretty awesome script Tillmen, thank you.

Tgo01
02-13-2013, 04:03 AM
Also, it runs in the background, so if you want to use it with bigshot, tell bigshot your loot script is waitloot.

Putting "waitloot" as my loot script in Bigshot doesn't work, it just tells me no such script as "waitloot" exists.

Tillmen
02-13-2013, 04:46 AM
;rep download waitloot

Tgo01
02-20-2013, 11:05 PM
Hijacking another thread of mine. Loot-be-gone! Am I doing it wrong? I couldn't get it to throw herbs away. I did manage to get it to put my gems in jars in my locker but I couldn't get it to turn gems in when I had a gem bounty (I even had a gem I needed for the bounty on my character and another one in a jar, it just put the one on my character in a jar.) Now for some reason it won't even put gems in jars anymore.

ETA: Okay I figured out why it wasn't putting gems in jars anymore, I had changed my gem sack to my backpack and thought it would take the gems out of there but apparently it's still trying to take them out of my cloak. Still not sure on the herbs or bounty gems though.

Tillmen
02-21-2013, 12:00 AM
You're doing it wrong, probably.

It only turns in gems if you have enough to finish the bounty. The common practice with hoarding gems and scripting gem bounties is to just cancel the bounty after 15 minutes and get another one, making it a waste to turn in half the bounty. If that's not it, there is some code to attemp to avoid selling bounty gems in the wrong town. That code could be messing it up.

The setting to throw away herbs only applies to boxes. If you want it to throw away herbs that the loot script picks up, remove herbs from the loot-types in loot.

It will drop herbs (from your lootsack), either where ever you're standing when it gets to that part of the script, or in the room you set, if it's set to bundle herbs and put them in your herbsack. It should only drop herbs if you already have a bundle of 50 or 2 full potions, I think.

If none of that helps, insert moar information.

ETA: I don't think ETA means what you think it means.

Tgo01
02-21-2013, 12:04 AM
That makes sense about the bounty thing, didn't even think about that. I always just got into the habit of picking up everything with scripts "just in case." Think I'll save myself the headache and just not pick up herbs anymore.

ETA: All the cool kids use ETA to mean edited to add. Are you cool?

SpiffyJr
02-21-2013, 12:51 PM
Oh, by the way, sloot2 has exclusions now.

Buckwheet
02-21-2013, 01:02 PM
Oh, by the way, sloot2 has exclusions now.

Are you at all interested in people giving you items such as bandolier weapon descriptions so that they can added as core content?

Tgo01
03-04-2013, 07:04 PM
All the cool kids use loot as a loot script. Downsides are it only uses one container, unless you count a disk for boxes, and no GUI setup. I'm not aware of any other problems with it. You set excludes with a regex, like ;loot exclude=black ora|^urglaes fang$

Just curious how loot knows when to loot something? It won't accidentally loot something another person has killed will it? Also how do I get it to use a blunt weapon to skin something that requires it? Looks like I didn't have bluntskinweaponsack and bluntskinweapon set before I killed a critter that requires a blunt weapon and now it skips skinning that critter altogether.

Tillmen
03-04-2013, 07:47 PM
loot looks for you attacking something, and then looks to see if the thing dies before a prompt shows up. It also keeps track of what you cast immolation and sandstorm at and loots if it dies from it. It's more likely to not loot something you killed than loot something you didn't kill, but that shouldn't happen either unless you've found a new way to kill something that hasn't been added to the script yet.

I'm not really sure if skinning with a blunt weapon works. I don't remember testing that part of it. It should recognize the failure message when you try to skin something using an edged weapon when it needs a blunt weapon, and then remember to use a blunt weapon for that critter in the future. I'll take a look at the code when I get home.

SpiffyJr
03-04-2013, 08:31 PM
Are you at all interested in people giving you items such as bandolier weapon descriptions so that they can added as core content?

Sure. That's fine. I wonder if its possible to add to game data and mark it as junk. Tillmen?

Tillmen
03-04-2013, 11:42 PM
Sure. That's fine. I wonder if its possible to add to game data and mark it as junk. Tillmen?

That's impossible! Also, I don't know what you're talking about.

Tillmen
03-05-2013, 05:25 AM
Also how do I get it to use a blunt weapon to skin something that requires it?

Apparently I hadn't finished the blunt skinning part. I just now finished it and uploaded it. The only thing I could think to test it on was krag dwellers, so I'm not sure how well it will work with other things. I also added a new setting: never-empty. Apparently you can't skin krag dwellers unless you have a blunt weapon and an empty hand. The empty setting is mostly just to increase the value of the skin, so I made it ignore that setting when an empty hand is required to get any skin at all. The never-empty setting will just skip skinning the critter if an empty hand is required.

I feel like I'm in the wrong thread. You've ruined everything!

SpiffyJr
03-05-2013, 10:17 AM
Such a thread hijacker.