MantisBT - VCMI
View Issue Details
0002760VCMIRandom Map Generatorpublic2017-08-03 18:202021-01-25 16:15
misiokles 
AVS 
normalminoralways
resolvedno change required 
PCWindows10
0.99 
0.next 
0002760: Random map generator can't generate map with 5 players.
Random map generator can't generate map with 5 players. It's strange because template jsons allow to do that.
Launch game.
Click Random map.
Choose 5 Human or Computer players
Click Begin
Message appears.
No tags attached.
jpg rmg.jpg (404,444) 2017-08-03 18:20
https://bugs.vcmi.eu/file_download.php?file_id=2765&type=bug
jpg

png 5pl.png (380,225) 2018-03-11 16:23
https://bugs.vcmi.eu/file_download.php?file_id=2876&type=bug
png

? Meeting in Muzgob_1520786165.vmap (96,219) 2018-03-11 16:36
https://bugs.vcmi.eu/file_download.php?file_id=2877&type=bug
Issue History
2017-08-03 18:20misioklesNew Issue
2017-08-03 18:20misioklesFile Added: rmg.jpg
2018-03-04 16:58PovelitelNote Added: 0007475
2018-03-04 16:58PovelitelStatusnew => confirmed
2018-03-09 20:29AVSNote Added: 0007485
2018-03-09 20:38AVSNote Added: 0007486
2018-03-09 20:38AVSAssigned To => AVS
2018-03-09 20:38AVSStatusconfirmed => feedback
2018-03-11 16:03misioklesNote Added: 0007490
2018-03-11 16:03misioklesStatusfeedback => assigned
2018-03-11 16:11AVSNote Added: 0007491
2018-03-11 16:22misioklesNote Added: 0007492
2018-03-11 16:23misioklesFile Added: 5pl.png
2018-03-11 16:26AVSNote Added: 0007493
2018-03-11 16:28AVSNote Added: 0007494
2018-03-11 16:33misioklesNote Added: 0007495
2018-03-11 16:36AVSFile Added: Meeting in Muzgob_1520786165.vmap
2018-03-11 16:37AVSNote Added: 0007496
2018-03-11 16:51misioklesNote Added: 0007497
2018-03-11 17:06PovelitelNote Added: 0007498
2021-01-25 16:15MikeLodzNote Added: 0007975
2021-01-25 16:15MikeLodzStatusassigned => resolved
2021-01-25 16:15MikeLodzResolutionopen => no change required
2021-01-25 16:15MikeLodzFixed in Version => 0.next

Notes
(0007475)
Povelitel   
2018-03-04 16:58   
I can confirm it
(0007485)
AVS   
2018-03-09 20:29   
There are no templates for 5 players in defaultTemplates mod.
(0007486)
AVS   
2018-03-09 20:38   
Please provide configuration example that do not work
(0007490)
misiokles   
2018-03-11 16:03   
There some templates configured for 5 players [if I correctly read jsons]
- worlds of war
- 5sb0b
- 5sb0a
Last two templates are in OH3 RMG Templates and HDmod RMG Templates
(0007491)
AVS   
2018-03-11 16:11   
`"players" : "3", "cpu" : "2",` is NOT 5 players
(0007492)
misiokles   
2018-03-11 16:22   
So, it seems it problem with Kantor's converting scrips. Because all h3 templates were converted into jsons using this tool and in H3 we can generate random maps with 5 players for example with Meeting with Muzgob template.
(0007493)
AVS   
2018-03-11 16:26   
In this case `"players" : "3", "cpu" : "2",` works only if "Human or computer players" is 3 or random and "Computer only player" is 2 or random.
(0007494)
AVS   
2018-03-11 16:28   
meetingInMuzgob is `"players" : "6", "cpu" : "2",` to make it work for 5 players it should be changed to `"players" : "5-6", "cpu" : "2",`
(0007495)
misiokles   
2018-03-11 16:33   
quick test - it doesn't work :(
(0007496)
AVS   
2018-03-11 16:37   
It works for me, attached generated map.
(0007497)
misiokles   
2018-03-11 16:51   
Argh.. thanks, it works for me also (I have two dupliced foldes with templates).
So I must revise existing templates to make them more similar to OH3...
(0007498)
Povelitel   
2018-03-11 17:06   
Oh shit. I checked only possibility creating of map. And didn't sow teamplate
(0007975)
MikeLodz   
2021-01-25 16:15   
dear misiokles, can we close the ticket now?