Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - thamuzz

#1
Help / Harmony AccessTools help
July 25, 2022, 09:31:43 AM
I'm trying to access a method in a protected class:
public static void GenerateShip(EnemyShipDef shipDef, Map map, TradeShip tradeShip, Faction fac, Lord lord, out Building core, bool clearArea = false, bool wreckEverything = false)

The trouble spot is with the pass by reference on out Building core.  When I try to call:
Traverse.Create(shipCombatManagerType).Method("GenerateShip").Value(...)
I get an error saying that it can't call a method that doesn't exist.  When I try to call

Building core = null;
ref Building coreRef = ref core;
Traverse.Create(shipCombatManagerType).Method("GenerateShip",
                    DefDatabase<EnemyShipDef>.AllDefs.Where(def=>def.spaceSite).RandomElement(),
                    map,
                    null,
                    Faction.OfAncients,
                    null,
                    coreRef,
                    true,
                    true).GetValue();

I don't get any errors but core doesn't get set.  I've tried several other permutations, and I can't quite figure it out.
#2
Mods / Re: Help IDing Problem Mod
August 30, 2021, 02:15:56 PM
Quote from: Canute on August 30, 2021, 03:27:16 AM
Hi,
you should hunt error's before you start a colony and not when a problem appear during gameplay.
But that don't help you with your current colony anymore.
"Deep-saving destroyed thing " don't let the game freeze normaly. Even when it is the last msg. i don't think it is the issue.
But you can try it out self. Backup the savegame, open the savegame with a texteditor search for Shuttle104070 and try to delete the entry. Load the savegame.

You should read the 2.link from my signature, eliminate the startup errors and create a new colony.

