RimWorld

RimWorld

Verb Expansion Framework
83 Comments
Mr.Zombears 19 Jul, 2020 @ 2:42pm 
Is there a 1.1 version of this mod?
Sdri 26 Apr, 2020 @ 8:52am 
Rip
Chismar 17 Apr, 2020 @ 12:23pm 
Dear mod-author, please update soon, I can't wait to play with my fallout robots :)
Mur Derer 15 Apr, 2020 @ 10:56pm 
Update please???
Sasha Fox #SaveTF2 24 Mar, 2020 @ 9:58pm 
Looking forward to it!
Sdri 22 Mar, 2020 @ 11:56am 
so will this mod be updated or remade?
ilikegoodfood  [author] 17 Feb, 2020 @ 3:57am 
PUBLIC SERVICE ANNOUNCEMENT:
Work on a completely refactored Verb Expansion Framework 2.0 is likely to commence soon(TM).
Soon looks like some time next month Please remember thatit will take considerable time to developel this release, especially with the new changes Tynana has implemented in the code-base.
It will not be released by myself as I am handing VEF off Erdelf, an increadibly skilled and dedicated RimWorld modder.
NECEROS 10 Nov, 2019 @ 7:26pm 
This is great. Thank you for this. I hope your life gets better and you will be able to continue.
ilikegoodfood  [author] 24 Sep, 2019 @ 2:59am 
Due to circumstances i will not discuss, I am taking a long break from RimWorld modding. I still have so much I would like to do with this mod in the future, but that may be delayed indefinitely. I'll let you all when I resume.
B4AZ 22 Aug, 2019 @ 9:46am 
Hi @ilikegoodfood it works now, looks like creator Magical Menagerie, already fix it. Thanks and have a nice day
ilikegoodfood  [author] 22 Aug, 2019 @ 8:43am 
@B4AZ Sarg Bjornson, the creator of Magical Menagerie, has incorrectly stated that this framework does not need independent subscription. As such, the version of VEF in his mod is out of date, and may display other issues as a result of the incorrect load order.

Subscribe to this mod and place it among the major frameworks near the top of your mod list (immediately after HugsLib and JecsTool). It is safe to add to an ongoing game.
To be extra sure that the correct version is operating once you have enabled VEF, go to the mod folder for Magical Menagerie, into the assemblies folder and delete "VerbExpansionFramework.dll".

As far as I am aware, that error was resolved and updates released either late last week or earlier this week.
B4AZ 22 Aug, 2019 @ 7:20am 
Hi author, i have some error that maybe you can look https://gist.github.com/HugsLibRecordKeeper/206723dc32ccbb1b51c095fda30eca2d
Trunken 21 Aug, 2019 @ 3:16pm 
Thanks for your dedication and passion, goody :-) This is such an amazing tool you gave us here. Looking forward to any new feature you might add and wish ya the best from my heart, old friend.
ilikegoodfood  [author] 20 Aug, 2019 @ 3:25am 
@Dr@g0n During my investigations I discovered that the developer of the Ferian Race has made it in such a way that the race does not inherit comps from RimWorld's base Pawn. The way I've set up my xml patches should mean that VEF works for them regardless, but I am not entirely sure.
If you find that they do not provide the proper options when installed with an alternative ranged verb source, please let me know and I will make a specific patch for them.
Dr@g0n 19 Aug, 2019 @ 2:52pm 
thanks yeah i noticed after i gave up trying and exited I had a bunch of steam workshop items que'd so that was prop the issue on my end
ilikegoodfood  [author] 19 Aug, 2019 @ 4:46am 
@Dr@g0n Are you using VEF from a direct download instead of via steam? If so, could you please update to the latest version and try to produce the error again.

Otherwise, can you please post the full error log in the bug reports thread.
ilikegoodfood  [author] 19 Aug, 2019 @ 4:16am 
> seems things with powers/abilities are much scarier since using this, well done I never noticed my game was not at par with what could be!

