One-Click Wossname -- automatic level 12 quest completion

Ran in to a problem...

I installed the script, edited my custom combat with the necessary info, then ran the script. It ran for about 15-20 minutes until I got zerg'd, then the script halted due to low HP. I opened relay, healed, closed relay, started script again. It killed another fratboy, then got stuck in a redundant process of trying to adventure in the hatchling chamber even though that area was done. I noticed this and stopped the script, restarted script...it killed another fratboy and got stuck in that redundant process again. Basically it left off in the middle of the gunpowder sidequest but apparently didn't save that info, and is trying to start all over again.

The entire process is below, kinda long...

Code:
> Checking for updates (running OCW ver. 1.4.0)...
> "optimal.txt" loaded (14 steps).
> Checking for outfits...

[50690] Frat House
Encounter: Room Raider
You acquire an item: Orcish cargo shorts

[50691] Frat House
Encounter: Of Human Bondage
You gain 70 Smarm
You lose 10 Meat

[50692] Frat House
Encounter: Know Thine Enemy
You gain 70 Mysteriousness

[50693] Frat House
Encounter: Busting a Cap
You acquire an item: Orcish baseball cap

[50694] Frat House
Encounter: Rosie the Carpenter
You acquire an item: homoerotic frat-paddle

[50695] Frat House
Encounter: V is for Victory
You gain 70 Strongness

[50696] Frat House
Encounter: A Good Cause
You gain 80 Sarcasm

[50697] Frat House
Encounter: Of Human Bondage
You gain 70 Chutzpah
You lose 10 Meat

[50698] Frat House
Encounter: Know Thine Enemy
You gain 70 Magicalness

[50699] Frat House
Encounter: A Good Cause
You gain 80 Roguishness

[50700] Frat House
Encounter: A Good Cause
You gain 80 Roguishness

[50701] Frat House
Encounter: V is for Victory
You gain 70 Fortitude

[50702] Frat House
Encounter: V is for Victory
You gain 70 Beefiness

[50703] Frat House
Encounter: Of Human Bondage
You gain 70 Chutzpah
You lose 10 Meat

[50704] Frat House
Encounter: Know Thine Enemy
You gain 70 Magicalness

[50705] Frat House
Encounter: A Good Cause
You gain 80 Smarm

[50706] Frat House
Encounter: A Good Cause
You gain 80 Roguishness

[50707] Frat House
Encounter: Of Human Bondage
You gain 70 Roguishness
You lose 10 Meat
> Checking for updates (running OCW ver. 1.4.0)...
> "optimal.txt" loaded (14 steps).
> Checking for outfits...

buy 1 beer helmet
You acquire an item: beer helmet

buy 1 distressed denim pants
You acquire an item: distressed denim pants

buy 1 bejeweled pledge pin
You acquire an item: bejeweled pledge pin

buy 1 reinforced beaded headband
You acquire an item: reinforced beaded headband

buy 1 bullet-proof corduroys
You acquire an item: bullet-proof corduroys

buy 1 round purple sunglasses
You acquire an item: round purple sunglasses

buy 1 flaregun
You acquire an item: flaregun
 > Starting the war...
outfit Frat Warrior Fatigues

buy 1 reodorant
You acquire an item: reodorant

use 1 reodorant

[50708] Hippy Camp
Encounter: War Hippy (space) cadet
Round 0: johnnyrichter wins initiative!
Round 1: johnnyrichter attacks!
You gain 8 Fortitude
You gain 12 Magicalness
You gain 29 Chutzpah

[50709] Hippy Camp
Encounter: War Hippy drill sergeant
Round 0: johnnyrichter wins initiative!
Round 1: johnnyrichter attacks!
You gain 11 Strengthliness
You gain 17 Mysteriousness
You gain 22 Roguishness

[50710] Hippy Camp
Encounter: War Hippy (space) cadet
Round 0: johnnyrichter wins initiative!
Round 1: johnnyrichter attacks!
You gain 10 Strengthliness
You gain 12 Wizardliness
You gain 24 Smarm

[50711] Hippy Camp
Encounter: War Hippy (space) cadet
Round 0: johnnyrichter loses initiative!
Round 1: johnnyrichter attacks!
You gain 11 Fortitude
You gain 16 Wizardliness
You gain 21 Chutzpah

