RWG Patch

7 days to die rwg patch

This mod patches RWG to fix various issues.

  • No more trader will sticks to biome.
  • Single-biome world can be generated.
  • The world generation settings will be permanent. It is also used in the simple generation on the New Game.
  • The world map preview can be zoomed in/out with mouse scrolling, and can be moved by mouse dragging.
  • Fix a problem in which the unevenness of the world map preview appears to be reversed.

Generator Options

This mod changes following options.

  • Biome Layout
    • Change “Line” in the last option to “Single”. The world will be generated with biome that the highest weighted of them.

This mod adds following options.

  • Traders
    • Amount of trader spawns.
  • None
    • No any traders will be spawned.
  • Few
    • For large worlds (6k+) it will be less than the default, but for small worlds there will not be much change.
  • Default
    • Enough traders will be spawned. (But maybe less than vanilla.)
  • Many
    • Many traders will be spawned. (Almost the same as vanilla.)
  • Spawn Range
    • How many meters away from first trader (or city) should spawn points be placed?
  • Short
    • Spawn points are placed within 600 meters from a trader if a trader is spawned in the world, otherwise within 600 meters from a city or town. (Simillar to A21)
  • Default
    • Spawn points are placed within 900 meters from a trader if a trader is spawned in the world, otherwise within 900 meters from a city or town. (Almost the same as vanilla.)
  • Long
    • Spawn points are placed within 1.2K meters from a trader if a trader is spawned in the world, otherwise within 1.2K meters from a city or town.
  • Spawn Biome
    • Which biome should spawn points be placed in?
  • Default
    • Spawn points are placed in forest biomes whenever possible. (Almost the same as vanilla.)
  • Randomize
    • Spawn points are randomly placed in any biome.

Changelog

  • V1.0 is now supported.
  • V1.1(b14) Experimental compatible version can be downloaded from additional links.

DOWNLOAD V1.0 (224 KB)
DOWNLOAD V1.1 Exp (224 KB)

Credits: goemoncode

Share this with your friends:
Subscribe
Notify of
guest

If you have any questions or have any problems/bugs, please use the support link (Discord, Forum Topic, GitHub Issues, etc.) in the post. If there is no support link in the post, please use the comments section.

35 Comments
Inline Feedbacks
View all comments
Noela
Noela
October 9, 2024 4:01 am

this mod no longer works with game version 1.1 please update if you can~

Naireem
Naireem
October 5, 2024 4:20 pm

nvm, found a solution. Mod “RWG Bias Check” was conflicting. (just commented the trader lines in the mod out)

Naireem
Naireem
October 5, 2024 3:49 pm

Doesn’t work on V 1.0 (b336)

Error:
KeyNotFoundException: The given key ‘trader_bob – original min_count=1’ was not present in the dictionary.
at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in :0
at Patch_PrefabManager.LoadPrefabs () [0x00043] in :0
at (wrapper dynamic-method) WorldGenerationEngineFinal.PrefabManager.DMD()
at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.SyncProxy()
at WorldGenerationEngineFinal.WorldBuilder+d__82.MoveNext () [0x000ff] in :0
at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00026] in :0

EagleGundam
EagleGundam
October 3, 2024 5:57 pm

I get following error when generating a world
KeyNotFoundException: The given key ‘trader_mechanic’ was not present in the dictionary.
at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in :0
at Patch_PrefabManager.LoadPrefabs () [0x00043] in :0
at (wrapper dynamic-method) WorldGenerationEngineFinal.PrefabManager.DMD(WorldGenerationEngineFinal.PrefabManager)
at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.SyncProxy(WorldGenerationEngineFinal.PrefabManager)
at WorldGenerationEngineFinal.WorldBuilder+d__84.MoveNext () [0x000ff] in :0
at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00026] in :0

goemoncode
goemoncode
October 4, 2024 1:20 am
Reply to  EagleGundam

I have fixed the issue. I am sorry for your inconvenience, but please download (V1.1 Exp compatibles) again and check it.

Cpl_Lewd
Cpl_Lewd
September 27, 2024 2:13 am

I am currently getting “EXC TypeLoadException: Failure has occurred while loading a type.” and no other message. I have no other mods installed that touches RWG aside from custom POIs (Like Voltralux’s and LazyPOI packs.)
Any clue as to what’s going on?

