Hardcore Ed Script Ascending (Support Terminated)

For script writing
User avatar
cheesecookie
Inscrutable Pi
Posts: 291
Joined: Mon Nov 24, 2014 4:53 pm

Re: Hardcore Ed Script Ascending (Ascends various paths suboptimally)

Post by cheesecookie »

Fessor Eli wrote: Fri May 11, 2018 6:31 am First I want to says Thanks for the work on this script and how it's been kept up to date with changes to the game.
A question--Is there a way to change a setting so that it stops after defeating the NS without freeing the King?
set cc_stayInRun = true

May not work with unsupported paths where the NS is not the final boss.
User avatar
cheesecookie
Inscrutable Pi
Posts: 291
Joined: Mon Nov 24, 2014 4:53 pm

Re: Hardcore Ed Script Ascending (Ascends various paths suboptimally)

Post by cheesecookie »

For the immediate future, I won't be posting any further updates to the script. I have left G-Lover in an abort state to avoid causing any massive problems. Please don't contact me over the script until I remove this post.

Update: I'm sorta back for updates and stuff. Still taking a little breather from getting too active into the game but I'll handle script stuff and such.
Last edited by cheesecookie on Wed Jul 25, 2018 11:24 am, edited 1 time in total.
rendar55
Just Plain Old Pie
Posts: 3
Joined: Mon Oct 08, 2012 6:26 pm

Re: Hardcore Ed Script Ascending (Ascends various paths suboptimally)

Post by rendar55 »

Hello! I'm hoping someone can help me with some issues I've ran into ever since I ran a G-Lover ascension. The issues happened in a pair of hardcore standard runs after my one and only G-lover run. The script gets to level 13 without doing the Spookyraven 2nd floor, pirates, or war. In fact, it doesn't even start the war. I am having the same issues with a second character who has only been doing HC Ed runs for awhile. I found a number of variables to track, but nothing really seems to be out of place.

Does anyone know what might be causing the script to skip Spookyraven 2, pirates, and war? Also, does anyone know where I can get older versions of the script? I'm wondering if maybe the newest version somehow broke something for me. My next step is a fresh Mafia install, but I really don't want to reset all my stuff. Thanks!
Last edited by rendar55 on Wed May 30, 2018 1:10 pm, edited 1 time in total.
rendar55
Just Plain Old Pie
Posts: 3
Joined: Mon Oct 08, 2012 6:26 pm

Re: Hardcore Ed Script Ascending (Ascends various paths suboptimally)

Post by rendar55 »

Hello again! A fresh mafia install didn't fix it, nor did a run on the original install afterwards. I'll post some notes here, partially so I can find them later and partially in case anyone sees this. Day 1 finishes fine without issue.
Day 2 skips :
LX_pirateInsults()
LX_pirateBlueprint()
LX_pirateBeerPong()
LX_fcle()
Spooky2

When it attempts to do the Spookyraven basement, it enters an infinite loop, since Spooky2 hasn't been done yet. When it does this, I can manually do spooky2, pirate insults, get fledges, and get talisman. When I resume afterwards, the script starts the war and carries on as expected.
rendar55
Just Plain Old Pie
Posts: 3
Joined: Mon Oct 08, 2012 6:26 pm

Re: Hardcore Ed Script Ascending (Ascends various paths suboptimally)

Post by rendar55 »

Hello yet again! In case anyone else is having the same issue, I think I found a fix for the pirate portion. At the very start of the function boolean LX_pirateInsults(), this code snippet appears to be skipping the entire function, causing multiple other functions to get skipped:

if(!get_property("cc_shenCopperhead").to_boolean())
{
return false;
}

My fix was to comment out the "return false". cc_ascend then made it through the pirates.

edit:
For doing the second floor of the spookyraven manor, in the function boolean LX_spookyravenSecond() I changed the >= to < in the code below.

if((get_property("cc_spookyravensecond") != "") || (get_property("lastSecondFloorUnlock").to_int() >= my_ascensions()))
{
return false;
}
acidsoul
Just Plain Old Pie
Posts: 1
Joined: Thu May 31, 2018 9:20 am

Re: Hardcore Ed Script Ascending (Ascends various paths suboptimally)

Post by acidsoul »

rendar55 wrote: Wed May 30, 2018 1:09 pm Hello yet again! In case anyone else is having the same issue, I think I found a fix for the pirate portion. At the very start of the function boolean LX_pirateInsults(), this code snippet appears to be skipping the entire function, causing multiple other functions to get skipped:

if(!get_property("cc_shenCopperhead").to_boolean())
{
return false;
}

My fix was to comment out the "return false". cc_ascend then made it through the pirates.

edit:
For doing the second floor of the spookyraven manor, in the function boolean LX_spookyravenSecond() I changed the >= to < in the code below.

if((get_property("cc_spookyravensecond") != "") || (get_property("lastSecondFloorUnlock").to_int() >= my_ascensions()))
{
return false;
}
I was having the same issues as you during my last few Hardcore Ed runs. Day 1 ran perfectly. Then on day 2, all of the issues you described happened to me. I tried investigating the issues as you did, but never found a resolution. I ended up abandoning HC Ed runs, and learning how to do 2 day Hardcore Community Services runs manually though, so that's been a nice change of pace for me.