[50712] Hippy Camp
Encounter: War Hippy (space) cadet
Round 0: johnnyrichter wins initiative!
Round 1: johnnyrichter attacks!
You gain 10 Strongness
You gain 10 Magicalness
You gain 27 Smarm

[50713] Hippy Camp
Encounter: War Hippy (space) cadet
Round 0: johnnyrichter wins initiative!
Round 1: johnnyrichter attacks!
You gain 14 Strongness
You gain 9 Wizardliness
You gain 24 Chutzpah

[50714] Hippy Camp
Encounter: War Hippy (space) cadet
Round 0: johnnyrichter wins initiative!
Round 1: johnnyrichter attacks!
You gain 17 Strengthliness
You gain 8 Magicalness
You gain 21 Cheek

[50715] Hippy Camp
Encounter: War Hippy (space) cadet
Round 0: johnnyrichter wins initiative!
Round 1: johnnyrichter attacks!
You gain 15 Strengthliness
You gain 14 Enchantedness
You gain 17 Cheek

[50716] Hippy Camp
Encounter: War Hippy drill sergeant
Round 0: johnnyrichter wins initiative!
Round 1: johnnyrichter attacks!
You acquire an item: bullet-proof corduroys
You gain 14 Fortitude
You gain 13 Magicalness
You gain 23 Chutzpah

[50717] Hippy Camp
Encounter: War Hippy (space) cadet
Round 0: johnnyrichter wins initiative!
Round 1: johnnyrichter attacks!
You gain 10 Muscleboundness
You gain 9 Magicalness
You gain 28 Cheek

[50718] Hippy Camp
Encounter: War Hippy (space) cadet
Round 0: johnnyrichter wins initiative!
Round 1: johnnyrichter attacks!
You gain 9 Strengthliness
You gain 13 Mysteriousness
You gain 28 Roguishness

[50719] Hippy Camp
Encounter: War Hippy (space) cadet
Round 0: johnnyrichter wins initiative!
Round 1: johnnyrichter attacks!
You gain 7 Muscleboundness
You gain 8 Magicalness
You gain 31 Roguishness

[50720] Hippy Camp
Encounter: The Thin Tie-Dyed Line
choice.php?pwd&whichchoice=140&option=2
You gain 50 Sarcasm

buy 1 reodorant
You acquire an item: reodorant

use 1 reodorant

[50721] Hippy Camp
Encounter: War Hippy drill sergeant
Round 0: johnnyrichter wins initiative!
Round 1: johnnyrichter attacks!
You acquire an item: bullet-proof corduroys
You gain 10 Beefiness
You gain 12 Magicalness
You gain 26 Chutzpah

[50722] Hippy Camp
Encounter: War Hippy drill sergeant
Round 0: johnnyrichter wins initiative!
Round 1: johnnyrichter attacks!
You gain 11 Strongness
You gain 13 Magicalness
You gain 27 Cheek

[50723] Hippy Camp
Encounter: War Hippy (space) cadet
Round 0: johnnyrichter wins initiative!
Round 1: johnnyrichter attacks!
You gain 10 Strongness
You gain 12 Enchantedness
You gain 25 Cheek

[50724] Hippy Camp
Encounter: Blockin' Out the Scenery
choice.php?pwd&whichchoice=142&option=3
 > War successfully incited. You provocateur you.
> Verifying Wossname progress...
> Current step: 0
> Completing step 0 of 14...
 > Warning: there was a problem equipping your chosen familiar/outfit.
outfit War Hippy Fatigues
 > Step 0 goal: 1 fratboys slain.

[50725] Battlefield (Hippy Uniform)
Encounter: War, Man. Like, Wow.
You acquire an item: lead pipe
You acquire 3 water pipe bombs
You acquire an item: communications windchimes

[50726] Battlefield (Hippy Uniform)
Encounter: Sorority Nurse
Round 0: johnnyrichter wins initiative!
Round 1: johnnyrichter attacks!
You acquire an item: energy drink IV
You acquire an item: PADL Phone
You gain 12 Strongness
You gain 12 Mysteriousness
You gain 24 Smarm
 > +1 fratboysDefeated ( 1 / 1 )
> Adventures remaining: 0.0
 > You are on Frat-slaying pic 0.
 > You are on Hippy-slaying pic 0.
 > Step 0 completed!
