PK's Rebalancing Unofficial patch

that’s over 100 builds ago, I don’t support builds that old, try the latest 0.E 10604, if the game doesn’t crash, you can still use the mod, the error is likely purely cosmetic.

Let me know if 10604 has the issue still and what other mods you are using.

Build 0.E 10604.

DEBUG : Error: data/mods//PKs_Rebalancing-master//pk_regional_settings.json: line 5:29: river_scale required for default

"type": "region_settings",
"id": "default",                "//": "identifier, when region_map is in it will determine alternatives ('desert' etc)",
"default_oter": "field",
                        ^
                                    "//": "default oter_id (anything that isn't a house/road/etc) some become forests",
"default_groundcover": [
  [ "t_grass", 7850 ], [ "t_dirt",  2130 ], [ "t_tree_young", 15 ], [ "t_dirtmound", 3 ], [ "t_tree", 1 ], [ "t_

FUNCTION : bool main_menu::load_character_tab(bool)
FILE : src/main_menu.cpp
LINE : 1187

Brings me to the main menu…

Modlist-
[
“dda”,
“crt_expansion”,
“magiclysm”,
“aftershock”,
“FIC_Weapons”,
“ew_pack”,
“makeshift”,
“Medieval_Stuff”,
“More_Survival_Tools”,
“nw_pack”,
“DracoDogMod”,
“modular_turrets”,
“PK_REBALANCE”,
“Salvaged_Robots”,
“secronom”,
“mutant_npcs”,
“MMA”,
“more_locations”,
“FujiStruct”,
“Urban_Development”,
“deoxymod”,
“blazemod”,
“Tanks”
]

Slight problem. I can’t generated a world because of an error:

DEBUG : Error: ./mods//PKs_Rebalancing-5.7.2k0.E//pk_start_locations.json: line 3:30: must specify either ‘abstract’ or ‘id’

[
{
“type”: “start_location”,
^
“ident”: “doomlabs”,
“name”: “PRM Laboratories”,
“target”: “doomlab_lab_open”

FUNCTION : bool main_menu::new_character_tab()
FILE : src/main_menu.cpp
LINE : 904

Did I miss something?

are you running the latest experimental and the latest github download zip build?
I’ve got time to work on stuff today but I need deets.

Ah, my bad. I should’ve specified.
Yes I’m on the latest experimental, and I have the latest github release.

I had time to fix the river scale error and some profession start location errors.

As far as I can see there are zero issues with the construction json, it’s likely some other mod screwing with it if you get an issue with that, if so, delete the pk_construction.json from your folder and it should (in theory) work without issue.

On an ordinary latest experimental with several random characters there seems to be no errors on startup, the start location changes to json were stupid and a complete pain in the ass for no reason tho :stuck_out_tongue:

2 Likes

Guess the issue was fixed Udai_Shankar?

Yea… I simply deleted the regional json :smiley:

No errors!

Here is an update that fixes all the game-breaking bugs related to the update of the material (“bullet_resist”) and ranged_damage format

https://mega.nz/file/LM9nTbLY#qAWuHu-Ll7s0q6MWFQRJqorPeOhwiXeHbRgn3g70psU

1 Like

neat, for some reason I thought it was just materials that needed to be updated, I’ll PR that, thankyou!

1 Like

It probably is, i said that in general because other 32 mods that i had to work on were giving me some ranged_damage errors too, so it’s this and materials, but only new material format causes the crashes, oh PK had bandolier bug, that one did not cause crashes but annoying error still :slight_smile:

I think I merged it all but didn’t wanna go through the hassle of sorting through all the files one by one again so let me know if I missed anything

1 Like

just encountered error of monster not found.

10:05:43.293 ERROR : src/main_menu.cpp:861 [bool main_menu::new_character_tab()] Error: line 114:37: no such monster

    "#": "f_brazier"
  },
  "monster": { "*": { "monster":
                                ^
                                 "mon_flesh_angel" }, "^": { "monster": "mon_blood_sacrifice" } },
  "place_monsters": [
    { "monster": "GROUP_BS", "x": [ 1, 22 ], "y": [ 1, 22 ], "chance": 3 },

that particular bug should be fixed now

allrighty, thanks for the fix…

im currently thinking about possibility of seeing some of PK rebalancing feature in main game…

I think im having the same issue as Kenan but the link to his fix is broken. Does anyone have a copy?

These are the 3 errors I get. Sorry to just drop them here. I deleted everything for a fresh install of 0.E-5407-g8b385a2 (tiles) and the mod.

 DEBUG    : Received unrecognized iuse function bandolier, using iuse::none instead

 FUNCTION : use_function Item_factory::usage_from_string(const string&) const
 FILE     : src/item_factory.cpp
 LINE     : 3494




 DEBUG    : Received unrecognized iuse function bandolier, using iuse::none instead

 FUNCTION : use_function Item_factory::usage_from_string(const string&) const
 FILE     : src/item_factory.cpp
 LINE     : 3494



 DEBUG    : Error: data/mods//PKs_Rebalancing-master//monsters/cult.json: line 281:123: Invalid damage type

        "cooldown": 30,
        "accuracy": 6,
        "damage_max_instance": [ { "damage_type": "cut", "amount": 20, "armor_multiplier": 0.8 }, { "damage_type": "true",
                                                                                                                          ^
                                                                                                                           "amount": 6 } ]
      }
    ],


 FUNCTION : bool main_menu::new_character_tab()
 FILE     : src/main_menu.cpp
 LINE     : 861

it’s being worked on, hopefully will be fixed later today thanks to kenan

give the latest master a test now, just merged the fixes.