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

Unknown Scenario Error

Post by Emasher »

i'm trying to make my first campaign but for some reason when i try to play it (i can get up to the point of selecting dificulty) i gives me an error code saying that the scenario is unknown

any ideas

here's my code
Attachments
error_code_problem.png
error_code_problem.png (20.01 KiB) Viewed 5703 times
User avatar
zookeeper
WML Wizard
Posts: 9742
Joined: September 11th, 2004, 10:40 pm
Location: Finland

Post by zookeeper »

Well, you either don't have the first scenario anywhere or it is messed up in some way (in which case you need to post the scenario file and preferably verify what directory it's in and under what filename).

You also don't need two identical [binary_path]s. Check this thread for explanations if you wish (although this is a very minor issue at this point, so you'll probably not want to spend too much energy on it if it doesn't seem trivial).
Emasher
Posts: 16
Joined: January 13th, 2007, 5:53 pm

Post by Emasher »

what do you mean post it
NeoPhile
Posts: 155
Joined: July 22nd, 2004, 4:33 am
Location: Halifax, NS, Canada
Contact:

Post by NeoPhile »

It's probably a typo in first_scenario=, or in id= for the first scenario. I notice that you wrote first_scenario=kanglan_invaders-1, while the proper spelling would be knalgan.
Emasher
Posts: 16
Joined: January 13th, 2007, 5:53 pm

Post by Emasher »

i misspelled knalgan every where so thats not the problem
tsr
Posts: 790
Joined: May 24th, 2006, 1:05 pm

Post by tsr »

Well the last occurence of kanglan is misseplled as: kangl_i_an, might be an issue?

/tsr
Emasher
Posts: 16
Joined: January 13th, 2007, 5:53 pm

Post by Emasher »

how could i have missed that

edit: that probably saved me trouble later but didn't solve the problem here's my scenario file if it helps

note the scenario tag got cut off
Attachments
scenario_with_error.jpg
scenario_with_error.jpg (156.82 KiB) Viewed 5624 times
ILikeProgramming
Posts: 837
Joined: April 14th, 2005, 4:17 am

Post by ILikeProgramming »

Possible problem:

Code: Select all

description=???
Perhaps you should give him a name.

But a real problem is the way you import maps. Perhaps try:

Code: Select all

map_data="{@campaigns/the_journey_north/Kanglian_invaders_map}"
wsultzbach
Posts: 245
Joined: November 28th, 2006, 12:42 am

Post by wsultzbach »

ILikeProgramming wrote:Possible problem:

Code: Select all

description=???
Perhaps you should give him a name.
No, it's the lack of user_description.

Code: Select all

user_description= _ "???"
What's this annoying thing that appears at the bottom of every one of my posts?
User avatar
Konrad II
Posts: 296
Joined: December 21st, 2004, 1:03 am

Post by Konrad II »

Stupid me. I hadn't seen that post just earlier. I'll delete my other thread soon if I don't get my answer here.
http://giantitp.com

"I have 8 forums, soon to be 7!" - Troy
ILikeProgramming
Posts: 837
Joined: April 14th, 2005, 4:17 am

Post by ILikeProgramming »

wsultzbach wrote:
ILikeProgramming wrote:Possible problem:

Code: Select all

description=???
Perhaps you should give him a name.
No, it's the lack of user_description.

Code: Select all

user_description= _ "???"
You don't need a user description. But I'm not sure question marks are treated validly. For example, question marks in scenario names cause certain errors.
Emasher
Posts: 16
Joined: January 13th, 2007, 5:53 pm

Post by Emasher »

the question marks are in the description of the enemy character

though i changed them and that wasn't the problem
ILikeProgramming
Posts: 837
Joined: April 14th, 2005, 4:17 am

Post by ILikeProgramming »

Did you try the map code I posted? Also try putting the name in quotes (name="Scenario 1")
User avatar
Headache
Posts: 40
Joined: December 30th, 2006, 7:04 pm
Location: Finland

Post by Headache »

Don't know does it have bigger meaning, but you have a typo in both of your binary path names

camaigns should be campaigns (missing P)
and
the_journey_noth should be the_journey_north (missing R)
I'm using version 1.6
Emasher
Posts: 16
Joined: January 13th, 2007, 5:53 pm

Post by Emasher »

well i fixed the typos and that didn't make a difference.

i nothiced that the older version of the game that i'm using to use stuff that dosen't work in 1.3.1 (aka this campaign) isn't 1.2.2 its 1.1.13

could this be making a diference
Post Reply