> Completing step 1 of 14...
> Baby Gravy Fairy is better than none...

familiar Baby Gravy Fairy (11 lbs)

Unequip Cymbal-Playing Monkey

equip familiar plastic pumpkin bucket
 > Warning: there was a problem equipping your chosen familiar/outfit.
 > Step 1: Organic Orchard sidequest

bigisland.php?place=orchard&action=stand&pwd

buy 1 lavender candy heart
You acquire an item: lavender candy heart

buy 1 lavender candy heart
You acquire an item: lavender candy heart

use 2 lavender candy heart

buy 2 Knob Goblin eyedrops
You acquire 2 bottles of Knob Goblin eyedrops

use 2 Knob Goblin eyedrops
> Baby Gravy Fairy is better than none...

[50727] Hatching Chamber
Encounter: larval filthworm
Round 0: johnnyrichter wins initiative!
Round 1: johnnyrichter attacks!
You gain 67 Meat
You gain 8 Beefiness
You gain 7 Magicalness
You gain 26 Chutzpah

[50728] Hatching Chamber
Encounter: larval filthworm
Round 0: johnnyrichter wins initiative!
Round 1: johnnyrichter attacks!
You gain 62 Meat
You acquire an item: filthworm hatchling scent gland
You gain 5 Muscleboundness
You gain 11 Magicalness
You gain 24 Sarcasm

use 1 filthworm hatchling scent gland
 > You smell like a hatchling.

[50729] Feeding Chamber
Encounter: filthworm drone
Round 0: johnnyrichter wins initiative!
Round 1: johnnyrichter attacks!
You gain 83 Meat
You acquire an item: filthworm drone scent gland
You gain 10 Beefiness
You gain 12 Magicalness
You gain 22 Cheek

use 1 filthworm drone scent gland
 > You smell like a drone.

[50730] Guards' Chamber
Encounter: filthworm royal guard
Round 0: johnnyrichter wins initiative!
Round 1: johnnyrichter attacks!

familiar Baby Gravy Fairy (12 lbs)

You gain 145 Meat
You gain 12 Muscleboundness
You gain 6 Enchantedness
You gain 23 Roguishness

[50731] Guards' Chamber
Encounter: filthworm royal guard
Round 0: johnnyrichter wins initiative!
Round 1: johnnyrichter attacks!
You gain 131 Meat
You acquire an item: filthworm royal guard scent gland
You gain 9 Strengthliness
You gain 11 Magicalness
You gain 21 Chutzpah

use 1 filthworm royal guard scent gland
 > You smell like a guard.

[50732] Queen's Chamber
Encounter: queen filthworm
Round 0: johnnyrichter wins initiative!
Round 1: johnnyrichter attacks!
You gain 1361 Meat
You acquire an item: heart of the filthworm queen
You gain 12 Strongness
You gain 8 Wizardliness
You gain 22 Roguishness
 > You still smell pretty bad.

bigisland.php?place=orchard&action=stand&pwd
bigisland.php?place=orchard&action=stand&pwd
You gain 4,645 Meat
 > Step 1 completed!
> Completing step 2 of 14...

familiar Cymbal-Playing Monkey (30 lbs)

Unequip Baby Gravy Fairy

equip familiar plastic pumpkin bucket
 > Warning: there was a problem equipping your chosen familiar/outfit.
outfit Frat Warrior Fatigues
 > Step 2 goal: 1 hippies slain.

[50733] Battlefield (Frat Uniform)
Encounter: I Am The Brotherhood
You acquire an item: perforated battle paddle
You acquire 3 beer bombs
You acquire an item: PADL Phone

[50734] Battlefield (Frat Uniform)
Encounter: War Hippy Windtalker
Round 0: johnnyrichter wins initiative!
Round 1: johnnyrichter attacks!
You acquire an item: green clay bead
You acquire an item: communications windchimes
You acquire an item: communications windchimes
You gain 11 Fortitude
You gain 9 Mysteriousness
You gain 31 Sarcasm
 > +1 hippiesDefeated ( 1 / 1 )
> Adventures remaining: 0.0
 > You are on Frat-slaying pic 0.
 > You are on Hippy-slaying pic 0.
 > Step 2 completed!
> Completing step 3 of 14...
 > Warning: there was a problem equipping your chosen familiar/outfit.
 > Step 3: Lighthouse sidequest

