[1.4] Dingo's Mods (Mostly QoL)

Started by Dingo, September 14, 2016, 07:42:31 AM

Previous topic - Next topic

Dingo

As far as HMTB integration they did it like this:

<WorkGiverDef>
<defName>HaulGeneral</defName>
<label>haul general things</label>
<giverClass>WorkGiver_HaulGeneral</giverClass>
<workType>Hauling</workType>
<verb>haul</verb>
<gerund>hauling</gerund>
<priorityInType>15</priorityInType>
<requiredCapacities>
<li>Manipulation</li>
</requiredCapacities>
</WorkGiverDef>

<WorkGiverDef>
<defName>DeliverResourcesToFrames</defName>
<label>deliver resources to frames</label>
<giverClass>WorkGiver_ConstructDeliverResourcesToFrames</giverClass>
<workType>Hauling</workType>
<priorityInType>10</priorityInType>
<verb>deliver to</verb>
<gerund>delivering to</gerund>
<requiredCapacities>
<li>Manipulation</li>
</requiredCapacities>
<nonColonistsCanDo>true</nonColonistsCanDo>
<prioritizeSustains>true</prioritizeSustains>
<equivalenceGroup>AssistInConstruction</equivalenceGroup>
</WorkGiverDef>

<WorkGiverDef>
<defName>DeliverResourcesToBlueprints</defName>
<label>deliver resources to blueprints</label>
<giverClass>WorkGiver_ConstructDeliverResourcesToBlueprints</giverClass>
<workType>Hauling</workType>
<priorityInType>9</priorityInType>
<verb>deliver to</verb>
<gerund>delivering to</gerund>
<requiredCapacities>
<li>Manipulation</li>
</requiredCapacities>
<nonColonistsCanDo>true</nonColonistsCanDo>
<prioritizeSustains>true</prioritizeSustains>
<equivalenceGroup>AssistInConstruction</equivalenceGroup>
</WorkGiverDef>


