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

#181
Yeah,

Some funky Steam stuff. I forced an update on Steam and voila! - same DLLs.

Thanks for the help! I got my first two mods almost ready on the first day. I will release them probably tomorrow.

Cheers,
Andreas
#182
Solved. Still need help understanding though.

The problem is that the dll's from the steam version and the standalone DRM-free version (at least on OSX) are different. The attribute is defined in the drm free version but not with steam.

Also: Widgets.ButtonImage is called Widgets.ImageButton depending on which version you use.

Anybody wants to explain? I would of course want to make a mod that works on any variant of Rimworld...

/Andreas
#183
Hmm  :-\

It is weird that when I use ILSpy on my Assembly-CSharp.dll from RimWorld1241Mac I cannot find the code you posted. Is this attribute no longer supported?
#184
Hi,

I'm new to modding so in order to get to my own mod, I am trying to compile a rather simple existing example from GitHub. Since I will have to do Detours later, I chose DevSpeedEnabler and can get it almost working.

Problem is, that I cannot get it to completely compile. It complains about "The type of namespace name 'StaticConstructorOnStartup' could not be found (are you missing a using or an assembly reference)".

The file TexButton.cs starts with

using System;
using Verse;
using UnityEngine;

and I went to the project settings and added a reference folder that contains three dll's:


  • Assembly-CSharp.dll
  • Community Core Library.dll
  • UnityEngine.dll

which solves the entries in the projects "References" section.

Those come from RimWorld1241Mac as I am using OSX with VisualStudio Community 2016 running in VMWare and from the latest Community Core Library. At this point I am not sure what else to do.

Can anybody help me out?

[attachment deleted by admin - too old]
#185
Happens to me too. I have yet find a way to make it show at all.