I haven't tested these changes, but thanks for investigating and finding a resolution!

--acidsoul
User avatar
cheesecookie
Inscrutable Pi
Posts: 291
Joined: Mon Nov 24, 2014 4:53 pm

Re: Hardcore Ed Script Ascending (Ascends various paths suboptimally)

Post by cheesecookie »

rendar55 wrote: Wed May 30, 2018 1:09 pm Hello yet again! In case anyone else is having the same issue, I think I found a fix for the pirate portion. At the very start of the function boolean LX_pirateInsults(), this code snippet appears to be skipping the entire function, causing multiple other functions to get skipped:

if(!get_property("cc_shenCopperhead").to_boolean())
{
return false;
}

My fix was to comment out the "return false". cc_ascend then made it through the pirates.

edit:
For doing the second floor of the spookyraven manor, in the function boolean LX_spookyravenSecond() I changed the >= to < in the code below.

if((get_property("cc_spookyravensecond") != "") || (get_property("lastSecondFloorUnlock").to_int() >= my_ascensions()))
{
return false;
}
Those are both correctly determined. The first is definitely a regression error. The second might be too but I just don't remember making it. I'll update to resolve those.
Cieka
Pie of the Sky
Posts: 35
Joined: Fri Feb 20, 2009 9:45 am

Re: Hardcore Ed Script Ascending (Ascends various paths suboptimally)

Post by Cieka »

Hey cheese!

Is there a way to get it to not set the MCD to 10? I tried running this on Cieka again last night in a HC low skill ascension (I have several HP perm skills, but few of them are relevant to survival).

It immediately set the MCD to 10, went to Cobb's knob and I got the crap beat out of me, repeatedly.

I tried manually setting it, but it just resets it immediately after.
azsedcf
Just Plain Old Pie
Posts: 2
Joined: Sun Apr 08, 2018 11:50 pm

Re: Hardcore Ed Script Ascending (Ascends various paths suboptimally)

Post by azsedcf »

I've got an odd issue, when I try running a regular or hardcore standard run it seem that the script has a fit when unlocking the hidden temple. If it goes the path of unlocking with the map, after it unlocks the temple it then tries to talk to Dakota Fanning, who isn't there and gets trapped.

If it decides to do the Dakota Fanning route, then it just gets trapped.

By trapped it keeps running this bit of text over and over in a loop, even if I restart either the script or kolmafia. On later days it will do the startup and pre-adventuring stuff, but then get trapped again. Here is an example from today. This time it went the map route and unlocked the temple.

Code: Select all

[33] The Spooky Forest
Encounter: Arboreal Respite
Encounter: The Road Less Traveled
Encounter: Tree's Last Stand
Encounter: Tree's Last Stand
Encounter: Tree's Last Stand
You spent 100 Meat
You acquire an item: spooky sapling
Using 1 Spooky Temple map...
Finished using 1 Spooky Temple map.
Turn(33): Starting with 38 left and 12 pulls left at Level: 6
Encounter: -26.0 Exp Bonus: 30.395833333333332
Meat Drop: 110.0 Item Drop: 147.5967477524977
HP: 130/141, MP: 102/102
Tummy: 1/15 Liver: 4/14 Spleen: 0/15
ML: 10 control: 10
Delay between adventures... beep boop... 
Countdown: 1 second...
Waiting completed.
Looking at the billiards room: 14 <= 17 <= 18
Not quite boozed up for the billiards room... we'll be back.

Talking to Dakota Fanning
Turn(33): Starting with 38 left and 12 pulls left at Level: 6
Encounter: -26.0 Exp Bonus: 30.395833333333332
Meat Drop: 110.0 Item Drop: 147.5967477524977
HP: 130/141, MP: 102/102
Tummy: 1/15 Liver: 4/14 Spleen: 0/15
ML: 10 control: 10
Delay between adventures... beep boop... 
Countdown: 1 second...
Waiting completed.
Looking at the billiards room: 14 <= 17 <= 18
Not quite boozed up for the billiards room... we'll be back.

Talking to Dakota Fanning
Turn(33): Starting with 38 left and 12 pulls left at Level: 6
Encounter: -26.0 Exp Bonus: 30.395833333333332
Meat Drop: 110.0 Item Drop: 147.5967477524977
HP: 130/141, MP: 102/102
Tummy: 1/15 Liver: 4/14 Spleen: 0/15
ML: 10 control: 10
Delay between adventures... beep boop... 
Countdown: 1 second...
Waiting completed.
Looking at the billiards room: 14 <= 17 <= 18
Not quite boozed up for the billiards room... we'll be back.

Talking to Dakota Fanning
Turn(33): Starting with 38 left and 12 pulls left at Level: 6
Encounter: -26.0 Exp Bonus: 30.395833333333332
Meat Drop: 110.0 Item Drop: 147.5967477524977
HP: 130/141, MP: 102/102
Tummy: 1/15 Liver: 4/14 Spleen: 0/15
ML: 10 control: 10
Delay between adventures... beep boop... 
Countdown: 1 second...
Waiting completed.
Looking at the billiards room: 14 <= 17 <= 18
Not quite boozed up for the billiards room... we'll be back.

