RimWorld

RimWorld

Better autocasting for Vanilla Psycasts Expanded
325 kommentarer
Toby  [ophavsmand] For 3 timer siden 
# 6.2.0.0

- Add separate toggle for mending Mechanoids

Also I was aware that was a thing I simply forgor
Toby  [ophavsmand] 2. sep. kl. 10:27 
I was not aware that that was a thing
Oxirane 1. sep. kl. 16:44 
Could we get a toggle in the settings for casting Mend on damaged friendly mechs? Neat that it seems to work, but it is much slower/less efficient than just repairing the mechs by hand.

My Mechanitor is also the pawn autocasting Mend, not sure if that's a relevant detail to the interaction.
Toby  [ophavsmand] 31. aug. kl. 3:16 
I'll need to see the actual warning for that :⁾
no 26. aug. kl. 8:06 
hi sry, getting "Getting next unique ID during saving" warning when saving

UnityEngine.StackTraceUtility:ExtractStackTrace () Verse.Log:Warning (string) RimWorld.UniqueIDsManager:GetNextID (int&) RimWorld.UniqueIDsManager:GetNextAreaID () Verse.Area:.ctor (Verse.AreaManager) BetterAutocastVPE.Area_Runecircle:.ctor (Verse.AreaManager) BetterAutocastVPE.Patches.AddMissingAreas:Postfix
Toby  [ophavsmand] 21. aug. kl. 2:38 
Either way it's fixed now
Toby  [ophavsmand] 21. aug. kl. 2:16 
yea lmao
VitaKaninen 21. aug. kl. 2:12 
I guess that tells you how often people have used that function before.
Toby  [ophavsmand] 21. aug. kl. 1:52 
Oh heck, Windows doesn't allow : in filenames, my bad :(
[MNI]Mollark 21. aug. kl. 0:31 
I'm getting this error when trying to uninstall the mod via the mod settings.

Exception while init saving file: C:\Users\molla\AppData\LocalLow\Ludeon Studios\RimWorld by Ludeon Studios\Saves\2025-08-21T02:26:45 - Before uninstalling Better Autocasting.rws
System.IO.DirectoryNotFoundException: Could not find a part of the path "C:\Users\molla\AppData\LocalLow\Ludeon Studios\RimWorld by Ludeon Studios\Saves\2025-08-21T02:26:45 - Before uninstalling Better Autocasting.rws".
[Ref 49A47CB6]
VitaKaninen 19. aug. kl. 14:05 
Ok, thanks for a great mod!
Toby  [ophavsmand] 19. aug. kl. 11:12 
Man I wish I had another wave of inspiration for programming but atm I'm burned out lel
PRs appreciated
VitaKaninen 16. aug. kl. 16:58 
Would it be possible to add Word of Inspiration to the list of supported psycasts?
Techpriest Emily 16. aug. kl. 16:46 
@BLKCandy same, actually found this mod because I said screw it and started looking for them
Nikolaier 5. aug. kl. 10:38 
Yeah, it has 2 lines that appear, with the second one being exactly what you described, and the first one trying to use the equipped weapon on the target.
Toby  [ophavsmand] 5. aug. kl. 10:22 
@Nikolaier Could you turn on debug logging in this mod's settings, reproduce the error, then check if the log says something like `Pawn_TryGetAttackVerb_Postfix for Pawn Name set verb to Ice Crystal`?
Nikolaier 5. aug. kl. 5:36 
I noticed an issue when using this mod together with Misc Training. Pawns set to autocast solar pinhole or ice crystal will use those when trying to use shooting targets, in the later case even destroying the target by replacing it with the crystal.

