RimWorld

RimWorld

[1.2] Tranquilizer guns
Wowcheg  [developer] 9 Nov, 2018 @ 2:31pm
Bugs and issues
Mod can be buggy, Please, leave any found issues here.
< >
Showing 1-6 of 6 comments
Noxilie 6 Jan, 2019 @ 2:08am 
Could not resolve cross-reference: No Verse.SoundDef named InteractRifle found to give to Verse.ThingDef Gun_TranquilizerRifle (using undefined sound instead)

Could not resolve cross-reference: No Verse.SoundDef named InteractAutopistol found to give to Verse.ThingDef Gun_Tranquillzer_Pistol (using undefined sound instead)

Could not resolve cross-reference: No Verse.SoundDef named ShotAutopistol found to give to Verse.VerbProperties VerbProperties(tranquilizer pistol) (using undefined sound instead)

It's "Interact_Rifle", "Interact_Autopistol" and "Shot_Autopistol" in 1.0
Last edited by Noxilie; 6 Jan, 2019 @ 2:10am
Noxilie 6 Jan, 2019 @ 1:25pm 
Also:
Tried to use an uninitialized DefOf of type HediffDefOf. DefOfs are initialized right after all defs all loaded. Uninitialized DefOfs will return only nulls. (hint: don't use DefOfs as default field values in Defs, try to resolve them in ResolveReferences() instead) Debug info: DirectXmlToObject is currently instantiating an object of type Tranquilizer.ThingDefTranquillizerBullet
Verse.Log:Warning(String, Boolean)
RimWorld.DefOfHelper:EnsureInitializedInCtor(Type)
RimWorld.HediffDefOf:.cctor()
Tranquilizer.ThingDefTranquillizerBullet:.ctor()
Tranquilizer.ThingDefTranquillizerBullet:.ctor()
System.Reflection.MonoCMethod:InternalInvoke(Object, Object[], Exception&)
System.Reflection.MonoCMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
System.Reflection.MonoCMethod:Invoke(BindingFlags, Binder, Object[], CultureInfo)
System.Reflection.ConstructorInfo:Invoke(Object[])
System.Activator:CreateInstance(Type, Boolean)
System.Activator:CreateInstance(Type)
Verse.DirectXmlToObject:ObjectFromXml(XmlNode, Boolean)
System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&)
System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo)
System.Reflection.MethodBase:Invoke(Object, Object[])
Verse.DirectXmlLoader:DefFromNode(XmlNode, LoadableXmlAsset)
Verse.LoadedModManager:ParseAndProcessXML(XmlDocument, Dictionary`2)
Verse.LoadedModManager:LoadAllActiveMods()
Verse.PlayDataLoader:DoPlayLoad()
Verse.PlayDataLoader:LoadAllPlayData(Boolean)
Verse.Root:<Start>m__1()
Verse.LongEventHandler:RunEventFromAnotherThread(Action)
Verse.LongEventHandler:<UpdateCurrentAsynchronousEvent>m__1()
Trunken 13 May, 2019 @ 7:52am 
Could not resolve cross-reference: No Verse.SoundDef named InteractRifle found to give to Verse.ThingDef Gun_TranquilizerRifle (using undefined sound instead)
Verse.Log:Warning(String, Boolean)
Verse.WantedRefForObject:TryResolve(FailMode)
Verse.DirectXmlCrossRefLoader:ResolveAllWantedCrossReferences(FailMode)
Verse.PlayDataLoader:DoPlayLoad()
Verse.PlayDataLoader:LoadAllPlayData(Boolean)

+2 of the same kind

and

[HugsLib][warn] Missing enum setting labels for enum Tranquilizer.HitMechanicsEnum
Verse.Log:Warning(String, Boolean)
HugsLib.Utils.ModLogger:Warning(String, Object[])
HugsLib.Settings.ModSettingsPack:GetHandle(String, String, String, HitMechanicsEnum, ValueIsValid, String)
Tranquilizer.TranquilizerGunsSettings:DefsLoaded()
HugsLib.HugsLibController:OnDefsLoaded()

Im offering help to fix the errors, since i like this mod, if your time disallows the conitunuation
Yoozah Dileetid 23 Oct, 2019 @ 6:03pm 
I have similiar issues.
Here's my full error log: https://pastebin.com/sSCPfeNt

If you have a fix, please post it below! :)
Commanderori 8 Nov, 2020 @ 9:59pm 
Hiya, Really cool mod but i've noticed something weird. Using the tranq pistol, it went from moderate (30% max con) to major (40% max con) while fighting. I suspect one of these values may not be correct.
Gunseeker 29 Dec, 2020 @ 5:29am 
Less of a bug, and more of an exploit, but you are able to throw tranq grenades at caravans with basically no repercussions, so you can tranquilize pawns and make them drop all of their supplies for free.
< >
Showing 1-6 of 6 comments
Per page: 1530 50