# Cataclysm++ Mod

**URL:** https://discourse.cataclysmdda.org/t/cataclysm-mod/10523
**Category:** The Lab
**Tags:** mod
**Created:** [September 14, 2015, 9:07am UTC](https://discourse.cataclysmdda.org/t/cataclysm-mod/10523 "2015-09-14T09:07:24Z")
**Posts on this page:** 20
**Page:** 23

<div class="post-metadata">

### Author: ![pisskop](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/pisskop/32/1327_2.png) [@pisskop](https://discourse.cataclysmdda.org/u/pisskop)
#### Post date: [October 30, 2016, 1:33am UTC](https://discourse.cataclysmdda.org/t/cataclysm-mod/10523/441 "2016-10-30T01:33:32Z")

</div>

Noc

```
 [url=https://github.com/CleverRaven/Cataclysm-DDA/pull/18829]Nudge, nudge[/url] wink wink
```

---

<div class="post-metadata">

### Author: ![Noctifer](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/noctifer/32/458_2.png) [@Noctifer](https://discourse.cataclysmdda.org/u/Noctifer)
#### Post date: [October 30, 2016, 1:42am UTC](https://discourse.cataclysmdda.org/t/cataclysm-mod/10523/442 "2016-10-30T01:42:14Z")

</div>

[quote=“pisskop, post:441, topic:10523”]Noc

```
 [url=https://github.com/CleverRaven/Cataclysm-DDA/pull/18829]Nudge, nudge[/url] wink wink[/quote]

```

I don’t have the ability to get the latest experimental or upload anything at the moment but coolthulu said I could still specify clothing with classes, will try that out in the meantime.

---

<div class="post-metadata">

### Author: ![warriorsofcats](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/warriorsofcats/32/1264_2.png) [@warriorsofcats](https://discourse.cataclysmdda.org/u/warriorsofcats)
#### Post date: [November 2, 2016, 6:07am UTC](https://discourse.cataclysmdda.org/t/cataclysm-mod/10523/443 "2016-11-02T06:07:33Z")

</div>

When I try to create a character with just your mod on, I got this error when it was loading a world,

 ![](http://puu.sh/s3J8P/5b5362d07f.png)

If you need more information, just ask.  
BTW I am on lastest build, 5811

---

<div class="post-metadata">

### Author: ![Kedrak](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/kedrak/32/1414_2.png) [@Kedrak](https://discourse.cataclysmdda.org/u/Kedrak)
#### Post date: [November 2, 2016, 11:27am UTC](https://discourse.cataclysmdda.org/t/cataclysm-mod/10523/444 "2016-11-02T11:27:09Z")

</div>

I have the same problem, but not on character creation, just loading an existing world with the mod active.

---

<div class="post-metadata">

### Author: ![Noctifer](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/noctifer/32/458_2.png) [@Noctifer](https://discourse.cataclysmdda.org/u/Noctifer)
#### Post date: [November 2, 2016, 5:38pm UTC](https://discourse.cataclysmdda.org/t/cataclysm-mod/10523/445 "2016-11-02T17:38:42Z")

</div>

Right now I am unable to get the latest experimental or upload a fix… From what the picture says it looks like a new format change. What I suggest is going to the mod folder, then to char\_creation folder and open scenarios.json and type:  
“name” : “cata\_mod”,  
after " ident" : “mutant”,

If it works let me know, if you are unsure on how to edit let me know so I can copy the entire file here and you just delete everything in scenarios.json and paste that.

---

<div class="post-metadata">

### Author: ![Zhilkin](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/zhilkin/32/3749_2.png) [@Zhilkin](https://discourse.cataclysmdda.org/u/Zhilkin)
#### Post date: [November 2, 2016, 6:26pm UTC](https://discourse.cataclysmdda.org/t/cataclysm-mod/10523/446 "2016-11-02T18:26:46Z")

</div>

There were changes to json format in mods (see following commit - [https://github.com/CleverRaven/Cataclysm-DDA/commit/f55be9e4c4c9b4928d1df08afd550469ab371725](https://github.com/CleverRaven/Cataclysm-DDA/commit/f55be9e4c4c9b4928d1df08afd550469ab371725)).

Here is the link to updated mod which should run just fine on 5814: [https://www.dropbox.com/s/eajx8pnium6se6o/ZSFixed\_Cataclysm%2B%2B\_2016-11-02.zip?dl=0](https://www.dropbox.com/s/eajx8pnium6se6o/ZSFixed_Cataclysm%2B%2B_2016-11-02.zip?dl=0)

---

<div class="post-metadata">

### Author: ![pisskop](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/pisskop/32/1327_2.png) [@pisskop](https://discourse.cataclysmdda.org/u/pisskop)
#### Post date: [November 2, 2016, 7:00pm UTC](https://discourse.cataclysmdda.org/t/cataclysm-mod/10523/447 "2016-11-02T19:00:18Z")

</div>

thanks!

---

<div class="post-metadata">

### Author: ![warriorsofcats](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/warriorsofcats/32/1264_2.png) [@warriorsofcats](https://discourse.cataclysmdda.org/u/warriorsofcats)
#### Post date: [November 2, 2016, 7:14pm UTC](https://discourse.cataclysmdda.org/t/cataclysm-mod/10523/448 "2016-11-02T19:14:11Z")

</div>

[quote=“Zhilkin, post:446, topic:10523”]There were changes to json format in mods (see following commit - [https://github.com/CleverRaven/Cataclysm-DDA/commit/f55be9e4c4c9b4928d1df08afd550469ab371725](https://github.com/CleverRaven/Cataclysm-DDA/commit/f55be9e4c4c9b4928d1df08afd550469ab371725)).

Here is the link to updated mod which should run just fine on 5814: [https://www.dropbox.com/s/eajx8pnium6se6o/ZSFixed\_Cataclysm%2B%2B\_2016-11-02.zip?dl=0[/quote]](https://www.dropbox.com/s/eajx8pnium6se6o/ZSFixed_Cataclysm%2B%2B_2016-11-02.zip?dl=0%5B/quote%5D)

That fix works, but then I came across a new bug. At character creation the overmap special are beginning duplicate and block so the road can’t connect to it.  
here is the screenshot

 ![](http://puu.sh/s4fy4/bb8bf0261e.png)

 ![](http://puu.sh/s4fAW/78a153ec6e.png)

![](http://puu.sh/s4fE7/a69ab4338e.png)

similar error are repeated for unknown lab and makeshift command center  
However it is not fatal, so I can play game with it. I didn’t find any bio weapon lab yet, so I can’t tell you what it look like.

Edit: I found it, and here what it look like  
West of the Bio Weapon lab

![](http://puu.sh/s4i40/e7ed5d9882.png)

East of it

![](http://puu.sh/s4i6I/08699e2eba.png)

and inside of it, please ignore the scatter bit of ant (I had too much fun with OP Mjolnir) 😛

![](http://puu.sh/s4iaX/de3f3e7e38.png)

Nothing seem to be wrong with inside of a lab, but the outside…  
In previous version. The labs, all three variation of it, are usually surrounded by the roads, but now it seem to be surround by field instead.  
nothing seem to be duplicated, I don’t know what to take from it, but perhaps you would know?

oh btw, here the map view of it if you are interested

![](http://puu.sh/s4iUI/c079d19a22.png)

---

<div class="post-metadata">

### Author: ![Noctifer](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/noctifer/32/458_2.png) [@Noctifer](https://discourse.cataclysmdda.org/u/Noctifer)
#### Post date: [November 3, 2016, 1:53am UTC](https://discourse.cataclysmdda.org/t/cataclysm-mod/10523/449 "2016-11-03T01:53:53Z")

</div>

Might be the use of by\_highway instead of by\_road in the map specials…Other than that I wouldn’t know.

---

<div class="post-metadata">

### Author: ![NMLittle](https://avatars.discourse-cdn.com/v4/letter/n/90ced4/32.png) [@NMLittle](https://discourse.cataclysmdda.org/u/NMLittle)
#### Post date: [November 4, 2016, 6:36pm UTC](https://discourse.cataclysmdda.org/t/cataclysm-mod/10523/450 "2016-11-04T18:36:50Z")

</div>

My first post so forgive me if I am interjecting improperly.

The duplicated error is caused because in commit 198546a26644b0c1d9d7db5fa9267ec5a61aa300 for release 5808 code was added around line 1000-1050 to overmap.cpp

Specifically the duplicate error is being thrown because in Terrain\overmap\_special.json [2,1,0] is designated as both a b\_field as as a Bio\_Weapon\_lab, Unknown\_Lab, and makeshift\_command\_center.

The blocked error is specifically related to the for loop and error checking. The logic was changed on how roads area calculated and the new logic seems to be basically in compatible with setting a tile equal to an overmap value AND a road.

To get things up and running in my local environment, I removed \<, “connect”: “road”\> from all the b\_field points in overmap\_special.json and I removed the duplicated [2,1,0] b\_field entries. Now the labs are surrounded with fields instead of roads, but for the time being it works.

---

<div class="post-metadata">

### Author: ![Noctifer](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/noctifer/32/458_2.png) [@Noctifer](https://discourse.cataclysmdda.org/u/Noctifer)
#### Post date: [November 4, 2016, 7:38pm UTC](https://discourse.cataclysmdda.org/t/cataclysm-mod/10523/451 "2016-11-04T19:38:44Z")

</div>

Thanks for the info! The road was a hax anyway to prevent npc wandering away but that failed… Having b\_fields prevents monsters spawning in the vacinity and is thematically appriate.

---

<div class="post-metadata">

### Author: ![Zhilkin](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/zhilkin/32/3749_2.png) [@Zhilkin](https://discourse.cataclysmdda.org/u/Zhilkin)
#### Post date: [November 5, 2016, 9:53am UTC](https://discourse.cataclysmdda.org/t/cataclysm-mod/10523/452 "2016-11-05T09:53:01Z")

</div>

> **[ZSFixed\_Cataclysm++\_2016-11-05.zip](https://www.dropbox.com/s/b10tkhj5oxtnsse/ZSFixed_Cataclysm%2B%2B_2016-11-05.zip?dl=0)**
>
> Shared with Dropbox

---

<div class="post-metadata">

### Author: ![Noctifer](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/noctifer/32/458_2.png) [@Noctifer](https://discourse.cataclysmdda.org/u/Noctifer)
#### Post date: [November 5, 2016, 10:03am UTC](https://discourse.cataclysmdda.org/t/cataclysm-mod/10523/453 "2016-11-05T10:03:33Z")

</div>

Thank you for providing a fix!

---

<div class="post-metadata">

### Author: ![nightowl125](https://avatars.discourse-cdn.com/v4/letter/n/e95f7d/32.png) [@nightowl125](https://discourse.cataclysmdda.org/u/nightowl125)
#### Post date: [November 12, 2016, 6:49pm UTC](https://discourse.cataclysmdda.org/t/cataclysm-mod/10523/454 "2016-11-12T18:49:25Z")

</div>

DEBUG : cannot determine reload cost as none is neither ammo or magazine  
Function : int player::item\_reload\_cost(const item&, long int) const  
FILE : src/player.cpp  
LINE : 10367

(wasn’t sure how to post the error message, tried cropping and posting it but didn’t work.)

The error occurs when the solar battery recharge station is unloaded. It drops you “none” as an item

(if this has been addressed before i’m sorry for bringing it up)

---

<div class="post-metadata">

### Author: ![Noctifer](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/noctifer/32/458_2.png) [@Noctifer](https://discourse.cataclysmdda.org/u/Noctifer)
#### Post date: [November 12, 2016, 6:54pm UTC](https://discourse.cataclysmdda.org/t/cataclysm-mod/10523/455 "2016-11-12T18:54:51Z")

</div>

If it’s a solar item it can either be the artifact definitions or a new change on how batteries work.

---

<div class="post-metadata">

### Author: ![Zhilkin](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/zhilkin/32/3749_2.png) [@Zhilkin](https://discourse.cataclysmdda.org/u/Zhilkin)
#### Post date: [November 13, 2016, 5:54pm UTC](https://discourse.cataclysmdda.org/t/cataclysm-mod/10523/456 "2016-11-13T17:54:59Z")

</div>

[quote=“nightowl125, post:454, topic:10523”]DEBUG : cannot determine reload cost as none is neither ammo or magazine  
Function : int player::item\_reload\_cost(const item&, long int) const  
FILE : src/player.cpp  
LINE : 10367

(wasn’t sure how to post the error message, tried cropping and posting it but didn’t work.)

The error occurs when the solar battery recharge station is unloaded. It drops you “none” as an item

(if this has been addressed before i’m sorry for bringing it up)[/quote]  
Didn’t catch that in 5879.

---

<div class="post-metadata">

### Author: ![Noctifer](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/noctifer/32/458_2.png) [@Noctifer](https://discourse.cataclysmdda.org/u/Noctifer)
#### Post date: [November 13, 2016, 6:27pm UTC](https://discourse.cataclysmdda.org/t/cataclysm-mod/10523/457 "2016-11-13T18:27:25Z")

</div>

If the error is reproducible then there is a problem, if not to got unlucky. If it is only with my items then it’s an issue with my mod, if it happens with core items as well (flashlight, hotplate, etc.) then the problem is with the game.

---

<div class="post-metadata">

### Author: ![nightowl125](https://avatars.discourse-cdn.com/v4/letter/n/e95f7d/32.png) [@nightowl125](https://discourse.cataclysmdda.org/u/nightowl125)
#### Post date: [November 14, 2016, 1:40pm UTC](https://discourse.cataclysmdda.org/t/cataclysm-mod/10523/458 "2016-11-14T13:40:59Z")

</div>

> [@Noctifer](#):
>
> If the error is reproducible then there is a problem, if not to got unlucky. If it is only with my items then it’s an issue with my mod, if it happens with core items as well (flashlight, hotplate, etc.) then the problem is with the game.

tried it out on core items, everything alright in that regard, so i assume it’s the mod conflicting with recent changes.

---

<div class="post-metadata">

### Author: ![pisskop](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/pisskop/32/1327_2.png) [@pisskop](https://discourse.cataclysmdda.org/u/pisskop)
#### Post date: [November 14, 2016, 2:15pm UTC](https://discourse.cataclysmdda.org/t/cataclysm-mod/10523/459 "2016-11-14T14:15:56Z")

</div>

none is the nullitem. ‘none’ is not a quantity but an item.

having none is the bug

p:

none itself is how the game resolves fake items. something tried to grant charges to null. if you want tjisbug tracked you gotta figure out what did that

---

<div class="post-metadata">

### Author: ![nightowl125](https://avatars.discourse-cdn.com/v4/letter/n/e95f7d/32.png) [@nightowl125](https://discourse.cataclysmdda.org/u/nightowl125)
#### Post date: [November 14, 2016, 7:35pm UTC](https://discourse.cataclysmdda.org/t/cataclysm-mod/10523/460 "2016-11-14T19:35:40Z")

</div>

[quote=“pisskop, post:459, topic:10523”]none is the nullitem. ‘none’ is not a quantity but an item.

having none is the bug

p:

none itself is how the game resolves fake items. something tried to grant charges to null. if you want tjisbug tracked you gotta figure out what did that[/quote]

Could this potentially be the problem causer?: [https://postimg.org/image/x3h0xfjal/](https://postimg.org/image/x3h0xfjal/)

[Previous page](https://discourse.cataclysmdda.org/t/cataclysm-mod/10523.md?page=22)

[Next page](https://discourse.cataclysmdda.org/t/cataclysm-mod/10523.md?page=24)
