SmartStasis -- a complex script for a simple CCS

Well, SS itself is going away (hopefully in the next few weeks) after BatMan comes out, so...

Also, no. The best stasis is a stasis. Doing damage, even if it's small damage, can hamper your attempts... Using a cocoabo/mimic, your meat gains for the battle can be almost entirely gained from using stasis... Gaining 20k+ meat per day doing the CRIMBCO cubicles instead of spending it on healing and food, is good. Gaining almost the same meat for the level 10 enemies as for the level 200+? Even better.

If you're actually needing stasis to work, the best options are the ones that only delay... else the sceptre would be ranked higher, as it not only damages trivially, but can heal you or delevel them. But you can always adjust your own local copy to behave in the way you'd like it to. Just move up the items you'd like to prioritize...
 
Also, no. The best stasis is a stasis. Doing damage, even if it's small damage, can hamper your attempts...
All the items listed in stasis_item() do the same damage as Suckerpunch, unless you happen to have a dictionary on hand.
 
So true... well, except the Scepter, which does 6-10 or 8-10 damage.

Yes... only issue with non-DB is that it's not completely free. Cheap, but... For DB, sounds like a great free stasis choice.
 
Theraze, SS is not going away. It's getting updated, within 29.6 hours. I'll probably just post what I have now even though it's very far from where I hoped it would be. The good news is that I can keep rolling out wicked awesome updates afterwards.
 
Oooh. I thought it was getting rolled into BatMan, and that the BM rollout was supposed to happen on one of these palindromic number dates soon. Okay then. :)
 
Theraze, what you are mis-remembering is that FTF is going away and BatBrain is being released on his palindromic number update. All of FTF's functions are being rolled into SS and BatBrain, but BatBrain is not BatMan yet.
 
Pretty sure SS will stick around. We'll see how it develops.

Will try to post the update tomorrow on my lunch break, it's somehow already past my bedtime over here.

Get ready for lots of excitement, complaints, further questions, disappointment, and probably things breaking! I need to modify the stasis_action() function to exclude throwing items that are not multi-usable. Even if it's profitable, it's not likely to be something people want to do, especially in Ronin/HC. (I just had a softcore ascender start stasising using sonars.) Once I do that, I'll release it into the wide world.
 
Ran out of time to spin the update in lunch break -- have plans the rest of the day (until about midnight), so out of guilt at this taking so friggin' long, I've added BatBrain as it now stands to the first post.

I beseech scripters and players alike to peruse it and think of improvements. There is still a good bit missing, and probably some oversights. (Haven't added the TT skills/combos having a hit chance, for example.)

When I finally do get home tonight I'll add the new SS here as well (at the end of the thread, not in the first post). We'll treat it as an alpha release to fix whatever issues it contains.
 
Ooh. Exciting... spent today's adventures, but will have to try out tomorrow. Proper usage is consult SmartStasis; consult BatBrain?
 
No, BatBrain does nothing; it's just a script library with lots of the foundational bits from both FTF and SS, as well as what's needed to build a almost entirely complete picture of your combat situation.
 
*Low whistle*

I see what you mean. I'm a bit at a loss as to where to start with it, but I'll take a shot at something rudimentary in the morning.
 
Wow. BatBrain is just.... wow. I can't believe you even built in logic for dealing with Mother Slime!! Talk about'cha special cases!
 
Ok, here's what has happened to SS so far -- with nothing tweaked from the copy I'm currently using other than the filename. We'll call this an alpha release, since it is known to be a good ways short of its intended mark. Use it at your own risk. That said, I do believe it is the best consult script currently available.

At this point, FTF is basically just copy-pasted into SS. Integrating it more intelligently will be an interesting challenge, given that it can't be sure whether an intelligent script will follow once SS is done. For example, attacking pirates to the one-more-hit-kills-them point before throwing the insult book is a popular strategy, and is actually possible now. I also believe the stasis loop will be able to be shortened drastically -- and macrofied, too. So much to do yet.

All users: You'll need BatBrain (in the first post) and ZLib to run this. Although I made disclaimers above, I do believe this is superior to the current official release of SS and encourage you to give it a try. It submits DB combos as macros and can stasis using any of your available combat options.

Advanced users: Please let me know what issues you encounter. Please use a high verbosity setting and include CLI output in your report. Also, feel free to peruse the code and suggest improvements, particularly in the event that something was omitted.

EDIT: Script removed. Download in the first post.
 
Last edited:
I love the file name. One thing about this script really shocks me: it so small. Even though most of the logic was shifted into BatBrain it is really astonishingly small at less than 500 lines!

I'm finishing up a lazy 5-day run right now, so I'll give it a try in the Junkyard tomorrow and let you know if it screws me up. :D
 
When I try to run the new script with Batbrain I get the following message:
Code:
Cannot apply operator ^ to ! contains_text() (boolean)     and contains_text() (boolean) (batbrain.ash, line 786)
Consult     script 'smartstasis.ash' not found.
You're on     your own, partner.
 
Looks like that's an XOR that didn't get changed to the new nomenclature? Or do I have that backwards.

This is really cool and I'm just getting into it. First thing I've noticed is that it used a divine cracker, I'd prefer to exclude those from stasising.
 
Last edited:
divine crackers are a limited resource. They should only be used for objectives determined to be important enough by the player. When was that cracker used?
 
Let's see:

Code:
[99] Knob Goblin Harem
Encounter: Knob Goblin Harem Girl
Round 0: roippi loses initiative!
Round 1: Ecto Cooler is just skin and bones. Well, slime and slime, technically, but still -- you should feed him!
(unable to macrofy due to action: consult SmartishStasis.ash)
Round 1: roippi uses the divine cracker!
Round 2: Ecto Cooler sniffs around, looking for something to absorb.
Round 2: roippi casts ENTANGLING NOODLES!
Round 3: Ecto Cooler paces around aimlessly, making wet squishy noises.
Round 3: roippi casts LASAGNA BANDAGES!
You gain 15 hit points
Round 4: Ecto Cooler leaps on your opponent, sliming her for 20 damage. It's inspiring!
You gain 20 Mana Points
Round 4: Ecto Cooler's starting to look a little thin.
Round 4: roippi uses the disease!
Round 5: Ecto Cooler paces around aimlessly, making wet squishy noises.
Round 5: roippi attacks!
Round 6: Ecto Cooler paces around aimlessly, making wet squishy noises.
Round 6: roippi casts SPAGHETTI SPEAR!
Round 7: Ecto Cooler paces around aimlessly, making wet squishy noises.
Round 7: roippi wins the fight!
Your familiar gains a pound: Ecto Cooler, the 5 lb. Slimeling
After Battle: Ecto Cooler hops around, dancing a jig accompanied by wet squelching noises.
You acquire an item: Knob Goblin perfume
You acquire an item: disease
You gain 2 Beefiness
You gain a Muscle point!
You gain 7 Wizardliness
You gain 2 Cheek

It also used a disease, which I only had one of at the time. Hm. I may have something set up incorrectly.
 
Last edited:
Back
Top