No clue how much effort this would take to fix, or if its even possible on your end, so I wont blame you if its just gonna stay an issue.
squidd 1. aug. kl. 23:47 
nevermind, i found the toggle for it disabled in the mod settings.
squidd 1. aug. kl. 12:25 
my casters don't seem to be autocasting solar pinhole at all with the designations set. am i the only one?
Toby  [ophavsmand] 30. juli kl. 23:23 
:)
BLKCandy 30. juli kl. 19:38 
Auto enchant quality? auto mend? Damn, I have been wishing for these for ages. I had just discovered this mod.
Toby  [ophavsmand] 26. juli kl. 8:14 
Fixed Darkvision and also area stuff
Toby  [ophavsmand] 26. juli kl. 7:32 
I cannot replicate that behavior, do you have any other mods running?
Glass Shahk 26. juli kl. 6:10 
Pawns set to autocast solar pinhole won't do it during scheduled work time. I can only get them to do it if I set their schedule to Anything
Toby  [ophavsmand] 22. juli kl. 1:26 
ohh, I can check
aef8234 21. juli kl. 5:04 
From what I can tell, psycasts that already autocast in Vanilla Psycast expanded don't use the interval option from the mod, can you please allow it?
Toby  [ophavsmand] 21. juli kl. 1:20 
And I do not understand the second question ^^;
Toby  [ophavsmand] 21. juli kl. 1:19 
Game at 1x speed runs at 60 ticks per second
aef8234 21. juli kl. 1:19 
Hello, I just have a question. How many ticks are a second for autocasting? Also can you apply the autocast interval option to ALL psycasts for VPE?
Toby  [ophavsmand] 21. juli kl. 1:15 
You can upload it to something like pastebin and just share the link here :)
I'll check it out
bHeaded 21. juli kl. 0:45 
Verse.Thing:DoTick ()
Verse.TickList:Tick ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.DoSingleTick_Patch2 (Verse.TickManager)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.TickManagerUpdate_Patch2 (Verse.TickManager)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Game.UpdatePlay_Patch2 (Verse.Game)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root_Play.Update_Patch1 (Verse.Root_Play)
bHeaded 21. juli kl. 0:45 
BetterAutocastVPE.PsycastingHandler:HandleHediffPsycast (Verse.Pawn,VEF.Abilities.Ability,BetterAutocastVPE.PsycastingHandler/TargetType[],BetterAutocastVPE.PsycastingHandler/FinalTargetType,bool,string,System.Func`2<Verse.Pawn, bool>)
BetterAutocastVPE.PsycastingHandler:HandleDarkvision (Verse.Pawn,VEF.Abilities.Ability)
BetterAutocastVPE.PsycastingHandler:HandleAbility (Verse.Pawn,VEF.Abilities.Ability)
BetterAutocastVPE.Patches.Pawn_Tick_Autocast:ProcessAbilities (Verse.Pawn)
BetterAutocastVPE.Patches.Pawn_Tick_Autocast:Postfix (Verse.Pawn)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Pawn.Tick_Patch1 (Verse.Pawn)
bHeaded 21. juli kl. 0:44 
Hey noticed this in my logs but its too long to post all of it here:
Better Autocasting - <b><i>Please report this</i></b> - Failed to validate VPE_Darkvision for <color=#D09B61FF>Cheda Echidna</color> on Doc (Thing_Human1133) - this is most likely harmless but means that I implemented something wrong.
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Warning (string)
BetterAutocastVPE.PsycastingHandler:CastAbilityOnTarget (VEF.Abilities.Ability,RimWorld.Planet.GlobalTargetInfo)
BetterAutocastVPE.PsycastingHandler:HandleTargetedPsycast (Verse.Pawn,VEF.Abilities.Ability,BetterAutocastVPE.PsycastingHandler/TargetType[],BetterAutocastVPE.PsycastingHandler/FinalTargetType,System.Func`2<Verse.Pawn, bool>,bool)
Toby  [ophavsmand] 18. juli kl. 8:35 
Do you have VEF installed?
bagelhe 18. juli kl. 2:41 
heya
I get this error at startup

ReflectionTypeLoadException getting types in assembly BetterAutocastVPE: System.Reflection.ReflectionTypeLoadException: Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown.
Could not resolve type with token 0100005c from typeref (expected class 'VEF.Abilities.JobDriver_CastAbilityOnce' in assembly 'VEF, Version=1.1.7.0, Culture=neutral, PublicKeyToken=null')
at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes(System.Reflection.Assembly,bool)
at System.Reflection.Assembly.GetTypes () [0x00000] in <51fded79cd284d4d911c5949aff4cb21>:0
at Verse.ModAssemblyHandler.AssemblyIsUsable (System.Reflection.Assembly asm) [0x00000] in <981a33edf24d499488b0f820d94638e1>:0
System.TypeLoadException: Could not resolve type with token 0100005c from typeref (expected class 'VEF.Abilities.JobDriver_CastAbilityOnce' in assembly 'VEF, Version=1.1.7.0, Culture=neutral, PublicKeyToken=null')
Toby  [ophavsmand] 17. juli kl. 4:07 
Had not even considered that, will fix later
Skullywag 17. juli kl. 2:09 
Pawns seem to ignore the Odyssey outfit stands with "mend" in the name for the technomancer mend autocast.
Erron Black 13. juli kl. 3:27 
Thank you <3
Toby  [ophavsmand] 13. juli kl. 2:40 
That sounds complicated but I'll try to remember doing it eventually
aef8234 13. juli kl. 1:27 
Oh nice it updated, thanks dude.


Can you also add skip from VPE into autocasting? But it target the caster and lets the pawn teleport closer to whatever they're walking towards? Like blink from rimworld of magic?
布丁蛋糕 13. juli kl. 1:09 
good!
Falcrow 13. juli kl. 1:01 
Thanks Toby. xoxo
Toby  [ophavsmand] 13. juli kl. 0:40 
Done
Toby  [ophavsmand] 13. juli kl. 0:29 
Aye that'd to it. Update soon
Erron Black 12. juli kl. 17:05 
Could not find a type named BetterAutocastVPE.JobDrivers.JobDriver_GotoLocationAndCastAbilityOnce
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
Verse.ParseHelper:ParseType (string)
Verse.ParseHelper/Parsers`1/<>c__DisplayClass2_0<System.Type>:<Register>b__0 (string)
Verse.ParseHelper:FromString (string,System.Type)
(wrapper dynamic-method)
Toby  [ophavsmand] 12. juli kl. 3:42 
Lel, is there even any issue yet?
Cade 12. juli kl. 0:15 
Do it Toby, make us all happy <3
Toby  [ophavsmand] 9. juli kl. 5:22 
That's the plan yea :p
bHeaded 8. juli kl. 1:10 
Its hard to go without this mod, hope you update to 1.6!
Skullywag 1. juli kl. 7:24 
I should learn to read, my apologies