Unknown Scenario Error

The place to post your WML questions and answers.

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.
User avatar
irrevenant
Moderator Emeritus
Posts: 3692
Joined: August 15th, 2005, 7:57 am
Location: I'm all around you.

Post by irrevenant »

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.
Emasher
Posts: 16
Joined: January 13th, 2007, 5:53 pm

Post by Emasher »

actually i don't plan to release this campaign.

i'd like to make a few for practice before i make a real one
Talin
Posts: 1
Joined: July 26th, 2007, 6:35 pm

Post by Talin »

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.
MDG
Posts: 378
Joined: June 7th, 2007, 11:18 am
Location: UK

Post by MDG »

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.
Post Reply