bigisland.php?place=lighthouse&action=pyro&pwd

buy 2 reodorant
You acquire 2 cans of reodorant

use 2 reodorant

[50735] Wartime Sonofa Beach
Encounter: A Latter-Day Litter Letter
You acquire an item: empty Cloaca-Cola bottle

[50736] Wartime Sonofa Beach
Encounter: Mystical Crap
You gain 30 Mysteriousness

[50737] Wartime Sonofa Beach
Encounter: What a Maroon
You acquire an item: goatskin umbrella

[50738] Wartime Sonofa Beach
Encounter: lobsterfrogman
Round 0: johnnyrichter wins initiative!
Round 1: johnnyrichter attacks!
You gain 163 Meat
You acquire an item: barrel of gunpowder
You gain 16 Strengthliness
You gain 11 Enchantedness
You gain 21 Smarm

[50739] Wartime Sonofa Beach
Encounter: Dad-a-Chick

[50740] Wartime Sonofa Beach
Encounter: Zerg Rush
You lose 734 hit points

use 1 scroll of drastic healing
> Checking for updates (running OCW ver. 1.4.0)...
> "optimal.txt" loaded (14 steps).
> Checking for outfits...
 > Starting the war...

[50741] Hippy Camp
Encounter: 
 > War successfully incited. You provocateur you.
> Verifying Wossname progress...
> Current step: 0
> Completing step 0 of 14...
 > Warning: there was a problem equipping your chosen familiar/outfit.
outfit War Hippy Fatigues
 > Step 0 goal: 1 fratboys slain.

[50741] Battlefield (Hippy Uniform)
Encounter: War Frat 110th Infantryman
Round 0: johnnyrichter wins initiative!
Round 1: johnnyrichter attacks!
You acquire an item: giant foam finger
You gain 15 Strongness
You gain 13 Mysteriousness
You gain 19 Sarcasm
 > +2 fratboysDefeated ( 2 / 1 )
> Adventures remaining: -0.5
 > You are on Frat-slaying pic 1.
 > You are on Hippy-slaying pic 0.
 > Step 0 completed!
> Completing step 1 of 14...
> Baby Gravy Fairy is better than none...

familiar Baby Gravy Fairy (12 lbs)

Unequip Cymbal-Playing Monkey

equip familiar plastic pumpkin bucket
 > Warning: there was a problem equipping your chosen familiar/outfit.
 > Step 1: Organic Orchard sidequest

bigisland.php?place=orchard&action=stand&pwd
> Baby Gravy Fairy is better than none...

[50742] Hatching Chamber
Encounter: 
 > You smell like a hatchling.

[50742] Hatching Chamber
Encounter: 
 > You smell like a hatchling.

[50742] Hatching Chamber
Encounter: 
 > You smell like a hatchling.

[50742] Hatching Chamber
Encounter: 
 > You smell like a hatchling.

[50742] Hatching Chamber
Encounter: 
 > You smell like a hatchling.

[50742] Hatching Chamber
Encounter: 
 > You smell like a hatchling.

[50742] Hatching Chamber
Encounter: 
 > You smell like a hatchling.

[50742] Hatching Chamber
Encounter: 
 > You smell like a hatchling.

[50742] Hatching Chamber
Encounter: 
 > You smell like a hatchling.

[50742] Hatching Chamber
Encounter: 
 > You smell like a hatchling.

[50742] Hatching Chamber
Encounter: 
 > You smell like a hatchling.

[50742] Hatching Chamber
Encounter: 
 > You smell like a hatchling.

[50742] Hatching Chamber
Encounter: 
 > You smell like a hatchling.

[50742] Hatching Chamber
Encounter: 
 > You smell like a hatchling.

[50742] Hatching Chamber
Encounter: 
 > You smell like a hatchling.

[50742] Hatching Chamber
Encounter: 
 > You smell like a hatchling.

[50742] Hatching Chamber
Encounter: 
 > You smell like a hatchling.

[50742] Hatching Chamber
Encounter: 
 > You smell like a hatchling.

[50742] Hatching Chamber
Encounter: 
 > You smell like a hatchling.

[50742] Hatching Chamber
Encounter: 
 > You smell like a hatchling.

[50742] Hatching Chamber
Encounter: 
 > You smell like a hatchling.