Talking to Dakota Fanning
Turn(33): Starting with 38 left and 12 pulls left at Level: 6
Encounter: -26.0 Exp Bonus: 30.395833333333332
Meat Drop: 110.0 Item Drop: 147.5967477524977
HP: 130/141, MP: 102/102
Tummy: 1/15 Liver: 4/14 Spleen: 0/15
ML: 10 control: 10
Delay between adventures... beep boop... 
Countdown: 1 second...
Waiting completed.
Looking at the billiards room: 14 <= 17 <= 18
Not quite boozed up for the billiards room... we'll be back.

Talking to Dakota Fanning
KoLmafia declares world peace.
If I hadn't stopped it, it would keep going. The first time I ran across this I had walked away for a half hour. It was Dakota Fannings all the way down. Is there something I can do to fix this?


Edit: For some reason the next day it's cleared up.
Fessor Eli
Just Plain Old Pie
Posts: 5
Joined: Fri Jul 07, 2017 6:26 am

Re: Hardcore Ed Script Ascending (Ascends various paths suboptimally)

Post by Fessor Eli »

Curious as to status of g-lover in cc_ascend? Thanks
User avatar
cheesecookie
Inscrutable Pi
Posts: 291
Joined: Mon Nov 24, 2014 4:53 pm

Re: Hardcore Ed Script Ascending (Ascends various paths suboptimally)

Post by cheesecookie »

Cieka wrote: Fri Jul 27, 2018 2:47 am Is there a way to get it to not set the MCD to 10? I tried running this on Cieka again last night in a HC low skill ascension (I have several HP perm skills, but few of them are relevant to survival).
set cc_beatenUpCount = 30

That should get it to be cautious about ML.
azsedcf wrote: Fri Jul 27, 2018 9:09 pm I've got an odd issue, when I try running a regular or hardcore standard run it seem that the script has a fit when unlocking the hidden temple. If it goes the path of unlocking with the map, after it unlocks the temple it then tries to talk to Dakota Fanning, who isn't there and gets trapped.

Edit: For some reason the next day it's cleared up.
This may have been due to an issue where I did not reset the Dakota Fanning setting upon setting the script in a new ascension. Actually, I think there is a secondary issue that I should go patch up too...
Fessor Eli wrote: Mon Jul 30, 2018 8:21 am Curious as to status of g-lover in cc_ascend? Thanks
Works poorly, giving me 4 day Softcore runs at the moment. I suggest pulling milk/milk (magnesium/gallon) to eat on days 1/2/4 (astral hot dogs on day 3). And maybe pull a mime army shotglass and some 1 drunk gbooze to help. I would suggest potentially pulling loadstone/logging hatchet on day 2 and digitizing a wished ghost on Day 1. Also, go Seal Clubber. You may need to pull something like a ghast iron cleaver if you are having combat issues.
Cieka
Pie of the Sky
Posts: 35
Joined: Fri Feb 20, 2009 9:45 am

Re: Hardcore Ed Script Ascending (Ascends various paths suboptimally)

Post by Cieka »

Thanks, I'll try that and see how it works. I'd like to ask a few other questions and I apologize, but I have been gone a long time so some of these may try your patience (speaking of which, lol, what type of donations would you prefer for this amazing piece of brilliance? :)

1) I notice it changes my choice adventures choices for the daily dungeon when running it. Is this assuming that I have a gelatinous cubeling that the script should have used to get me the pick-o-matic lockpicks? I am in a SC ascension, don't have the lockpicks, but I have pulled a PYEC and it stops the script and forces me to choose every time because it doesn't recognize that as an option. It sets (example 692 to choice 3)

1.2) The same is true for 693. I'm guessing I just need to buy the cubeling, but it's still worth mentioning that for at least the first scenario, a reasonable alternative exists that it doesn't see.

2) Does it recognize, and use combat scripts if they exist? It complained about an auto-attack macro, so I got rid of it, but I haven't figure out if there's a way to "help" it with a combat plan that works for me. Even using the above setting it's trying to do the pirate quest now, and when putting on the pirate outfit (which lowers my survivability substantially), it just attacks constantly. I'd prefer to it noodle/salve/shield butt, as an example, especially on harder fights, but it doesn't seem to get that.

2.2) It's entirely possible that this is a function of me having been gone a REALLY long time, and there are skills that are just "given" by this point that I don't have. I've read most of this thread, but skimming a bit since it's 3 years old. Is there an updated list somewhere, or some personal knowledge of things it might be assuming I have, but don't, for skills, much like the cubeling? (and other familiars for that matter?)

2.3) The above combat script works better if if I keep the navel ring equipped, rather than the astral ring. I'm done with the F'cle now though so I can't test. Is it possible that if I leave the navel ring in my acc1 slot it will assume that's the one to keep, or not?

3) Assuming said list above about skills and items exists, and there's a bit of catchup I need to do, what would you recommend I farm to pick up a few of those combat related skills in the meantime? There seems to be precious little that I can do to get it to farm karma without a couple hours of manual intervention each day (which sadly, I don't have). Running manually is making me re-learn or learn a bunch of stuff, but it'd be useful to be able to manually run say, once a week or every other week, and get 1-2 other ascensions in each week to help catch back up. Someone mentioned community runs as a possibility?

