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
terakay273
Posts: 76
Joined: January 26th, 2009, 3:07 am
Location: California, USA

Re: Scenario Error

Post by terakay273 »

Now it's showing the old error again. Why is it doing this?! I've done nothing, yet it keeps changing error messages. I got rid of Scenario 4, and it's still doing it. I have no clue what's going on.
Rhugastan's Bridge campaign
8 scenarios of 20 completed
Max
Posts: 1449
Joined: April 13th, 2008, 12:41 am

Re: Scenario Error

Post by Max »

some more bugs:

in _main.cfg

Code: Select all

{@campaigns/Reclaiming_Gryphon_Mountain/maps}
{@campaigns/Reclaiming_Gryphon_Mountain/images}
that's only needed to include a whole folder with *.cfg files in it...

in scenario 3:

Code: Select all

{EXTRA_SCENARIO_MUSIC "frantic.ogg}
{MORNING]

	[message]
		speaker=narrator
		image=wesnoth-icon.png
		message= _ "And so the gryphons rested, but soon continued on their long journey escaping from the undead."
	[/else]
but it's working now.
User avatar
terakay273
Posts: 76
Joined: January 26th, 2009, 3:07 am
Location: California, USA

Re: Scenario Error

Post by terakay273 »

I did these things, but it's still not working!
Rhugastan's Bridge campaign
8 scenarios of 20 completed
Max
Posts: 1449
Joined: April 13th, 2008, 12:41 am

Re: Scenario Error

Post by Max »

here's the modified campaign (without the images):
Reclaiming_Gryphon_Mountain.zip
(18.89 KiB) Downloaded 124 times
User avatar
terakay273
Posts: 76
Joined: January 26th, 2009, 3:07 am
Location: California, USA

Re: Scenario Error

Post by terakay273 »

It works; what did you do?
Rhugastan's Bridge campaign
8 scenarios of 20 completed
Max
Posts: 1449
Joined: April 13th, 2008, 12:41 am

Re: Scenario Error

Post by Max »

just focus on the problems logged in stderr.txt... it's been a bit confusing at the beginning, because there were bugs in several scenarios. once you modified one the order of how wesnoth parses the scenario folder changes and you get a different message. it helps if you remove all but one scenario and get the problems solved for each one.
User avatar
terakay273
Posts: 76
Joined: January 26th, 2009, 3:07 am
Location: California, USA

Re: Scenario Error

Post by terakay273 »

What is stderr.txt?
Rhugastan's Bridge campaign
8 scenarios of 20 completed
User avatar
Mist
Inactive Developer
Posts: 753
Joined: February 15th, 2007, 8:44 am
Location: Milton Keynes, UK

Re: Scenario Error

Post by Mist »

A text file in main wesnoth folder listing all the game diagnostics and errors encountered.
Somewhere, between the sacred silence and sleep.
Disorder.
User avatar
terakay273
Posts: 76
Joined: January 26th, 2009, 3:07 am
Location: California, USA

Re: Scenario Error

Post by terakay273 »

It randomly gives me different error messages. Why? I do nothing to the campaign at all; not even open the file, yet it changes error messages.
Rhugastan's Bridge campaign
8 scenarios of 20 completed
User avatar
terakay273
Posts: 76
Joined: January 26th, 2009, 3:07 am
Location: California, USA

Re: Scenario Error

Post by terakay273 »

Also, if stderr.txt is supposed to show errors encountered in the game, for some reason it's not showing me anything. I want to know why sometimes my campaign works, then later it will give me one error message; later another! It's so confusing...
Rhugastan's Bridge campaign
8 scenarios of 20 completed
User avatar
terakay273
Posts: 76
Joined: January 26th, 2009, 3:07 am
Location: California, USA

Re: Scenario Error

Post by terakay273 »

It works! The problem was in the _utils.cfg file. Now it's fixed. I plan to post my campaign soon!
Rhugastan's Bridge campaign
8 scenarios of 20 completed
Post Reply