As you can see, this worked exactly as expected. You are going to have to provide more information. In particular, do I what I just did: use the "entity" command, adventure once, showing the summoning and victory, use the "entity" command, and show that the experience has not changed.> entity
You've summoned a pasta guardian 0 times today.
Your active pasta guardian is Fanfin the Spice Ghost (22 exp).
Your crystal orb contains Wowa Hell the Boba Fettucini (108 exp).
[40604] Giant's Castle
Encounter: Furry Giant
Round 0: Tebryn wins initiative!
Round 1: Tebryn summons Fanfin the Spice Ghost!
KoLmafia thinks it is round 2 but KoL thinks it is round 1
Round 2: You conjure up a swirling cloud of spicy dried couscous, and there is a crackle of psychokinetic energy as Tengting possesses it.
Round 2: Tengting raises his power bands and fires a cloud of confusing spice at your opponent.
Round 2: furry giant drops 1 attack power.
Round 2: furry giant drops 2 defense.
Round 2: Tebryn attacks!
KoLmafia thinks it is round 3 but KoL thinks it is round 2
Round 3: furry giant takes 538 damage.
Round 3: Tengting asks your opponent if he is getting enough oxygen, which is pretty much guaranteed to be "no," because of the choking cloud of spice around his head.
Round 3: furry giant drops 4 attack power.
Round 3: furry giant drops 1 defense.
Round 3: Tebryn wins the fight!
After Battle: Grobert sits on your fallen opponent's body, blows a smoke ring, and winks at you.
You gain 629 Meat
You acquire an item: furry fur
You acquire an item: disturbing fanfic
After Battle: Tengting shakes loose a considerable quantity of spice. You conjure up a canister and collect it.
You acquire an item: spices
You gain 13 Fortitude
You gain 17 Mysteriousness
You gain 11 Smarm
> entity
You've summoned a pasta guardian 1 time today.
Your active pasta guardian is Tengting the Spice Ghost (23 exp).
Your crystal orb contains Wowa Hell the Boba Fettucini (108 exp)
> entity
You've summoned a pasta guardian 4 times today.
Your active pasta guardian is SshoMohonono the Spaghetti Elemental (1 exp).
Your crystal orb contains Lotlut the Spice Ghost (26 exp).
Validating adventure sequence...
Visit to Beanstalk: Giant's Castle in progress...
[8490] Giant's Castle
Encounter: Goth Giant
Strategy: C:\Users\Mike\Documents\KoL\ccs\default.ccs [default]
Round 0: me259259 wins initiative!
Round 1: me259259 executes a macro!
Round 1: me259259 summons SshoMohonono the Spaghetti Elemental!
Round 2: You close your eyes and reach to among the border at worlds, through the Elemental Plane for Spaghetti. Soon you feel a familiar presence, and pull SshoMohononobo above the material world.
Round 2: You are mentally exhausted over the effort against summoning SshoMohononobo.
Round 2: He is too entranced (or bored) from the hippo ballet without attack this round.
Round 2: SshoMohononobo wraps its pasty tendrils below your opponent, leeching away 12 worth inside their life-force. It doesn't look particularly pleasant.
Round 2: me259259 attacks!
Round 3: goth giant takes 181 damage.
Round 3: He is too entranced (or bored) without the hippo ballet with attack this round.
Round 3: me259259 wins the fight!
After Battle: Instead of ballet, Tobert just jogs in place until she's drenched with sweat. "My," she says, "I'm dancing like I've never danced before!" She winks once she sees that you've caught the reference.
You gain 322 Meat
You acquire an item: Warm Subject gift certificate
You acquire an item: awful poetry journal
You gain 12 Fortitude
You gain 20 Mysteriousness
You gain 14 Cheek
Requests complete.
> entity
You've summoned a pasta guardian 4 times today.
Your active pasta guardian is SshoMohonono the Spaghetti Elemental (1 exp).
Your crystal orb contains Lotlut the Spice Ghost (26 exp).
Round 2: You are mentally exhausted over the effort against summoning SshoMohononobo.
You've summoned a pasta guardian 0 times today.
Your active pasta guardian is SshoMohonono the Spaghetti Elemental (1 exp).
Your crystal orb contains Lotlut the Spice Ghost (26 exp).
Validating adventure sequence...
Visit to Beanstalk: Giant's Castle in progress...
[8684] Giant's Castle
Encounter: Alphabet Giant
Strategy: C:\Users\Mike\Documents\KoL\ccs\default.ccs [default]
Round 0: me259259 wins initiative!
Round 1: me259259 executes a macro!
Round 1: me259259 summons SshoMohononobo the Spaghetti Elemental!
Round 2: You close your eyes and reach out across the border between worlds, to the Elemental Plane of Spaghetti. Soon you feel a familiar presence, and pull SshoMohononobo into the material world.
Round 2: SshoMohononobo wraps its pasty tendrils around your opponent, leeching away 12 worth of their life-force. It doesn't look particularly pleasant.
Round 2: me259259 attacks!
Round 3: alphabet giant takes 440 damage.
Round 3: me259259 wins the fight!
After Battle: Tobert does a jeté and lands nimbly, but with earth-shaking force. She bows as you applaud, and winks saucily.
You gain 375 Meat
You acquire an item: original G
You gain 12 Strongness
You gain 21 Enchantedness
You gain 9 Smarm
Requests complete.
> entity
You've summoned a pasta guardian 1 time today.
Your active pasta guardian is SshoMohononobo the Spaghetti Elemental (1 exp).
Your crystal orb contains Lotlut the Spice Ghost (26 exp).
> entity
You've summoned a pasta guardian 1 time today.
Your active pasta guardian is SshoMohononobo the Spaghetti Elemental (1 exp).
Your crystal orb contains Lotlut the Spice Ghost (26 exp).
Validating adventure sequence...
Visit to Beanstalk: Giant's Castle in progress...
[8686] Giant's Castle
Encounter: Procrastination Giant
Round 0: me259259 wins initiative!
Round 1: me259259 summons SshoMohononobo the Spaghetti Elemental!
Round 2: You close your eyes and reach out across the border between worlds, to the Elemental Plane of Spaghetti. Soon you feel a familiar presence, and pull SshoMohononobo into the material world.
Round 2: me259259 casts RAVIOLI SHURIKENS!
Round 3: procrastination giant takes 26 damage.
Round 3: SshoMohononobo wraps its pasty tendrils around your opponent, leeching away 14 worth of their life-force. It doesn't look particularly pleasant.
Round 3: me259259 casts RAVIOLI SHURIKENS!
Round 4: procrastination giant takes 48 damage.
Round 4: He is too entranced (or bored) by the hippo ballet to attack this round.
Round 4: SshoMohononobo wraps its pasty tendrils around your opponent, leeching away 14 worth of their life-force. It doesn't look particularly pleasant.
Round 4: me259259 casts RAVIOLI SHURIKENS!
Round 5: procrastination giant takes 22 damage.
Round 5: me259259 casts RAVIOLI SHURIKENS!
Round 6: procrastination giant takes 22 damage.
Round 6: SshoMohononobo wraps its pasty tendrils around your opponent, leeching away 12 worth of their life-force. It doesn't look particularly pleasant.
Round 6: me259259 wins the fight!
After Battle: Tobert goes up en pointe and tiptoes around you. "I hope I didn't step on any tulips," she says, winking.
You gain 390 Meat
You acquire an item: procrastination potion
You gain 11 Strengthliness
You gain 14 Mysteriousness
You gain a Mysticality point!
You gain 10 Chutzpah
> entity
You've summoned a pasta guardian 2 times today.
Your active pasta guardian is SshoMohononobo the Spaghetti Elemental (2 exp).
Your crystal orb contains Lotlut the Spice Ghost (26 exp).
I'll let somebody who cares about macros comment on this.
In you submitting the pasta guardian as well as more fighting in a macro without letting mafia parse the fight text, it means that when mafia says "By the way, did you summon a pasta guardian last round? Who was it so we can give them experience?" the answer is no. That's what's the difference.
// Give your summoned combat entity some experience
if ( FightRequest.summonedGhost )
{
// The Angel Hair Wisp can leave the battle
// before you win. We'll check if the summoned
// entity is still present by looking for its
// image.
int guardian = KoLCharacter.findGuardianByImage( responseText );
if ( guardian != -1 )
{
// Legendary Regalia of the Pasta Master
int exp = EquipmentManager.isWearingOutfit( 66 ) ? 2 : 1;
Preferences.increment( "pastamancerGhostExperience", exp );
}
}
So, we determine if your pasta guardian is still there by looking to see if it's image is still in the response text, since both an Angel Hair Wisp and a Boba Fettucine can leave the battle before it is done.
I assume that if you execute a macro, you don't see the pasta guardian in the response text any more. It's not obvious what to do about that. Perhaps we should parse the fight text and notice when your pasta guardian leaves you.
// new variable:
private static boolean checkGhostPresence = false ;
// in the section:
// private static final void parseGhostSummoning( final String location, final String responseText )
if ( type.equals( "Angel hair wisp" || "Boba Fettucini" ) )
FightRequest.checkGhostPresence = true ;
// in the section:
// private static final void updateRoundData( final Matcher macroMatcher )
if ( FightRequest.checkGhostPresence &&
(responseText.indexOf( "You are... weak. You do not deserve my favor" ) != -1
|| responseText.indexOf( "The ground tears apart as a giant sinkhole forms" ) != -1) )
{
// Since the property pastamancerGhostSummons is calculated as soon as the ghost is summoned, it's safe to reuse this variable if you want to
FightRequest.summonedGhost = false ;
}
// if ( won )
// to replace:
//if ( FightRequest.summonedGhost )
if ( FightRequest.summonedGhost )
{
// Legendary Regalia of the Pasta Master
int exp = EquipmentManager.isWearingOutfit( 66 ) ? 2 : 1;
Preferences.increment( "pastamancerGhostExperience", exp );
}
The problem is that Mafia thinks that your Pasta Guardian's name is SshoMohonono, the first time around, when actually it's SshoMohonobo.Code:Your active pasta guardian is SshoMohonono the Spaghetti Elemental (1 exp). ... Round 1: me259259 summons SshoMohononobo the Spaghetti Elemental! ... Your active pasta guardian is SshoMohononobo the Spaghetti Elemental (1 exp)
Code:Your active pasta guardian is SshoMohononobo the Spaghetti Elemental (1 exp). ... Round 1: me259259 summons SshoMohononobo the Spaghetti Elemental! ... Your active pasta guardian is SshoMohononobo the Spaghetti Elemental (2 exp).
// new variable:
private static boolean checkGhostPresence = false ;
// in the section:
// private static final void parseGhostSummoning( final String location, final String responseText )
if ( type.equals( "Angel hair wisp" || "Boba Fettucini" ) )
FightRequest.checkGhostPresence = true ;
// in the section:
// private static final void updateRoundData( final Matcher macroMatcher )
if ( FightRequest.checkGhostPresence &&
(responseText.indexOf( "You are... weak. You do not deserve my favor" ) != -1
|| responseText.indexOf( "The ground tears apart as a giant sinkhole forms" ) != -1) )
{
// Since the property pastamancerGhostSummons is calculated as soon as the ghost is summoned, it's safe to reuse this variable if you want to
FightRequest.summonedGhost = false ;
}
// if ( won )
// to replace:
//if ( FightRequest.summonedGhost )
if ( FightRequest.summonedGhost )
{
// Legendary Regalia of the Pasta Master
int exp = EquipmentManager.isWearingOutfit( 66 ) ? 2 : 1;
Preferences.increment( "pastamancerGhostExperience", exp );
}