--Cieka
User avatar
cheesecookie
Inscrutable Pi
Posts: 291
Joined: Mon Nov 24, 2014 4:53 pm

Re: Hardcore Ed Script Ascending (Ascends various paths suboptimally)

Post by cheesecookie »

Cieka wrote: Fri Aug 03, 2018 4:43 am ...what type of donations would you prefer...
Turtle mechs are always the answer.
Cieka wrote: Fri Aug 03, 2018 4:43 am 1) I notice it changes my choice adventures choices for the daily dungeon when running it. Is this assuming that I have a gelatinous cubeling that the script should have used to get me the pick-o-matic lockpicks? I am in a SC ascension, don't have the lockpicks, but I have pulled a PYEC and it stops the script and forces me to choose every time because it doesn't recognize that as an option. It sets (example 692 to choice 3)

1.2) The same is true for 693. I'm guessing I just need to buy the cubeling, but it's still worth mentioning that for at least the first scenario, a reasonable alternative exists that it doesn't see.
I actually thought I had handled this. Maybe I put down the wrong choice, the code sets it to choice 4, if you have a PYEC choice 7, else if you have lockpicks choice 3, else, if you have an extra skeleton key choice 2.

693 should be set to option 2 if you have an Eleven-Foot pole, otherwise option 1. I'm a little confused as to what is going on.
Cieka wrote: Fri Aug 03, 2018 4:43 am 2) Does it recognize, and use combat scripts if they exist? It complained about an auto-attack macro, so I got rid of it, but I haven't figure out if there's a way to "help" it with a combat plan that works for me. Even using the above setting it's trying to do the pirate quest now, and when putting on the pirate outfit (which lowers my survivability substantially), it just attacks constantly. I'd prefer to it noodle/salve/shield butt, as an example, especially on harder fights, but it doesn't seem to get that.
Yes, it'll just warn you as a combat script can cause problems. Noodle/salve/shieldbutt is probably fine. The major issue is if your script uses something that is once-per-combat that cc_ascend wants to use.
Cieka wrote: Fri Aug 03, 2018 4:43 am 2.2) It's entirely possible that this is a function of me having been gone a REALLY long time, and there are skills that are just "given" by this point that I don't have. I've read most of this thread, but skimming a bit since it's 3 years old. Is there an updated list somewhere, or some personal knowledge of things it might be assuming I have, but don't, for skills, much like the cubeling? (and other familiars for that matter?)
There isn't really a list. The Cubeling is important. If you are sauceror: Curse of Weaksauce, Itchy Trigger Finger, Cannelloni (sp?) Cannon. That provides a decide combat for Sauceror.
Cieka wrote: Fri Aug 03, 2018 4:43 am 2.3) The above combat script works better if if I keep the navel ring equipped, rather than the astral ring. I'm done with the F'cle now though so I can't test. Is it possible that if I leave the navel ring in my acc1 slot it will assume that's the one to keep, or not?
Set cc_equipment_override_acc1 and that may work. Accessory slot 3 is the most resistant to overrides. The accessory code is terrible at the moment. Absolutely awful.
Cieka wrote: Fri Aug 03, 2018 4:43 am 3) Assuming said list above about skills and items exists, and there's a bit of catchup I need to do, what would you recommend I farm to pick up a few of those combat related skills in the meantime? There seems to be precious little that I can do to get it to farm karma without a couple hours of manual intervention each day (which sadly, I don't have). Running manually is making me re-learn or learn a bunch of stuff, but it'd be useful to be able to manually run say, once a week or every other week, and get 1-2 other ascensions in each week to help catch back up. Someone mentioned community runs as a possibility?
Hardcore Community Service is the standard goto for karma farming. The most stuff you have, the better, of course. I don't know the minimum but Curse of Weaksauce and Itchy Trigger Finger are pretty much an absolute requirement for the script. If you try it, you may want to do it something when I'm online so we can talk about it as you do it.
Cieka
Pie of the Sky
Posts: 35
Joined: Fri Feb 20, 2009 9:45 am

Re: Hardcore Ed Script Ascending (Ascends various paths suboptimally)

Post by Cieka »

Thank you so much for that, I did a bunch of reading after this and will try and follow up with some more specific things when I get my feet back under me.

The only immediate question I have is your mention of itchy trigger finger, which doesn't seem to be permable?

Since curse of weaksauce is also mentioned, do you mean itchy curse finger (making curses not take a combat turn?)
User avatar
cheesecookie
Inscrutable Pi
Posts: 291
Joined: Mon Nov 24, 2014 4:53 pm

Re: Hardcore Ed Script Ascending (Ascends various paths suboptimally)

Post by cheesecookie »

Cieka wrote: Thu Aug 09, 2018 3:58 am Thank you so much for that, I did a bunch of reading after this and will try and follow up with some more specific things when I get my feet back under me.

The only immediate question I have is your mention of itchy trigger finger, which doesn't seem to be permable?

Since curse of weaksauce is also mentioned, do you mean itchy curse finger (making curses not take a combat turn?)
Uh, yeah that one. That lets you weaksauce and not be killed while you do it.

I don't know anything about this game anymore.
Baconator5000
Just Plain Old Pie
Posts: 1
Joined: Tue Oct 02, 2018 11:33 am

