Hannibal's Secret Weapon (Teleporting Elephants)

Post Reply
Ludendorf
1st Lieutenant - 15 cm sFH 18
1st Lieutenant - 15 cm sFH 18
Posts: 834
Joined: Sun Dec 15, 2013 5:35 pm

Hannibal's Secret Weapon (Teleporting Elephants)

Post by Ludendorf »

This is the best bug I've ever seen. :lol:

Apparently, my opponent, NosyRat, had a unit of his skirmishers pursued by my elephants. My elephants promptly hit a unit of thureophoroi and engaged. For some reason, NosyRat found an 'undo' button available on the skirmishers. This prompted the elephants to swap places with the skirmishers, remain in melee with the thureophoroi, who were now a fair few tiles away and facing the wrong direction, and then break off when I tried to trigger melee the next turn.

Ladies and gentlemen, I present to you the first ever case of teleporting elephants. (Apologies if this is not the first case.)

I've attached screenshots to show what happened.
Attachments
Teleporting elephants 3.jpg
Teleporting elephants 3.jpg (610.06 KiB) Viewed 3493 times
Teleporting elephants 2.jpg
Teleporting elephants 2.jpg (631.86 KiB) Viewed 3493 times
Teleporting elephants 1.jpg
Teleporting elephants 1.jpg (634.45 KiB) Viewed 3493 times
rbodleyscott
Field of Glory 2
Field of Glory 2
Posts: 28411
Joined: Sun Dec 04, 2005 6:25 pm

Re: Hannibal's Secret Weapon (Teleporting Elephants)

Post by rbodleyscott »

What an interesting bug.

And it was definitely triggered by clicking an Undo order on the light infantry?

Were the light infantry evading or routing?

Were the elephants already pursuing someone when they charged the light infantry?

It seems to be your turn, so I am at something of a loss as to how Nosy Nat could issue any orders - including Undo.

The units have got swapped because the Undo moved the light foot to its original position. This happens to be where the elephants were, and the default behaviour of the script functions when placing a unit in the position of another unit is to swap them. This we can easily fix by not allowing an Undo if the original square is occupied. But it doesn't explain why he had an available Undo order in the first place, and would still allow him to Undo the move if the square was unoccupied.
Richard Bodley Scott

Image
Nosy_Rat
Sergeant Major - Armoured Train
Sergeant Major - Armoured Train
Posts: 560
Joined: Tue Feb 13, 2018 9:00 pm

Re: Hannibal's Secret Weapon (Teleporting Elephants)

Post by Nosy_Rat »

I have to add, that Ludendorf's elephants charged my skirmishers during my turn, due to routing my cavalry unit, and ended their move on the square, prevously occupied by those skirmishers.
Yes, I saw the "undo" button active on my skirmishers after they evaded elephant's charge and clicked it. No idea why it was active, though.
Ludendorf
1st Lieutenant - 15 cm sFH 18
1st Lieutenant - 15 cm sFH 18
Posts: 834
Joined: Sun Dec 15, 2013 5:35 pm

Re: Hannibal's Secret Weapon (Teleporting Elephants)

Post by Ludendorf »

rbodleyscott wrote:What an interesting bug.

And it was definitely triggered by clicking an Undo order on the light infantry?

Were the light infantry evading or routing?

Were the elephants already pursuing someone when they charged the light infantry?

It seems to be your turn, so I am at something of a loss as to how Nosy Nat could issue any orders - including Undo.
I'll double check with NosyRat that he hit undo on the light infantry and not the engaged thureophoroi (or even my elephants somehow). Hopefully he'll find his own way here and report, otherwise I'll flag it up to him. (EDIT: nevermind, he posted as I posted this.) It was definitely a pursuit situation (you can see the intact banner on the skirmisher unit my elephants swap place with in the first and second screen shots). (EDIT: Third and second screenshots, sorry.)

The pursuit and elephant engagement happened on his turn; meandering pursuit situation. I took the shots during the replay of NosyRat's turn. So it was still his turn and he was able to hit undo. I then loaded up my turn and engaged with my scutarii (that's why my scutarii are engaged in the first picture.)

There's a fourth picture of the elephants having broken off after I tried to activate melee with them. I'll post it here.
Attachments
Teleporting elephants 4.jpg
Teleporting elephants 4.jpg (720.12 KiB) Viewed 3485 times
Last edited by Ludendorf on Fri Apr 27, 2018 2:59 pm, edited 1 time in total.
rbodleyscott
Field of Glory 2
Field of Glory 2
Posts: 28411
Joined: Sun Dec 04, 2005 6:25 pm

Re: Hannibal's Secret Weapon (Teleporting Elephants)

Post by rbodleyscott »

Did the light foot pass through the thureophoroi?

If so I think I have figured out the fix for this bug, though god knows how I could set up a situation to test it.
Richard Bodley Scott

Image
Ludendorf
1st Lieutenant - 15 cm sFH 18
1st Lieutenant - 15 cm sFH 18
Posts: 834
Joined: Sun Dec 15, 2013 5:35 pm

Re: Hannibal's Secret Weapon (Teleporting Elephants)

Post by Ludendorf »

rbodleyscott wrote:Did the light foot pass through the thureophoroi?

If so I think I have figured out the fix for this bug, though god knows how I could set up a situation to test it.
They must have; those skirmishers were standing right in front of the thureophoroi so there's no way they would have zigzagged their way to that position. To end up at that facing and position they must have gone back through the left-most thureophoroi and through the forest behind them.
Nosy_Rat
Sergeant Major - Armoured Train
Sergeant Major - Armoured Train
Posts: 560
Joined: Tue Feb 13, 2018 9:00 pm

