random map generator problem..

Having trouble with the game? Report issues and get help here. Read this first!

Moderator: Forum Moderators

Forum rules
Before reporting issues in this section, you must read the following topic:
Post Reply
enclave
Posts: 936
Joined: December 15th, 2007, 8:52 am

random map generator problem..

Post by enclave »

hi, windows7, wesnoth 1.12.2 , english version

Random map only want to work with x dividable by 2.... for example putting 41x41, makes it 42x41.. 33x33 would be 34x33.. bug?
Sad if so..

Thank you!
GbDorn
Posts: 60
Joined: March 26th, 2014, 5:07 pm

Re: random map generator problem..

Post by GbDorn »

enclave wrote:Sad if so..
Just resize the map after the random generation...
enclave
Posts: 936
Joined: December 15th, 2007, 8:52 am

Re: random map generator problem..

Post by enclave »

any example code? I couldn't find resize function. Asked on forum but nobody answered yet. I already coded my mod without sizing it, so for me problem is solved, but it exists in random map generator.. if not a bug, I don't mind, I was using map generator for long time, but noticed only after about 1 year that it can't size to some x values..
SigurdFireDragon
Developer
Posts: 546
Joined: January 12th, 2011, 2:18 am
Location: Pennsylvania, USA

Re: random map generator problem..

Post by SigurdFireDragon »

I remember reading the c++ code governing that a few years back. The fact that it only does even values for X is mentioned in the comments of that code.
Co-Author of Winds of Fate
My Add-ons: Random Campaign, Custom Campaign, Ultimate Random Maps, Era of Legends, Gui Debug Tools
Erfworld: The comic that lead me to find Wesnoth.
Post Reply