[50742] Hatching Chamber
Encounter: 
 > You smell like a hatchling.

[50742] Hatching Chamber
Encounter: 
 > You smell like a hatchling.

[50742] Hatching Chamber
Encounter: 
 > You smell like a hatchling.

[50742] Hatching Chamber
Encounter: 
 > You smell like a hatchling.

[50742] Hatching Chamber
Encounter: 
 > You smell like a hatchling.

[50742] Hatching Chamber
Encounter: 
 > You smell like a hatchling.

[50742] Hatching Chamber
Encounter: 
 > You smell like a hatchling.

[50742] Hatching Chamber
Encounter: 
 > You smell like a hatchling.

[50742] Hatching Chamber
Encounter: 
 > You smell like a hatchling.

[50742] Hatching Chamber
Encounter: 
 > You smell like a hatchling.

[50742] Hatching Chamber
Encounter: 
 > You smell like a hatchling.

[50742] Hatching Chamber
Encounter: 
 > You smell like a hatchling.

[50742] Hatching Chamber
Encounter: 
 > You smell like a hatchling.

[50742] Hatching Chamber
Encounter: 
 > You smell like a hatchling.

[50742] Hatching Chamber
Encounter: 
 > You smell like a hatchling.

[50742] Hatching Chamber
Encounter: 
 > You smell like a hatchling.

[50742] Hatching Chamber
Encounter: 
 > You smell like a hatchling.

[50742] Hatching Chamber
Encounter: 
 > You smell like a hatchling.

[50742] Hatching Chamber
Encounter: 
> Checking for updates (running OCW ver. 1.4.0)...
> "optimal.txt" loaded (14 steps).
> Checking for outfits...
 > Starting the war...
outfit Frat Warrior Fatigues

[50742] Hippy Camp
Encounter: 
 > War successfully incited. You provocateur you.
> Verifying Wossname progress...
> Current step: 0
> Completing step 0 of 14...
 > Warning: there was a problem equipping your chosen familiar/outfit.
outfit War Hippy Fatigues
 > Step 0 goal: 1 fratboys slain.

[50742] Battlefield (Hippy Uniform)
Encounter: War Frat 151st Infantryman
Round 0: johnnyrichter wins initiative!
Round 1: johnnyrichter attacks!
You lose 2 hit points
Round 2: johnnyrichter attacks!
You gain 9 Strengthliness
You gain 10 Magicalness
You gain 23 Cheek
 > +2 fratboysDefeated ( 2 / 1 )
> Adventures remaining: -0.5
 > You are on Frat-slaying pic 1.
 > You are on Hippy-slaying pic 0.
 > Step 0 completed!
> Completing step 1 of 14...
> Baby Gravy Fairy is better than none...
 > Warning: there was a problem equipping your chosen familiar/outfit.
 > Step 1: Organic Orchard sidequest

bigisland.php?place=orchard&action=stand&pwd
> Baby Gravy Fairy is better than none...

[50743] Hatching Chamber
Encounter: 
 > You smell like a hatchling.

[50743] Hatching Chamber
Encounter: 
 > You smell like a hatchling.

[50743] Hatching Chamber
Encounter: 
 > You smell like a hatchling.

[50743] Hatching Chamber
Encounter: 
 > You smell like a hatchling.

[50743] Hatching Chamber
Encounter: 
 > You smell like a hatchling.

[50743] Hatching Chamber
Encounter: 
 > You smell like a hatchling.

[50743] Hatching Chamber
Encounter: 
 > You smell like a hatchling.

[50743] Hatching Chamber
Encounter: 
 > You smell like a hatchling.

[50743] Hatching Chamber
Encounter: 
 > You smell like a hatchling.

[50743] Hatching Chamber
Encounter: 
 > You smell like a hatchling.

[50743] Hatching Chamber
Encounter: 
 > You smell like a hatchling.

[50743] Hatching Chamber
Encounter: 
 > You smell like a hatchling.

[50743] Hatching Chamber
Encounter: 

bigisland.php?place=orchard

[50743] Feeding Chamber
Encounter: 

> Checking for updates (running OCW ver. 1.4.0)...
> "optimal.txt" loaded (14 steps).
> Checking for outfits...
 > Starting the war...
outfit Frat Warrior Fatigues

