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 - UnlimitedHugs

#391
Releases / Re: [A16] Remote Explosives (1.11.2)
February 16, 2017, 01:57:00 PM
Updated to 1.11.2

So, I reworked the shaped charge, which should fix the errors and make it a tad easier to use.  The collapsed rock it leaves is now passable, and the explosion will no longer leave a thin roof for colonists to remove.
Also, the firefoam popper can now be triggered by the wired detonator, and will have the auto-replace feature.
All the other minor stuff you guys reported has also been addressed.

@bonmar14
We discussed that a few pages back, if you want to look it up.
#392
Quote from: Grabarz on February 15, 2017, 09:20:09 AM
Hello there
can You add Option to remove all geysers from the map ? or spawn all the geysers on 1 point ?

That's probably not worth adding to the mod, but you could edit your map generator config to prevent geysers from generating. Should be as easy as removing the relevant section.
The file is at Mods/Core/Defs/MapGeneration/BasicMapGenerator.xml
#393
Updated to 2.4.2

This should fix the automatic restart failing for some players, or so I hope, since I couldn't reproduce it myself.
Also, a special case of detour warning should be fixed.
@nahuen89, your translation is also included in this release.
#394
Releases / Re: [A16] Remote Explosives (1.11.1)
February 13, 2017, 05:45:28 AM
Quote from: The Old Man from Florida on February 13, 2017, 05:21:25 AM
Guys, i can't bomb the ceiling of the mountain deep inside of it.
i'm using anti-underground-roof bomb thingy (i think) and it seems it doesn't do its job
(waste-of-damn-resource bomb, tsk)

The shaped charge still has a few issues, but should work fine if you detonate them one at a time. At least, until I get a chance to fix it.
Note, that after the rubble is cleared, there is still a thin roof over the tiles that will be removed by your colonists.
#395
Quote from: nahuen89 on February 12, 2017, 04:37:14 PM
Hi, this is the translation for Spanish Latin and Spanish

Thank you, I'll include this in the next release.
#396
Quote from: Kron on February 12, 2017, 03:12:54 PM
Im using a conflict checker mod, and noticed that defensive positions, and allowtool use the same defs. I'm wondering if these files simply add the info to the game, or are they overwritten by the mod loaded later in the load order. Since you seem to be the author of both and there is no mention of a conflict in either forum post, I'm assuming they're safe to use together?

I'm assuming you are referring to UpdateFeatureDef. Those are added by the HugsLib library, which must also be loaded for the mods t work.
In any case, neither mod has any defs that are designed to replace other defs, so they should always work well together and their load order should not matter (as long as they are loaded after the library).

#397
Quote from: Fukara on February 12, 2017, 08:07:26 AM
Hello everyone, i get this error

Could you post a link to your full log? Press Ctrl+F12 after you see the error.
#398
Releases / Re: [A16] Remote Explosives (1.11.1)
February 12, 2017, 08:32:22 AM
Quote from: KrombopulosMichael on February 11, 2017, 10:20:59 AM
I can't find the explosives workbench anywhere. I have pretty much all the research done except stuff requiring the multi analyzer. I had some of the research before installing the mod. Could that be why?

The research projects are on the far right of the research screen, and the table and all other buildings are in the "Explosives" tab in the build menu.
#399
Quote from: Rock5 on February 08, 2017, 03:53:05 PM
I understand a little better but it's still too complicated for me. I don't know why I'm having so much time figuring out C#. It's the hardest language I've ever learned. I think it's the IDE. I'm not used to so much happening behind the scenes. I'd love it if there was a bare bones course for C# that didn't use VS and you had to do everything manually.

If you're just starting out, you might have a more enjoyable time working on something simpler- the pathfinder is one of the more complicated parts of Rimworld, and detouring increases the complexity significantly.
As for VS, it absolutely is your friend when working with C#, because it will point out errors without the need to compile. You could use a plain text editor, but you would miss out on many features that are designed to make our work easier.

Quote from: Rock5 on February 08, 2017, 03:53:05 PM
BTW, am i hijacking this post? Should we continue this elsewhere?

It's fine- this is somewhat related to the library, and others might benefit, as well.
#400
Quote from: Rock5 on February 07, 2017, 10:25:52 PM
Can I get some advice on how to do this detour thing? I want to detour the pathfinding in the game. I think the method is call FindPath but it uses private fields of it's parent class Pathfinder. How do I access the parents fields? Or should I detour the whole PathFinder? But Pathfinder is a class. Please point me in the right direction.

Using just HugsLib, you would have to use reflection to access the private fields. This is not ideal, since the pathfinder
is a performance-critical piece, and reflection is fairly slow. You could use Expressions to compile accessor methods to access the fields in a performance-friendly manner, at the cost of added complexity.

Your best bet might be to go with the Harmony library and add a prefix/postfix for that method. Harmony even allows to replace specific calls in the method body.
HugsLib detouring will be moved over to Harmony in the next alpha update, so you would save yourself some updating work there.

Also, Zenthar has a mod that already makes modifications to the pathfinder, so it's a good idea to keep compatibility in mind.
#401
Releases / Re: [A16] Remote Explosives (1.11.1)
February 05, 2017, 06:38:23 AM
Quote from: gendalf on February 04, 2017, 11:17:55 PM
Is there a smaller mod that would allow removing mountain roofs or this is the only one?

I think Skullywag had a small mod named "Roof bomb", or something like that.
#402
Quote from: danielee on February 04, 2017, 03:12:54 PM
Updated Chinese translation files https://www.dropbox.com/s/mabe9r2tnhhbyvx/ChineseSimplified.zip?dl=0

Thank you, I'll include these in the next release.
#403
Quote from: njb013 on February 01, 2017, 10:30:37 AM
Edit: Don't know what caused the problem, but I can't seem to reproduce it. Sorry to waste your time.

No worries. I've had other reports of the button going missing- still not sure what the cause is.
#404
Quote from: njb013 on January 31, 2017, 11:03:35 PM
Sadly, this mod seems to be incompatible with Moody, presumably because they both use the top right corner of the screen. Would it be possible to have a version that puts it in the top left?

Works fine for me- try disabling the other mods and see if it that helps.
The dice button appears to the left of the learning helper.
#405
Quote from: Linq on January 31, 2017, 06:22:34 PM
That explains it. Less Arbitrary Surgery got a lot of confusing bug reports because of this.

Yep, got a couple myself. Thankfully, a persistent player helped in tracking this one down.

Quote from: scuba156 on January 31, 2017, 06:28:21 PM
If I remember correctly, your prompt dialog detours Page_ModsConfig PostClose method, which is fine as I am inserting a new page class by detouring the main menu.

No detour, it just uses the GUI injector to hook into Page_ModsConfig. It doesn't affect other windows, of course.