Can't find 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.
- DEATH_is_undead
- Posts: 960
- Joined: March 4th, 2007, 3:00 pm
- Location: Northern United States
Can't find error
Code: Select all
[multiplayer]
id=multiplayer_unforgiven
name=_ "The Unforgiven Survival"
map_data="border_size
usage=map
Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg
Gg , Kv , Cv , Cv , Cv , Cv , Cv , Cv , Cv , Cv , Cv , Cv , Cv , Cv , Cv , Cv , Cv , Cv , Cv , Wo , Wo , Gg
Gg , Cv , Ai , Ai , Xu , Xu , Xu , Xu , Xu , Xu , Xu , Xu , Xu , Xu , Xu , Xu , Xu , Xu , Xu , Xu , Cv , Gg
Gg , Cv , Xu , Ai , Cud , Ww , Ww , Ww , Ww , Ww , Ww , Ww , Ww , Gg , Gg , Gg , Gs^Fp , Ce , Ce , Xu , Cv , Gg
Gg , Cv , Xu , Cud , Gs^Fp , Ds , Ds , Ds , Ds , Ds , Ds , Ds , Ds , Ww , Rp , Gg , Gs^Fp , 4 Ke , Gs^Fp , Xu , Cv , Gg
Gg , Cv , Xu , Gs^Fp , Aa , Gs^Fp , Gs^Fp , Gs^Fp , Gs^Fp , Gs^Fp , Gs^Fp , Gs^Fp , Gs^Fp , Rp , Hh , Rp , Gg^Fet , Gs^Fp , Gg^Vh , Xu , Cv , Gg
Gg , Cv , Xu , Gs^Fp , Aa , Aa , Xu , Gg , Gg , Xu , Gg , Xu , Xu , Xu , Qlf , Gg^Vh , Gg^Vh , Rp , Rp , Xu , Cv , Gg
Gg , Cv , Xu , Gs^Fp , Xu , Kud , Xu , Gg , Gg , Xu , Gg , Xu , Xu , Xu , Qlf , Mm , Qlf , Hh , Rp , Xu , Cv , Gg
Gg , Cv , Xu , Gs^Fp , Gg , Xu , Xu , Gg , Gg , Xu , Gg , Xu , Xu , Xu , Hh , Qlf , Rp , Rp , Gs^Fp , Xu , Cv , Gg
Gg , Cv , Xu , Gs^Fp , Gg , Gg , Gg , Xu , Xu , Xu , Gg , Gg , Dd^Dr , Xu , Rp , Rp , Hh , Hh , Gs^Fp , Xu , Cv , Gg
Gg , Cv , Xu , Gs^Fp , Gg , Gg , Gg , Gg , Hh , Xu , Md , Dd^Dc , Xu , Xu , Hh , Hh , Gg , Gg , Gs^Fp , Xu , Cv , Gg
Gg , Cv , Xu , Gs^Fp , Gg , Gg , Hh , Hh , Xu , Xu , Dd^Dc , Md , Xu , Hh , Gg , Gg , Gg , Gg , Gs^Fp , Xu , Cv , Gg
Gg , Cv , Xu , Gs^Fp , Hh , Hh , Rp , Rp , Xu , Dd^Dr , Gg , Gg , Xu , Xu , Xu , Gg , Gg , Gg , Gs^Fp , Xu , Cv , Gg
Gg , Cv , Xu , Gs^Fp , Rp , Rp , Qlf , Hh , Xu , Xu , Xu , Gg , Xu , Ggf , Gg , Xu , Xu , Gg , Gs^Fp , Xu , Cv , Gg
Gg , Cv , Xu , Rp , Hh , Qlf , Mm , Qlf , Xu , Xu , Xu , Gg , Xu , Ggf , Gg , Xu , Kud , Xu , Gs^Fp , Xu , Cv , Gg
Gg , Cv , Xu , Rp , Rp , Gg^Vh , Gg^Vh , Qlf , Xu , Xu , Xu , Gg , Xu , Ggf , Gg , Xu , Aa , Aa , Gs^Fp , Xu , Cv , Gg
Gg , Cv , Xu , Gg^Vh , Gs^Fp , Gg^Fet , Rp , Hh , Rp , Gs^Fp , Gs^Fp , Gs^Fp , Gs^Fp , Gs^Fp , Gs^Fp , Gs^Fp , Gs^Fp , Aa , Gs^Fp , Xu , Cv , Gg
Gg , Cv , Xu , Gs^Fp , 3 Ke , Gs^Fp , Gg , Rp , Ww , Ds , Ds , Ds , Ds , Ds , Ds , Ds , Ds , Gs^Fp , Cud , Xu , Cv , Gg
Gg , Cv , Xu , Ce , Ce , Gs^Fp , Gg , Gg , Gg , Ww , Ww , Ww , Ww , Ww , Ww , Ww , Ww , Cud , Ai , Xu , Cv , Gg
Gg , Cv , Xu , Xu , Xu , Xu , Xu , Xu , Xu , Xu , Xu , Xu , Xu , Xu , Xu , Xu , Xu , Xu , Ai , Ai , Cv , Gg
Gg , Wo , Wo , Cv , Cv , Cv , Cv , Cv , Cv , Cv , Cv , Cv , Cv , Cv , Cv , Cv , Cv , Cv , Cv , Cv , Kv , Gg
Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg"
description=_"Basically a regular survival, but a little secret inside it... Why? DEATH's RETURN!"
{DEFAULT_SCHEDULE}
[side]
side=1
canrecruit=yes
allow_player=no
controller=ai
no_leader=yes
team_name=evils
recruit=Orcish Archer,Orcish Grunt,Orcish Assassin
[/side]
[side]
side=2
canrecruit=yes
allow_player=no
controller=ai
no_leader=yes
team_name=evils
recruit=Orcish Archer,Orcish Grunt,Orcish Assassin
[/side]
[side]
side=3
controller=human
canrecruit=1
canrecruit=yes
team_name=_"Humans"
gold=25
income=2
[/side]
[side]
side=4
controller=human
canrecruit=1
canrecruit=yes
team_name=_"Humans"
gold=25
income=2
[/side]
[event]
name=moveto
[filter]
side=4
canrecruit=no
canrecruit=0
x,y=11,10
[/filter]
[object]
silent=yes
[effect]
apply_to=hitpoints
increase=50
increase_total=50
[/effect]
[effect]
range=melee
apply_to=attack
increase_attack=20
[/effect]
[effect]
range=melee
apply_to=attack
increase_damage=18
[/effect]
[effect]
[hitpoints]
increase_total=100%
full_heal=yes
[/hitpoints]
[/effect]
[effect]
[movement]
increase=13
[/movement]
[/effect]
[effect]
apply_to=resistance
replace=no
[resistance]
blade=20
pierce=20
impact=20
fire=20
cold=20
holy=20
[/resistance]
[/effect]
[effect]
[movement_costs]
replace=true
forest=99
[/movement_costs]
[/effect]
[/object]
[message]
speaker=narrator
message=_"Looks like you found a ball. It seems to help your powers, yet you feel unable to move in certain places..."
[/message]
[/event]
[event]
name=moveto
[filter]
side=3
canrecruit=no
canrecruit=0
x,y=10,11
[/filter]
[object]
silent=yes
[effect]
apply_to=hitpoints
increase=50
increase_total=50
[/effect]
[effect]
range=melee
apply_to=attack
increase_attack=20
[/effect]
[effect]
range=melee
apply_to=attack
increase_damage=18
[/effect]
[effect]
[hitpoints]
increase_total=100%
full_heal=yes
[/hitpoints]
[/effect]
[effect]
[movement]
increase=13
[/movement]
[/effect]
[effect]
apply_to=resistance
replace=no
[resistance]
blade=20
pierce=20
impact=20
fire=20
cold=20
holy=20
[/resistance]
[/effect]
[effect]
[movement_costs]
replace=true
forest=99
[/movement_costs]
[/effect]
[/object]
[message]
speaker=narrator
message=_"Looks like you found a ball. It seems to help your powers, yet you feel unable to move in certain places..."
[/message]
[/event]
[event]
name=start
[unit]
canrecruit=1
canrecruit=yes
type=Orcish Sovereign
side=1
x,y=1,1
[/unit]
[unit]
canrecruit=1
canrecruit=yes
type=Orcish Sovereign
side=2
x,y=20,20
[/unit]
[/event]
[/multiplayer]
Edit: had to do smiley, and yes, i do have a lot of time on my hands
3P MP Scenario - Great Dwarves Escape
The best way to learn is to follow. In order to learn WML, you have to follow other's work, and check their codes.
The best way to learn is to follow. In order to learn WML, you have to follow other's work, and check their codes.
Re: Can't find error
My guess would be that you forgot the empty line between the map header and map data.
Code: Select all
map_data="border_size
usage=map
Gg , Gg
- DEATH_is_undead
- Posts: 960
- Joined: March 4th, 2007, 3:00 pm
- Location: Northern United States
Re: Can't find error
Tried it...CIB wrote:My guess would be that you forgot the empty line between the map header and map data.
3P MP Scenario - Great Dwarves Escape
The best way to learn is to follow. In order to learn WML, you have to follow other's work, and check their codes.
The best way to learn is to follow. In order to learn WML, you have to follow other's work, and check their codes.
Re: Can't find error
Additional to what CIB wrote, tryDEATH_is_undead wrote:Code: Select all
[multiplayer] id=multiplayer_unforgiven name=_ "The Unforgiven Survival" map_data="border_size usage=map Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg [...][/multiplayer]
Code: Select all
map_data="border_size=1
Code: Select all
map_data="border_size=0
Re: Can't find error
first:
border_size=1
second:
canrecruit=1 or canrecruit=0, not canrecruit=yes
border_size=1
second:
canrecruit=1 or canrecruit=0, not canrecruit=yes
Re: Can't find error
Wiki:AI wrote:first:
border_size=1
second:
canrecruit=1 or canrecruit=0, not canrecruit=yes
* canrecruit: a special key for leaders.
o no: default. Unit cannot recruit.
o yes: unit can recruit.
Normally when a team controls no units with canrecruit=yes, that team loses. However, even if your team has lost you continue to play with whatever units you still have until the scenario is over. Usually scenarios end when only one team is left with a leader that can recruit, but special victory conditions can be set up in campaigns. Normally you want to set the leader of a side with canrecruit=yes. If you don't want the leader to recruit, it is usually better to just not give him any unit types to recruit, than to make a special victory condition. Units with canrecruit=yes are exempt from upkeep costs. So that leaders do not need to be given the loyal trait.
OP:
Do yourself a favor and use an external map.
Re: Can't find error
Oops, that must be a recent change then, because it was still =1 in late 1.3 versions. I see the new version of wmllint does indeed change that.
- DEATH_is_undead
- Posts: 960
- Joined: March 4th, 2007, 3:00 pm
- Location: Northern United States
Re: Can't find error
Code: Select all
[multiplayer]
id=multiplayer_unforgiven
name=_ "The Unforgiven Survival"
map_data="border_size=1
usage=map
Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg
Gg , Kv , Cv , Cv , Cv , Cv , Cv , Cv , Cv , Cv , Cv , Cv , Cv , Cv , Cv , Cv , Cv , Cv , Cv , Wo , Wo , Gg
Gg , Cv , Ai , Ai , Xu , Xu , Xu , Xu , Xu , Xu , Xu , Xu , Xu , Xu , Xu , Xu , Xu , Xu , Xu , Xu , Cv , Gg
Gg , Cv , Xu , Ai , Cud , Ww , Ww , Ww , Ww , Ww , Ww , Ww , Ww , Gg , Gg , Gg , Gs^Fp , Ce , Ce , Xu , Cv , Gg
Gg , Cv , Xu , Cud , Gs^Fp , Ds , Ds , Ds , Ds , Ds , Ds , Ds , Ds , Ww , Rp , Gg , Gs^Fp , 4 Ke , Gs^Fp , Xu , Cv , Gg
Gg , Cv , Xu , Gs^Fp , Aa , Gs^Fp , Gs^Fp , Gs^Fp , Gs^Fp , Gs^Fp , Gs^Fp , Gs^Fp , Gs^Fp , Rp , Hh , Rp , Gg^Fet , Gs^Fp , Gg^Vh , Xu , Cv , Gg
Gg , Cv , Xu , Gs^Fp , Aa , Aa , Xu , Gg , Gg , Xu , Gg , Xu , Xu , Xu , Qlf , Gg^Vh , Gg^Vh , Rp , Rp , Xu , Cv , Gg
Gg , Cv , Xu , Gs^Fp , Xu , Kud , Xu , Gg , Gg , Xu , Gg , Xu , Xu , Xu , Qlf , Mm , Qlf , Hh , Rp , Xu , Cv , Gg
Gg , Cv , Xu , Gs^Fp , Gg , Xu , Xu , Gg , Gg , Xu , Gg , Xu , Xu , Xu , Hh , Qlf , Rp , Rp , Gs^Fp , Xu , Cv , Gg
Gg , Cv , Xu , Gs^Fp , Gg , Gg , Gg , Xu , Xu , Xu , Gg , Gg , Dd^Dr , Xu , Rp , Rp , Hh , Hh , Gs^Fp , Xu , Cv , Gg
Gg , Cv , Xu , Gs^Fp , Gg , Gg , Gg , Gg , Hh , Xu , Md , Dd^Dc , Xu , Xu , Hh , Hh , Gg , Gg , Gs^Fp , Xu , Cv , Gg
Gg , Cv , Xu , Gs^Fp , Gg , Gg , Hh , Hh , Xu , Xu , Dd^Dc , Md , Xu , Hh , Gg , Gg , Gg , Gg , Gs^Fp , Xu , Cv , Gg
Gg , Cv , Xu , Gs^Fp , Hh , Hh , Rp , Rp , Xu , Dd^Dr , Gg , Gg , Xu , Xu , Xu , Gg , Gg , Gg , Gs^Fp , Xu , Cv , Gg
Gg , Cv , Xu , Gs^Fp , Rp , Rp , Qlf , Hh , Xu , Xu , Xu , Gg , Xu , Ggf , Gg , Xu , Xu , Gg , Gs^Fp , Xu , Cv , Gg
Gg , Cv , Xu , Rp , Hh , Qlf , Mm , Qlf , Xu , Xu , Xu , Gg , Xu , Ggf , Gg , Xu , Kud , Xu , Gs^Fp , Xu , Cv , Gg
Gg , Cv , Xu , Rp , Rp , Gg^Vh , Gg^Vh , Qlf , Xu , Xu , Xu , Gg , Xu , Ggf , Gg , Xu , Aa , Aa , Gs^Fp , Xu , Cv , Gg
Gg , Cv , Xu , Gg^Vh , Gs^Fp , Gg^Fet , Rp , Hh , Rp , Gs^Fp , Gs^Fp , Gs^Fp , Gs^Fp , Gs^Fp , Gs^Fp , Gs^Fp , Gs^Fp , Aa , Gs^Fp , Xu , Cv , Gg
Gg , Cv , Xu , Gs^Fp , 3 Ke , Gs^Fp , Gg , Rp , Ww , Ds , Ds , Ds , Ds , Ds , Ds , Ds , Ds , Gs^Fp , Cud , Xu , Cv , Gg
Gg , Cv , Xu , Ce , Ce , Gs^Fp , Gg , Gg , Gg , Ww , Ww , Ww , Ww , Ww , Ww , Ww , Ww , Cud , Ai , Xu , Cv , Gg
Gg , Cv , Xu , Xu , Xu , Xu , Xu , Xu , Xu , Xu , Xu , Xu , Xu , Xu , Xu , Xu , Xu , Xu , Ai , Ai , Cv , Gg
Gg , Wo , Wo , Cv , Cv , Cv , Cv , Cv , Cv , Cv , Cv , Cv , Cv , Cv , Cv , Cv , Cv , Cv , Cv , Cv , Kv , Gg
Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg , Gg"
description=_"Basically a regular survival, but a little secret inside it... Why? DEATH's RETURN!"
{DEFAULT_SCHEDULE}
[side]
side=1
canrecruit=yes
allow_player=no
controller=ai
no_leader=yes
team_name=evils
recruit=Orcish Archer,Orcish Grunt,Orcish Assassin
[/side]
[side]
side=2
canrecruit=yes
allow_player=no
controller=ai
no_leader=yes
team_name=evils
recruit=Orcish Archer,Orcish Grunt,Orcish Assassin
[/side]
[side]
side=3
controller=human
canrecruit=1
canrecruit=yes
team_name=_"Humans"
gold=25
income=2
[/side]
[side]
side=4
controller=human
canrecruit=1
canrecruit=yes
team_name=_"Humans"
gold=25
income=2
[/side]
[event]
name=moveto
[filter]
side=4
canrecruit=no
canrecruit=0
x,y=11,10
[/filter]
[object]
silent=yes
[effect]
apply_to=hitpoints
increase=50
increase_total=50
[/effect]
[effect]
range=melee
apply_to=attack
increase_attack=20
[/effect]
[effect]
range=melee
apply_to=attack
increase_damage=18
[/effect]
[effect]
[hitpoints]
increase_total=100%
full_heal=yes
[/hitpoints]
[/effect]
[effect]
[movement]
increase=13
[/movement]
[/effect]
[effect]
apply_to=resistance
replace=no
[resistance]
blade=20
pierce=20
impact=20
fire=20
cold=20
holy=20
[/resistance]
[/effect]
[effect]
[movement_costs]
replace=true
forest=99
[/movement_costs]
[/effect]
[/object]
[message]
speaker=narrator
message=_"Looks like you found a ball. It seems to help your powers, yet you feel unable to move in certain places..."
[/message]
[/event]
[event]
name=moveto
[filter]
side=3
canrecruit=no
canrecruit=0
x,y=10,11
[/filter]
[object]
silent=yes
[effect]
apply_to=hitpoints
increase=50
increase_total=50
[/effect]
[effect]
range=melee
apply_to=attack
increase_attack=20
[/effect]
[effect]
range=melee
apply_to=attack
increase_damage=18
[/effect]
[effect]
[hitpoints]
increase_total=100%
full_heal=yes
[/hitpoints]
[/effect]
[effect]
[movement]
increase=13
[/movement]
[/effect]
[effect]
apply_to=resistance
replace=no
[resistance]
blade=20
pierce=20
impact=20
fire=20
cold=20
holy=20
[/resistance]
[/effect]
[effect]
[movement_costs]
replace=true
forest=99
[/movement_costs]
[/effect]
[/object]
[message]
speaker=narrator
message=_"Looks like you found a ball. It seems to help your powers, yet you feel unable to move in certain places..."
[/message]
[/event]
[event]
name=start
[unit]
canrecruit=1
canrecruit=yes
type=Orcish Sovereign
side=1
x,y=1,1
[/unit]
[unit]
canrecruit=1
canrecruit=yes
type=Orcish Sovereign
side=2
x,y=20,20
[/unit]
[/event]
[/multiplayer]
EDIT: Found the error!
Code: Select all
map_data=_""
Last edited by DEATH_is_undead on March 17th, 2008, 9:38 pm, edited 1 time in total.
3P MP Scenario - Great Dwarves Escape
The best way to learn is to follow. In order to learn WML, you have to follow other's work, and check their codes.
The best way to learn is to follow. In order to learn WML, you have to follow other's work, and check their codes.
Re: Can't find error
Can you remove the spaces before 'usage=map'? that might help.
- DEATH_is_undead
- Posts: 960
- Joined: March 4th, 2007, 3:00 pm
- Location: Northern United States
Re: Can't find error
Its a tab, the map editer put it in, but i'll try...
3P MP Scenario - Great Dwarves Escape
The best way to learn is to follow. In order to learn WML, you have to follow other's work, and check their codes.
The best way to learn is to follow. In order to learn WML, you have to follow other's work, and check their codes.
- DEATH_is_undead
- Posts: 960
- Joined: March 4th, 2007, 3:00 pm
- Location: Northern United States
Re: Can't find error
Nope, still errors, i'm going to make it into a mappack and put the file folder instead of the actual map in the WML...
Edit: STILL errors, i'll try redownloading Wesnoth...
Edit: STILL errors, i'll try redownloading Wesnoth...
3P MP Scenario - Great Dwarves Escape
The best way to learn is to follow. In order to learn WML, you have to follow other's work, and check their codes.
The best way to learn is to follow. In order to learn WML, you have to follow other's work, and check their codes.
- DEATH_is_undead
- Posts: 960
- Joined: March 4th, 2007, 3:00 pm
- Location: Northern United States
Re: Can't find error
Still errors...
EDIT: Found the error you changed the rule of the underscored before it.
EDIT: Found the error
Code: Select all
map_data=_""
3P MP Scenario - Great Dwarves Escape
The best way to learn is to follow. In order to learn WML, you have to follow other's work, and check their codes.
The best way to learn is to follow. In order to learn WML, you have to follow other's work, and check their codes.