Re: Hardcore Ed Script Ascending (Ascends various paths suboptimally)

Post by Baconator5000 »

Been having problems with Ed. First off, the script will seem to intentional make me die three times, so that I have to manually use a Ka to revive. This is because it wants to cast MILD CURSE at high level enemies, or just any enemies when low level.

It also seems to get confused if you don't open the island for it manually, and spend a good amount of turns dying in the 70s volcano. Furthermore, it didn't buy (spleen) food for Ed. I had to drop HC in order to get myself some antimatter wads in order to get it going again. Any advice would be greatly appreciated.

Edit: On another character, the script properly killed the same enemies that the character i am complaining about. Huh.... The character that it was properly killing on was in Ronin, not HC, did that change its priorities?
taltamir
Just Plain Old Pie
Posts: 6
Joined: Mon Oct 08, 2018 11:11 pm

Re: Hardcore Ed Script Ascending (Ascends various paths suboptimally)

Post by taltamir »

Great script. Noticed 2 issues:

1. when skipping the dense llianas with a machete. The script will switch weapons back and forth after every single liana. Instead of
>equip machete
>kill all 15 lianas at 0 adv cost
>return to normal equipment

it does
>equip machete
>kill 1 liana for 0 adv cost
>equip normal weapon
>equap machete
>kill 1 liana for 0 adv cost
>equip normal weapon
repeat 15 times. this is much unncessary server hits.

Code: Select all

> Post Adventure done, beep.
> Turn(1834): Starting with 80 left and -1 pulls left at Level: 18
> Still flyering: 0
> Encounter: -5.0   Exp Bonus: 9.258333333333335
> Meat Drop: 66.49719092257398   Item Drop: 40.0
> HP: 371/371, MP: 601/626
> Tummy: 0/15 Liver: 3/19 Spleen: 0/15
> ML: 25 control: 10
> Soulsauce: 44
> Delay between adventures... beep boop... 

equip weapon titanium assault umbrella

equip weapon antique machete
> Starting preadventure script...
> Pre Adventure at A Massive Ziggurat done, beep.

[1835] A Massive Ziggurat
Encounter: dense liana
Round 0: taltamir_no_MrStore wins initiative!
Round 1: taltamir_no_MrStore wins the fight!
You gain 5 Soulsauce

cast 1 Soul Food
You gain 15 Mana Points

cast 1 Cannelloni Cocoon
You gain 11 hit points
> Post Adventure done, beep.
> Turn(1834): Starting with 80 left and -1 pulls left at Level: 18
> Still flyering: 0
> Encounter: -5.0   Exp Bonus: 9.258333333333335
> Meat Drop: 66.49719092257398   Item Drop: 40.0
> HP: 371/371, MP: 596/626
> Tummy: 0/15 Liver: 3/19 Spleen: 0/15
> ML: 25 control: 10
> Soulsauce: 44
> Delay between adventures... beep boop... 

equip weapon titanium assault umbrella

equip weapon antique machete
> Starting preadventure script...
> Pre Adventure at A Massive Ziggurat done, beep.

2. When in after ronin, it tries to "pull" food it bought from the mall, and this fails because the food never went into hangk because i am after ronin. It also for some reason tries to pull 0 units.

Code: Select all

Using cached search results for spaghetti with Skullheads...
Purchasing spaghetti with Skullheads (1 @ 5,998)...
Purchases complete.
Trying to pull 0 of spaghetti with Skullheads
Failed pulling 0 of spaghetti with Skullheads
Starting bedtime: Pulls Left: -1
Deleting processed mail...
4 messages deleted.
3. seems to be flipping pieces of the outfit after every turn in the frat-hippy war too. Every turn it wears the reinforced beaded headband (part of hippy disguise), then the badge of authority, then the frat warrior fatigues (with replaces both of the above)

Code: Select all