I'm trying to figure out what the problem mod is so I can start a new colony.  I've been trying with different modlists and the problem persists.  Unfortunately it usually takes a couple of hours to show up.
#3
Mods / Re: Help IDing Problem Mod
August 29, 2021, 07:45:02 PM
[Mod list length: 200]
Harmony [https://steamcommunity.com/sharedfiles/filedetails/?id=2009463077]
Core [https:// no link (local mod)]
Royalty [Official DLC] [https:// no link (local mod)]
Ideology [Official DLC] [https:// no link (local mod)]
HugsLib [https://steamcommunity.com/sharedfiles/filedetails/?id=818773962]
Achtung! [https://steamcommunity.com/sharedfiles/filedetails/?id=730936602]
Adjustable Archonexus Quest [https://steamcommunity.com/sharedfiles/filedetails/?id=2555218393]
Vanilla Expanded Framework [https://steamcommunity.com/sharedfiles/filedetails/?id=2023507013]
Alpha Biomes [https://steamcommunity.com/sharedfiles/filedetails/?id=1841354677]
Alpha Biomes: Materials Compatibility Patch [https://steamcommunity.com/sharedfiles/filedetails/?id=2171146252]
Anima Animals [https://steamcommunity.com/sharedfiles/filedetails/?id=2339084391]
Vanilla Achievements Expanded [https://steamcommunity.com/sharedfiles/filedetails/?id=2288125657]
Alpha Animals [https://steamcommunity.com/sharedfiles/filedetails/?id=1541721856]
Vanilla Factions Expanded - Insectoids [https://steamcommunity.com/sharedfiles/filedetails/?id=2149755445]
Vanilla Factions Expanded - Mechanoids [https://steamcommunity.com/sharedfiles/filedetails/?id=2329011599]
Vanilla Factions Expanded - Medieval [https://steamcommunity.com/sharedfiles/filedetails/?id=2023513450]
Vanilla Factions Expanded - Settlers [https://steamcommunity.com/sharedfiles/filedetails/?id=2052918119]
Vanilla Weapons Expanded - Coilguns [https://steamcommunity.com/sharedfiles/filedetails/?id=2375692535]
Vanilla Weapons Expanded [https://steamcommunity.com/sharedfiles/filedetails/?id=1814383360]
Vanilla Weapons Expanded - Heavy Weapons [https://steamcommunity.com/sharedfiles/filedetails/?id=2329126791]
Vanilla Weapons Expanded - Laser [https://steamcommunity.com/sharedfiles/filedetails/?id=1989352844]
Vanilla Weapons Expanded - Quickdraw [https://steamcommunity.com/sharedfiles/filedetails/?id=1906780517]
Vanilla Weapons Expanded - Frontier [https://steamcommunity.com/sharedfiles/filedetails/?id=2454918139]
Vanilla Weapons Expanded - Grenades [https://steamcommunity.com/sharedfiles/filedetails/?id=2194472657]
Combat Extended [https://steamcommunity.com/sharedfiles/filedetails/?id=1631756268]
Animal Gear [https://steamcommunity.com/sharedfiles/filedetails/?id=1541438907]
Animal Equipment [https://steamcommunity.com/sharedfiles/filedetails/?id=2568865984]
Apparel BodyType Resolver [https://steamcommunity.com/sharedfiles/filedetails/?id=2037354634]
Archotech++ [https://steamcommunity.com/sharedfiles/filedetails/?id=2496279558]
Vanilla Events Expanded [https://steamcommunity.com/sharedfiles/filedetails/?id=1938420742]
Save Our Ship 2 [https://steamcommunity.com/sharedfiles/filedetails/?id=1909914131]
Vanilla Armour Expanded [https://steamcommunity.com/sharedfiles/filedetails/?id=1814988282]
Armor patch for SOS2 [https://steamcommunity.com/sharedfiles/filedetails/?id=2569035496]
Auto-Cut Blight [https://steamcommunity.com/sharedfiles/filedetails/?id=1885186534]
Better Linkable Colors [https://steamcommunity.com/sharedfiles/filedetails/?id=2519621745]
Better ModMismatch Window [https://steamcommunity.com/sharedfiles/filedetails/?id=1872244972]
Biosculpter Reworked [https://steamcommunity.com/sharedfiles/filedetails/?id=2560741422]
Blueprints [https://steamcommunity.com/sharedfiles/filedetails/?id=708455313]
Call For Intel [1.3] [https://steamcommunity.com/sharedfiles/filedetails/?id=2557139479]
Caravan entry point setter [https://steamcommunity.com/sharedfiles/filedetails/?id=2551332489]
Caravans Rest Before Arrival [https://steamcommunity.com/sharedfiles/filedetails/?id=2571856655]
Centralized Climate Control (Continued) [https://steamcommunity.com/sharedfiles/filedetails/?id=2007268173]
Choose Biome Commonality [https://steamcommunity.com/sharedfiles/filedetails/?id=2582875043]
CleaningArea [https://steamcommunity.com/sharedfiles/filedetails/?id=870089952]
Combat Extended Melee [https://steamcommunity.com/sharedfiles/filedetails/?id=1924933379]
Craftable Reinforced Barrels [https://steamcommunity.com/sharedfiles/filedetails/?id=2555061347]
De-generalize Work [https://steamcommunity.com/sharedfiles/filedetails/?id=2011655761]
Defensive Positions [https://steamcommunity.com/sharedfiles/filedetails/?id=761219125]
Demi-human Slavery [https://steamcommunity.com/sharedfiles/filedetails/?id=2554275057]
Designator Shapes [https://steamcommunity.com/sharedfiles/filedetails/?id=1235181370]
Diagonal Walls [https://steamcommunity.com/sharedfiles/filedetails/?id=2521631479]
Drop All Inventory [https://steamcommunity.com/sharedfiles/filedetails/?id=2336610918]
Dubs Break Mod [https://steamcommunity.com/sharedfiles/filedetails/?id=1722398508]
Allow Tool [https://steamcommunity.com/sharedfiles/filedetails/?id=761421485]
Dubs Mint Menus [https://steamcommunity.com/sharedfiles/filedetails/?id=1446523594]
Dubs Mint Minimap [https://steamcommunity.com/sharedfiles/filedetails/?id=1662119905]
JecsTools [https://steamcommunity.com/sharedfiles/filedetails/?id=932008009]
EdB Prepare Carefully [https://steamcommunity.com/sharedfiles/filedetails/?id=735106432]
Anima Gear [https://steamcommunity.com/sharedfiles/filedetails/?id=2215217049]
Elders Faction [https://steamcommunity.com/sharedfiles/filedetails/?id=2282867140]
Everybody Gets One [https://steamcommunity.com/sharedfiles/filedetails/?id=1687566130]
Forced March [https://steamcommunity.com/sharedfiles/filedetails/?id=2257245929]
Giddy-up! Core [https://steamcommunity.com/sharedfiles/filedetails/?id=1216999901]
Giddy-Up! Add-on: Animal Saddles [https://steamcommunity.com/sharedfiles/filedetails/?id=1673853554]
Giddy-up! Battle Mounts [https://steamcommunity.com/sharedfiles/filedetails/?id=1217001091]
Giddy-up! Caravan [https://steamcommunity.com/sharedfiles/filedetails/?id=1253251478]
Giddy-up! Ride and Roll [https://steamcommunity.com/sharedfiles/filedetails/?id=1331961995]
Haul to Stack [https://steamcommunity.com/sharedfiles/filedetails/?id=949498803]
Heat Map (Continued) [https://steamcommunity.com/sharedfiles/filedetails/?id=2552838384]
Individualism and Collectivism Slavery Tweak [https://steamcommunity.com/sharedfiles/filedetails/?id=2564618107]
Infestations Spawn in Darkness [https://steamcommunity.com/sharedfiles/filedetails/?id=2017514331]
InventoryTab (Continued) [https://steamcommunity.com/sharedfiles/filedetails/?id=2326678767]
FemaleBB BodyType Support [https://steamcommunity.com/sharedfiles/filedetails/?id=1792668502]
Yayo's Combat 3 [Adopted] [https://steamcommunity.com/sharedfiles/filedetails/?id=2513695736]
Humanoid Alien Races [https://steamcommunity.com/sharedfiles/filedetails/?id=839005762]
Kijin Race 2.0 [https://steamcommunity.com/sharedfiles/filedetails/?id=1918120749]
Kobolds of the Rim [https://steamcommunity.com/sharedfiles/filedetails/?id=2569480318]
Let's Trade! [1.3+] [https://steamcommunity.com/sharedfiles/filedetails/?id=2373633407]
Loading In Progress [https://steamcommunity.com/sharedfiles/filedetails/?id=1975622772]
Mass Graves [https://steamcommunity.com/sharedfiles/filedetails/?id=1542386771]
Medical Tab [https://steamcommunity.com/sharedfiles/filedetails/?id=715565817]
Melee Psycasts [https://steamcommunity.com/sharedfiles/filedetails/?id=2552118979]
Metal Don't Burn (UNOFFICIAL 1.3 PATCH) [https://steamcommunity.com/sharedfiles/filedetails/?id=2557145474]
Mod Manager [https://steamcommunity.com/sharedfiles/filedetails/?id=1507748539]
More Colors [https://steamcommunity.com/sharedfiles/filedetails/?id=2558866197]
More Planning 1.3 [https://steamcommunity.com/sharedfiles/filedetails/?id=2551225702]
More Psycasts [https://steamcommunity.com/sharedfiles/filedetails/?id=2460833332]
MoHAR framework [https://steamcommunity.com/sharedfiles/filedetails/?id=2057001924]
Moyo-From the depth [https://steamcommunity.com/sharedfiles/filedetails/?id=2182305386]
Multi-Bed Royalty Patch (Continued) [https://steamcommunity.com/sharedfiles/filedetails/?id=2441022091]
No Lazy Doctors [https://steamcommunity.com/sharedfiles/filedetails/?id=2476396157]
Numbers[1.3Temp] [https://steamcommunity.com/sharedfiles/filedetails/?id=2553849264]
Vanilla Expanded - Royalty Patches [https://steamcommunity.com/sharedfiles/filedetails/?id=2260012940]
Vanilla Furniture Expanded [https://steamcommunity.com/sharedfiles/filedetails/?id=1718190143]
One bed to sleep with all [https://steamcommunity.com/sharedfiles/filedetails/?id=2572109781]
LWM's Deep Storage [https://steamcommunity.com/sharedfiles/filedetails/?id=1617282896]
Pick Up And Haul [https://steamcommunity.com/sharedfiles/filedetails/?id=1279012058]
Polyamory Beds (Vanilla Edition) [https://steamcommunity.com/sharedfiles/filedetails/?id=2008138191]
Powerful Psycast AI [https://steamcommunity.com/sharedfiles/filedetails/?id=2026063610]
Preset Filtered Zones (Continued) [https://steamcommunity.com/sharedfiles/filedetails/?id=2343873835]
Pruning Uses Plant Work Speed [https://steamcommunity.com/sharedfiles/filedetails/?id=2564420974]
Psycastello [https://steamcommunity.com/sharedfiles/filedetails/?id=2468637108]
Quality Colors [https://steamcommunity.com/sharedfiles/filedetails/?id=2420141361]
Quality Matters [https:// no link (local mod)]
Quality Overlay [https://steamcommunity.com/sharedfiles/filedetails/?id=2568283376]
QualityBuilder [https://steamcommunity.com/sharedfiles/filedetails/?id=754637870]
Quarry [https://steamcommunity.com/sharedfiles/filedetails/?id=2007576583]
RPG Style Inventory Revamped [https://steamcommunity.com/sharedfiles/filedetails/?id=2478833213]
Real Faction Guest [https://steamcommunity.com/sharedfiles/filedetails/?id=2263021260]
Realistic Rooms [1.3] [https://steamcommunity.com/sharedfiles/filedetails/?id=2553724273]
Reinstall Hydroponics Basin [https://steamcommunity.com/sharedfiles/filedetails/?id=2554316209]
Remove Real Religions [https://steamcommunity.com/sharedfiles/filedetails/?id=2553766942]
Replace Stuff [https://steamcommunity.com/sharedfiles/filedetails/?id=1372003680]
Replantable Anima Trees [https:// no link (local mod)]
Replantable Gauranlen Trees [https:// no link (local mod)]
ResearchPal - Forked [https://steamcommunity.com/sharedfiles/filedetails/?id=2351393394]
Rim War [https://steamcommunity.com/sharedfiles/filedetails/?id=2222935097]
RimHUD [https://steamcommunity.com/sharedfiles/filedetails/?id=1508850027]
Rimsenal - Federation Faction Pack [https://steamcommunity.com/sharedfiles/filedetails/?id=736172213]
Vanilla Apparel Expanded [https://steamcommunity.com/sharedfiles/filedetails/?id=1814987817]
Vanilla Apparel Expanded — Accessories [https://steamcommunity.com/sharedfiles/filedetails/?id=2521176396]
Vanilla Factions Expanded - Vikings [https://steamcommunity.com/sharedfiles/filedetails/?id=2231295285]
XML Extensions [https://steamcommunity.com/sharedfiles/filedetails/?id=2574315206]
Roles Apparel Unlocked [https://steamcommunity.com/sharedfiles/filedetails/?id=2555013434]
Roo's HD Hairstyles [https://steamcommunity.com/sharedfiles/filedetails/?id=2551783208]
Roo's Tattoos - Starter Pack  [https://steamcommunity.com/sharedfiles/filedetails/?id=2555588467]
Custom Ritual Framework [https://steamcommunity.com/sharedfiles/filedetails/?id=2561617361]
Sample Rituals [https://steamcommunity.com/sharedfiles/filedetails/?id=2579343852]
Save/Load Ideos [https://steamcommunity.com/sharedfiles/filedetails/?id=2554353736]
Search and Destroy [https://steamcommunity.com/sharedfiles/filedetails/?id=1467764609]
Show Draftees Weapon [https://steamcommunity.com/sharedfiles/filedetails/?id=1690978457]
Show Me Your Hands [https://steamcommunity.com/sharedfiles/filedetails/?id=2475965842]
Simple sidearms [https://steamcommunity.com/sharedfiles/filedetails/?id=927155256]
Smarter Construction [https://steamcommunity.com/sharedfiles/filedetails/?id=2202185773]
Interaction Bubbles [https://steamcommunity.com/sharedfiles/filedetails/?id=1516158345]
SpeakUp [https://steamcommunity.com/sharedfiles/filedetails/?id=2502518544]
Statue of Colonist [https://steamcommunity.com/sharedfiles/filedetails/?id=1539031321]
Sterile Hex Tiling [https://steamcommunity.com/sharedfiles/filedetails/?id=2584117860]
Stop, Drop, And Roll! [BAL] [https://steamcommunity.com/sharedfiles/filedetails/?id=2362707956]
Trait Rarity Colors [https://steamcommunity.com/sharedfiles/filedetails/?id=1751884355]
Ugh You Got Me [https://steamcommunity.com/sharedfiles/filedetails/?id=1542424705]
Ultimate Storyteller [https://steamcommunity.com/sharedfiles/filedetails/?id=2557208773]
Vanilla Animals Expanded — Arid Shrubland [https://steamcommunity.com/sharedfiles/filedetails/?id=1836900626]
Vanilla Animals Expanded — Boreal Forest [https://steamcommunity.com/sharedfiles/filedetails/?id=1895364938]
Vanilla Animals Expanded — Desert [https://steamcommunity.com/sharedfiles/filedetails/?id=1849183875]
Vanilla Animals Expanded — Extreme Desert [https://steamcommunity.com/sharedfiles/filedetails/?id=1849184079]
Vanilla Animals Expanded — Ice Sheet [https://steamcommunity.com/sharedfiles/filedetails/?id=1895364782]
Vanilla Animals Expanded — Tropical Rainforest [https://steamcommunity.com/sharedfiles/filedetails/?id=1907283872]
Vanilla Animals Expanded — Tropical Swamp [https://steamcommunity.com/sharedfiles/filedetails/?id=1907283935]
Vanilla Animals Expanded — Tundra [https://steamcommunity.com/sharedfiles/filedetails/?id=1895364585]
Vanilla Cooking Expanded [https://steamcommunity.com/sharedfiles/filedetails/?id=2134308519]
Vanilla Cooking Expanded - Stews [https://steamcommunity.com/sharedfiles/filedetails/?id=2134312965]
Vanilla Fishing Expanded [https://steamcommunity.com/sharedfiles/filedetails/?id=1914064942]
Vanilla Cooking Expanded - Sushi [https://steamcommunity.com/sharedfiles/filedetails/?id=2158539170]
Vanilla Expanded - Ideology Patches [https://steamcommunity.com/sharedfiles/filedetails/?id=2566669771]
Vanilla Fishing Expanded - Fishing Treasures AddOn [https://steamcommunity.com/sharedfiles/filedetails/?id=2468543398]
Vanilla Furniture Expanded - Art [https://steamcommunity.com/sharedfiles/filedetails/?id=1968134023]
Vanilla Furniture Expanded - Farming [https://steamcommunity.com/sharedfiles/filedetails/?id=1957158779]
Vanilla Furniture Expanded - Medical Module [https://steamcommunity.com/sharedfiles/filedetails/?id=1718191613]
Vanilla Furniture Expanded - Production [https://steamcommunity.com/sharedfiles/filedetails/?id=1880253632]
Vanilla Furniture Expanded - Props and Decor [https://steamcommunity.com/sharedfiles/filedetails/?id=2102143149]
Vanilla Furniture Expanded - Spacer Module [https://steamcommunity.com/sharedfiles/filedetails/?id=2028381079]
Vanilla Hair Expanded [https://steamcommunity.com/sharedfiles/filedetails/?id=1888705256]
Vanilla Ideology Expanded - Hats and Rags [https://steamcommunity.com/sharedfiles/filedetails/?id=2567387768]
Vanilla Ideology Expanded - Icons and Symbols [https://steamcommunity.com/sharedfiles/filedetails/?id=2552609458]
Vanilla Ideology Expanded - Relics and Artifacts [https://steamcommunity.com/sharedfiles/filedetails/?id=2564895018]
Vanilla Plants Expanded [https://steamcommunity.com/sharedfiles/filedetails/?id=2134308522]
Vanilla Social Interactions Expanded [https://steamcommunity.com/sharedfiles/filedetails/?id=2439736083]
Vanilla Storytellers Expanded - Diego Industrial [https://steamcommunity.com/sharedfiles/filedetails/?id=2455898522]
Vanilla Storytellers Expanded - Empress Evil [https://steamcommunity.com/sharedfiles/filedetails/?id=2149702528]
Vanilla Storytellers Expanded - Freya Fierce [https://steamcommunity.com/sharedfiles/filedetails/?id=2231483525]
Vanilla Storytellers Expanded - Igor Invader [https://steamcommunity.com/sharedfiles/filedetails/?id=2249879548]
Vanilla Storytellers Expanded - Neron Neolithic [https://steamcommunity.com/sharedfiles/filedetails/?id=2455898908]
Vanilla Storytellers Expanded - Oskar Obnoxious [https://steamcommunity.com/sharedfiles/filedetails/?id=2443118113]
Vanilla Storytellers Expanded - Perry Persistent [https://steamcommunity.com/sharedfiles/filedetails/?id=2149702069]
Vanilla Textures Expanded [https://steamcommunity.com/sharedfiles/filedetails/?id=2016436324]
Vanilla Weapons Expanded - Makeshift [https://steamcommunity.com/sharedfiles/filedetails/?id=2419690698]
Vanilla Weapons Expanded - Non-Lethal [https://steamcommunity.com/sharedfiles/filedetails/?id=2454918354]
Vanilla Weapons Expanded - Tribal [https://steamcommunity.com/sharedfiles/filedetails/?id=2454918552]
Veinminer R1.1 [https://steamcommunity.com/sharedfiles/filedetails/?id=1541978411]
Wall Light [https://steamcommunity.com/sharedfiles/filedetails/?id=1423699208]
What's That Mod [https://steamcommunity.com/sharedfiles/filedetails/?id=2258431182]
What's for sale? [https://steamcommunity.com/sharedfiles/filedetails/?id=2396808851]
XenoDiversity Precept [https://steamcommunity.com/sharedfiles/filedetails/?id=2553344468]
Xeva's Rimhair [https://steamcommunity.com/sharedfiles/filedetails/?id=705924057]
[D] Ignorance Is Bliss [https://steamcommunity.com/sharedfiles/filedetails/?id=2554423472]
Vanilla Books Expanded [https://steamcommunity.com/sharedfiles/filedetails/?id=2193152410]
Vanilla Brewing Expanded [https://steamcommunity.com/sharedfiles/filedetails/?id=2186560858]
Vanilla Brewing Expanded - Coffees and Teas [https://steamcommunity.com/sharedfiles/filedetails/?id=2275449762]
Vanilla Furniture Expanded - Power [https://steamcommunity.com/sharedfiles/filedetails/?id=2062943477]
Vanilla Furniture Expanded - Security [https://steamcommunity.com/sharedfiles/filedetails/?id=1845154007]
[FSF] Complex Jobs [https://steamcommunity.com/sharedfiles/filedetails/?id=2069684319]
Vanilla Traits Expanded [https://steamcommunity.com/sharedfiles/filedetails/?id=2296404655]
[KV] More Trait Slots [https://steamcommunity.com/sharedfiles/filedetails/?id=1508292711]
[KV] Save Storage, Outfit, Crafting, Drug, & Operation Settings [https://steamcommunity.com/sharedfiles/filedetails/?id=1180718516]
[LTO] Colony Groups [https://steamcommunity.com/sharedfiles/filedetails/?id=2345493945]
[NL] Dynamic Portraits [https://steamcommunity.com/sharedfiles/filedetails/?id=2253730555]
[NL] Facial Animation - WIP [https://steamcommunity.com/sharedfiles/filedetails/?id=1635901197]
[RF] Rational Romance (Continued) [https://steamcommunity.com/sharedfiles/filedetails/?id=2013144996]
[SYR] Light Radius [https://steamcommunity.com/sharedfiles/filedetails/?id=2583817216]
#4
Mods / Help IDing Problem Mod
August 29, 2021, 06:23:46 PM
My game regularly freezes, and I'm having trouble figuring out which mod is causing the problem.

The most frequent thing in the logs related to the crash is


Deep-saving destroyed thing Shuttle104070 with saveDestroyedThings==false. label=shipThing


although I'm not sure if that is the cause or just a proximal element.