The in-practice effect this has is that the RWG screen shows the new options, but it shuts off all control of the window and I can’t even go back. Same happens if I go to load my previous save.

goemoncode
goemoncode
September 28, 2024 1:43 am
Reply to  Cpl_Lewd

Since I have provided only V1.1 experimental compatibles so far, now provided V1.0 compatibles and V1.1 experimental compatibles separately.
In your case, please download and use the V1.0 compatibles.

Bill
Bill
September 28, 2024 3:39 am
Reply to  Cpl_Lewd

I am having the same error…

Sean
Sean
September 26, 2024 1:43 pm

Hoping someone can help me out here pleaseeeeeeeeee

2024-09-26T11:40:15 27.397 INF [EOS] Read (news_game_v1_hotfix.jpg) completed: Success, received 545164 bytes
TypeLoadException: Failure has occurred while loading a type.
at (wrapper dynamic-method) XUiC_WorldGenerationWindowGroup.DMD(XUiC_WorldGenerationWindowGroup)

goemoncode
goemoncode
September 28, 2024 1:53 am
Reply to  Sean

The circumstances are as commented above. In your case too.
I am sorry for your inconvenience, but please download and check the V1.0 compatibles.

Sean
Sean
September 28, 2024 7:12 pm
Reply to  goemoncode

Thank you, that worked, I removed all mods to try it and it worked, put all my mods back in and it stopped, but now its a simple conflict, thank you again.

GrayParadox
GrayParadox
September 26, 2024 1:49 am

Appeared for me, after installing this patch.
Found one mod that can conflict with it, called “MickkpewpewQuests”

ArgumentException: An item with the same key has already been added. Key: trader_rekt
at System.Collections.Generic.Dictionary2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x0015a] in <467a840a914a47078e4ae9b0b1e8779e>:0
at System.Collections.Generic.Dictionary2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in :0
at System.Linq.Enumerable.ToDictionary[TSource,TKey] (System.Collections.Generic.IEnumerable1[T] source, System.Func2[T,TResult] keySelector, System.Collections.Generic.IEqualityComparer1[T] comparer) [0x00086] in <53d9c9e3ddfd44bba9f7bd7413478f07>:0
at System.Linq.Enumerable.ToDictionary[TSource,TKey] (System.Collections.Generic.IEnumerable1[T] source, System.Func`2[T,TResult] keySelector) [0x00000] in :0
at Patch_WorldGenerationFromXml.Load (XmlFile file) [0x0005f] in :0
at (wrapper dynamic-method) WorldGenerationEngineFinal.WorldGenerationFromXml.DMD(XmlFile)
at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.SyncProxy(XmlFile)
at WorldStaticData+d__51.MoveNext () [0x00271] in :0
at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00026] in :0

goemoncode
goemoncode
September 26, 2024 10:33 am
Reply to  GrayParadox

The problem you report does not occur in my environment. Perhaps some other mod is causing this problem.
I cannot guarantee that my mod will work according to specifications under such circumstances, but I have tried to modify the program to prevent the error that is occurring. Please download it again and check.

Krokoziabras
Krokoziabras
September 25, 2024 10:33 pm

I have this kind of error.

ArgumentException: An item with the same key has already been added. Key: rural_outdoor_wedding_01
at System.Collections.Generic.Dictionary2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x0015a] in <467a840a914a47078e4ae9b0b1e8779e>:0
at System.Collections.Generic.Dictionary2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in :0
at System.Linq.Enumerable.ToDictionary[TSource,TKey] (System.Collections.Generic.IEnumerable1[T] source, System.Func2[T,TResult] keySelector, System.Collections.Generic.IEqualityComparer1[T] comparer) [0x00086] in <53d9c9e3ddfd44bba9f7bd7413478f07>:0
at System.Linq.Enumerable.ToDictionary[TSource,TKey] (System.Collections.Generic.IEnumerable1[T] source, System.Func`2[T,TResult] keySelector) [0x00000] in :0
at Patch_WorldGenerationFromXml.Load (XmlFile file) [0x0005f] in :0
at (wrapper dynamic-method) WorldGenerationEngineFinal.WorldGenerationFromXml.DMD(XmlFile)
at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.SyncProxy(XmlFile)
at WorldStaticData+d__51.MoveNext () [0x00271] in :0
at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00026] in :0

goemoncode
goemoncode
September 26, 2024 1:50 am
Reply to  Krokoziabras