Post Adventure done, beep.
Turn(2065): Starting with 2 left and -1 pulls left at Level: 19
Encounter: -5.0 Exp Bonus: 5.666666666666665
Meat Drop: 110.332495807108 Item Drop: 40.0
HP: 319/319, MP: 570/574
Tummy: 14/15 Liver: 19/19 Spleen: 0/15
ML: 5 control: 0
Soulsauce: 98
Delay between adventures... beep boop... 
Countdown: 1 second...
Waiting completed.
Putting on reinforced beaded headband...
Equipment changed.
Putting on badge of authority...
Equipment changed.
Doing the wars.
Putting on outfit: Frat Warrior Fatigues
Equipment changed.
the above were on BIG after-ronin at level 19 if it matters. (it shouldn't... but...)
taltamir
Just Plain Old Pie
Posts: 6
Joined: Mon Oct 08, 2018 11:11 pm

Re: Hardcore Ed Script Ascending (Ascends various paths suboptimally)

Post by taltamir »

In hardcore Ed, 0 bonus skillpoints from previous ascensions, when running out of meat it goes into an infinite loop.

Code: Select all

Turn(857): Starting with 31 left at Level: 11
Encounter:     0.0 Exp Bonus: 7.654166666666667
Meat Drop:     0.0 Item Drop: 55.566838487557476
HP: 59/116,     MP: 127/287
Tummy: 0/5 Liver: 2/4 Spleen:     35/35
ML: 10 control: 10
Ka     Coins: 8 Lashes used: 1
Delay between     adventures... beep boop... 
Countdown: 1 second...
Waiting     completed.
Searching for baking soda, I mean,     blasting pop.
Putting your Priest to work...
Your current     servant is Imhorhenbek, the Priest (lvl. 24, 385 xp)

Putting your     Cat to work...
Your current servant is Esbithis, the Cat (lvl. 23, 325     xp)

Starting preadventure script...
We     can't cap this drop bear!
Pre Adventure at     The Haunted Laundry Room done, beep.
Starting     Ed Battle at The Haunted Laundry Room

Preadventure     skipped by standard adventure handler.
Desired purchase quantity     not reached (wanted 1, got 0)
You need 1 more Doc     Galaktik's Invigorating Tonic to continue.
Autorecovery     failed.
The above repeats infinitely.

Also, is there some setting I can give it to automatically use fortune cookies to grab the food/drink semirares? Ed has a small stomach and liver, but they are still there
User avatar
cheesecookie
Inscrutable Pi
Posts: 291
Joined: Mon Nov 24, 2014 4:53 pm

Re: Hardcore Ed Script Ascending (Ascends various paths suboptimally)

Post by cheesecookie »

Baconator5000 wrote: Tue Oct 02, 2018 11:36 am Been having problems with Ed. First off, the script will seem to intentional make me die three times, so that I have to manually use a Ka to revive. This is because it wants to cast MILD CURSE at high level enemies, or just any enemies when low level.

It also seems to get confused if you don't open the island for it manually, and spend a good amount of turns dying in the 70s volcano. Furthermore, it didn't buy (spleen) food for Ed. I had to drop HC in order to get myself some antimatter wads in order to get it going again. Any advice would be greatly appreciated.

Edit: On another character, the script properly killed the same enemies that the character i am complaining about. Huh.... The character that it was properly killing on was in Ronin, not HC, did that change its priorities?
It may have had better options in Ronin? It will cast mild curse when it runs out of options, which is not desirable. It may have an unresolved MP issue.

I don't know enough about the combats you are dying in to try to help.
taltamir wrote: Mon Oct 08, 2018 11:24 pm Great script. Noticed 2 issues:

1. when skipping the dense llianas with a machete. The script will switch weapons back and forth after every single liana. Instead of
>equip machete
>kill all 15 lianas at 0 adv cost
>return to normal equipment

it does
>equip machete
>kill 1 liana for 0 adv cost
>equip normal weapon
>equap machete
>kill 1 liana for 0 adv cost
>equip normal weapon
repeat 15 times. this is much unncessary server hits.


2. When in after ronin, it tries to "pull" food it bought from the mall, and this fails because the food never went into hangk because i am after ronin. It also for some reason tries to pull 0 units.


3. seems to be flipping pieces of the outfit after every turn in the frat-hippy war too. Every turn it wears the reinforced beaded headband (part of hippy disguise), then the badge of authority, then the frat warrior fatigues (with replaces both of the above)

the above were on BIG after-ronin at level 19 if it matters. (it shouldn't... but...)
1) This will not be changing. Fighting 15 lianas in a row is not always desirable.

2) I don't know what to tell you about post-ronin. That is not a situation I can replicate easily at all. I can probably do something about that. Pulling 0 is not an issue though.

3) Similar to 1), we may not be going to try the war again so we have to reconsider our outfit. BIG is not supported but that is unrelated.
taltamir wrote: Sun Oct 14, 2018 3:01 pm In hardcore Ed, 0 bonus skillpoints from previous ascensions, when running out of meat it goes into an infinite loop.

Code: Select all

Preadventure     skipped by standard adventure handler.
Desired purchase quantity     not reached (wanted 1, got 0)
You need 1 more Doc     Galaktik's Invigorating Tonic to continue.
Autorecovery     failed.
The above repeats infinitely.

Also, is there some setting I can give it to automatically use fortune cookies to grab the food/drink semirares? Ed has a small stomach and liver, but they are still there
1) autorecovery should not be enabled. I'm not sure why preadventure was skipped in your case but this wasn't an action of the script.

2) At the moment no, some fortune cookie management is bound to happen but I can't remotely estimate as to when.


Finally, kmails are probably better for getting in touch. I don't check these forums often. Although, I have a backlog of well over a dozen kmails.
taltamir
Just Plain Old Pie
Posts: 6
Joined: Mon Oct 08, 2018 11:11 pm

Re: Hardcore Ed Script Ascending (Ascends various paths suboptimally)

Post by taltamir »

Thank you for the answers. (also has this forum been down for the last 2 days?)
cheesecookie wrote: Thu Oct 18, 2018 3:42 pm1) This will not be changing. Fighting 15 lianas in a row is not always desirable.
I am curious, when it is not optimal to do the 15 dense liana free fights immediately?

