game_error: invalid side(4) found in unit definition
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.
game_error: invalid side(4) found in unit definition
What can cause this error?
but there is no side 4 in this, nor in the following scenario.
The error is triggered by a victory event.error general: Error while playing the game: game_error: invalid side(4) found in unit definition
but there is no side 4 in this, nor in the following scenario.
Last edited by Adamant14 on April 21st, 2013, 5:52 am, edited 5 times in total.
Author of Antar, Son of Rheor ( SP Campaign) | Development Thread + Feedback Thread + Replays of ASoR
Re: game_error: invalid side(4) found in unit definition
Do you try to create a unit on nonexistent side 4?
Re: game_error: invalid side(4) found in unit definition
No, there is nothing related to side four.
In the actual scenario are only three sides, and in the following scenario are only two sides.
In the actual scenario are only three sides, and in the following scenario are only two sides.
Spoiler:
Author of Antar, Son of Rheor ( SP Campaign) | Development Thread + Feedback Thread + Replays of ASoR
Re: game_error: invalid side(4) found in unit definition
Well, you got to have made such a mistake somewhere. You sure your utils.cfg or deaths.cfg don't contain anything like that?
game_error: invalid side(4) found in unit definition
̶I̶̶ ̶̶u̶̶s̶̶e̶̶d̶̶ ̶̶ ̶̶m̶̶a̶̶c̶̶r̶̶o̶̶s̶̶ ̶̶t̶̶o̶̶ ̶̶d̶̶e̶̶f̶̶i̶̶n̶̶e̶̶ ̶̶t̶̶h̶̶e̶̶ ̶̶s̶̶i̶̶d̶̶e̶̶s̶̶,̶̶ ̶̶a̶̶n̶̶d̶̶ ̶̶i̶̶t̶̶ ̶̶s̶̶e̶̶e̶̶m̶̶s̶̶ ̶̶i̶̶t̶̶ ̶̶w̶̶a̶̶s̶̶ ̶̶t̶̶h̶̶a̶̶t̶̶ ̶̶m̶̶a̶̶c̶̶r̶̶o̶̶ ̶̶t̶̶h̶̶a̶̶t̶̶ ̶̶c̶̶a̶̶u̶̶s̶̶e̶̶d̶̶ ̶̶t̶̶h̶̶e̶̶ ̶̶e̶̶r̶̶r̶̶o̶̶r̶̶.̶̶
̶̶I̶̶ ̶̶d̶̶o̶̶n̶̶'̶̶t̶̶ ̶̶k̶̶n̶̶o̶̶w̶̶ ̶̶w̶̶h̶̶y̶̶ ̶̶i̶̶t̶̶ ̶̶w̶̶o̶̶n̶̶'̶̶t̶̶ ̶̶w̶̶o̶̶r̶̶k̶̶,̶̶ ̶̶b̶̶u̶̶t̶̶ ̶̶a̶̶f̶̶t̶̶e̶̶r̶̶ ̶̶r̶̶e̶̶m̶̶o̶̶v̶̶i̶̶n̶̶g̶̶ ̶̶i̶̶t̶̶,̶̶ ̶̶e̶̶v̶̶e̶̶r̶̶y̶̶t̶̶h̶̶i̶̶n̶̶g̶̶ ̶̶w̶̶o̶̶r̶̶k̶̶s̶̶ ̶̶f̶̶i̶̶n̶̶e̶̶ ̶̶n̶̶o̶̶w̶̶.̶̶
̶̶S̶̶o̶̶ ̶̶t̶̶h̶̶e̶̶ ̶̶p̶̶r̶̶o̶̶b̶̶l̶̶e̶̶m̶̶ ̶̶i̶̶s̶̶ ̶̶s̶̶o̶̶l̶̶v̶̶e̶̶d̶̶ ̶̶f̶̶o̶̶r̶̶ ̶̶m̶̶e̶̶.̶̶
̶̶T̶̶h̶̶a̶̶n̶̶k̶̶s̶̶ ̶̶f̶̶o̶̶r̶̶ ̶̶t̶̶h̶̶e̶̶ ̶̶a̶̶n̶̶s̶̶w̶̶e̶̶r̶̶s̶̶.̶̶ ̶̶ ̶̶:̶̶)̶̶
EDIT: No that wasn't the solution.
̶̶I̶̶ ̶̶d̶̶o̶̶n̶̶'̶̶t̶̶ ̶̶k̶̶n̶̶o̶̶w̶̶ ̶̶w̶̶h̶̶y̶̶ ̶̶i̶̶t̶̶ ̶̶w̶̶o̶̶n̶̶'̶̶t̶̶ ̶̶w̶̶o̶̶r̶̶k̶̶,̶̶ ̶̶b̶̶u̶̶t̶̶ ̶̶a̶̶f̶̶t̶̶e̶̶r̶̶ ̶̶r̶̶e̶̶m̶̶o̶̶v̶̶i̶̶n̶̶g̶̶ ̶̶i̶̶t̶̶,̶̶ ̶̶e̶̶v̶̶e̶̶r̶̶y̶̶t̶̶h̶̶i̶̶n̶̶g̶̶ ̶̶w̶̶o̶̶r̶̶k̶̶s̶̶ ̶̶f̶̶i̶̶n̶̶e̶̶ ̶̶n̶̶o̶̶w̶̶.̶̶
̶̶S̶̶o̶̶ ̶̶t̶̶h̶̶e̶̶ ̶̶p̶̶r̶̶o̶̶b̶̶l̶̶e̶̶m̶̶ ̶̶i̶̶s̶̶ ̶̶s̶̶o̶̶l̶̶v̶̶e̶̶d̶̶ ̶̶f̶̶o̶̶r̶̶ ̶̶m̶̶e̶̶.̶̶
̶̶T̶̶h̶̶a̶̶n̶̶k̶̶s̶̶ ̶̶f̶̶o̶̶r̶̶ ̶̶t̶̶h̶̶e̶̶ ̶̶a̶̶n̶̶s̶̶w̶̶e̶̶r̶̶s̶̶.̶̶ ̶̶ ̶̶:̶̶)̶̶
EDIT: No that wasn't the solution.
Last edited by Adamant14 on April 21st, 2013, 9:09 pm, edited 2 times in total.
Author of Antar, Son of Rheor ( SP Campaign) | Development Thread + Feedback Thread + Replays of ASoR
Re: [SOLVED] game_error: invalid side(4)found in unit defini
Might have something to do with recall list carryover then, if some enemy sides in the next scenario are supposed to be persistent.
Re: [SOLVED] game_error: invalid side(4)found in unit defini
I can't speak to your particular case, Adamant14, but I've found that error pops up in 1.11.0 (maybe 1.11.1 too, but hasn't happened to me yet) and it seems intermittent. Sometimes side 1 is invalid, and it goes away for reasons I can't figure out. It may be a sign of buggy WML, but I think the given error is a red herring.
BfW 1.12 supported, but active development only for BfW 1.13/1.14: Bad Moon Rising | Trinity | Archaic Era |
| Abandoned: Tales of the Setting Sun
GitHub link for these projects
| Abandoned: Tales of the Setting Sun
GitHub link for these projects
- Elvish_Hunter
- Posts: 1575
- Joined: September 4th, 2009, 2:39 pm
- Location: Lintanir Forest...
Re: [SOLVED] game_error: invalid side(4)found in unit defini
If you're still using 1.11.0, then it's this bug: https://gna.org/bugs/index.php?20208 . The solution is simple: update to 1.11.1.Adamant14 wrote:The error is triggered by a victory event.
but there is no side 4 in this, nor in the following scenario.
Current maintainer of these add-ons, all on 1.16:
The Sojournings of Grog, Children of Dragons, A Rough Life, Wesnoth Lua Pack, The White Troll (co-author)
The Sojournings of Grog, Children of Dragons, A Rough Life, Wesnoth Lua Pack, The White Troll (co-author)
game_error: invalid side(4) found in unit definition
I forget to mention that this happened on BfW 1.11.0,
so according to Elvish_Hunter's post I will update to BfW 1.11.1
Thanks to you all for your answers.
EDIT:
Updated to BfW version 1.11.1
so according to Elvish_Hunter's post I will update to BfW 1.11.1
Thanks to you all for your answers.
EDIT:
Updated to BfW version 1.11.1
Last edited by Adamant14 on April 21st, 2013, 9:09 pm, edited 1 time in total.
Author of Antar, Son of Rheor ( SP Campaign) | Development Thread + Feedback Thread + Replays of ASoR
recal-list problem (only) with BfW 1.11.1?
The error message is gone, but now I have a broken-recall-list problem.
In my campaign I have two different sides, alternately playable by the player.
A human side that is always
With Bfw 1.8 and 1.10 I never had problems with recall lists and switching sides.
But now working with BfW 1.11.1 the elvish sides recall list is gone in the second scenario the elves appear.
This never happened to me working with earlier BfW versions.
I added
Maybe it is a BfW version 1.11.1 bug.
EDIT: The bug does not appear in BfW version 1.11.0!
Cephalo has a similar problem with his campaign:
link to the postGitanomad_X wrote:I've encountered a bug in the "Revenge" scenario on Mac OSX 10.8.2, Wesnoth 11.1, Antar 0.9.3. The recall list is empty and I can only recruit new units.
In my campaign I have two different sides, alternately playable by the player.
A human side that is always
side=1
, and a elvish side that is in the first scenario it appears side=2
, and in all other scenarios side=1
.With Bfw 1.8 and 1.10 I never had problems with recall lists and switching sides.
But now working with BfW 1.11.1 the elvish sides recall list is gone in the second scenario the elves appear.
This never happened to me working with earlier BfW versions.
I added
save_id
and persistent=yes
, but the recall-list is still gone.Maybe it is a BfW version 1.11.1 bug.
EDIT: The bug does not appear in BfW version 1.11.0!
Cephalo has a similar problem with his campaign:
link to the postcephalo wrote:Hmm, I've been playtesting this campaign with 1.11, and I have a broken recall list between Ariphron's refugees, Shifty's spy mission, and Jevyan taking over Ariphron's recall list. Does anyone know if other campaigns have similar issues porting to 1.11? I'll have to fix it after the holidays. Nobody has noticed any such trouble with 1.10 right? I'm assuming this is 1.11 related.
Author of Antar, Son of Rheor ( SP Campaign) | Development Thread + Feedback Thread + Replays of ASoR
Re: recal-list problem (only) with BfW 1.11.1?
Yeah that's true, I'll downgrade until it's fixed thenAdamant14 wrote:
EDIT: The bug does not appear in BfW version 1.11.0!
Henry Nioxin shampoo works well. See nioxin reviews to learn about nioxin shampoo, be sure to read nioxin shampoo reviews
game_error: invalid side(4) found in unit definition
By the way, does anybody know about the progress of BfW version 1.11.2?
Last edited by Adamant14 on April 21st, 2013, 9:08 pm, edited 1 time in total.
Author of Antar, Son of Rheor ( SP Campaign) | Development Thread + Feedback Thread + Replays of ASoR
- Elvish_Hunter
- Posts: 1575
- Joined: September 4th, 2009, 2:39 pm
- Location: Lintanir Forest...
Re: recall list problem (only) with BfW 1.11.1?
It has been just fixed for 1.11.2: https://gna.org/bugs/?20373
Current maintainer of these add-ons, all on 1.16:
The Sojournings of Grog, Children of Dragons, A Rough Life, Wesnoth Lua Pack, The White Troll (co-author)
The Sojournings of Grog, Children of Dragons, A Rough Life, Wesnoth Lua Pack, The White Troll (co-author)
game_error: invalid side(4) found in unit definition
Yes, I noticed that.Elvish_Hunter wrote:It has been just fixed for 1.11.2: https://gna.org/bugs/?20373
But does anyone know when 1.11.2 will be released?
I don't ask for the exact date, I only want to know if we have to wait for days or rather for weeks, or maybe months.
Last edited by Adamant14 on April 21st, 2013, 9:07 pm, edited 1 time in total.
Author of Antar, Son of Rheor ( SP Campaign) | Development Thread + Feedback Thread + Replays of ASoR
game_error: invalid side(4) found in unit definition
Sorry for resurrecting this thread.
Maybe I should have to start a new one, but on the other hand my problem is related to this thread somehow.
The issue with the second human leader is fixed.
Many thanks for that;
But in my campaign I have also a AI-controlled (persistent) side.
The use of 'save_id' and 'persistent=yes' seems to crash the game.
When I remove 'persistent=yes', then the next scenario starts without any problem,
otherwise I get an error message, and the next scenario wont load.
The error message is:
"Error while playing the game: game_error: invalid side(4) found in unit definition" (the persistent AI side was side number 4 in my previous scenario)
Also reported here on Gna
BfW 1.11.2
Windows 7
Maybe I should have to start a new one, but on the other hand my problem is related to this thread somehow.
The issue with the second human leader is fixed.
Many thanks for that;
But in my campaign I have also a AI-controlled (persistent) side.
The use of 'save_id' and 'persistent=yes' seems to crash the game.
When I remove 'persistent=yes', then the next scenario starts without any problem,
otherwise I get an error message, and the next scenario wont load.
The error message is:
"Error while playing the game: game_error: invalid side(4) found in unit definition" (the persistent AI side was side number 4 in my previous scenario)
Also reported here on Gna
BfW 1.11.2
Windows 7
Author of Antar, Son of Rheor ( SP Campaign) | Development Thread + Feedback Thread + Replays of ASoR