From this excerpt we can see that it is prioritised under general hauling (so haulers will only do it when they've hauled things to stockpiles) and it is also in an equivalenceGroup. The construction jobs also have this equivalenceGroup, which is probably why you don't see it as a different order when right clicking a blueprint. I have not looked into it, though, so this is pure guesswork.

Dingo

All B19 mods updated and tested on the actual 1.0 release.

Please note that I've adopted a new versioning scheme which means you might not get update notifications from ModSync and the likes. I'm using RimWorld's client version as my release version from now onwards to make things simpler.

jooe

Hi Dingo,
thank you for your useful mods!

Unfortunately, since the latest update, I have a problem with HMTB where it crashes the game. I also have a lot of other mods enabled though, but I can reproduce adding/removing HMTB causes/fixes the problem. What I get is a game crash on starting a new game, specifically after I have selected the landing site and my starting pawns, right before the actual new game starts.

Player log:
Receiving unhandled NULL exception
#0  0x007fffb6d3da00 in funlockfile
#1  0x007fffb6d3df88 in std::vector<core::basic_string<char, core::StringStorageDefault<char> >, std::allocator<core::basic_string<char, core::StringStorageDefault<char> > > >::~vector()
#2  0x007fffb6d3df98 in operator new(unsigned long)
#3  0x007fffb6d3dfb8 in operator new(unsigned long)
#4  0x007fffb6d3dfc8 in __run_exit_handlers
#5  0x007fffb6d3dff8 in exit
#6  0x007fffb6d3e008 in mono_thread_exit
#7  0x007fffb6d3e018 in mono_method_marked_as_wrapperless
#8  0x007fffb6d3e2d8 in mono_amd64_throw_exception
#9  0x007fffb6d3e498 in (Unknown)
#10 0x007fffb6d3e4a8 in (Unknown)
#11 0x007fffb6d3e4b8 in (Unknown)
#12 0x007fffb6d3e4c8 in (Unknown)
#13 0x007fffb6d3e4d8 in (Unknown)
#14 0x007fffb6d3e4e8 in (Unknown)
#15 0x007fffb6d3e4f8 in (Unknown)
#16 0x007fffb6d3e508 in (Unknown)
#17 0x007fffb6d3e518 in (Unknown)
#18 0x007fffb6d3e528 in (Unknown)
#19 0x007fffb6d3e538 in (Unknown)
#20 0x007fffb6d3e548 in (Unknown)
#21 0x007fffb6d3e558 in mono_set_defaults
#22 0x007fffb6d3faf0 in mono_runtime_invoke
#23 0x007fffb6d3fb20 in std::vector<core::basic_string<char, core::StringStorageDefault<char> >, std::allocator<core::basic_string<char, core::StringStorageDefault<char> > > >::~vector()
#24 0x007fffb6d3fb50 in std::vector<core::basic_string<char, core::StringStorageDefault<char> >, std::allocator<core::basic_string<char, core::StringStorageDefault<char> > > >::~vector()
#25 0x007fffb6d3fb70 in std::vector<core::basic_string<char, core::StringStorageDefault<char> >, std::allocator<core::basic_string<char, core::StringStorageDefault<char> > > >::~vector()
#26 0x007fffb6d3fcf0 in operator new(unsigned long)
#27 0x007fffb6d3fd30 in std::vector<core::basic_string<char, core::StringStorageDefault<char> >, std::allocator<core::basic_string<char, core::StringStorageDefault<char> > > >::~vector()
#28 0x007fffb6d3fd50 in zcfree
#29 0x007fffb6d40b50 in __libc_start_main
#30 0x007fffb6d40c10 in zcfree


The game also crashes with my latest save game, interestingly I can load the game (saved during the game night), but the crash then occurs at 6 a.m.

For reference, this is my ModsConfig.xml:

    <li>Core</li>
    <li>818773962</li>
    <li>1507748539</li>
    <li>1216999901</li>
    <li>1541438907</li>
    <li>704181221</li>
    <li>1541438230</li>
    <li>1473553107</li>
    <li>1204108550</li>
    <li>1494937292</li>
    <li>726244033</li>
    <li>761421485</li>
    <li>1539309348</li>
    <li>1500420126</li>
    <li>1334289344</li>
    <li>1332119637</li>
    <li>1207390617</li>
    <li>1439886892</li>
    <li>1294779672</li>
    <li>1502993704</li>
    <li>1478936958</li>
    <li>1502703299</li>
    <li>1530267593</li>
    <li>1542386771</li>
    <li>1534883169</li>
    <li>1551147619</li>
    <li>1541796233</li>
    <li>1541439350</li>
    <li>1541795119</li>
    <li>1541282228</li>
    <li>1541591104</li>
    <li>1541439112</li>
    <li>1541840184</li>
    <li>1537869190</li>
    <li>1541438898</li>
    <li>1541250497</li>
    <li>1539031321</li>
    <li>1541287769</li>
    <li>1541722340</li>
    <li>1537786185</li>
    <li>1539028008</li>
    <li>1539312975</li>
    <li>1541460369</li>
    <li>1539311991</li>
    <li>1180573408</li>
    <li>830545304</li>
    <li>848513545</li>
    <li>1229704235</li>
    <li>1512478761</li>
    <li>1509102551</li>
    <li>1509278793</li>
    <li>1504182014</li>
    <li>1504734623</li>
    <li>1499847220</li>
    <li>1498070208</li>
    <li>761219125</li>
    <li>725153576</li>
    <li>1534883539</li>
    <li>1446523594</li>
    <li>1461790308</li>
    <li>1470065926</li>
    <li>1414697588</li>
    <li>1458250450</li>
    <li>1245219876</li>
    <li>1481240402</li>
    <li>1203903378</li>
    <li>1447140290</li>
    <li>1467764609</li>
    <li>1334392947</li>
    <li>1455382219</li>
    <li>1414302321</li>
    <li>1204502413</li>
    <li>1437612522</li>
    <li>1180718996</li>
    <li>863415966</li>
    <li>1157350972</li>
    <li>1472131714</li>
    <li>1254969827</li>
    <li>1279012058</li>
    <li>1440321094</li>
    <li>735268789</li>
    <li>1353625821</li>
    <li>1386385125</li>
    <li>932008009</li>
    <li>933324235</li>
    <li>1365242717</li>
    <li>1180719658</li>
    <li>836308268</li>
    <li>1180721235</li>
    <li>746425621</li>
    <li>728314182</li>
    <li>826998327</li>
    <li>725657237</li>
    <li>974066449</li>
    <li>717575199</li>
    <li>753498552</li>
    <li>1372003680</li>
    <li>1360279868</li>
    <li>1316142788</li>
    <li>826153738</li>
    <li>708455313</li>
    <li>848972794</li>
    <li>1253251478</li>
    <li>832333531</li>
    <li>947972722</li>
    <li>735106432</li>
    <li>715759739</li>
    <li>715565817</li>
    <li>1217001091</li>
    <li>1098354593</li>
    <li>712141500</li>
    <li>1323773476</li>
    <li>725219116</li>
    <li>899714534</li>
    <li>1180719857</li>
    <li>715565262</li>
    <li>1346064449</li>
    <li>709317151</li>
    <li>751049133</li>
    <li>1195427067</li>
    <li>1331961995</li>
    <li>1372130541</li>
    <li>1345928533</li>
    <li>1206669918</li>
    <li>1539314168</li>
    <li>1542004942</li>
    <li>1552507180</li>
    <li>725956940</li>
    <li>1164753788</li>
    <li>765351437</li>
    <li>1409449372</li>
    <li>1552457762</li>
    <li>1552455241</li>
    <li>1505998702</li>
    <li>1543550117</li>
    <li>1512950397</li>
    <li>786233894</li>
    <li>1514793680</li>
    <li>1543069597</li>
    <li>1217321550</li>
    <li>736582456</li>
    <li>1322328003</li>
    <li>1355637255</li>
    <li>1501052499</li>
    <li>1544971953</li>
    <li>1513614894</li>
    <li>1497364690</li>
    <li>1485080605</li>
    <li>1484436043</li>
    <li>1469326540</li>
    <li>1408863965</li>
    <li>1454024362</li>
    <li>942369931</li>
    <li>BetterMiniMap</li>
    <li>1543060282</li>
    <li>1542854752</li>
    <li>1134165362</li>
    <li>1542915888</li>
    <li>1543552057</li>
    <li>1543558582</li>
    <li>1543561093</li>
    <li>1543553927</li>
    <li>1543555518</li>
    <li>1543177113</li>
    <li>1508778962</li>
    <li>1544626521</li>
    <li>1544556720</li>
    <li>1266570759</li>
    <li>1319782555</li>
    <li>1544944259</li>
    <li>1545536034</li>
    <li>1552452572</li>


Please tell me if there is any further information you need.

Dingo

Quote from: jooe on October 31, 2018, 12:18:08 PM
Hi Dingo,
thank you for your useful mods!

Unfortunately, since the latest update, I have a problem with HMTB where it crashes the game

Honestly no idea what any of that is all about. Those errors are not specific to any particular mod from what I can tell. You also have 172 mods running almost entirely from Steam which really doesn't help.

This seems like a weird Linux thing, I assume that's your OS. You should upload RimWorld's log file which might hold more helpful data.

jooe

Hey Dingo,

I did a bit more research on the forum and there are actually replies to a similar bug report I filed a long time ago. See this link:
https://ludeon.com/forums/index.php?topic=37241.msg396864#msg396864

Another mod author discovered the following - could it be you are doing the same thing?
QuoteApparently, this issue occurs when Harmony is used to patch an (implemented) virtual method. Doing this works fine on Windows, but may cause crashes on Unix systems. I recommend any modders to avoid patching virtual methods until this issue is resolved in Harmony.

Dingo

#200
That's such a shame... I will revert my recent Harmony changes, then. Thank you very much for the report!

EDIT: I've been notified HMTB Lite is not necessary any more in official 1.0, as they fixed a bug related to construction hauling. The mod is now deprecated.

Dingo

A small new mod has appeared: Persistent Float Menus

Float menus (right-click menus) close automatically if the mouse cursor strays too far from them.

This mod lets you set the maximum allowed cursor distance. The higher the value, the farther away you can move the cursor before the float menu closes.

To change the value used by the mod, simply go to the Mod Settings menu under RimWorld's Options menu.

Values below 95 are not recommended, as that is the vanilla limit. The mod defaults to 300.

jooe

Well - thank you for filling a gap the developers left open for a long time - even if they closed it now!

Dingo

All active mods updated to include Fluffy's ModManager manifest files.

Also did a quick check to make sure all mods are updated everywhere including Workshop, GitHub releases page and Google Drive.

Skafsgaard

Hey Dingo!
What happened to Hand Me That Brick Lite? It's off the workshop - how come? Should I not use it? Is it bugged?

Dingo

Quote from: Skafsgaard on November 05, 2018, 10:01:35 AM
Hey Dingo!
What happened to Hand Me That Brick Lite? It's off the workshop - how come? Should I not use it? Is it bugged?

Quote from: Dingo on November 01, 2018, 02:45:12 PM
I've been notified HMTB Lite is not necessary any more in official 1.0... The mod is now deprecated.

asquirrel

Any news to Notifications Archiver being updated for 1.0?  Will it be on Steam workshop?  Thanks for the info!

Dingo

The Archiver got picked up by Ludeon for B19 onwards. It's in the History tab in vanilla...

asquirrel

Thanks Dingo!  I was checking the game out today and suddenly realized it was added.  I think it is a bit different than yours because it doesn't show messages (just events unless you click on messages too).  Good to see Ludeon paid attention to your great mod! :)

Dingo

They definitely cut some features but overall I think it's integrated fine. They need to worry about performance etc. way more than a mod author.

I dunno if there's any learning helper tip or something to tell players about it, though, which might be an oversight.