Anyways, to clarify. The main issue I was getting it is that it was flipping its equipment choice back and forth between each dense liana, even though it decided to do all 15 in a row.
cheesecookie wrote: Thu Oct 18, 2018 3:42 pm2) I don't know what to tell you about post-ronin. That is not a situation I can replicate easily at all. I can probably do something about that. Pulling 0 is not an issue though.
Thanks
cheesecookie wrote: Thu Oct 18, 2018 3:42 pm3) Similar to 1), we may not be going to try the war again so we have to reconsider our outfit. BIG is not supported but that is unrelated.
I can't imagine anything in big that would do it. Especially since it was post ronin big which is basically casual, but happened to be level 16 instead of 13. As far as I am aware the higher level is the only difference between post ronin big and casual.
cheesecookie wrote: Thu Oct 18, 2018 3:42 pm1) autorecovery should not be enabled. I'm not sure why preadventure was skipped in your case but this wasn't an action of the script.
Auto recovery is disabled. This is caused by using mafia's cast command. If you try to use kol's default UI to cast a spell you do not have MP for it fails saying you don't have the MP.

But if you use mafia's cast command without enough MP then it will perform a one time auto MP restore. Preadventure was trying to cast prayer of seshet without enough MP, resulting mafia automatically trying to get enough MP to finish the casting. Resulting in an error of not having enough meat.
Example from CLI

Code: Select all

> cast 12 prayer of seshat

Casting Prayer of Seshat 12 times...
You acquire an effect: Prayer of Seshat (120)
Prayer of Seshat was successfully cast.

> cast prayer of seshat

Casting Prayer of Seshat 1 times...
You acquire an effect: Prayer of Seshat (10)
Prayer of Seshat was successfully cast.

> cast prayer of seshat

Purchasing Doc Galaktik's Invigorating Tonic (13 @ 90)...
You spent 1,170 Meat
You acquire Doc Galaktik's Invigorating Tonic (13)
Purchases complete.
Using 13 Doc Galaktik's Invigorating Tonic...
You gain 127 Mana Points
Finished using 13 Doc Galaktik's Invigorating Tonic.
Casting Prayer of Seshat 1 times...
You acquire an effect: Prayer of Seshat (10)
Prayer of Seshat was successfully cast.
Last one was at 0MP, so it bought doc galactic to restore MP to cast it.
Note that it restored it to 50% MP. This because I still retain the mana settings froms the script which are
"Do not auto recover mana"
"recover up to 50% mana"
The first line indicates that mafia will not auto initiate mana recovery between battles. The second line indicates that on a "manual" recovery request (such as by clicking the MP bar) mafia will recover to 50% only.

The second line btw can also be set to "do not recover mana", but cast still recovers a minimum amount in such a case

Code: Select all

> cast 24 prayer of seshat

Casting Prayer of Seshat 24 times...
You acquire an effect: Prayer of Seshat (240)
Prayer of Seshat was successfully cast.

> cast prayer of seshat

Purchasing Doc Galaktik's Invigorating Tonic (1 @ 90)...
You spent 90 Meat
You acquire an item: Doc Galaktik's Invigorating Tonic
Purchases complete.
Using 1 Doc Galaktik's Invigorating Tonic...
You gain 11 Mana Points
Finished using 1 Doc Galaktik's Invigorating Tonic.
Casting Prayer of Seshat 1 times...
You acquire an effect: Prayer of Seshat (10)
Prayer of Seshat was successfully cast.
The first line was batch casting 24 to drain MP to 2.
Second line tried to cast it once (5MP cost on 2 MP left) and used a single doc galactic tonic. Restoring just enough for a single casting. Unlike previous example which bought 13 doc galactic tonics to restore me to 50% MP.

---

Also, may I suggest an anti infinite loop measure. Create a variable infloopcount and lastturn.
Whenever the turn planner that gives the outputs
Turn(714): Starting with 3 left at Level: 10
comes about, it should check to see if lastturn was a smaller number. If yes, set infloopcount to zero, if yes then ++ it.
Then check if infloopcount is greater than 30, if yes abort.
post combat should also reset it to zero (to take care of free combats being chained possibly).

As such, an infinite loop would be caught and terminate automatically. The only way for a false positive is if you somehow chain 30 noncombats that don't consume adventures somehow. Which AFAIK is not possible. And if it does happens can be addressed with a targetted reset of the counter on some such NC adventures.
taltamir
Just Plain Old Pie
Posts: 6
Joined: Mon Oct 08, 2018 11:11 pm

Re: Hardcore Ed Script Ascending (Ascends various paths suboptimally)

Post by taltamir »

On low skill HC ed runs (I am assuming that +50% buff ed unlocks later works) the script is unable to finish the orc chasm quest. Specifically, it can't get 50% item drop bonus for the panty test on twin peak. Due to being HC, I couldn't get 50% item either (although in retrospect, I can think of some side quests that could have done it) and had to resort to brute forcing it for 50 turns to burn the place down.

After burning the place down, and even after completing the quest and getting the reward and going to amon and unlocking the sorceress tower, the script refuses to run anymore until I beat myself in the sorceress tower. Saying that I had already spent 54 adventures in twin peak, so it is aborting.

I think before aborting for spending too many adventures in twin peak, it should check if twin peak is completed, and if it is completed then don't abort.

Also, wow the improvement of just finishing a single HC ed run and having 2 more skill points to work with is utterly massive!

----

suggestion: cc_ascend replaces prismbreak script with its own version. When breaking the prism, it then changes settings back to the original prismbreak script. Recommend actually running the original prismbreak script when doing so.

