Results 1 to 5 of 5

Thread: First action in CCS being ignored

  1. #1
    Senior Member
    Join Date
    Dec 2013
    Posts
    389

    Default First action in CCS being ignored

    This seems to have caused a new problem, in that the first entry of my CCS doesn't fire anymore.
    Code:
    [ witchess bishop ]
    skill curse of weaksauce
    consult freeCopies.ash
    consult wham.ash
    Code:
    [20518] An Overgrown Shrine (Northwest)
    Encounter: Witchess Bishop
    Round 0: digitrev wins initiative!
    Round 1: digitrev uses the Spooky Putty sheet!
    You acquire an item: Spooky Putty monster
    Round 2: Witchess Bishop takes 1 damage.
    Round 2: Witchess Bishop takes 5 damage.
    Round 2: You lose 24 hit points
    Round 2: digitrev casts DIGITIZE!
    > WHAM: Running SmartStasis
    Round 3: digitrev executes a macro!
    Round 3: digitrev casts POCKET CRUMBS!
    Round 4: Witchess Bishop drops 140 attack power.
    Round 4: Witchess Bishop drops 111 defense.
    Round 4: digitrev casts EXTRACT!
    You acquire an item: Source essence (3)
    > WHAM: Starting evaluation and performing of attack
    > WHAM: We are going to 1-shot with love song of smoldering passion.
    Round 5: digitrev executes a macro!
    Round 5: digitrev uses the love song of smoldering passion!
    Round 6: Witchess Bishop takes 2742 damage.
    Round 6: You gain 50 Muscularity Points
    Round 6: digitrev wins the fight!
    After Battle: You pause and think about KoL Con IV, when everybody got really excited about your super-Moxious Disco Bandit costume.
    After Battle: You gain 10 Chutzpah
    After Battle: Stotchell makes you a carbonated snow cone with the snow suit.
    After Battle: You gain 10 Muscularity Points
    After Battle: Stotchell says, "dancing is an expression of several base human urges, sublimated into a more socially acceptable form of expression," as he does a few pirouettes.
    You acquire an item: Sacramento wine
    You acquire an item: Knob Goblin eyedrops
    You gain 65 Meat.
    You acquire an item: disintegrating barrel
    After Battle: You gain 90 Muscleboundness
    After Battle: You gain 35 Enchantedness
    After Battle: You gain 65 Smarm
    (Not sure if this belongs here, or if it goes into a new bug. Feel free to tell me to move this to a new bug)

  2. #2
    Developer Veracity's Avatar
    Join Date
    Mar 2006
    Location
    The Unseelie Court
    Posts
    11,142

    Default

    I'll look at it.
    Ph'nglui mglw'nafh Cthulhu
    R'lyeh wgah-nagl fhtagn.

  3. #3
    Developer Veracity's Avatar
    Join Date
    Mar 2006
    Location
    The Unseelie Court
    Posts
    11,142

    Default

    I see code in FightRequest.java that says this:

    Code:
    		// First round, KoLmafia does not decide the action.
    		// Update accordingly.
    
    		if ( FightRequest.currentRound == 0 )
    		{
    			FightRequest.macroPrefixLength = 0;
    			FightRequest.nextAction = null;
    
    			String macro = Macrofier.macrofyRoundZero();
    			if ( macro != null && macro.length() > 0 && ( macro.contains( "\n" ) || macro.contains( ";" ) ) )
    			{
    				this.handleMacroAction( macro );
    			}
    
    			return;
    		}
    That comment used to be true, but now that we actually follow the redirect, not any more.
    Ph'nglui mglw'nafh Cthulhu
    R'lyeh wgah-nagl fhtagn.

  4. #4
    Developer Veracity's Avatar
    Join Date
    Mar 2006
    Location
    The Unseelie Court
    Posts
    11,142

    Default

    I can't reproduce this.

    Code:
    [ default ]
    try to steal an item
    skill pocket crumbs
    attack with weapon
    From the Relay Browser: adventure in Barf Mountain and press the "script" button:

    Code:
    [4522] Barf Mountain
    Encounter: horrible tourist family
    Round 0: Veracity wins initiative!
    Round 1: Veracity executes a macro!
    Round 1: Veracity tries to steal an item!
    You acquire an item: filthy child leash
    You gain 23 Meat.
    Round 2: Psychic Grrl says, I sense an unexpected windfall in your near future! and hands you some meat.
    You gain 5 Meat.
    Round 2: Veracity casts POCKET CRUMBS!
    Round 3: horrible tourist family drops 13 attack power.
    Round 3: horrible tourist family drops 15 defense.
    Round 3: Psychic Grrl says, I sense an unexpected windfall in your near future! and hands you some meat.
    You gain 15 Meat.
    Round 3: Veracity attacks!
    Round 4: horrible tourist family takes 262 damage.
    Round 4: Psychic Grrl says, I sense an unexpected windfall in your near future! and hands you some meat.
    You gain 13 Meat.
    Round 4: Veracity wins the fight!
    After Battle: You think about the first night of KoL Con VI, when VoidSteven gave you that delicious drink. It was so good! You go into your kitchen and try to recreate it.
    You acquire an item: gamma nog
    After Battle: Psychic Grrl surveys the scene from atop the throne and sighs.
    After Battle: Hasemary dances around the corpse, shouting "Take that, mean ol' monster!" and then searches their pockets for candy. She's gonna be a damn fine adventurer one day.
    After Battle: You gain 20 hit points
    After Battle: You gain 29 Mojo Points
    You gain 3269 Meat
    You acquire an item: bag of gross foreign snacks
    You acquire an item: tiny canopic jar
    You gain 59 Meat.
    After Battle: You gain 9 Fortitude
    After Battle: You gain 6 Enchantedness
    You gain a Mysticality point!
    After Battle: You gain 19 Sarcasm
    Automating: selecting Barf Mountain in the Adventure Choice, setting Custom Combat Script in Custom Combat, and running for 1 turnip:

    Code:
    Visit to Dinseylandfill: Barf Mountain in progress...
    
    [4523] Barf Mountain
    Encounter: garbage tourist
    Round 0: Veracity wins initiative!
    Round 1: Veracity executes a macro!
    Round 1: Veracity tries to steal an item!
    Round 2: Psychic Grrl says, I sense an unexpected windfall in your near future! and hands you some meat.
    You gain 8 Meat.
    Round 2: Veracity casts POCKET CRUMBS!
    Round 3: garbage tourist drops 15 attack power.
    Round 3: garbage tourist drops 11 defense.
    Round 3: Psychic Grrl says, I sense an unexpected windfall in your near future! and hands you some meat.
    You gain 8 Meat.
    Round 3: Veracity attacks!
    Round 4: garbage tourist takes 257 damage.
    Round 4: Psychic Grrl says, I sense an unexpected windfall in your near future! and hands you some meat.
    You gain 6 Meat.
    Round 4: Veracity wins the fight!
    After Battle: You pause and think about KoL Con XI, when you and Wonderful Camila and Charlie the Fantastic won DanBob's trivia contest with your vast stores of useless esoteric knowledge!
    After Battle: You gain 8 Magicalness
    After Battle: Psychic Grrl surveys the scene from atop the throne and sighs.
    After Battle: The little orphan girl frisks your fallen opponent for candy, and weirdly enough she finds some. Her dance of joy brings a smile to your face.
    After Battle: You gain 21 hit points
    After Battle: You gain 28 Mojo Points
    You gain 3453 Meat
    You acquire an item: bag of park garbage
    You gain 25 Meat.
    After Battle: You gain 8 Strengthliness
    After Battle: You gain 8 Mysteriousness
    After Battle: You gain 16 Chutzpah
    
    Requests complete.
    Ph'nglui mglw'nafh Cthulhu
    R'lyeh wgah-nagl fhtagn.

  5. #5
    Developer Veracity's Avatar
    Join Date
    Mar 2006
    Location
    The Unseelie Court
    Posts
    11,142

    Default

    Of course, I am not using a consult script. For me, it is macrofying my entire CCS. For you, it should macrofy from the beginning up to the first consult script - unless it thinks you are already past that.

    That presumably has something to do with it. I'll look again this weekend.
    Ph'nglui mglw'nafh Cthulhu
    R'lyeh wgah-nagl fhtagn.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •