[General] - Mod configurations broken on 09/07/15.


Kzisor

Recommended Posts

Bug Submission:

Category: General

Issue Title: Mod configurations broken on 09/07/15.

Issue Description: Mod configurations for both hosted and dedicated servers are now broken. I have a single mod which can easily reproduce this issue.

Steps to Reproduce: Install 'Additional Set Pieces' and set the configurations in-game to count = 1 with spawn percentage = 10% chance.

Host a game and c_countprefabs("pigtorch") and you will get 16+, which is broken.

Alternatively you can use the following configurations in modoverrides.lua to get the same result on dedicated servers.

	--	Additional Set Pieces	["394470072"] = 	{ 		enabled = true,				configuration_options =		{			world_generation =			{				random_set_pieces =				{					amount = 10,				},				set_pieces =				{					seasonal = true,				},			},			set_piece =			{				beefalo_farm =				{					chance = 20,					count = 1,				},				koalefant_farm =				{					chance = 25,					count = 1,				},				calamity_camp =				{					chance = 33,					count = 1,				},				colourful_mushroom_farm =				{					chance = 15,					count = 1,				},				conquering_pigs =				{					chance = 25,					count = 1,				},				healthy_resources = 				{					chance = 35,					count = 1,				},				mimic =				{					chance = 43,					count = 1,				},				seasonal_retaliation = 				{					chance = 50,					count = 3,				},				example = 				{					chance = 33,					count = 1,				},				winter_revival =				{					chance = 100,					count = 2,				},				wealthy_graves =				{					chance = 100,					count = 1,				},				mushroom_ring_small = 				{					chance = 50,					count = 1,				},				mushroom_ring_medium =				{					chance = 50,					count = 1,				},				mushroom_ring_large =				{					chance = 50,					count = 1,				},				fairy_rings =				{					enabled = true,				},				stone_henge =				{					enabled = true,				},				maxwell_merm_shrine =				{					chance = 1,					count = 1,				},				maxwell_pig_shrine =				{					chance = 1,					count = 1,				},				mactusk_city =				{					chance = 8,					count = 1,				},				mactusk_town =				{					chance = 18,					count = 1,				},				insane_flint =				{					chance = 38,					count = 1,				},				simple_base =				{					chance = 50,					count = 3,				},				ruined_base =				{					chance = 50,					count = 3,				},				pig_town =				{					chance = 8,					count = 1,				},				hound_rocks =				{					chance = 15,					count = 1,				},				village_square =				{					chance = 18,					count = 1,				},			},		},	},
Link to comment
Share on other sites

@V2C, PeterA and I looked over this and couldn't find an issue with it. I have since rewritten the way the set pieces spawn within my mod and now they work correctly. I don't know if it was an issue with mod configurations not properly being sent or if it was an issue with my code, but it seems to all be working now. 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.