Bug in Eastern Invasion
Moderator: Forum Moderators
Forum rules
Before reporting issues in this section, you must read the following topic:
Before reporting issues in this section, you must read the following topic:
- Flameslash
- Posts: 633
- Joined: December 21st, 2008, 12:29 pm
Bug in Eastern Invasion
I was playing the fifth scenario of Eastern Invasion in 1.13.5 on Mac OsX, and I moved a Horseman onto a village. The Horseman said "they're here", but the bandit unit did not spawn. I've attached a screenshot with the error message.
- Celtic_Minstrel
- Developer
- Posts: 2222
- Joined: August 3rd, 2012, 11:26 pm
- Location: Canada
- Contact:
Re: Bug in Eastern Invasion
Just as a note for future reference, there's a better way to report Lua errors - enable debug mode (by typing ";debug"), open the Lua console, and copy the error from there using the "copy to clipboard" button. You only need the error line, of course (there's also a bunch of init stuff in the Lua console that's irrelevant).
Re: Bug in Eastern Invasion
Thanks. Apparently someone had put in code they had not tested at all. It's fixed now.
EDIT: Correction, the same code works in 1.13.4, so something's changed elsewhere which broke it.
EDIT: Correction, the same code works in 1.13.4, so something's changed elsewhere which broke it.
- Flameslash
- Posts: 633
- Joined: December 21st, 2008, 12:29 pm
Re: Bug in Eastern Invasion
Any idea if I'll still be able to beat the scenario?
Re: Bug in Eastern Invasion
Right, I forgot about that.Flameslash wrote:Any idea if I'll still be able to beat the scenario?
If you're able to, you can replace the data/campaigns/Eastern_Invasion/lua/bandits.lua file with this fixed one. After that, I think you should be able to continue from any savefile where you've visited no more than 2 villages so far. If you've visited more than that, it's possible that it's no longer beatable.
If you can't do that but still want the scenario to end gracefully with correct carryover gold and all, you can use the debug mode to for example do this:
Code: Select all
:debug
<mouseover an enemy unit you're going to kill>
:unit id=Shodrano