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.
- terakay273
- Posts: 76
- Joined: January 26th, 2009, 3:07 am
- Location: California, USA
Scenario Error
I'm working on a campaign, and up until just a couple of days ago it was working just fine. I finished my fourth scenario and loaded it to test it out, but got the following error message:
I've searched through the code several times, yet I can't seem to find any problem. I got the same error message before (missing closing tag for tag scenario) in my first scenario, but that was because I forgot to add quotes at the end of one of my messages. But I can't find anything wrong with this one! Can anyone help? Here's the code for the scenario:
Spoiler:
Spoiler:
Rhugastan's Bridge campaign
8 scenarios of 20 completed
8 scenarios of 20 completed
- mnewton1
- Posts: 777
- Joined: November 12th, 2008, 4:31 am
- Location: On my pretty teal horsey.
- Contact:
Re: Scenario Error
the word name is missing a 'e' in side 2
Code: Select all
user_team_nam= _ "Orcs"
Creator of Ageless Era
Check out Frogatto & Friends, it's made by the same people who created The Battle for Wesnoth!
Check out Frogatto & Friends, it's made by the same people who created The Battle for Wesnoth!
- terakay273
- Posts: 76
- Joined: January 26th, 2009, 3:07 am
- Location: California, USA
Re: Scenario Error
I just fixed that, but it's still showing the same error.
Rhugastan's Bridge campaign
8 scenarios of 20 completed
8 scenarios of 20 completed
- mnewton1
- Posts: 777
- Joined: November 12th, 2008, 4:31 am
- Location: On my pretty teal horsey.
- Contact:
Re: Scenario Error
Although I doubt it maybe the problem is you only have a user_team_name and not a team_name and a user_team_name
Creator of Ageless Era
Check out Frogatto & Friends, it's made by the same people who created The Battle for Wesnoth!
Check out Frogatto & Friends, it's made by the same people who created The Battle for Wesnoth!
- terakay273
- Posts: 76
- Joined: January 26th, 2009, 3:07 am
- Location: California, USA
Re: Scenario Error
The thing is, it was working just the other day, and I just made a few minor adjustments to it before it stopped working.
Rhugastan's Bridge campaign
8 scenarios of 20 completed
8 scenarios of 20 completed
Re: Scenario Error
Try deleting events, one at a time, until the scenario loads. (Save a back-up of course)
Re: Scenario Error
Check if you can load the
map file in the editor.
Code: Select all
campaigns/Reclaiming_Gryphon_Mountain/maps/02_The_Defense_of_Feleon.map
Somewhere, between the sacred silence and sleep.
Disorder.
Disorder.
- terakay273
- Posts: 76
- Joined: January 26th, 2009, 3:07 am
- Location: California, USA
Re: Scenario Error
I deleted events, but still had the same problem. I'm wondering if it has something to do with the macros...?
Rhugastan's Bridge campaign
8 scenarios of 20 completed
8 scenarios of 20 completed
- terakay273
- Posts: 76
- Joined: January 26th, 2009, 3:07 am
- Location: California, USA
Re: Scenario Error
I got rid of events in the scenario until all I had was the introductory information, but it still came up with the same error message! So I deleted that; now I only have the two scenario tags. I run it, and now it comes up with the exact same error message, but for my first scenario. So I got rid of everything except the two scenario tags, and then it did it for the third! I have no idea what is going on. The files could be corrupt, but I truly have no idea. Does anyone have a clue?
Rhugastan's Bridge campaign
8 scenarios of 20 completed
8 scenarios of 20 completed
- terakay273
- Posts: 76
- Joined: January 26th, 2009, 3:07 am
- Location: California, USA
Re: Scenario Error
And yes, loading the map files in the editor works perfectly fine.
Rhugastan's Bridge campaign
8 scenarios of 20 completed
8 scenarios of 20 completed
Re: Scenario Error
Maybe the problem is in _main.cfg? Post them as a zip, maybe someone can look at it.Does anyone have a clue?
- terakay273
- Posts: 76
- Joined: January 26th, 2009, 3:07 am
- Location: California, USA
Re: Scenario Error
Here's the _main.cfg file.
- Attachments
-
- _main.cfg
- (1.29 KiB) Downloaded 156 times
Rhugastan's Bridge campaign
8 scenarios of 20 completed
8 scenarios of 20 completed
- terakay273
- Posts: 76
- Joined: January 26th, 2009, 3:07 am
- Location: California, USA
Re: Scenario Error
I tried changing first_scenario= to a different scenario, but still had the same problem!! I'm pretty sure now that it has something to do with the _main.cfg file. Either that or the campaign folder as a whole.
Rhugastan's Bridge campaign
8 scenarios of 20 completed
8 scenarios of 20 completed
- mnewton1
- Posts: 777
- Joined: November 12th, 2008, 4:31 am
- Location: On my pretty teal horsey.
- Contact:
Re: Scenario Error
Lol you are missing the:
Code: Select all
[binary_path]
path=data/campaigns/THE NAME OF THE FOLDER/
[/binary_path]
Creator of Ageless Era
Check out Frogatto & Friends, it's made by the same people who created The Battle for Wesnoth!
Check out Frogatto & Friends, it's made by the same people who created The Battle for Wesnoth!
- terakay273
- Posts: 76
- Joined: January 26th, 2009, 3:07 am
- Location: California, USA
Re: Scenario Error
Same problem; the thing is, it was working fine a few days ago!!
Rhugastan's Bridge campaign
8 scenarios of 20 completed
8 scenarios of 20 completed