Re: Hannibal's Secret Weapon (Teleporting Elephants)

Post by Nosy_Rat »

Pretty sure they did run away just in straight line, so yes.
rbodleyscott
Field of Glory 2
Field of Glory 2
Posts: 28411
Joined: Sun Dec 04, 2005 6:25 pm

Re: Hannibal's Secret Weapon (Teleporting Elephants)

Post by rbodleyscott »

Well in that case I know what caused the unit to get an Undo button, and the fix for that bug. But I can't see any way to set up a situation to test it, as it would only happen if a unit evaded through friends in their own turn, so I will put in the fix for the next update and we will just have to cross our fingers.
Richard Bodley Scott

Image
Ludendorf
1st Lieutenant - 15 cm sFH 18
1st Lieutenant - 15 cm sFH 18
Posts: 834
Joined: Sun Dec 15, 2013 5:35 pm

Re: Hannibal's Secret Weapon (Teleporting Elephants)

Post by Ludendorf »

rbodleyscott wrote:Well in that case I know what caused the unit to get an Undo button, and the fix for that bug. But I can't see any way to set up a situation to test it, as it would only happen if a unit evaded through friends in their own turn, so I will put in the fix for the next update and we will just have to cross our fingers.
It might take a few tries, but it happened after a unit of NosyRat's lancers broke on his turn, triggering the pursuit. If you could arrange for a unit of lancers to break in that exact way (predictable as lancers seldom if ever beat elephants) and have thureophoroi and skirmishers in position to receive the charge, the situation could probably be replicated. The only gamble is the lancers breaking on the right turn.
rbodleyscott
Field of Glory 2
Field of Glory 2
Posts: 28411
Joined: Sun Dec 04, 2005 6:25 pm

Re: Hannibal's Secret Weapon (Teleporting Elephants)

Post by rbodleyscott »

Ludendorf wrote:
rbodleyscott wrote:Well in that case I know what caused the unit to get an Undo button, and the fix for that bug. But I can't see any way to set up a situation to test it, as it would only happen if a unit evaded through friends in their own turn, so I will put in the fix for the next update and we will just have to cross our fingers.
It might take a few tries, but it happened after a unit of NosyRat's lancers broke on his turn, triggering the pursuit. If you could arrange for a unit of lancers to break in that exact way (predictable as lancers seldom if ever beat elephants) and have thureophoroi and skirmishers in position to receive the charge, the situation could probably be replicated. The only gamble is the lancers breaking on the right turn.
I will try that, thanks.
Richard Bodley Scott

Image
Ludendorf
1st Lieutenant - 15 cm sFH 18
1st Lieutenant - 15 cm sFH 18
Posts: 834
Joined: Sun Dec 15, 2013 5:35 pm

Re: Hannibal's Secret Weapon (Teleporting Elephants)

Post by Ludendorf »

rbodleyscott wrote:I will try that, thanks.
No problem. :)
rbodleyscott
Field of Glory 2
Field of Glory 2
Posts: 28411
Joined: Sun Dec 04, 2005 6:25 pm

Re: Hannibal's Secret Weapon (Teleporting Elephants)

Post by rbodleyscott »

That worked, thanks.
Richard Bodley Scott

Image
rbodleyscott
Field of Glory 2
Field of Glory 2
Posts: 28411
Joined: Sun Dec 04, 2005 6:25 pm

Re: Hannibal's Secret Weapon (Teleporting Elephants)

Post by rbodleyscott »

This bug is now fixed for the next update.
Richard Bodley Scott

Image
Nosy_Rat
Sergeant Major - Armoured Train
Sergeant Major - Armoured Train
Posts: 560
Joined: Tue Feb 13, 2018 9:00 pm

Re: Hannibal's Secret Weapon (Teleporting Elephants)

Post by Nosy_Rat »

Thanks!
rbodleyscott
Field of Glory 2
Field of Glory 2
Posts: 28411
Joined: Sun Dec 04, 2005 6:25 pm

Re: Hannibal's Secret Weapon (Teleporting Elephants)

Post by rbodleyscott »

Thanks to you both for discovering and reporting this arcane bug.
Richard Bodley Scott

Image
Ludendorf
1st Lieutenant - 15 cm sFH 18
1st Lieutenant - 15 cm sFH 18
Posts: 834
Joined: Sun Dec 15, 2013 5:35 pm

Re: Hannibal's Secret Weapon (Teleporting Elephants)

Post by Ludendorf »

No problem. Thank you.

(I feel slightly aggrieved to have helped put an end to the teleporting elephant. Maybe humanity was not meant to have such power.)
Morbio
Brigadier-General - Elite Grenadier
Brigadier-General - Elite Grenadier
Posts: 2164
Joined: Fri Jan 01, 2010 4:40 pm
Location: Wokingham, UK

Re: Hannibal's Secret Weapon (Teleporting Elephants)

Post by Morbio »

I want to know what the point cost would be for a teleporting elephant... it seems very powerful to me! :D
rbodleyscott
Field of Glory 2
Field of Glory 2
Posts: 28411
Joined: Sun Dec 04, 2005 6:25 pm

Re: Hannibal's Secret Weapon (Teleporting Elephants)

Post by rbodleyscott »

Morbio wrote:I want to know what the point cost would be for a teleporting elephant... it seems very powerful to me! :D
One meeelion points
Richard Bodley Scott

Image
Post Reply

Return to “Field of Glory II: Tech Support”