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.
-
- Posts: 580
- Joined: February 14th, 2006, 3:24 am
- Location: New Avalon
- Contact:
Unknown Scenario Error
Code: Select all
Error
Unknown Scenario: '1Turncoat'
Code: Select all
[campaign]
id=Unnatural_Corruption
rank=3
name= _ "Unnatural_Corruption"
define=CAMPAIGN_UNNATURAL_CORRUPTION
first_scenario=1Turncoat
difficulties=EASY,NORMAL,HARD
difficulty_descriptions={MENU_IMG_TXT2 units/orcs/orcish-grunt.png _"Easy" _"(Simple)"} +
";*" + {MENU_IMG_TXT2 units/orcs/orcish-warrior.png _"Normal" _"(Moderate)"} +
";" + {MENU_IMG_TXT2 units/orcs/orcish-warlord.png _"Hard" _"(Advanced)"}
icon=units/orcs/orcish-warlord-attack-sword-1.png
image=portraits/core/Neoriceisgood/orcish_leader.png
description= _ "Lead Mazonry through a campaign to discover a strange corruption that has overcome his fellow orcs."
[/campaign]
[binary_path]
path=data/campaigns/Unnatural_Corruption
[/binary_path]
#ifdef CAMPAIGN_UNNATURAL_CORRUPTION
{@campaigns/Unnatural_Corruption/scenarios}
{@campaigns/Unnatural_Corruption/utils}
#endif
Code: Select all
[scenario]
id=1Turncoat
name= _ "1Turncoat"
map_data="{@campaigns/Unnatural_Corruption/maps/1Turncoat}"
{TURNS 20 18 15}
{@campaigns/Unnatural_Corruption/utils/story.cfg}
{DAWN}
{MORNING}
{AFTERNOON}
{DUSK}
{FIRST_WATCH}
{SECOND_WATCH}
next_scenario="2Unwelcoming_Party"
[event]
....
...
...
[/scenario]
Why can't it find the scenario?
"A wise man speaks when he has something to say. A fool speaks when he has to say something."
-
- Posts: 837
- Joined: April 14th, 2005, 4:17 am
-
- Posts: 580
- Joined: February 14th, 2006, 3:24 am
- Location: New Avalon
- Contact:
Did you actually cut out the ... stuff or is that stuff still in there? Does it work if you cut the events out?
Also, in your campaign ifdef, put the utils line above the scenarios line. I don't think this impacts your problem, but it should help other things. In fact, you can try leaving it out. Your intro.cfg include should work without it.
You don't get any other errors?
Also, in your campaign ifdef, put the utils line above the scenarios line. I don't think this impacts your problem, but it should help other things. In fact, you can try leaving it out. Your intro.cfg include should work without it.
You don't get any other errors?
Hope springs eternal.
Wesnoth acronym guide.
Wesnoth acronym guide.
-
- Posts: 580
- Joined: February 14th, 2006, 3:24 am
- Location: New Avalon
- Contact:
I cut the ... out for this thread only.
I tried cutting all of it out in the actual file and it gave me some new errors... not helpful though.
It says there's an error with 1turncoat.cfg.
Line 1...
What exactly does 'unexpected characters at start line' mean when start line is:
I tried cutting all of it out in the actual file and it gave me some new errors... not helpful though.
It says there's an error with 1turncoat.cfg.
Line 1...
What exactly does 'unexpected characters at start line' mean when start line is:
Code: Select all
[scenario]
id=1Turncoat
name= _ "1Turncoat"
map_data="{@campaigns/Unnatural_Corruption/maps/1Turncoat}"
{TURNS 20 18 15}
{@campaigns/Unnatural_Corruption/utils/story.cfg}
{DAWN}
{MORNING}
{AFTERNOON}
{DUSK}
{FIRST_WATCH}
{SECOND_WATCH}
- Attachments
-
1Turncoat.cfg
- 1turncoat.cfg in it's entirity.
- (5.94 KiB) Downloaded 381 times
-
- Error.jpg (91.59 KiB) Viewed 4218 times
"A wise man speaks when he has something to say. A fool speaks when he has to say something."
-
- Posts: 580
- Joined: February 14th, 2006, 3:24 am
- Location: New Avalon
- Contact:

Are those the garbage characters?
Any idea where they came from cause that was really driving me insane last night.
Edit after fixing:
I luv you Noyga, I want bare your children!
I think I know what causes it, I should be able to address the problem now that I know what it is. Thx again, that was a huge headache I was having.
Are those the garbage characters?
Any idea where they came from cause that was really driving me insane last night.
Edit after fixing:
I luv you Noyga, I want bare your children!

I think I know what causes it, I should be able to address the problem now that I know what it is. Thx again, that was a huge headache I was having.
"A wise man speaks when he has something to say. A fool speaks when he has to say something."
I think that's illegal. You could offer to bear children for him, though.SmokemJags wrote:I luv you Noyga, I want bare your children!
I thought ott issued instructions for reverting the commit that caused those spurious characters...
Hope springs eternal.
Wesnoth acronym guide.
Wesnoth acronym guide.
-
- Posts: 580
- Joined: February 14th, 2006, 3:24 am
- Location: New Avalon
- Contact:
Yes... quite right.scott wrote:I think that's illegal. You could offer to bear children for him, though.

Though I don't fancy doing either very much. It was just a spur of the moment thing.

What's this about? "ott"?I thought ott issued instructions for reverting the commit that caused those spurious characters...
I'm guessing this has been a problem before... but?
"A wise man speaks when he has something to say. A fool speaks when he has to say something."
You don't know who ott is? I guess you newbies are more out of touch with real Wesnoth development than I thought... 

For I am Turin Turambar - Master of Doom, by doom mastered. On permanent Wesbreak. Will not respond to private messages. Sorry!
And I hate stupid people.
The World of Orbivm
And I hate stupid people.
The World of Orbivm
-
- Posts: 580
- Joined: February 14th, 2006, 3:24 am
- Location: New Avalon
- Contact:
They were more for developers. Someone sent a commit that added a bunch of unicode characters, and he recommended that the commit be undone rather than fix the issue by hand in each file. Embarrassingly, this has nothing to do with your problem.
I have no idea why I brought it up.

Hope springs eternal.
Wesnoth acronym guide.
Wesnoth acronym guide.