View Full Version : Chamois - Use it automatically!
Here's a perfected chamois script. It will calculate the expected damage from Covered in Slime based on your slime resistance and level of slime.
It then compares this to your current HP and max HP. If you need healing to survive the slime, it will heal you. If the expected damage is greater than max HP, it will use a chamois. This is guaranteed to use the minimal number of chamois without getting you beaten up (as long as you can kill the slime).
Put chamois.ash in your /scripts directory. It is called by your mood
Trigger On: When an effect is gained
Check for: Coated in Slime
Command: call chamois.ash
Changelog:
v1.1 - Adds support for KolMafia eventually having monster data for slimes.
v1.2 - Adds support for using Hot Tub to remove slime.
v1.3 - Now reports on number of remaining chamoix.
v1.4 - Fixed restoration bug.
v1.5 - Fixed effect name since mafia is picky about that now.
Tom Sawyer
06-09-2009, 12:22 PM
Bale This rocks the world
Takes the tedium out of the run :D
I see it sends you a kmail so you should know lots are using this one :D
I see it sends you a kmail so you should know lots are using this one :D
Not so many -- so far only 7 people, counting you. Still, you did just bring a smile to my face by letting me know that at least one person liked it.
By the way, here's an undocumented feature: If you want to set a minimum level of slime at which it will alway use a chamois, there's a variable at the beginning of the script you can set. That way it will always chamois at (for instance) 6 turns of slime, instead of trying to heal. I figure that might be nice for very casual runs where you aren't worried about maximizing chamois for a future speed run.
Muhandes
06-09-2009, 09:05 PM
Sounds very useful, I'll definitely be using it once I start slime killing (read, when I have more than 30 mins a day to play)
Fujiko
06-10-2009, 12:49 AM
I registered to download it, and now to thank you. :)
This is wonderful - takes a lot of the tedium out of the slime tube.
fuzzyevil
06-10-2009, 01:07 AM
Oooh, looks nice. Thanks!
starspiritgeno
06-10-2009, 01:10 AM
Works like a charm, and is a real time-saver. Thanks.
Sandiman
06-10-2009, 03:14 AM
Love the script Bale. Thanks.
nWo4Life
06-10-2009, 07:43 PM
Best script ever! I asked around /hardcore to see if anyone knew how to do this and they directed me to you...havent been defeated in over 100 adv of sliming now =)
thx Bale
Amilianna
06-10-2009, 10:18 PM
This is fantastic - especially for people like me who can't program to save their life. :) Thank you thank you thank you!
All this thanks from people who have never posted on this forum before? I'm overwhelmed. You're all very welcome.
Muhandes
06-11-2009, 09:58 AM
You have my thanks too, and I posted once or twice before.
I think some people have actually started using mafia just for this small trinket.
Muhandes
06-12-2009, 12:04 PM
Today this stopped working for me.
Calling chamois.ash either from mood or directly does nothing.
Edit: I'm not sure how it worked before, as I just looked and it wasn't set right. Anyway, now it works.
Made a small update. I'd recommend updating, but honestly mafia's monster data doesn't yet support my update so it is no big deal. Just trying to stay ahead of the curve.
Someday, when mafia has data on the different slimes, then this update will be appreciated.
Very efficient-looking script - much cleaner than one I wrote for myself.
A small mod, for those of use with access to the clan hot-tub, was simply to add
if(have_effect($effect[Coated in Slime]) > 0) {
print ("Using VIP bath.", "blue");
visit_url("clan_viplounge.php?action=hottub");
}
within the chamois function (I put it before using a chamois, as I want to use my VIP tub until all its turns are used). Now I just need to wait for loot distribution before I can try it out.
ironsting
06-14-2009, 12:12 AM
I can't say enough about the people that make this game and this tool better all the time.
I have been using this successfully for several days until today it failed to compute the HP and I was killed. I thought perhaps I had changed a setting or there was a change so I downloaded a new copy and the same thing happened. Doing a more thorough recheck of the setup I found that instead of when the effect was gained my mood said call chamois.ash when the effect was lost. Now I know that is the default when you are editing a mood but I know I selected it correctly because the script worked before. Is there anything I could have done that would change the format of a mood elsewhere in mafia?
Thanks again.
Fe
edit: Upon reflection I thought that perhaps the tube I was in had no chamois and that was why it failed but I checked and there are >400 in the bucket.
Veracity
06-14-2009, 02:37 AM
By the way - I thought I'd mention that this is the first KoLmafia script that I use that I didn't write for myself. Not that I use even self-written scripts, much at all.
Thanks Bale. You saved me at least 5 minutes of programming. ;)
(Which was not meant in a mean spirited manner at all. Consider it good-natured teasing. I DO use this script and do appreciate it.
Yay! Me so happy. Bale was patted on the head by Veracity-sama.
A small mod, for those of use with access to the clan hot-tub, was simply to addI think I'll improve on that. It should also check to make sure that you actually have access to the VIP room before it tries to use the hot tub or else it's no good for some people. It should also check to see if you've already used up your 5 hot tubs for the day. While I'm at it, just make sure that no other healing has been at work or else it would be a waste to remove status and not heal HP. Finally, just as a mention you should know that there is an actual command for using the hot tub.
I'll upload that a little later after I've had a chance to test it.
Update!
New version adds support for Hot Tub.
It checks if you've got the VIP key. If you do, then it will check if you've used it less than 5 times today -and- if you're reasonably low on HP. If the answers to both are yes, then it will soak away the slime. (Yeah, if you want to remove slime the odds are that you're really low on HP, but there are some rare cases where full HP healing would be wasted, such as clicking on the remove link next to the effect in the relay browser.)
Download chamois v 1.2 (http://kolmafia.us/attachment.php?attachmentid=1691&d=1244961680)
... -and- if you're reasonably low on HP. ...Lovely update, but I see you've chosen current HP to be 1/6 of your max HP for triggering the hot-tub. Is this an arbitrary number? Would a "better" arbitrary number be the restore_hp trigger percentage, or would we then get scripts fighting each other to restore us?
Lovely update, but I see you've chosen current HP to be 1/6 of your max HP for triggering the hot-tub. Is this an arbitrary number? Would a "better" arbitrary number be the restore_hp trigger percentage, or would we then get scripts fighting each other to restore us?
I chose 1/6 based on how often it would choose to use the Hot Tub vs casting healing after using a chamois. I arrived there through a bit of trial and error. My basic thought was that as long as there is a decent amount of healing to do, the Hot Tub would suffice since it doesn't need to be perfectly conserved in aftercore. Remember that you're likely to be extremely low on HP due to the effects of being Coated in Slime until it finally exceeds max HP so the exactitude of 1/6 is very unlikely to matter.
Since the restore_hp trigger percentage could easily be anywhere between 20% and 60% depending on level and preference, I figured it would be tough to make meaningful use of that number. I don't think that there's any real problem with scripts "fighting each other to restore us" since the hot tub is a full heal. Full healing does work and play well with others through the simple expedient of making any other healing irrelevant.
If your preference differs from the 1/6th I chose, then feel free to change it. I just figured that would be a good generic number that would work well for anyone, even if some wouldn't find it 100% optimal.
nelix
06-14-2009, 05:53 PM
Thanks Bale.
It's perhaps a little beggy of me, but I'd like to ask that someone who is making good use of this script let me in on a nodule run.
I'd be glad to squeeze a gall bladder for you. (I'd actually be glad to squeeze gall bladders in quite a few runs.) In return for that and my work on this script, could someone see their way to giving me a caustic slime nodule? If I could get even 1 nodule I'd be very happy.
Thank you for considering this request.
TeKRunneR
06-18-2009, 07:24 PM
Hey, thanks for the script, it works pretty well, but I think there's a case it doesn't handle too well. If you run, say, +190ML, and someone squeezes a bladder, you may get beaten up every turn after cleaning the slime: the script doesn't heal you, thinking you'll get 8 turns of slime. In fact you get 7, which kills you. Is there any way to avoid that behavior, or am I just doing it wrong?
Bale, kmail me in-gameThank you very much for the nodule! :D
Hey, thanks for the script, it works pretty well, but I think there's a case it doesn't handle too well. If you run, say, +190ML, and someone squeezes a bladder, you may get beaten up every turn after cleaning the slime: the script doesn't heal you, thinking you'll get 8 turns of slime. In fact you get 7, which kills you. Is there any way to avoid that behavior, or am I just doing it wrong?The script won't deal with that at all. It doesn't take control of all healing any more than it takes control of deciding how to fight, so I'd suggest that you set mafia to heal you. If you don't like mafia's default healing
All this script does, is decide how to deal with wiping off slime. If you have no slime, it won't be triggered at all. Actually fighting and surviving slimes is up to you.
tOaDeR
06-19-2009, 10:49 AM
Bale, you keep making life so much easier with your scripts. ;) thanks for this.
TeKRunneR
06-19-2009, 04:31 PM
It doesn't take control of all healing
Okay, misunderstood then.
Veracity
06-19-2009, 05:36 PM
I quite like this script - even running an older version. I just got my third nodule while using it and it healed me after every battle and used a chamois every other battle and all went swimmingly. Tomorrow, I'll be starting a slow run to replenish my stock of chamois and I look forward to see how long it will go between healing with me wearing slime protection gear...
One suggestion: when it prints "Using chamois" in blue, it would be nice if it could report how many were left in the bucket; it' interesting to see that number going UP on low-ML runs, due to dropped chamoix, whenever I get un-Coated.
One suggestion: when it prints "Using chamois" in blue, it would be nice if it could report how many were left in the bucket; it' interesting to see that number going UP on low-ML runs, due to dropped chamoix, whenever I get un-Coated.
Good idea! I think I'll implement that when I get a chance. Probably some time before tomorrow.
One suggestion: when it prints "Using chamois" in blue, it would be nice if it could report how many were left in the bucket; it' interesting to see that number going UP on low-ML runs, due to dropped chamoix, whenever I get un-Coated.
This is proving non-trival for me. I decided to try using matchers for the first time and it isn't working as well as I'd hoped. While this isn't the only way to solve the problem, I'd like to get a handle on it. Here's my code:
void chamois() {
string page;
if(my_hp() < my_maxhp() /6)
hot_tub();
if(have_effect($effect[Coated in Slime]) > 0) {
print("Using chamois.", "blue");
page = visit_url("clan_slimetube.php?action=chamois&pwd");
}
matcher cham_left = create_matcher("There are (\\d+) chamoix in the bucket" , page);
cham_left. find();
print("There are "+ to_int(cham_left. group(1))+ " chamois left in the bucket.", "blue");
if(have_effect($effect[Coated in Slime]) > 0)
abort("Failed to use a chamois. You'll need to find some other way to clean yourself up.");
}
This gives me "Unexpected error, debug log printed." which is far from the most helpful error message ever. Here's the debug log:
Unexpected error, debug log printed.
class java.lang.IllegalStateException: No match found
java.lang.IllegalStateException: No match found
at java.util.regex.Matcher.group(Unknown Source)
at net.sourceforge.kolmafia.textui.RuntimeLibrary.gro up(RuntimeLibrary.java:2782)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.sourceforge.kolmafia.textui.parsetree.LibraryF unction.execute(LibraryFunction.java:119)
at net.sourceforge.kolmafia.textui.parsetree.Function Call.execute(FunctionCall.java:157)
at net.sourceforge.kolmafia.textui.parsetree.Function Call.execute(FunctionCall.java:112)
at net.sourceforge.kolmafia.textui.parsetree.Operator .applyTo(Operator.java:279)
at net.sourceforge.kolmafia.textui.parsetree.Expressi on.execute(Expression.java:111)
at net.sourceforge.kolmafia.textui.parsetree.Operator .applyTo(Operator.java:139)
at net.sourceforge.kolmafia.textui.parsetree.Expressi on.execute(Expression.java:111)
at net.sourceforge.kolmafia.textui.parsetree.Function Call.execute(FunctionCall.java:112)
at net.sourceforge.kolmafia.textui.parsetree.BasicSco pe.execute(BasicScope.java:383)
at net.sourceforge.kolmafia.textui.parsetree.UserDefi nedFunction.execute(UserDefinedFunction.java:125)
at net.sourceforge.kolmafia.textui.parsetree.Function Call.execute(FunctionCall.java:157)
at net.sourceforge.kolmafia.textui.parsetree.BasicSco pe.execute(BasicScope.java:383)
at net.sourceforge.kolmafia.textui.parsetree.Conditio nal.execute(Conditional.java:88)
at net.sourceforge.kolmafia.textui.parsetree.If.execu te(If.java:67)
at net.sourceforge.kolmafia.textui.parsetree.BasicSco pe.execute(BasicScope.java:383)
at net.sourceforge.kolmafia.textui.parsetree.UserDefi nedFunction.execute(UserDefinedFunction.java:125)
at net.sourceforge.kolmafia.textui.Interpreter.execut eScope(Interpreter.java:240)
at net.sourceforge.kolmafia.textui.Interpreter.execut e(Interpreter.java:185)
at net.sourceforge.kolmafia.textui.Interpreter.execut e(Interpreter.java:178)
at net.sourceforge.kolmafia.KoLmafiaCLI.executeScript Command(KoLmafiaCLI.java:4770)
at net.sourceforge.kolmafia.KoLmafiaCLI.executeScript (KoLmafiaCLI.java:4669)
at net.sourceforge.kolmafia.KoLmafiaCLI.executeComman d(KoLmafiaCLI.java:569)
at net.sourceforge.kolmafia.KoLmafiaCLI.executeLine(K oLmafiaCLI.java:455)
at net.sourceforge.kolmafia.swingui.CommandDisplayFra me$CommandQueueHandler.handleQueue(CommandDisplayF rame.java:317)
at net.sourceforge.kolmafia.swingui.CommandDisplayFra me$CommandQueueHandler.run(CommandDisplayFrame.jav a:298)
Can anyone give me a hint to solving the problem?
Alhifar
06-20-2009, 10:27 AM
matcher cham_left = create_matcher("There (are|is) (\\d+) chamoi(s|x) in the bucket" , page);
cham_left. find();
print("There are "+ to_int(cham_left. group(2))+ " chamois left in the bucket.", "blue");
I think that should take care of it, you weren't accounting for the possibility of one chamois. Otherwise, I'd have to take a closer look.
Veracity
06-20-2009, 12:01 PM
I pulled the bucket reporting into a separate file and did this to it:
void bucket()
{
string page = visit_url("clan_slimetube.php?action=bucket");
// The bucket is empty.
// There is 1 chamois left in the bucket.
// There are 66 chamoix left in the bucket.
matcher cham_left = create_matcher("There (is|are) (\\d+) chamoi(s|x) in the bucket" , page);
int left = 0;
if ( cham_left.find() )
{
left = cham_left.group(2).to_int();
}
print("There are "+ left + " chamois left in the bucket.", "blue");
}
bucket();
There are only two essential differences:
1) Ahlifar's suggestion about chamois vs. chamoix
2) The case of the empty bucket.
I detect the latter by checking the return value of find() - a good idea, regardless - and not trying to call group() when the pattern did not match.
Regardless, we try to turn Java errors and stack traces into ASH runtime errors with a meaningful message and file/line. Apparently we not do this for matchers. I'll look into it.
Edit: I suppose I should tell you whether it worked...
> bucket
There are 66 chamois left in the bucket.
06/20/09 08:02 AM - Now pledging your allegiance to <different clan>.
> bucket
There are 0 chamois left in the bucket.
Edit 2: In the context of your function, the match will also not be found if you just soaked in the hot tub. I made a mod to visit the bucket just to see what's in it, in that case. Here's the code (hopefully using your brace style, which is not mine. ;) ):
void chamois() {
if(my_hp() < my_maxhp() /6)
hot_tub();
string page;
if(have_effect($effect[Coated in Slime]) > 0) {
print("Using chamois.", "blue");
page = visit_url("clan_slimetube.php?action=chamois&pwd");
}
else {
page = visit_url("clan_slimetube.php?action=bucket");
}
// The bucket is empty.
// There is 1 chamois left in the bucket.
// There are 66 chamoix left in the bucket.
matcher cham_left = create_matcher("There (is|are) (\\d+) chamoi(s|x) in the bucket" , page);
int left = 0;
if ( cham_left.find() ) {
left = cham_left.group(2).to_int();
}
print("There are "+ left + " chamois left in the bucket.", "blue");
if(have_effect($effect[Coated in Slime]) > 0)
abort("Failed to use a chamois. You'll need to find some other way to clean yourself up.");
}
Soaking in the VIP Hot Tub to remove the slime. Ahhhhh....
Visiting Relaxing Hot Tub in clan VIP lounge
You lose an effect: Coated in Slime
You gain 1,812 hit points
Strangely the other VIPs don't appreciate the thin layer of ooze now floating on the top of the water. :D
There are 21 chamois left in the bucket.
Update!
New version reports number of remaining chamoix.
Thanks to everyone for their help understanding how matchers work.
Update!
Fixed bug where it sometimes didn't realize it needed to restore.
Improved syntax on chamois reporting.
Download chamois v 1.4 (http://kolmafia.us/attachment.php?attachmentid=1717)
jokermage
06-24-2009, 02:09 AM
Just started joining my clan for Slimetube so I'll try it out.
Oakianus
06-24-2009, 05:22 AM
Just wanted to drop a note to say that the latest version works amazingly - I'm running the slime tube with no ML while playing as an 8th level PM in ronin, and it's kept me perfectly balanced - I've only had a few beaten ups, mostly because they're inevitable with so few HP and the chance of the slimes breaking my noodles before I can kill them.
Very glad it has been helpful.
I guess it is inevitable that an 8th level PM might not be able to kill a slime in 2 hits, so just being in that tube is a triumph. ;)
jebustheathiest
06-25-2009, 02:59 PM
This script is a lifesaver Bale, thanks!
big_green_bump
06-26-2009, 07:54 AM
Why do I keep getting "No available namespace with function: chamois.ash"?
I have no idea. I suspect you're not following the instructions in the first post:
Put chamois.ash in your /scripts directory. It is called by your mood
Trigger On: When an effect is gained
Check for: Coated in Slime
Command: call chamois.ash
big_green_bump
06-26-2009, 08:45 AM
It wasnt that, but Bale helped me in game...
Thanks Bale!
Your as great as your script. :D
jokermage
06-30-2009, 09:00 AM
The script has worked very well for me. Thanks!
TeKRunneR
06-30-2009, 08:06 PM
Fixed bug where it sometimes didn't realize it needed to restore.
Apparently I explained myself badly in my last posts, because that revision precisely fixes the problem I was having. Thanks.
It's not exactly the issue you refer to since it still doesn't know how many bladders have been squeezed, but the bug is related. Since both problems involve healing after using a chamois. This specific fix was to consider after using a chamois that even though you have no slime, your HP might be so low that ordinary monster attacks might kill you by themselves.
The fix ensures that all the +ML you're using is considered as a source of damage for the coming round, but not any bladders. Of course your personal ML is probably a lot bigger than a bladder or two so this is much more important, but I was hung up on your description of bladder squeezes and didn't see the whole issue.
Fortunately Shao Mi explained the problem more clearly on the HCO forum and I got it after seeing his post there.
Atreyuu
07-14-2009, 03:43 PM
Love this, thank you.
Thank you, thank you, thank you.
Langsuir
07-14-2009, 08:27 PM
BALE!
Fantastic script. Best one I've seen and there have been several thrown out there lately.
Hi. Since I'm new to KoLMafia and scripting, would someone please explain to me what makes this script different from Alhifar's 'Get Slimy'? Are there just subtle differences for performing what is essentially the same task ask or I am missing something glaringly obvious?
I'm not asking which is 'better' - just for someone to please explain to a n00b exactly how they're different. :D
Alhifar
07-16-2009, 11:44 PM
This script ONLY removes Coated in Slime at the point where it would kill you. My script will almost fully automate a speed run, including switching outfits and familiars.
Veracity
07-17-2009, 01:28 AM
No "almost" about it. Alhifar's slime.ash allows this:
- You can do a "slow and cheap" 2-nodule run, getting a single chamois at a time and using it when needed.
- You can do a "fast with tatters" 2-nodule run.
- You can even do a Slimeling run.
I've done all of those. It takes a little effort to set up your moods and outfits, but onece you've done that, it's painless.
Now, before I had my first nodules and was just doing slow and lazy runs to learn the ropes in the slime tube, I used Bale's script, right here - and it was perfect for what I wanted and needed at that time.
I'm now done with the slime tube and am going back ascending - thanks to both scripts.
Thanks!
Ah, right - clearly I wasn't paying attention. I'm sick at the moment, lets put it down to that xD
Thanks for clarifying.
balkin
07-22-2009, 12:16 AM
Great script I'm loving it.
datavortex
07-23-2009, 02:37 AM
Freaking love it.
I am working on adding a feature to change to a +0 ML outfit after using a chamoix and then change back to a +ML outfit after the adventure where you get covered in slime.
Alhifar
07-23-2009, 03:35 AM
Already done: http://alhifar.dyndns.org/mafia/scriptlets/slime.ash
Raven434
08-04-2009, 05:13 PM
Also echoing the horde of happy users - Thanks Bale et al!
jayleesummers
08-11-2009, 02:02 PM
I love this!! Thanks. Tho..I really don't know how to set up the moods..
I love this!! Thanks. Tho..I really don't know how to set up the moods..
Are you saying that you weren't able to follow the instructions in the first post, or are you saying that you don't know how to make other use of moods? If the later, here's an example:
http://a.imagehost.org/0018/moods_example.png (http://a.imagehost.org/view/0018/moods_example)
I suppose the moral of that image is that Disco Power Nap is awesome.
Teezonk
09-16-2009, 02:51 AM
This script...this script has made me so happy....:)
That's exactly the reaction that I always hope for. :D
mottsy
09-16-2009, 12:24 PM
i'm going to get called a noob for this but
kolmafia says "you cannot add triggers to an apathetic mood."
Muhandes
09-16-2009, 01:15 PM
i'm going to get called a noob for this but
kolmafia says "you cannot add triggers to an apathetic mood."
The "apathetic" mood is an empty mood which you cannot edit. Start a new mood by clicking "New List" and give your new mood a name. Then you can edit it.
I just want to say that this is the most awesome kMail I have ever gotten.
If you are the maker of the chamois script, I think i love you, it made me able to actually do my homework :O! Now I got higher grades and a better life. RIGHT ON!
I actually made someone's real life better with my script. :D :D :D
HeyThar
11-12-2009, 01:52 AM
How do I set it into my /script directory? I am completely new to KoLMafia.
When you download it, just download it into that directory. The exact procedure differs a little bit for PC and Mac, but if you're still stuck please explain your consternation fully. :)
JoK[e]
12-12-2009, 02:47 PM
Love it!
loutini
12-17-2009, 09:26 PM
I am not sure of the policy, should we post bug reports for daily builds?
chamious.ash works just fine with 13.7, but I have been using the daily builds to keep up with crimbo. When using using builds 7881 and 7890, I am getting error when I adv in the tube with mood:
When I get Coated in Slime, call chamois.ash
error message:
[Covered in Slime] does not match anything in the status effect database.
Bad effect value: "Covered in Slime" (chamois.ash, line 28)
system MacOS 10.5, any other info provided if you need it
lostcalpolydude
12-17-2009, 09:29 PM
Open the script up and replace all "Covered in Slime" with "Coated in Slime". I guess mafia used to be really lenient if the script worked like that.
Thanks for telling me. Mafia has recently gotten a lot pickier about effects being properly named. (It used to try really hard to figure out what was meant.) I've fixed the script and uploaded it.
Please download the new version.
tiberius
01-13-2010, 01:28 AM
Thank You!
Signed up to get this, all that clicking had me avoiding the slime tube.
Well, there's always chat commands. ;)
Glad I helped you.
Thank you, Bale, for this awesome script. My first stuffed Hodgman is yours (as soon as I get it, of course). =)
I'll be looking forward to it gladly. :)
azaraek
08-18-2010, 01:46 PM
+1
kabukiz
08-24-2010, 07:13 PM
Awesome! Thanks! :D
gothictranquility
01-02-2011, 01:43 AM
So let me get this straight- you have to call this after every time you adventure? How is that faster than clicking the "take a chamois from the bucket" link in the relay browser? Just wondering if I understand this right.
Reread the first post, it contains instructions.
lostcalpolydude
01-02-2011, 01:53 AM
So let me get this straight- you have to call this after every time you adventure? How is that faster than clicking the "take a chamois from the bucket" link in the relay browser? Just wondering if I understand this right.
Set it as your mood so mafia runs it every adventure without you doing anything.
Fluxxdog
01-02-2011, 02:53 AM
Reread the first post, it contains instructions.That was the politest RTFM I've ever seen ^^
sjack
06-14-2011, 10:42 PM
OK... I have RTFM, and everything looks OK, but no joy.
I am at a loss. One thing, when I right click on "When I get Coated in Slime, chamois.ash" in the "Mood Setup" tab, and select "Force Execution", I get an "You can't wear that outfit" message.
Halp
Shouldn't it be "call chamoix.ash"?
Shouldn't it be "call chamoix.ash"?
I don't think that should matter. And your file is named differently from his.
I am at a loss. One thing, when I right click on "When I get Coated in Slime, chamois.ash" in the "Mood Setup" tab, and select "Force Execution", I get an "You can't wear that outfit" message.
Since my script does not change outfits it seems that the problem must be caused by another item in your mood. What else are you doing?
sjack
06-15-2011, 02:25 PM
Farted around a bit, and I tired changing the initial int minimum_slime value in chamois.ash from 0 to 10, that seemed to work.
Thanks!
I'm sure that wasn't the problem and it isn't an ideal method to wipe yourself that often, but if it makes you happy then I am glad you're happy.
sjack
06-16-2011, 12:17 AM
http://www.youtube.com/watch?v=C8c86Q0fUT0&feature=related
allen zhang
07-13-2011, 02:26 AM
Hmm, I'm kinda dumb with scripting.
I tried your first several scripts, where you specified the amount of "coated with slime", but mafia always stopped it at 6. I put it at 5. I tried fiddling around, and put it at if coated in slime < 1; call chamois.ash and it still used the chamois with 6 adv of coated with slime.
Help? :(
Thanks!
I'm afraid I don't really understand your question. All I know for sure is that you aren't exactly following the directions in my first post. Perhaps if you were to be more specific about where you were putting this "coated in slime < 1" I might start to form a clue.
I know that if you use the version in my first post as suggested it will refuse to let your coated in slime get low enough to kill you. It knows how much damage will kill you.
louieamps
09-18-2011, 04:32 AM
This is great!
Powered by vBulletin® Version 4.1.12 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.