Page 1 of 1

Hacking the town map

Posted: Mon 31.01.2011, 03:06
by silicontrip
Hi all,

I'm running my own mangband server (1.1.2) all the people who play are friends and we share many of the treasures we find. I'd like to know is it possible to set up a shared house? So that valuable items can be left for the other players without the townies walking in and stealing them.

We use shop 8 for this, but it has been created very small (only has 4 slots) and I'd like to make it bigger. I've hacked at the server save file, changing both the features and info sections but upon restart the house is always the same size.

I also tried to re-build it as the DM user but when the server was restarted the house reverted back to it's original size.

Any suggestions?

Thanks
Mark

Re: Hacking the town map

Posted: Mon 31.01.2011, 23:27
by silicontrip
Ah, I've found it. The town is randomly generated from the seed_town setting in the server configuration file. Now to find a suitable sized house.

Re: Hacking the town map

Posted: Fri 04.02.2011, 03:28
by silicontrip
Speaking about hacking. I hacked the server code to allow generation of the town map and surrounding areas.
Image
I've also done a 25x25 map but the image is 4meg and takes about 2 minutes to load from my web server, so I won't link it here.