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

Topics - Chais

#1
Bugs / [0.18.1722] Pawn doing a job shes incapable of
November 26, 2017, 09:37:25 AM
I got this exception:
Attempted to calculate value for disabled stat RecruitPrisonerChance; this is meant as a consistency check, either set the stat to neverDisabled or ensure this pawn cannot accidentally use this stat (thing=Rissa)
Verse.Log:Error(String)
Verse.Log:ErrorOnce(String, Int32)
RimWorld.StatWorker:GetValueUnfinalized(StatRequest, Boolean)
RimWorld.StatWorker:GetValue(StatRequest, Boolean)
RimWorld.StatWorker:GetValue(Thing, Boolean)
RimWorld.StatExtension:GetStatValue(Thing, StatDef, Boolean)
RimWorld.InteractionWorker_RecruitAttempt:Interacted(Pawn, Pawn, List`1)
RimWorld.Pawn_InteractionsTracker:TryInteractWith(Pawn, InteractionDef)
RimWorld.<TryRecruit>c__AnonStorey5:<>m__0()
Verse.AI.JobDriver:TryActuallyStartNextToil()
Verse.AI.JobDriver:ReadyForNextToil()
Verse.AI.JobDriver:TryActuallyStartNextToil()
Verse.AI.JobDriver:ReadyForNextToil()
RimWorld.<GotoInteractablePosition>c__AnonStorey0:<>m__0()
Verse.AI.JobDriver:TryActuallyStartNextToil()
Verse.AI.JobDriver:ReadyForNextToil()
Verse.AI.JobDriver:Notify_PatherArrived()
Verse.AI.Pawn_PathFollower:PatherArrived()
Verse.AI.Pawn_PathFollower:StartPath(LocalTargetInfo, PathEndMode)
RimWorld.<GotoPrisoner>c__AnonStorey1:<>m__0()
Verse.AI.JobDriver:TryActuallyStartNextToil()
Verse.AI.JobDriver:ReadyForNextToil()
Verse.AI.JobDriver:DriverTick()
Verse.AI.Pawn_JobTracker:JobTrackerTick()
Verse.Pawn:Tick()
Verse.TickList:Tick()
Verse.TickManager:DoSingleTick()
Verse.TickManager:TickManagerUpdate()
Verse.Game:UpdatePlay()
Verse.Root_Play:Update()

Rissa is one of my pawns. She is not working as a warden. I do have a prisoner right now. Rissa is currently cleaning. I wasn't looking when the exception was thrown, only a couple of seconds later. I have two mods active: Custom Music and Tech Advancing, but I doubt they have anything to do with it, as they don't interfere with prisoner mechanics at all.
Savegame (password: rimworld)
#2
When I try to scroll the Social tab for a pawn the camera zooms instead. I have to drag the scroll bar to scroll.
#3
On Linux enabling roof visibility will usually result in solid magenta blobs in roofed areas instead of the light and dark green, semi-transparent overlay.
Using the latest nvidia binary blob.

[attachment deleted by admin: too old]
#4
Bugs / [0.18.1712] cursor icon misplaced
November 07, 2017, 11:02:33 AM
On the 'Orders' menu, when selecting a new order via shortkey (e.g. I or K) the new icon will appear not next to the cursor, but somewhere above or below it.
More specifically, the position of the icon is that of the cursor with inverted y-position. So icon and cursor will be the same distance but opposite sides of the horizontal middle line of the display.
Edit: This actually seems to go for all items and can be triggered by any keyboard (panning) input, not only selecting different orders/zones/structures/...
#5
Help / [A18] Mod-loading procedure
October 25, 2017, 08:16:15 AM
I've noticed that with A18 the PostLoad and ResolveReferences methods for defs are no longer called when the mod config is loaded. I'm currently trying to figure out where the loading of mods and their saved configs starts, which is a tedious task, given that MonoDevelop is just horrible.
So if someone has pointers or just knows, that would be great.
#6
When trying to validate the input into a Widgets.TextField the given Regex is never matched.
public static string TextField (Rect rect, string text, int maxLength, Regex inputValidator)
{
    string text2 = Widgets.TextField (rect, text);
    if (text2.Length <= maxLength && Outfit.ValidNameRegex.IsMatch (text2)) {
        return text2;
    }
    return text;
}

inputValidator is never accessed. Instead Outfit.ValidNameRegex is used, which is defined as
Regex ValidNameRegex = new Regex ("^[a-zA-Z0-9 '\\-]*$");
This results in Widgets.TextField being unable to validate file paths of any kind.
public static string TextField (Rect rect, string text, int maxLength, Regex inputValidator)
{
    string text2 = Widgets.TextField (rect, text);
    if (text2.Length <= maxLength && inputValidator.IsMatch (text2)) {
        return text2;
    }
    return text;
}

would probably be correct.
#7
Custom Music

Description:
As great as RimWorld's music is, sometimes it's time for a change. With this mod you can listen to your local music library in RimWorld. Just point it to a directory and it will add the songs to the game's track list.

Features

  • File Explorer (Open): Conveniently navigate to the directory with your music. Click OK to use the current directory, or Cancel to keep using the previous one.
  • Click Update to rescan the directory. This adds new configs for new songs, removes configs for songs no longer present and keeps the rest.
  • The music directory can contain subdirectories that will be searched for files, as well.
  • Quick access to volume and "battle music" flag
  • Configure all settings in the advanced settings (gear column)

Author/Mod Team
Me with help of erdelf, Brrainz, KeenKrozzy, WhyIsThat and #rimworld-modding on Discord as well as ison.

Download
Attachment
https://steamcommunity.com/sharedfiles/filedetails/?id=1091642181
https://gitlab.com/Chais/CustomMusic-Rimworld/tags

Getting OGG files

  • Download fre:ac, a free, open source audio converter. The zip doesn't require installation. Packages for OSX and Linux are offered, too.
  • Unpack/install to a directory of your choice
  • Start the program (freac.exe on Windows, freac on Linux, freac application on macOS
  • Add all the files you want to convert to the Joblist (you can add single files as well as directories)
  • In Options > General settings... set the Filename pattern to something something simple as "<title>" or "<artist> - <title>". Check "Append sequential numbers..."
  • Optionally: Options > Configure selected encoder... Choose an encoding mode. VBR is fine if you don't know the difference. Choose a quality. Higher value means better quality but larger file. Keep in mind that qualty can't actually be increased when converting from mp3 or other lossy formats, but the file will still be larger. 6 should be a good value for most cases.
  • Set the output folder to the directory you want RimWorld to play music from
  • Start the conversion (circular play button)

Words of caution
RimWorld's ogg player is very sensitive to "irregularities". Should you already have OGG files or have acquired them from another program, make sure they don't contain a video track. Some encoders put the cover art in a video track, instead of the ID3 tags. RimWorld will not only not play these files, but they can even prevent valid songs from loading properly. So if you have trouble with your songs playing, perhaps try adding them one by one to see which one breaks the chain.

How to install:
- Unzip the contents and place them in your RimWorld/Mods folder.
- Activate the mod in the mod menu in the game.

[attachment deleted by admin: too old]
#8
Outdated / [A17] Autarky 1.8.1
July 19, 2017, 03:16:22 PM
Autarky
Are you sick of waiting for the trader that never comes? Or didn't he have any Neutroamine and now you're stuck with herbal medicine? Couldn't get any Luciferium for your bionically improved brawler?

This mod makes Boomalopes and Boomrats more than just walking bombs and nuisances. They produce volatile chemicals that can be used to synthesize Neutroamine. Through extensive research you can find a way to create mechanites. With them you will finally be able to create Luciferium and glitterworld medicine. You will have to build quite a production line to get your hands on the devil's bargain, though.

Is your tribe getting tormented by pirates or other tribes? Send them your strongest or most expendable warriors (your choice, really) and infuse them with demonic power. They'll fight like they've never fought before. Don't expect them to return, though.

Caution
Volatile chemicals should be treated carefully. Leaving them unroofed for too long will corrode the canisters and the mixture might self-ignite.
When stored at too high temperatures the reactive cocktail may build up pressure or eat through the canister and self-ignite. Be wary of heat-waves.

Getting started
To get on your own feet just tame yourself some boomrats and/or boomalopes. Your handler can milk them for the cocktail of chemicals that makes them explode when they die. So be careful with that stuff.
At the drug lab you can synthesise neutroamine from volatile chemicals.

Everything else should become clear with the research projects the mod adds.

Facts
Additions:

  • Devil's Dust
  • Volatile Chemicals
  • Mechanites
  • Mechanites Workstation

Research:

  • Ambrosia
  • Devil's Dust extraction
  • Telescope
  • Mechanites Workstation
  • Flatscreen Television
  • Megascreen Television
  • Glitterworld medicien production
  • Luciferium production

Recipes:

  • 5 devilstrand + 2 volatile chemicals = 1 devil's dust
  • 20 volatile chemicals = 1 neutroamine
  • 5 plasteel + 25 silver + 2 components = 20 mechanites
  • 1 devil's dust + 1 wakeup + 1 flake + 1 yayo + 1 gojuice + 1 penoxycyline + 1 medicine + 5 mechanites = 1 luciferium
  • 2 medicine + 5 mechanites = 1 glitterworld medicine
  • 100 steel + 10 components = 1 flatscreen TV
  • 120 steel + 12 components = 1 megascreen TV
  • 80 steel + 10 components = 1 telescope

Modifications:

  • Tame, adult boomalopes produce 100 units of volatile chemicals in 5 days
  • Tame, adult boomrats produce 10 units of volatile chemicals per day

Incompatibilities:

  • Combat Extended

Steam Workshop
GitHub

[attachment deleted by admin due to age]
#9
Tools / DefInjected for <li> elements
June 29, 2017, 04:58:44 AM
I've created a Comp that allows setting the label in the Def. As a Comp it's part of the <comps> list. Is there a way to address such an element? Currently RW gives me "Field li does not exist." I tried using XPath, but that throws an exception on the '['.