Please make sure that the rwgmixer.xml provided by this mod is saved in the installation folder of this mod.
Or the rwgmixer.xml provided by another mod may be causing the problem.

BadKarma64
BadKarma64
September 25, 2024 2:24 am

Loved this mod but the .114 update today blew it up.
Error log:
MissingFieldException: Field not found: int[] WorldGenerationEngineFinal.WorldBuilder.BiomeWeightDefaults Due to: Could not find field in class
at (wrapper dynamic-method) XUiC_WorldGenerationWindowGroup.DMD(XUiC_WorldGenerationWindowGroup)
at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.SyncProxy(XUiC_WorldGenerationWindowGroup)

goemoncode
goemoncode
September 25, 2024 5:23 pm
Reply to  BadKarma64

Thank you for your report.
I have fixed the issue, please download the zip file again and check it.

BadKarma64
BadKarma64
September 25, 2024 6:19 pm
Reply to  goemoncode

Works great again! Thanks so much for this!!!
I prefer a single biome for my maps, and this gives us that ability.
Many Thanks!

Boouck
Boouck
July 29, 2024 10:21 pm

The error I get since 1.0 stable was released is: EXC Keynotfoundexception: The Given Key “trader_mechanic” was not present in the dictionary

And when the error comes up the game stops doing anything and I have to force quit the game. If I remove this mod game works as intended…

Bill
Bill
July 30, 2024 2:38 am
Reply to  Boouck

Same here.

Boouck
Boouck
July 30, 2024 3:30 am
Reply to  Boouck

Ok trader_mechanic apparently is a POI that is included into Bdub’s vehicles mod…There was actually a Trader Mechanic….I removed Bdub’s vehicles mod and RWG works without flaw…I assume the creator of this mod needs to add Bdub’s vehicles – trader mechanic to this mod so it will recognize it…

goemoncode
goemoncode
July 31, 2024 2:39 am
Reply to  Boouck

With so many mods, it is difficult to maintain consistency with other mods in advance, but i have fixed this issue since you told me the cause.
Please download the zip file again and check it.

Boouck
Boouck
July 31, 2024 4:55 pm
Reply to  goemoncode

Yes, thank you it now works with Bdub’s Vehicles mod..

Bill
Bill
July 28, 2024 6:12 pm

The new 7days update seems to be causing problems for this mod? Or maybe its my setup?

Boouck
Boouck
July 29, 2024 7:57 pm
Reply to  Bill

It gives me errors and won’t load the game…Pretty sure the update broke it.

Arturius
Arturius
July 27, 2024 11:55 pm

great mod, but I have console errors, when loading this mod, something about the RWGpatch.dll, please fix.

chris
chris
July 26, 2024 9:28 pm

“No more trader will sticks to biome.” <<– Does that mean any trader can be in any biome, like it used to be?

goemoncode
goemoncode
July 27, 2024 6:28 am
Reply to  chris

Yes, please try it out.

infomatec
infomatec
July 21, 2024 3:08 am

Same as Drizzit and Alexa, rural_outdoor_wedding_01…

I had to remove the mod in order for the game to work (at least the current savegame is still working without it)

Drizzit
Drizzit
July 20, 2024 11:21 pm

Hi and Thx for the mod
It was working fine but now I have the same issue as Alexa.
Console appears and ends with “ArgumentException: An item with the same key has already been added. Key: rural_outdoor_wedding_01”

Alexa
Alexa
July 20, 2024 11:47 am

After the 1.0 b325 Update, this mod no longer works. My Console always appears and ends with “ArgumentException: An item with the same key has already been added. Key: rural_outdoor_wedding_01”

Jeremy Hamby
Jeremy Hamby
June 29, 2024 1:36 am

How do I do a map with only two biomes?

goemoncode
goemoncode
June 29, 2024 2:06 am
Reply to  Jeremy Hamby

Unfortunately, there is no ability to generate a map with only two biomes.

Shawn
Shawn
June 28, 2024 4:34 pm

Does this mess with the trader progression quests? I have tried some mods like this and the one that actually changed the starter trader from Rekt’s to random trader didn’t give me my next trader after completing the 10 required quests. Also would I need to use the world randomizer or would any normal prefab map work?

goemoncode
goemoncode
June 29, 2024 1:58 am
Reply to  Shawn

The issue that traders except reckt not refer other traders has been fixed. Please download the zip file again and check it. thank you.