# ...Did something happen to mapgen?

**URL:** https://discourse.cataclysmdda.org/t/did-something-happen-to-mapgen/8945
**Category:** The Garage
**Created:** [February 20, 2015, 2:32am UTC](https://discourse.cataclysmdda.org/t/did-something-happen-to-mapgen/8945 "2015-02-20T02:32:35Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![EkarusRyndren](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/ekarusryndren/32/80_2.png) [@EkarusRyndren](https://discourse.cataclysmdda.org/u/EkarusRyndren)
#### Post date: [February 20, 2015, 2:32am UTC](https://discourse.cataclysmdda.org/t/did-something-happen-to-mapgen/8945/1 "2015-02-20T02:32:35Z")

</div>

Either I’ve defied the RNG gods or something is broken here, I’ve generated several worlds in an attempt to start a new game and died several times. As is the custom of the game. But I’ve noticed three times now that a freshly generated world is /exactly/ the same, or at least the 15 ‘range’ revealed at spawn is.

---

<div class="post-metadata">

### Author: ![Coolthulhu](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/coolthulhu/32/2446_2.png) [@Coolthulhu](https://discourse.cataclysmdda.org/u/Coolthulhu)
#### Post date: [February 20, 2015, 2:44am UTC](https://discourse.cataclysmdda.org/t/did-something-happen-to-mapgen/8945/2 "2015-02-20T02:44:25Z")

</div>

It’s not the mapgen, but the RNG. PR fixing this is already waiting to be merged: [https://github.com/CleverRaven/Cataclysm-DDA/pull/11305](https://github.com/CleverRaven/Cataclysm-DDA/pull/11305)

---

<div class="post-metadata">

### Author: ![KA101](https://avatars.discourse-cdn.com/v4/letter/k/278dde/32.png) [@KA101](https://discourse.cataclysmdda.org/u/KA101)
#### Post date: [February 20, 2015, 2:47am UTC](https://discourse.cataclysmdda.org/t/did-something-happen-to-mapgen/8945/3 "2015-02-20T02:47:00Z")

</div>

Good to hear it’s not just my versions that are coming out non-random, though. Been tough to get the fix implemented as the same Very Clever Coder also broke compiler compatibility for some versions.

---

<div class="post-metadata">

### Author: ![EkarusRyndren](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/ekarusryndren/32/80_2.png) [@EkarusRyndren](https://discourse.cataclysmdda.org/u/EkarusRyndren)
#### Post date: [February 20, 2015, 2:47am UTC](https://discourse.cataclysmdda.org/t/did-something-happen-to-mapgen/8945/4 "2015-02-20T02:47:33Z")

</div>

any way I can force a new seed in the mean time? I kinda got really screwed by the not so random random number generator

---

<div class="post-metadata">

### Author: ![KA101](https://avatars.discourse-cdn.com/v4/letter/k/278dde/32.png) [@KA101](https://discourse.cataclysmdda.org/u/KA101)
#### Post date: [February 20, 2015, 2:48am UTC](https://discourse.cataclysmdda.org/t/did-something-happen-to-mapgen/8945/5 "2015-02-20T02:48:52Z")

</div>

> [@EkarusRyndren](#):
>
> any way I can force a new seed in the mean time? I kinda got really screwed by the not so random random number generator

No, but I’m pulling it shortly and will fast-track the testing process. Hopefully The One Who Stocks will have a new build within the hour.

---

<div class="post-metadata">

### Author: ![EkarusRyndren](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/ekarusryndren/32/80_2.png) [@EkarusRyndren](https://discourse.cataclysmdda.org/u/EkarusRyndren)
#### Post date: [February 20, 2015, 2:51am UTC](https://discourse.cataclysmdda.org/t/did-something-happen-to-mapgen/8945/6 "2015-02-20T02:51:43Z")

</div>

> [@KA101](#):
>
> [quote=“EkarusRyndren, post:4, topic:8945”]any way I can force a new seed in the mean time? I kinda got really screwed by the not so random random number generator

No, but I’m pulling it shortly and will fast-track the testing process. Hopefully The One Who Stocks will have a new build within the hour.[/quote]

Eh, I’m mostly just glad to know I’m not going crazy. I think I actually shouted “I SWEAR TO GOD I RAIDED THAT BUILDING ON MY LAST LIFE” earlier.

Thanks though

---

<div class="post-metadata">

### Author: ![KA101](https://avatars.discourse-cdn.com/v4/letter/k/278dde/32.png) [@KA101](https://discourse.cataclysmdda.org/u/KA101)
#### Post date: [February 20, 2015, 3:27am UTC](https://discourse.cataclysmdda.org/t/did-something-happen-to-mapgen/8945/7 "2015-02-20T03:27:36Z")

</div>

Verdammt. One of the two fixes crashes on startup. Bisecting now.

---

<div class="post-metadata">

### Author: ![kevin.granade](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/kevin.granade/32/1316_2.png) [@kevin.granade](https://discourse.cataclysmdda.org/u/kevin.granade)
#### Post date: [February 20, 2015, 4:04am UTC](https://discourse.cataclysmdda.org/t/did-something-happen-to-mapgen/8945/8 "2015-02-20T04:04:27Z")

</div>

Actually you can provide a random seed by doing:

```auto
cataclysm --seed "some random string"
```

Other than worldgen it shouldn’t matter much since different game starts will trigger different RNG calls.

---

<div class="post-metadata">

### Author: ![KA101](https://avatars.discourse-cdn.com/v4/letter/k/278dde/32.png) [@KA101](https://discourse.cataclysmdda.org/u/KA101)
#### Post date: [February 20, 2015, 4:42am UTC](https://discourse.cataclysmdda.org/t/did-something-happen-to-mapgen/8945/9 "2015-02-20T04:42:36Z")

</div>

[quote=“Kevin Granade, post:8, topic:8945”]Actually you can provide a random seed by doing:

```auto
cataclysm --seed "some random string"
```

Other than worldgen it shouldn’t matter much since different game starts will trigger different RNG calls.[/quote]

Nifty and good to know, though that seems like it’d need tinkering with the Properties on the windows version.

---

<div class="post-metadata">

### Author: ![KA101](https://avatars.discourse-cdn.com/v4/letter/k/278dde/32.png) [@KA101](https://discourse.cataclysmdda.org/u/KA101)
#### Post date: [February 20, 2015, 8:09am UTC](https://discourse.cataclysmdda.org/t/did-something-happen-to-mapgen/8945/10 "2015-02-20T08:09:47Z")

</div>

Kevin with the fix, yep.