[50743] Hippy Camp
Encounter: 
 > War successfully incited. You provocateur you.
> Verifying Wossname progress...
> Current step: 0
> Completing step 0 of 14...
 > Warning: there was a problem equipping your chosen familiar/outfit.
outfit War Hippy Fatigues
 > Step 0 goal: 1 fratboys slain.

[50743] Battlefield (Hippy Uniform)
Encounter: War Frat 500th Infantrygentleman
Round 0: johnnyrichter wins initiative!
Round 1: johnnyrichter attacks!
You gain 135 Meat
You acquire an item: perforated battle paddle
You gain 15 Fortitude
You gain 7 Magicalness
You gain 21 Roguishness
 > +2 fratboysDefeated ( 2 / 1 )
> Adventures remaining: -0.5
 > You are on Frat-slaying pic 1.
 > You are on Hippy-slaying pic 0.
 > Step 0 completed!
> Completing step 1 of 14...
> Baby Gravy Fairy is better than none...
 > Warning: there was a problem equipping your chosen familiar/outfit.
 > Step 1: Organic Orchard sidequest

bigisland.php?place=orchard&action=stand&pwd
> Baby Gravy Fairy is better than none...

[50744] Hatching Chamber
Encounter: 
 > You smell like a hatchling.

[50744] Hatching Chamber
Encounter: 
 > You smell like a hatchling.

[50744] Hatching Chamber
Encounter: 
 > You smell like a hatchling.

[50744] Hatching Chamber
Encounter: 
 > You smell like a hatchling.

[50744] Hatching Chamber
Encounter: 
 > You smell like a hatchling.

[50744] Hatching Chamber
Encounter: 
 > You smell like a hatchling.

[50744] Hatching Chamber
Encounter: 
 > You smell like a hatchling.

[50744] Hatching Chamber
Encounter: 
 > You smell like a hatchling.

[50744] Hatching Chamber
Encounter: 
 > You smell like a hatchling.

[50744] Hatching Chamber
Encounter:

I'm supposed to be at 1 kill per side, orchard sidequest done, and in the middle of the lighthouse sidequest but my battlefield counter reads...

3 frat boys defeated; 992-997 left (image 1).
0 hippies defeated; 998-1000 left (image 0).

...so it apparently that gm-script BF counter didn't count that hippy kill that took place right before the script entered in to the lighthouse sidequest.

