Unknown Scenario Error
Moderator: Forum Moderators
Forum rules
- Please use [code] BBCode tags in your posts for embedding WML snippets.
- To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
- irrevenant
- Moderator Emeritus
- Posts: 3692
- Joined: August 15th, 2005, 7:57 am
- Location: I'm all around you.
Emasher, could you please just copy-paste the text rather than pasting screenshots of the text editor.
It takes up less room on the Wesnoth server and makes it easier for people to edit the text and suggest changes.
P.S. Since this is presumably intended for distribution: Invadars->Invaders.
It takes up less room on the Wesnoth server and makes it easier for people to edit the text and suggest changes.
P.S. Since this is presumably intended for distribution: Invadars->Invaders.
Want to post a Wesnoth idea? Great! Read these:
Frequently Posted Ideas Thread
Giving your idea the best chance of acceptance
Frequently Posted Ideas Thread
Giving your idea the best chance of acceptance
Sorry for bumping up this thread, but I figured out it'd be better than making yet another one for the same problem.
Anyhow, I've been experiencing this same problem quite a bit, and after failing to get it to work (despite trying with the simplest possible bit of campaign / one scenario, checking for typoes and syntax errors extensively), I decided to try to edit one of the existing campaigns - one user-made, and one mainline which I've copied to userdata/campaigns directory.
Editing everything seemed to work, including campaign name, id, file and folder names, editing scenarios and loading different maps, until the point where I wanted to edit first_scenario and scenario id (in campaign and scenario .cfg files, respectively). The moment I changed them, I got the "Unknown Scenario" error again. If I change them back, it works again.
As I can edit/change everything else, and it works just fine, I figured the problem must be with the ids somehow. Except I haven't got the foggiest idea how to fix that. I tried clearing the campaign-related cache just in case, and that didn't help either.
Now, it's a rather minor gripe, but even I can still work like this, I'd like to get rid of the scenario IDs that are the leftovers from other campaigns.
Anyhow, I've been experiencing this same problem quite a bit, and after failing to get it to work (despite trying with the simplest possible bit of campaign / one scenario, checking for typoes and syntax errors extensively), I decided to try to edit one of the existing campaigns - one user-made, and one mainline which I've copied to userdata/campaigns directory.
Editing everything seemed to work, including campaign name, id, file and folder names, editing scenarios and loading different maps, until the point where I wanted to edit first_scenario and scenario id (in campaign and scenario .cfg files, respectively). The moment I changed them, I got the "Unknown Scenario" error again. If I change them back, it works again.
As I can edit/change everything else, and it works just fine, I figured the problem must be with the ids somehow. Except I haven't got the foggiest idea how to fix that. I tried clearing the campaign-related cache just in case, and that didn't help either.
Now, it's a rather minor gripe, but even I can still work like this, I'd like to get rid of the scenario IDs that are the leftovers from other campaigns.
Post up and attach the campaign file and first scenario file.
Information is also available on the Wiki:- The campaign file, The campaign directory structure.
Information is also available on the Wiki:- The campaign file, The campaign directory structure.