RimWorld

RimWorld

Parallel Power Grid (Parallel Conduits)
Twilight 9 Sep, 2018 @ 12:31am
BUG thread
Hi i gave it a look with the regular R19 and it doesn'treally work upon load time, i just get exceptions. Even if it is only core and the manually installed mod.

ReflectionTypeLoadException getting types in assembly ParallelZzzt: System.Reflection.ReflectionTypeLoadException: The classes in the module cannot be loaded.
at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (bool)
at System.Reflection.Assembly.GetTypes () [0x00000] in <filename unknown>:0
at Verse.ModAssemblyHandler.AssemblyIsUsable (System.Reflection.Assembly asm) [0x00000] in <filename unknown>:0

Loader exceptions:
=> System.TypeLoadException: Could not load type 'ParallelZzzt.ShortCircuitUtility_Patch' from assembly 'ParallelZzzt, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.

Verse.Log:Error(String, Boolean)
Verse.ModAssemblyHandler:AssemblyIsUsable(Assembly)
Verse.ModAssemblyHandler:ReloadAll()
Verse.ModContentPack:ReloadContent()
Verse.LoadedModManager:LoadModContent()
Verse.LoadedModManager:LoadAllActiveMods()
Verse.PlayDataLoader:DoPlayLoad()
Verse.PlayDataLoader:LoadAllPlayData(Boolean)
Verse.Root:<Start>m__1()
Verse.LongEventHandler:RunEventFromAnotherThread(Action)
Verse.LongEventHandler:<UpdateCurrentAsynchronousEvent>m__1()

Regards
< >
Showing 1-15 of 90 comments
Supes  [developer] 9 Sep, 2018 @ 12:53am 
I suspect you tried without the main mod installed (or in the wrong order)

the manual mod (Parallel Zzzzt Test) is dependant on the main mod (Parallel Grid) installed and loaded, so you need both installed and active.

so on the mod list it should look like order

Core
Parallel Grid (Parallel Conduits)
Parallel Zzzt Test (Parallel Conduits)

let me know if that eliminates the errors
Twilight 9 Sep, 2018 @ 1:00am 
Ah, i thought your test version was standalone also. Checking..
Twilight 9 Sep, 2018 @ 1:13am 
ok, it loads fine now.

I think the mod "Conduit Deconstruct" collides with yours (normal conduit deconstruct button marks wall for deconstruction. Just a sidenote)

Trying out your mod, i found that i am only limited to red and blue lines?
Like with the normal grey lines i gather all my powerplants, put them through RTFuses, then i can distribute the power via the power socket to red and blue? Or did i overlook something. I mean, i wanted to separate lights, heating, essential growing (hydroponics + sun lamps) and the defense turrets. So if that's four networks, what would be the best way to go on about it?

Edit: Actually. a fifth would be cool for separating the trade beacons ( the least necessary).

Suggestions that came to my mind:
It would be cool to have a green grid too (as a 3rd, or even more) and just select the colour type via context menu on the conduit command. I think "Allow tool" implements sth. similar on its commands.
Last edited by Twilight; 9 Sep, 2018 @ 1:33am
Twilight 9 Sep, 2018 @ 1:19am 
Bug, Correction:

Even without "Conduit Deconstruct" the normal command for removing a grey conduit just removes the wall, not the conduits.
Last edited by Twilight; 9 Sep, 2018 @ 1:19am
Twilight 9 Sep, 2018 @ 1:20am 
Issue:

Reconnect power alway connects to the nearest grey conduit, even if a blue or red was just one tile away.

Suggestion:
Context menu with "connect only to red[green,blue, black, etc..]"
Last edited by Twilight; 9 Sep, 2018 @ 1:21am
Twilight 9 Sep, 2018 @ 1:27am 
Yep, removing grey ones doesn't work.. can you fix that for the grey conduits, before i test any further? I have to remove and rewire the complete base to properly test your stuff and just cannot do it one by one even in godmode :D
Supes  [developer] 9 Sep, 2018 @ 1:43am 
you can remove grey conduits using the mod Conduit Deconstruct (it's not included as part of parallel conduits)

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=838336462

Parallel Grid adds in the two additional designators rather than replacing so it is compatible with any designator changes or replacements


all devices use the main power grid, so no direct device connections to red or blue lines, you need a socket in order to allow a connection to the parallel grid
Twilight 9 Sep, 2018 @ 1:55am 
ok, but i had that mod active before and then it didn't work when i loaded your patched one. It works without parallel conduits

Edit: still checking. Only other mods that I added today are Allow Tool and Toggle Harvest. Maybe it's Allow Tool.
Last edited by Twilight; 9 Sep, 2018 @ 2:05am
Supes  [developer] 9 Sep, 2018 @ 2:12am 
have you got any other mods that conflict with Conduit Deconstruct, I can guarantee that it isn't Parallel Conduits that is interfering.
Supes  [developer] 9 Sep, 2018 @ 2:20am 
possiblities:
you said you turned off all but the patch, so your load order may have changed.
it may not have been reactivated
you might have used the vanilla deconstruct option (which does deconstruct walls)

https://steamuserimages-a.akamaihd.net/ugc/967600617579954716/9ECC2EAA68339AFF0C7D958455950DE691C06B14/
Twilight 9 Sep, 2018 @ 2:20am 
Looks like Conduit Deconstruct doesn't work properly in godmode ^^

edit: to clarify, the mod works then. It just doesn't remove immediatly in godmode (which is a pain, but not your mod's fault)
Last edited by Twilight; 9 Sep, 2018 @ 2:21am
Supes  [developer] 9 Sep, 2018 @ 2:23am 
yeah, Conduit Deconstruct doesn't allow god mode.

The blue and red deconstruct code was based on the Conduit Deconstruct code, but I made some improvements which allowed god mode on this mod.
Twilight 9 Sep, 2018 @ 2:23am 
yeah, appreciated very much :)
Twilight 9 Sep, 2018 @ 2:25am 
So, to sum it up, it seems to work.

I now just have to wrap around my head to how i wanted to organize m grid into 5 grids... is this possible at all?

I mean, i get the conduits now ( i just saw them as splitters for the coloured grid before, now i can connect stuff to them.). I really want to do a lot of cabling :)
Twilight 9 Sep, 2018 @ 2:31am 
Testing for zzzts now
< >
Showing 1-15 of 90 comments
Per page: 1530 50