Since VEF uses a DPS calculation to decide which ranged verb to use, things with high-damage powers will use those exclusively over their standard weapons. It may be that JecsTools intended them to be based on a commonality test, but I haven't yet developed an understanding of JecsTools' abilities system or how to better account for them.
ilikegoodfood  [author] 19 Aug, 2019 @ 4:16am 
> JobDriver threw exception in initAction for pawn Oris driver=JobDriver_Wait (toilIndex=0) driver.job=(Wait_Combat (Job_21) A=(121, 0, 131)) lastJobGiver=Verse.AI.JobGiver_Orders
System.NullReferenceException: Object reference not set to an instance of an object
at VerbExpansionFramework.HarmonyPatches.Pawn_TryGetAttackVerbPostfix (Verse.Pawn,Verse.Verb&,Verse.Thing&) <0x00041>

As for this error, it looks like it's related to the one I resolved yesterday, although strangely it persists. I'll have to poke around in and or contact the creator of the Humanoid Alien Races Framework to see if we have a conflict somewhere (which seems possible)
Dr@g0n 18 Aug, 2019 @ 3:09pm 
shoot the older post goes on top of the newer post
Dr@g0n 18 Aug, 2019 @ 3:08pm 
this has to do with the ferian race i think. Also facial stuff was in the mix of issues but i removed it too, I removed RAF after this issue appeared too. I only added a few mods and I put them in the areas of my mod load order that made sense so it could be one of those. I really have no issues with any races other than ferian(might be the mysterious energy thing they have?)
Dr@g0n 18 Aug, 2019 @ 3:08pm 
Verse.Log:Error(String, Boolean)
Verse.AI.JobUtility:TryStartErrorRecoverJob(Pawn, String, Exception, JobDriver)
Verse.AI.JobDriver:TryActuallyStartNextToil()
Verse.AI.JobDriver:ReadyForNextToil()
Verse.AI.Pawn_JobTracker:StartJob_Patch4(Object, Job, JobCondition, ThinkNode, Boolean, Boolean, ThinkTreeDef, Nullable`1, Boolean)
Verse.AI.Pawn_JobTracker:TryFindAndStartJob()
Verse.AI.Pawn_JobTracker:EndCurrentJob_Patch2(Object, JobCondition, Boolean)
Verse.AI.Pawn_JobTracker:JobTrackerTick()
Verse.Pawn:Tick_Patch3(Object)
Verse.TickList:Tick()
Verse.TickManager:DoSingleTick()
Verse.TickManager:TickManagerUpdate()
Verse.Game:UpdatePlay()
Verse.Root_Play:Update()
Dr@g0n 18 Aug, 2019 @ 3:08pm 
JobDriver threw exception in initAction for pawn Oris driver=JobDriver_Wait (toilIndex=0) driver.job=(Wait_Combat (Job_21) A=(121, 0, 131)) lastJobGiver=Verse.AI.JobGiver_Orders
System.NullReferenceException: Object reference not set to an instance of an object
at VerbExpansionFramework.HarmonyPatches.Pawn_TryGetAttackVerbPostfix (Verse.Pawn,Verse.Verb&,Verse.Thing&) <0x00041>
at (wrapper dynamic-method) Verse.Pawn.TryGetAttackVerb_Patch2 (object,Verse.Thing,bool) <0x00237>
at (wrapper dynamic-method) Verse.Pawn.get_CurrentEffectiveVerb_Patch1 (object) <0x000bd>
at (wrapper dynamic-method) Verse.AI.JobDriver_Wait.CheckForAutoAttack_Patch2 (object) <0x006ff>
at Verse.AI.JobDriver_Wait/<MakeNewToils>c__Iterator0.<>m__0 () <0x000c8>
at Verse.AI.JobDriver.TryActuallyStartNextToil () <0x0071f>

Dr@g0n 18 Aug, 2019 @ 12:36pm 
although that was te shortest game I have ever done so freakin well on
Dr@g0n 18 Aug, 2019 @ 12:35pm 
seems things with powers/abilities are much scarier since using this, well done I never noticed my game was not at par with what could be!
Yiddish Schnozz Goblin 18 Aug, 2019 @ 10:56am 
You the best :)
ilikegoodfood  [author] 18 Aug, 2019 @ 9:40am 
@Yiddish Schnozz Goblin I contacted Torann and we have resolved the issue with minions. VEF has been updated and you should be able to continue with your game whenever you wish to do so.
ilikegoodfood  [author] 18 Aug, 2019 @ 12:23am 
@Yiddish Schnozz Goblin If you could post it in the Bug Reports thread, that'd be great. I'm not sure if links work there either though, so you may need to copy-paste the log into the message.
Dr@g0n 17 Aug, 2019 @ 2:00pm 
sounds good, thank you! about to start a new game with this instead of RAF!!!
Yiddish Schnozz Goblin 17 Aug, 2019 @ 1:08pm 
Specifically from VEF, The Rimworld of magic creator confirmed its something you need to fix, i can PM you my log if you want, didn't realise steam snips all links, haha.
ilikegoodfood  [author] 17 Aug, 2019 @ 4:34am 
@Yiddish Schnozz Goblin What leads you to believe that the message spam is related to VEF?
Does the message spam occur without VEF enabled?
Is the message spam an error that specifically names VEF?
Yiddish Schnozz Goblin 16 Aug, 2019 @ 5:40pm 
{LINK REMOVED}

Getting message spam any time a minion from the summoner class in Rimworld Of Magic is summoned. Any idea how to maybe fix this?
ilikegoodfood  [author] 15 Aug, 2019 @ 1:38pm 
@solcrux Are they vanilla turrets, or are they added by a mod?
solcrux 15 Aug, 2019 @ 12:10pm 
strange, cuz i removed this mod and they work fine, what might it conflict with?
ilikegoodfood  [author] 12 Aug, 2019 @ 10:28am 
@solcrux It should have no impact of turrets at all. Obviously, I'll look into it. Thanks for letting me know.

EDIT: I just ran some tests with VEF and turrets and they all worked exactly as they should. The issue appears to be a result of some other mod in your mod list.
solcrux 10 Aug, 2019 @ 1:57pm 
seems to make turrets not do damage?
ilikegoodfood  [author] 10 Aug, 2019 @ 12:50am 
@generalpuppydeer Glad I could help.
I always hate the idea that someone can't play their game because of a bug I caused, so I try to deal with them immediately.

@Tyrant As I said, it is very high on my to-do list.
generalpuppydeer 9 Aug, 2019 @ 3:58pm 
Ok, so it fixed now. I don't know if my game didn't update properly from your last update or what happend, but now it's working just fine. You, sir, just saved my game and i am so grateful. Hope my sketchy english did not create problems. Have a wonderful day - you deserve it
generalpuppydeer 9 Aug, 2019 @ 2:59pm 
No, still going wih NullReferenceException
ilikegoodfood  [author] 9 Aug, 2019 @ 1:57pm 
@Tyrant I haven't looked into multiplayer yet. As I understand it, multiplayer will be a fairly major task. The compatibility overhaul will make it much easier to implement new compatibility features, both for multiplayer and other mods.

As mentioned in my changelog, I have more or less worked myself to the bone, so development is slowing down to a more sustainable pace. I'm only working on it all today because of the ongoing bug-reports.
Multiplayer compatibility is currently second on my priorities list, immediately after Shields (Hediff and race defined) and Shield Amps (HediffComp), but that is not concrete, so they may be switched around, or new issues may arise that require my immediate attention.
generalpuppydeer 9 Aug, 2019 @ 1:48pm 
I will gladly do it, but it will take some time, cause in the meantime i was switching in and out all mods, that got updated past to days to, maybe, help out with narrowing down problematic ones. So one or to full loads of the game, to be exact.
ilikegoodfood  [author] 9 Aug, 2019 @ 1:28pm 
It would appear that I missed one instance of the call that I was substituting and applying additional null checks to, specifically in the UpdateRangedVerbs section, which is indicated as the issue by your initial error log.
Apologies for the constant minor fixes and tests, but I must ask that you check it one last time.

If this does not work, then I am unsure of what might be causing the error and will have to continue to investigate over the weekend.
generalpuppydeer 9 Aug, 2019 @ 12:39pm 
No luck. I have over 200 mods, so it would take hell of a lot time to find the one causing the problem. I can only say, that yesterday everything worked just fine, thats why i could pinpoint some that got updated
ilikegoodfood  [author] 9 Aug, 2019 @ 12:12pm 
I've put out another update that attempts to solve the issue. Could you please let me know if it has?
generalpuppydeer 9 Aug, 2019 @ 11:51am 
Oh, and the Medical Expancion one has module, that gives additional functions with your framework enabled, if this can help in any way. Its called MSE - Prosthetic combat
generalpuppydeer 9 Aug, 2019 @ 11:44am 
@ilikegoodfood maybe its something to do with load order? I am no programmer myself, so can only identify simple things. You made a greate work with this project already and i dont know if the other users expiriencing the same bug
generalpuppydeer 9 Aug, 2019 @ 11:37am 
In the old save its still going strong and in the new one i started getting the same one with mechanoid

Exception ticking Mech_Lancer11412 (at (35, 0, 209)): System.NullReferenceException: Object reference not set to an instance of an object
at VerbExpansionFramework.VEF_Comp_Pawn_RangedVerbs/<>c__DisplayClass9_1.<UpdateRangedVerbs>b__0 () <0x000c6>
at VerbExpansionFramework.VEF_Comp_Pawn_RangedVerbs.UpdateRangedVerbs () <0x005b4>
at VerbExpansionFramework.VEF_Comp_Pawn_RangedVerbs.TryGetRangedVerb (Verse.Thing) <0x00021>
at VerbExpansionFramework.VEF_Comp_Pawn_RangedVerbs.CompTick () <0x000a3>
at Verse.ThingWithComps.Tick () <0x0006c>
at (wrapper dynamic-method) Verse.Pawn.Tick_Patch2 (object) <0x00095>
at (wrapper dynamic-method) Verse.TickList.Tick_Patch2 (object) <0x00497>
ilikegoodfood  [author] 9 Aug, 2019 @ 11:28am 
@generalpuppydeer I have just released version 1.1.1c, which should hopefully fix the issue with Dual Wield. Please let me know it persists.
I'll get to the changelog later.
ilikegoodfood  [author] 9 Aug, 2019 @ 9:46am 
@generalpuppydeer Do any of those mods add equipment other than weapons, specifically ones that can be used in the off-hand?

My initial suspicion is that they do, and that the gizmo is attempting to render the icon for it incorrectly. Even if that's not the place, I lack sufficient null checks there, so I'll try that and let you know when the update goes out.
generalpuppydeer 9 Aug, 2019 @ 5:19am 
So, i tried to load my save without your mod and everything spawned just fine. I think its something to do with recent update of Alien races, Hospitality, Common sense or Medical system overhaul, because its the only mods that got updated this night
generalpuppydeer 9 Aug, 2019 @ 4:09am 
@ilikegoodfood, so i waited a couple of minutes and it gave me some more information about this error with spawning pawns

Exception spawning loaded thing Hagu: System.NullReferenceException: Object reference not set to an instance of an object
at VerbExpansionFramework.VEF_Comp_Pawn_RangedVerbs/<>c__DisplayClass9_1.<UpdateRangedVerbs>b__0 () <0x000c6>
at VerbExpansionFramework.VEF_Comp_Pawn_RangedVerbs.UpdateRangedVerbs () <0x005b4>
at VerbExpansionFramework.VEF_Comp_Pawn_RangedVerbs.PostSpawnSetup (bool) <0x00051>
at Verse.ThingWithComps.SpawnSetup (Verse.Map,bool) <0x0007f>
at Verse.Pawn.SpawnSetup (Verse.Map,bool) <0x00219>
at (wrapper dynamic-method) Verse.GenSpawn.Spawn_Patch5 (Verse.Thing,Verse.IntVec3,Verse.Map,Verse.Rot4,Verse.WipeMode,bool) <0x00c9c>
at (wrapper dynamic-method) Verse.Map.FinalizeLoading_Patch1 (object) <0x004ad>