[1.5] HugsLib (11.0.5) Lightweight modding library

Started by UnlimitedHugs, December 15, 2016, 02:20:14 PM

Previous topic - Next topic

Adorablorp

Hi there. Kinda my first time posting a bug report, I hope I'm doing it right and apologies in advance if it doesn't have anything to do with this mod, but I feel like I narrowed it down pretty well.

Modlist:
  • Harmony
  • Core
  • Hugslib
What happens: When I go into Options>Mod Options and type most, but not all keys into the search bare (i.e. "A"), I get spammed with errors by the debug log. (I usually keep devmode on.) I been having this for months, and finally decided to narrow it down.

This happens when I have HugsLib either by itself (and harmony), or with HugsLib or any other mod installed (i.e. Humanoid Alien Races)

This does not happen when I do not have HugsLib but another mod installed (i.e. HAR (can't exactly access mod options without a mod after all)).

Point is, this happens regardless of whether I have another mod other than Hugslib installed or not. Tested with hHgsLib, HugsLib & HAR, and just HAR. Tested on a completely blank slate game with manual install from GOG and removed localLow files, but it is the same with my Steam install with cluttered game files.

Here's the first of the repeated errors:
QuoteMouse position stack is not empty. There were more calls to BeginScrollView than EndScrollView. Fixing.
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.Widgets:EnsureMousePositionStackEmpty ()
(wrapper dynamic-method) Verse.Root:Verse.Root.Update_Patch1 (Verse.Root)
Verse.Root_Entry:Update ()
Here's the second of the repeated errors:
QuoteException filling window for RimWorld.Dialog_Options: System.NullReferenceException: Object reference not set to an instance of an object
  at (wrapper dynamic-method) RimWorld.Dialog_Options.RimWorld.Dialog_Options.DoModOptions_Patch0(RimWorld.Dialog_Options,Verse.Listing_Standard)
  at RimWorld.Dialog_Options.DoOptions (Verse.OptionCategoryDef category, UnityEngine.Rect inRect) [0x0011c] in <3f18ad3e53b3425f9e38babcac471e1f>:0
  at RimWorld.Dialog_Options.DoWindowContents (UnityEngine.Rect inRect) [0x000d5] in <3f18ad3e53b3425f9e38babcac471e1f>:0
  at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001d3] in <3f18ad3e53b3425f9e38babcac471e1f>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.Window:InnerWindowOnGUI (int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)

Here is the pastebin to the full debug log.

Here is the pastebin to the player log.

Here is the pastebin to the "spotted mods" file.

Maybe it's some weird thing with my own computer only, but I don't have the chance to try another computer at this time. If there's any information I left out that you need please let me know. Not being able to use the mod option's search bar isn't a huge issue but I been dealing with it for a long time and I figured it might have other underlying issues as well.

UnlimitedHugs

#421
Updated to 11.0.3

Updated for Rimworld 1.5
- Added mod icon
- Fixed log publisher
HugsLib - AllowTool - Remote Tech - Map Reroll - Defensive Positions: Github, Steam

Absurdides

Hi Hugs,

I've been unable to load Hugslib successfully since the 1.5 announcement (and I assume there was an accompanying patch, since it was that day this all started).

With a clean mod list except for Harmony & HugsLib (plus Royalty, Ideology, Biotech) I get the following error, which I'll put into a paste.

https://pastebin.com/LYywhahW

I've tried this same clean configuration for every past and the unstable 1.4 versions with the same result.

Please let me know if I can provide further information to track this one down, or if somehow it appears to be operator error some how.

Thanks!

StellarHarbour

[HugsLib][warn] Exception during log publishing (gist creation): System.Exception: HTTP/1.1 400 Bad Request
  at HugsLib.Utils.HugsLibUtility+<>c__DisplayClass22_0.<AwaitUnityWebResponse>b__0 () [0x000a6] in <308e19b03826471faba4b58d6de778a2>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Warning (string)
HugsLib.Utils.ModLogger:Warning (string,object[])
HugsLib.Logs.LogPublisher:<BeginUpload>b__32_0 (System.Exception)
HugsLib.Utils.HugsLibUtility/<>c__DisplayClass22_0:<AwaitUnityWebResponse>b__0 ()
HugsLib.Utils.DoLaterScheduler:InvokeCallbacks (System.Collections.Generic.Queue`1<System.Action>)
HugsLib.Utils.DoLaterScheduler:OnUpdate ()
HugsLib.HugsLibController:OnUpdate ()
HugsLib.Patches.Root_Patch:UpdateHook ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root.Update_Patch1 (Verse.Root)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root_Play.Update_Patch0 (Verse.Root_Play)

Yekaterinna

I can generate a log at the beginning of the game but once I click on "New game", I can no longer generate a log because I get the error: HTTP 1.1 400 Bad Request.

This is a log that i generated at the beginning (i don't know if it is useful):

https://gist.github.com/HugsLibRecordKeeper/2cdd1729926229945148ff535e0b84ad

Hadley

#425
As soon as I add Hugslib I get a blackscreen and infinite load on startup. If I put HugsLib at the bottom of my Loadorder it loads into the Menu but HugsLib causes a bunch of Errors which end up in a Map-Gen Error if I try to start a Game.

The Playerlog is just a spam of the same thing over and over again.
   
    RimWorld 1.5.4081 rev738
    Save data folder overridden to C:\Users\Ben\AppData\LocalLow\Ludeon Studios\RimWorld by Ludeon Studios
    Fallback handler could not load library C:/STEAM/steamapps/common/RimWorld/RimWorldWin64_Data/Mono/data-0000000224E75850.dll
    Fallback handler could not load library C:/STEAM/steamapps/common/RimWorld/RimWorldWin64_Data/Mono/data-0000000224F9C220.dll
    [HugsLib] version 11.0.3
    NullReferenceException: Object reference not set to an instance of an object
    [Ref 43B453DE] Duplicate stacktrace, see ref for original
   
    (Filename:  Line: -1)
   
    NullReferenceException: Object reference not set to an instance of an object
    [Ref 43B453DE] Duplicate stacktrace, see ref for original
   
    (Filename:  Line: -1)

So there is some Mod that causes HugsLib to ruin everything. The thing is this shit even happens if I dont even have a Mod that requires HugsLib at all. So HugsLib interferes with Mods that dont even require it.

I did absolutely everything so far. I deleted Rimworld my Config Folder, all my Workshop Mods and re-downloaded everything. I tried the Steam and GitHub Versions of HugsLib, but no difference.

I have been modding RW since Alpha 12 and never had problems like that. All my Mods are updated for 1.5 and I only use Steam Workshop Mods so far.

Modlist:

https://rentry.co/f3yht6po

UnlimitedHugs

#426
Updated to 11.0.4

11.0.4: Minor fixes
- Restore external settings packs in mod settings
- Quickstart map generation fix
- Update Korean translation
- Update Japanese translation

Updated to 11.0.5
11.0.5: Log publisher fix
- Update expired GitHub token
HugsLib - AllowTool - Remote Tech - Map Reroll - Defensive Positions: Github, Steam

cjmk9

Good morning,

I'm one of the unfortunate souls that has an issue with Hugslib on my System. Although the issue of my game crashing/refusing to allow me to begin a colony was resolved with enabling a specific setting in windows security/firewall/defender, I've come across a new issue. This issue wasn't the one that turned me off from playing rimworld two years ago- that was the aforementioned issue.

This newly discovered issue: I cannot, without high risk of crashing (9.1/10 times) make a caravan and settle a new tile/attack another faction's settlement with hugslib active. I tested my list without hugslib and mods dependent on it active, and the function works properly. I then tested all the mods that I have that could impact world generation- none of them on their own resolved the issue. Only after I removed hugslib and mods needing it and testing in the same session up to 3 times in a row (quitting to the main menu twice) would the function work- The issue still persisted even after removing each of the potential world generation impacting needing hugslib mods. This is devastating to me. I just want to play the game I bought 6 years ago without something like this happening. In a discord server or two, I've documented my frustrations a lot, and it's cause I love this game and only began having issues with hugslib back in 2022- which is when that issue of hugslib causing (which was relentlessly tested) my game to crash on my OS/Computer began happening. I keep saying my OS since my old computer, from 2015, didn't have these issues. these issues began after I got my new laptop. One that I protect better than my old one.

For convenience, I've linked my game's hugslog: hugslog

If need be, I'll share  my OS details in a reply on request. I'll attach my my mod list too (I use RimPy and sort with RimPy). 

Please get back to me as soon as you can. I'm near my wits end. Thank you.

Modlist -

<li>brrainz.harmony</li>
<li>ludeon.rimworld</li>
<li>ludeon.rimworld.royalty</li>
<li>ludeon.rimworld.ideology</li>
<li>ludeon.rimworld.biotech</li>
<li>unlimitedhugs.hugslib</li>
<li>learntoread.please</li>
<li>mlie.allmemoriesfade</li>
<li>unlimitedhugs.allowtool</li>
<li>erdelf.humanoidalienraces</li>
<li>chjees.androids14</li>
<li>oblitus.animalslogic</li>
<li>yanzihko.ae</li>
<li>neronix17.toolbox</li>
<li>oskarpotocki.vanillafactionsexpanded.core</li>
<li>neronix17.archotech.genetics</li>
<li>fluffy.areaunlocker</li>
<li>falconne.aff</li>
<li>smashphil.vehicleframework</li>
<li>kentington.saveourship2</li>
<li>frozensnowfox.vanillabionicsexpansion</li>
<li>automatic.bionicicons</li>
<li>chippedchap.blueprinttotalstooltip</li>
<li>fluffy.blueprints</li>
<li>derekbickley.ltocolonygroupsfinal</li>
<li>crashm.colorcodedmoodbar.11</li>
<li>brrainz.cameraplus</li>
<li>void.charactereditor</li>
<li>petetimessix.compacthediffs</li>
<li>mlie.compactworktab</li>
<li>nyan.custompawngeneration</li>
<li>thesepeople.ritualattachableoutcomes</li>
<li>vanillaexpanded.vappe</li>
<li>vanillaexpanded.achievements</li>
<li>vanillaexpanded.vwe</li>
<li>vanillaexpanded.vweq</li>
<li>mlie.cyberneticwarfare</li>
<li>caesarv6.damageindicators</li>
<li>unlimitedhugs.defensivepositions</li>
<li>onyxae.dragonsdescent</li>
<li>vanillaexpanded.vgeneticse</li>
<li>hol.dragongenetics</li>
<li>roolo.dualwield</li>
<li>dubwise.dubsmintmenus</li>
<li>dubwise.dubsmintminimap</li>
<li>carnysenpai.enableoversizedweapons</li>
<li>erin.hair2</li>
<li>statistno1.evolvedorgansredux</li>
<li>kosaro.fahrenheitandcelsius</li>
<li>theeyeofbrows.fluffybreakdowns</li>
<li>m00nl1ght.geologicallandforms</li>
<li>hlx.gestaltengine</li>
<li>lts.geg</li>
<li>ancientgammoner.groundtargeter</li>
<li>smuffle.harvestorganspostmortem</li>
<li>falconne.heatmap</li>
<li>baskerville.hellsingarmsultimate</li>
<li>iworosiak.holsters</li>
<li>orion.hospitality</li>
<li>kahdeg.killfeed</li>
<li>lwm.deepstorage</li>
<li>krafs.levelup</li>
<li>haplo.miscellaneous.robots</li>
<li>avius.locks</li>
<li>zylle.mapdesigner</li>
<li>teok25.archotechexpanded.prosthetics</li>
<li>doug.conn</li>
<li>mse2.core</li>
<li>mooloh.mythicitems</li>
<li>domi.moremedievalhelms</li>
<li>hobtook.mortaraccuracy</li>
<li>mehni.numbers</li>
<li>vanillaexpanded.vpsycastse</li>
<li>neronix17.psysight</li>
<li>ratys.rtfuse</li>
<li>ratys.rtsolarflareshield</li>
<li>rah.rvte</li>
<li>arandomkiwi.raidsforme</li>
<li>vanillaexpanded.vfea</li>
<li>vanillaexpanded.vfearchitect</li>
<li>vanillaexpanded.vfeart</li>
<li>vanillaexpanded.vfemedical</li>
<li>vanillaexpanded.vfecore</li>
<li>vanillaexpanded.vfepower</li>
<li>vanillaexpanded.vfeproduction</li>
<li>vanillaexpanded.vtexvariations</li>
<li>rebuild.cotr.doorsandcorners</li>
<li>vanillaexpanded.vcef</li>
<li>regrowth.botr.core</li>
<li>regrowth.botr.aspenforest</li>
<li>regrowth.botr.borealforestexpansion</li>
<li>regrowth.botr.temperateforestexpansion</li>
<li>resplice.xotr.charmweavers</li>
<li>mlie.realistichumansounds</li>
<li>lucifer.realisticrooms</li>
<li>cabbage.rimcities</li>
<li>jaxe.rimhud</li>
<li>sierra.rt.vanillatraitcolors</li>
<li>roolo.runandgun</li>
<li>memegoddess.searchanddestroy</li>
<li>tribeagle.simpleslaverycollars</li>
<li>petetimessix.simplesidearms</li>
<li>mlie.simplymorebridges</li>
<li>jaxe.bubbles</li>
<li>jpt.speakup</li>
<li>balistafreak.stopdropandroll</li>
<li>mlie.suprememelee</li>
<li>mlie.doomfactions</li>
<li>icc.tov.doom</li>
<li>smashphil.srtsexpanded</li>
<li>bucko.royalarsenal.buildableaerodrones</li>
<li>bucko.royalarsenal</li>
<li>bucko.royalarsenal.specialtyweapons</li>
<li>icc.tov.ra</li>
<li>ghxx.techadvancing</li>
<li>syrchalis.processor.framework</li>
<li>lifeisgame.saiyanrace</li>
<li>mlie.thewitchertrials</li>
<li>jaxe.toggleharvest</li>
<li>ushanka.biologicalwarfare</li>
<li>ushanka.glitterworlduprising</li>
<li>ushanka.luciferiumexpansion</li>
<li>vanillaexpanded.vwec</li>
<li>sari.gausssniper</li>
<li>vanillaexpanded.vaeroy</li>
<li>vanillaexpanded.vaeaccessories</li>
<li>vanillaexpanded.vbrewe</li>
<li>oskarpotocki.vfe.classical</li>
<li>vanillaexpanded.vfefarming</li>
<li>vanillaexpanded.vfesecurity</li>
<li>vanillaexpanded.vhe</li>
<li>vanillaexpanded.ideo.iconsandsymbols</li>
<li>vanillaexpanded.vmemese</li>
<li>vanillaexpanded.ideo.relicsandartifacts</li>
<li>vanillaexpanded.viesas</li>
<li>vanillaexpanded.vpersonaweaponse</li>
<li>vanillaexpanded.vpe.hemosage</li>
<li>vanillaexpanded.vpe.puppeteer</li>
<li>vanillaracesexpanded.archon</li>
<li>vanillaracesexpanded.genie</li>
<li>vanillaracesexpanded.highmate</li>
<li>vanillaracesexpanded.hussar</li>
<li>vanillaexpanded.vwel</li>
<li>oskarpotocki.vfe.pirates</li>
<li>vanillaexpanded.vwehw</li>
<li>vanillaexpanded.vweft</li>
<li>vanillaracesexpanded.insector</li>
<li>vanillaracesexpanded.lycanthrope</li>
<li>vanillaracesexpanded.phytokin</li>
<li>vanillaracesexpanded.pigskin</li>
<li>vanillaracesexpanded.sanguophage</li>
<li>vanillaracesexpanded.saurid</li>
<li>vanillaracesexpanded.waster</li>
<li>vanillaexpanded.vanillasocialinteractionsexpanded</li>
<li>vanillaexpanded.vanillatradingexpanded</li>
<li>vanillaexpanded.vanillatraitsexpanded</li>
<li>vanillaexpanded.vweg</li>
<li>vanillaexpanded.vwems</li>
<li>vanillaexpanded.vwenl</li>
<li>vanillaexpanded.vwetb</li>
<li>hlx.vanometricgenerator</li>
<li>murmur.walllight</li>
<li>aoba.warcasket</li>
<li>kompadt.warhammer.daemonette</li>
<li>jgh.robot</li>
<li>krkr.rocketman</li>
</activeMods>
<knownExpansions>
<li>ludeon.rimworld</li>
<li>ludeon.rimworld.royalty</li>
<li>ludeon.rimworld.ideology</li>
<li>ludeon.rimworld.biotech</li>