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

#1
Nevermind. It was PrePatcher
#2
While testing the beta of Harmony I noticed that it fails to load its images (done on demand via code). It looks like RimPy does not set the current working directory of RimWorld to the RimWorld directory but to RimPy's one. Is that intentionally?

I use LoadedModManager.GetMod<HarmonyMain>()?.Content.RootDir
#3
I was asked to repost this here. I had problems installing RimWorld on my Mac for development and testing and got it working:

Just a quick update from me. Latest Catalina (10.15.2) on a 2015 iMac and at first I could not get standalone RimWorld running, but after running

Quotechmod +x /Applications/RimWorldMac.app/Contents/MacOS/RimWorldMac

and then holding the ctrl-key while right-clicking RimWorld and choosing "Open", Catalina asks if I want to allow it to run. After choosing "Open" in that dialog too, it whitelists the app and starts just fine.

/Andreas Pardeike aka Brrainz
#4
Support / Re: Game crashing at startup
January 07, 2020, 03:58:22 AM
Just a quick update from me. Latest Catalina (10.15.2) on a 2015 iMac and at first I could not get standalone RimWorld running, but after running

chmod +x /Applications/RimWorldMac.app/Contents/MacOS/RimWorldMac

and then holding the ctrl-key while right-clicking RimWorld and choosing "Open", Catalina asks if I want to allow it to run. After choosing "Open" in that dialog too, it whitelists the app and starts just fine.

/Andreas Pardeike aka Brrainz
#5
Your 110 mods don't use/reference the Assembly-Csharp-firstpass.dll that even DRM free RimWorld has. It's very uncommon and most mod authors don't even know that it exists.  That proofs nothing, you need to reason with me and look at the traces I did with all three scenarios (vanilla, normal and stripped Achtung).

On my end, I don't do anything related to the two extra calls.
#6
Can confirm that removing the usage of the steam api removes the extra communication (done in DMR free Rimworld but with steam installed in general):

With offline Achtung https://ibb.co/VYwWcqB


WIth normal Achtung https://ibb.co/h9q4664


With no mods https://ibb.co/qYmTQMb


Edit: added original image links
#7
Alright, it took a few more changes (MultiModFix patches RW so it can handle mods that support multiple versions - now obsolete) but I compiled it and added it to the files of the newest release:

https://github.com/pardeike/Achtung2/releases/tag/v2.3.3

Download the AchtungOffline.zip from there and see if it behaves differently.
#8
The reason my mods use (or try to use) the steam api is that I patch in some cross promotion on the mod info page in RimWorld. It basically lists all my other mods by querying the steam api.

It was my assumption that the steam RimWorld version connects to it anyway and that the offline version would simply return empty results/errors when trying to use it.

The strange thing is that this is only used/activated when you go to the mod list and select one of my mods. Unless just liking to the steam dll itself does trigger the connections. Also: where did you get the Achtung binary from? I hope not from some of these shady mod websites but instead from my GitHub.

Suggestion: download the source of Achtung and just remove the file CrossPromotion.cs, then compile and use it. Probably want to remove the reference to Assembly-CSharp-firstpass.dll to be sure. Row 51-54 and 65 in https://github.com/pardeike/Achtung2/blob/master/Source/Achtung.csproj

If you want I can help you with that but it would need to wait until the weekend.

/Andreas
#9
Each of my mods does a simple http request to a cloud server for every game started. The only payload is the mod name. As a result I have a global counter per mod that is incremented and reset every day so I get the number of games started per mod per day. Not by user but in total.

This can easily be verified with a network sniffer or by disassembling the mod to verify that the source code is in fact what was compiled. Here is the function in all its glory:

https://github.com/pardeike/Achtung2/blob/master/Source/ModCounter.cs
#10
So what's the question about my mods, in particular Achtung? I was asked to respond to this thread but am unsure about what exactly.
#11
General Discussion / Re: Zoom to cursor
July 13, 2019, 01:56:12 PM
Just for the record, Camera+ does not a lot more. One of which is Zoom2Mouse. Enjoy
#12
Hi everyone,

this is the official topic for all my RimWorld mods. My name is Andreas Pardeike and I am called Brrainz everywhere. I am also the creator of Harmony, the patch library that allows every modder to replace vanilla C# functionality in RimWorld.

My Mods













Name                              Description                                                                             Download    Steam
Achtung!QoL: control drafted colonists and force jobs to completionDownloadVisit
Camera+QoL: zoom fully in or outDownloadVisit
Careful RaidsConcept: make raiders avoid places where one of them diedDownloadVisit
Just Ignore Me PassingQoL: Keep building while someone passes the spotDownloadVisit
MOD-ETool: Mod list management for save filesDownloadVisit
No Pause ChallengeGame Mode: A true continuous game experienceDownloadVisit
Range FinderTool: Visualize the range of gunsDownloadVisit
Reverse CommandsQoL: Choose object, select verb/colonist thenDownloadVisit
Same SpotEnhance: multiple pawn on the same cellDownloadVisit
ZombieLandContent: They Are Billions for RimWorldDownloadVisit

Files and versions

You can find current versions of my mods on Steam Workshop or on my GitHub Repositories. Older versions, source code and other projects can also be found on GitHub.

How to report bugs or problems

Try to trigger the problem without a lot of other mods! Create an GitHub Issue and upload a save game and a log file so I can reproduce the problem. I don't have the time to find and fix errors or problems that occur if you have 50+ mods installed.

Support me

I put countless hours every week into my mods and Harmony. Therefore, please support me: It takes less than 2 minutes to go to Patreon and become a member for as little as $2 (less than a beer or coffee!).

Feedback

My main interaction with users is at Steam, where usually all my users interact with me. You can also reach me on my Discord server.

License

Free. As in free beer. Copy, learn and be respectful.

Contact

Andreas Pardeike
Email: [email protected]
Twitter: @pardeike
#13
Tynan,

So the big day comes and, as I promised, all my mods are fully compatible with B19 and 1.0 at the same time. They are all tested and also tagged with both versions.

Congratulations on the release Tynan. It was an exciting journey so far and I look forward to the future of Rimworld but also for new games that might come.

Rimworld has inspired me to make 10 very successful mods and of course Harmony, which now has over 650 stars on GitHub and is used in countless other games.

Cheers
Andreas Pardeike aka Brrainz
Twitter: @pardeike

Achtung * Camera+ * Careful Raids * Just Ignore Me Passing * MOD-E * No Pause Challenge * Range Finder * Reverse Commands * Same Spot * Zombieland

https://github.com/pardeike
https://steamcommunity.com/id/brrainz/myworkshopfiles/?appid=294100
#14
Quote from: Albion on October 06, 2018, 04:10:28 AM
I haven't looked through my entire code yet but apart from the translation stuff my mod is actually incompatible between version because the HiveUtility class was renamed to HivesUtility (or the other way around, I'm not on my PC right now). This change breaks my assembly file since I'm using the class in my code.


There are clever ways to get around this problem. For example the helper classes in Harmony that create dynamic delegates for methods. You can do a type lookup to find out if a certain class exists and create your method delegates from that or from the alternative class. Talk to me in the Harmony discord if you are interested.
#15
Some kind of change log that mentions classes or at least some technical area overview of what differs between 0.19 and 1.0 would help to pinpoint the mods most affected. Maybe there is a way to decompile and diff both versions and post the result at a place where many mod authors can see it.