I think I may have screwed myself by running this wossname script over and over. I suck at math, so I would have no idea how to figure out what process it would take to get back on path towards the wossname. :(
 
I venture a guess that your optimal.txt wasn't writing properly. I have had times when I have had to run the script multiple times per session and over the course of several sessions to finish the quest and it should be saving the status of each attempt in the optimal.txt, in your case.

If you run windows, is it perhaps set as read-only? Maybe it is corrupt in some fashion?
 
Here's my optimal.txt...

Code:
0	true	fratboysDefeated	1
1	true	sidequestOrchardCompleted	hippy
2	false	hippiesDefeated	1
3	false	sidequestLighthouseCompleted	fratboy
4	false	hippiesDefeated	195
5	false	sidequestNunsCompleted	fratboy
6	false	hippiesDefeated	463
7	false	sidequestFarmCompleted	fratboy
8	true	fratboysDefeated	195
9	true	sidequestJunkyardCompleted	hippy
10	true	fratboysDefeated	463
11	true	sidequestArenaCompleted	hippy
12	true	fratboysDefeated	999
13	false	hippiesDefeated	999

I haven't run mafia at all since my last post, since I'm still trying to figure out what steps I need to take in order to get the wossname.
 
Actually, optimal.txt only needs to be read, not written. It is just a list of steps to be taken -- OCW does not write to this file. OCW doesn't actually write to any file. It relies instead on mafia writing to its own settings file as you play.

So I would be curious to see your settings file, since evidently it is either not getting updated by mafia or read by OCW correctly. Open your settings file and check your first few settings, for fratboysDefeated, sidequestOrchardCompleted, and hippiesDefeated.

I don't think your Wossname is lost this go-around, so long as you're careful about how you fix it. Basically, as long as you do an odd number of kills between each sidequest, you're OK. So if you go one kill over, you need to go one more over before completing the next sidequest. You don't need a whole bunch of math.
 
Code:
fratboysDefeated=3
hippiesDefeated=0
sidequestOrchardCompleted=none

The odd thing is...the gcli output from last night says there was 1 hippy kill(with items dropped), but it didn't write to mafia prefs and the gm-script bf counter didn't count it.

I can change "0" to "1" for hippy kills, obviously...but what do I change "none" to for the orchard string?
 
I finished the lighthouse sidequest in proper gear via relay browser, and noticed kolmafia didn't save it to my username_prefs.txt.

I updated username_prefs.txt to reflect the current battlefield progress...3frats down, 1 hippy down, first 2 sidequests done. When loading the wossname script, I get this in the gCLI...

Code:
Checking for updates (running OCW ver. 1.4.0)...
battleAction=> custom: default.ccs
Internal checkpoint created.
"optimal.txt" loaded (14 steps).
hippiesDefeated => 0
fratboysDefeated => 0
sidequestOrchard completed => none
sidequestLighthouse completed => none
Checking for outfits...
Starting the war...
Refreshing stash contents...
Stash list retrieved.
Searching for "reodorant"...
Purchasing "reodorant" (1 @ 975)...
You acquire an item: reodorant
Purchases complete.
Using 1 reodorant...

etc

Apparently it's not reading from username_prefs.txt like I thought it was. It's acting like it's running from scratch all over again, it never saved any progress. Am I doing something wrong here?
 
Just to be clear, when you say "username_prefs.txt" you mean "johnnyrichter_prefs.txt" or whatever your username is, right?
 
Well, no, I didn't get the problem solved on Fusion, however on my other machine it works and it stopped at the Junkyard quest step nine. I did what it asked and got a turtle totem, and now it just kinda sits there.

It says "You can't wear that outfit", even though it's been saying that all along.

I'll go paste my session part of that now in my next post.
 
Okay, here's my session log starting from running the script from this area.

> Checking for updates (running OCW ver. 1.4.0)...
> "optimal.txt" loaded (14 steps).
> Verifying Wossname progress...
> Current step: 9
> Completing step 9 of 14...
> Warning: there was a problem equipping your chosen familiar/outfit.
> Step 9: Junkyard sidequest

[168] Wartime Junkyard
Encounter:
 
[quote author=zarqon link=topic=1395.msg8478#msg8478 date=1215941785]
Just to be clear, when you say "username_prefs.txt" you mean "johnnyrichter_prefs.txt" or whatever your username is, right?
[/quote]

Yes, that is correct.

I decided to finish the quest manually...still not sure why the script didn't count the filthworm sidequest as finished, or why it kept getting stuck in that redundant process even after I manually edited johnnyrichter_prefs.txt. :(
 
The junkyard sidequest is currently broken because the location ids changed. You can fix it if you replace the junkyard_sq function with this change:

Code:
// completes the junkyard sidequest
boolean junkyard_sq() {
  print("Step "+step+": Junkyard sidequest","blue");
 // returns the html from visiting yossarian
  string visit_yossarian() {
   print("Visiting Yossarian...");
   dress_apropos(plan[step].hippy_frat);
   return visit_url("bigisland.php?action=junkman&pwd=");
  }
 // converts currentJunkyardLocation into the adventuring number
  int which_place() {
   string loc = get_property("currentJunkyardLocation");
   if (contains_text(loc,"barrel")) return 182;
   if (contains_text(loc,"refrigerator")) return 183;
   if (contains_text(loc,"tires")) return 184;
   if (contains_text(loc,"rusted-out")) return 185;
   else die("Bizarro error, no junkyard sublocation."); return 0;
  }
	boolean attack;
	string url;

 // kick things off
  if (item_amount($item[molybdenum magnet]) == 0) visit_yossarian();
  if (item_amount(stasis_item) == 0)
   die("OCW is set to stasis using a '"+to_string(stasis_item)+"', which you lack. Get one or edit the 'stasis_item' variable.");
  use_upto(1,$item[purple snowcone],true);
  if (have_effect($effect[purple tongue]) == 0) use_upto(1,$item[purple-frosted astral cupcake],true);
  if (get_property("currentJunkyardTool") != "") gearup_apropos();
 // main loop
  while (item_amount($item[molybdenum hammer]) + item_amount($item[molybdenum crescent wrench]) +
     item_amount($item[molybdenum pliers]) + item_amount($item[molybdenum screwdriver]) < 4) {
   if (my_adventures() == 0) die("You're fresh out of adventures.");
   if (get_property("currentJunkyardTool") == "") {
     url = visit_yossarian();
     if (contains_text(url,"the next shipment of cars")) return (check_step(step));
     print("getting "+get_property("currentJunkyardTool")+"...","blue");
     if (!gearup_apropos()) wait(5);
   }
   if (have_effect($effect[purple tongue]) == 0 && have_effect($effect[tiny bubbles in the cupcake]) == 0 &&
     have_effect($effect[heart of orange]) == 0)
     use_upto(1,$item[orange candy heart],true);
   // slay a gremlin!
   attack = false;
   url = visit_url("adventure.php?snarfblat="+which_place());
   while(!contains_text(url,"You win the fight!") && my_hp() > 0) {
     if (contains_text(url, "hammer") || contains_text(url, "wrench") ||
       contains_text(url, "pliers") || contains_text(url, "screwdriver")) {
      print("Item detected! using magnet...","green");
      url = throw_item($item[molybdenum magnet]);   // use the magnet
     } else {
      if (!attack) attack = (contains_text(url,"A.M.C. gremlin") || contains_text(url,"does a bombing run") ||
	                contains_text(url,"picks a beet") || contains_text(url,"picks a radish") ||
                  contains_text(url,"bites you in the fibula") || contains_text(url,"make an automatic eyeball"));
      if ((attack) || (my_hp() <= hp_safety)) { run_combat(); url = "You win the fight!"; }
       else url = throw_item(stasis_item);
     }
   }
   // post-combat
   cli_execute("mood execute");
   restore_hp(0);
   cli_execute("burn extra mp");
   restore_mp(0);
  }
  visit_yossarian();
  return (check_step(step));
}
 
Two things:

1. gearup_apropos() currently doesn't call dress_apropos() after choosing the outfit -- that didn't work for me in one scenario. I think it'd be good if it were always called there after the "outfit(chosen_o)" line.

2. Under my linux box, for some bizarre reason, I can't get the script to read under the "warplans" directory. I know it isn't the script's fault, but I think it'd be recommendable to document that behaviour.
 
Also, I was trying to start the script without starting the Orc Chasm quest and it wouldn't work. The verification in the main() function to see if the war has started would be safer if it looked for the string:
"go over there and make sure that war starts"

instead of:
"on the Mysterious Island"

because the later is also used in the council message about the Chasm.
 
The safest thing would probably be to check the current quest log for "Make War, Not... Oh, Wait".

Code:
if (my_level() >= 12)
{
	council();
	wait(1);

    if (contains_text(visit_url("questlog.php?which=1"),"Make War, Not... Oh, Wait"))
	{
		// Quest is currently available
	}
	else if (contains_text(visit_url("questlog.php?which=2"),"Make War, Not... Oh, Wait"))
	{
		// Quest is completed
	}
	else
	{
		// Quest isn't currently available
	}
}
 
Still loving this script!

However with the advent of the Hobopolis I haven't been using it in a while.

On this last run through I noticed two odd things happening. The first was that it began adventuring in the haunted bathroom before picking up the jam band flyers, easily fixed but it did waste a number of adventures in the bathroom before I realized the problem.

The second problem I had was with the junkyard. It would go to the junkyard and just hang on the beginning of the encounter. If I began the adventure at the proper place it would finish the adventure off for me, and grab the tool I needed, but it had to be nudged every step of the way.

Still a huge time saver and got me past the content I am most bored by after doing it by hand so many times.
 
My apologies to all users of this script ~ I'm still in the middle of traveling all around the US for my music project and I will be unable to properly support this script until mid-October at the earliest. After that, you can expect more regular updates as I begin to incorporate your feedback and use the script on my own characters again.

@dangerpin: Rinn suggested a fix for the junkyard on the previous page, you might give that a shot.

@plurialibus: 1) I'll take a look at that in October :), 2) mafia's Linux/Mac subdirectory-reading issues with OCW are already documented on the first page. A number of possible solutions are offered there.

Thanks for everyone's continued interest in this script.
 
Wow, that looks like the adventure of a lifetime, no apologies necessary. Thanks for the fix hook-up, I guess I should have looked around a little better before hollering.

Also, thank you Rinn.
 
Back
Top