And/or add "pull all" and "breakfast" in cc_ascend prism break script.

---

What is the deal with pre and post combat being skipped by standard adventure handler?
Preadventure skipped by standard adventure handler.
Postadventure skipped by standard adventure handler.
edit: I downloaded a fresh copy of mafia in an isolated directory and installed only cc_ascend and nothing else on it. I then ran it and it still gave me the same two messages above.

Also why do I constantly see lines like:
Incorrect spleen limit (0) but actually: 15 overriding.
What is going on with that?
taltamir
Just Plain Old Pie
Posts: 6
Joined: Mon Oct 08, 2018 11:11 pm

Re: Hardcore Ed Script Ascending (Ascends various paths suboptimally)

Post by taltamir »

It got stuck on a different infinite loop in twin peak. This time I am on my 3rd HC Ed run so I started out with 4 skillpoints.
And I have 30k meat so its not running out of meat that is the problem. I downloaded a fresh isolated copy of mafia and only installed cc_ascend on it.
[1077] Twin Peak
Encounter: Lost in the Great Overlook Lodge
Override hit a choice adventure (Twin Peak), trying....
Submitting option 3 for choice 606
Encounter: Lost in the Great Overlook Lodge
Backwards Twin Peak Handler, can this be removed? (As of 2016/04/17, no)
Encounter: Lost in the Great Overlook Lodge
Encounter: Lost in the Great Overlook Lodge
Encounter: Lost in the Great Overlook Lodge
Encounter: Lost in the Great Overlook Lodge
Turn(1076): Starting with 203 left at Level: 12
Still flyering: 657
Encounter: -20.0 Exp Bonus: 6.958333333333334
Meat Drop: 0.0 Item Drop: 5.0
HP: 154/176, MP: 140/366
Tummy: 1/5 Liver: 0/4 Spleen: 35/35
ML: 10 control: 10
Ka Coins: 168 Lashes used: 0
Delay between adventures... beep boop...
Countdown: 1 second...
Waiting completed.
Encounter: Lost in the Great Overlook Lodge
Encounter: Lost in the Great Overlook Lodge
Encounter: Lost in the Great Overlook Lodge
Encounter: Lost in the Great Overlook Lodge
Starting preadventure script...
We can't cap this drop bear!
Pre Adventure at Twin Peak done, beep.
Putting your Priest to work...
Encounter: Lost in the Great Overlook Lodge
Encounter: Lost in the Great Overlook Lodge
You do not currently have an active servant

Putting your Maid to work...
Encounter: Lost in the Great Overlook Lodge
Encounter: Lost in the Great Overlook Lodge
You do not currently have an active servant

About to start a combat indirectly at Twin Peak... (1) accesses required.
The above repeats infinitely. Aborting shows it is currently in a NC choice in
"Lost in the Great Overlook Lodge"
At the time the only options available were to search the pantry or leave.

----
also, after manually finishing the above quest. I tried running the script again but it kept on exiting with an error
"We don't have the molybdenum magnet but should... please get it and rerun the script"

However, yosarian was actually already completed which is why I didn't have it. The only quest not completed was the war (and killing yourself, and grabbing the holy mcguffin).
For the war itself junkyard and lighthouse were done. arena was at 96% flyering. I finished flyering manually and ran it again. still giving that error. Tried progressing to orchard, still the same error. Still the same after doing orchard. Went ahead and just finished the quest manually, after killing the boss at hippy camp and running cc_ascend it was able to pickup and continue.
User avatar
cheesecookie
Inscrutable Pi
Posts: 291
Joined: Mon Nov 24, 2014 4:53 pm

Re: Hardcore Ed Script Ascending (Ascends various paths suboptimally)

Post by cheesecookie »

I should probably stifle this conversation now. I am semi-retired at this point and don't intend on contributing to the script any time soon. You can try Edcension and see if that works better for you. I don't have the interest at this point to continue with this and there isn't going to be a new path for at least 3.5 months, if not longer.
taltamir
Just Plain Old Pie
Posts: 6
Joined: Mon Oct 08, 2018 11:11 pm

Re: Hardcore Ed Script Ascending (Ascends various paths suboptimally)

Post by taltamir »

cheesecookie wrote: Wed Oct 24, 2018 8:41 pm I should probably stifle this conversation now. I am semi-retired at this point and don't intend on contributing to the script any time soon. You can try Edcension and see if that works better for you. I don't have the interest at this point to continue with this and there isn't going to be a new path for at least 3.5 months, if not longer.
fair enough, thank you.
Fessor Eli
Just Plain Old Pie
Posts: 5
Joined: Fri Jul 07, 2017 6:26 am

Re: Hardcore Ed Script Ascending (Ascends various paths suboptimally)

Post by Fessor Eli »

Thank you for what you've been doing. Good luck with your "next thing."
Arbos
Just Plain Old Pie
Posts: 16
Joined: Fri Aug 18, 2017 7:51 am

Re: Hardcore Ed Script Ascending (Support Terminated)

Post by Arbos »

I'm grateful for the work that you've put into this, and other, KoLmafia scripts over the years. Your scripts have improved my KoL quality of life.

Thank you for your efforts.

Arbos
Post Reply