1. This forum is archived for reference. For support & bug reports visit the help section of forums.stardewvalley.net

Bug/Issue Multiple Sprites of the Same Villagers

Discussion in 'Support' started by Endorenna, May 1, 2017.

  1. Endorenna

    Endorenna Seal Broken

    So, I just recently installed several mods and started playing Stardew Valley again. Something weird started happening, but I'm not entirely sure when. There are multiple sprites of some of the villagers. So, Linus will be walking on his path, with another Linus in him or right behind him, sometimes colliding and stopping him. Based on the Social screen, there are 3 Jodis, 2 Linuses, 2 Elliots, 2 Leahs, 2 Evelyns, and 2 Clints.

    Here are the mods I have installed. Is this a known issue/interaction with some of them? Thanks!

    -!EntoaroxFramework (one version behind since the newest one crashed the game)
    -AdvancedLocationLoader (Extended Cellars is loaded in here)
    -AutoGate
    -Automate
    -AutoSpeed
    -BetterRanching
    -Billboard_Anywhere
    -CasksAnywhere
    -ChefsCloset
    -ChestsAnywhere
    -CookingSkill
    -DailyQuest_Anywhere
    -FurnitureAnywhere
    -ImprovedQualityofLife (not functioning for some reason)
    -LovedLabels
    -LuckSkill
    -More Artifact Spots
    -NoSoilDecayRedux
    -NPCMapLocations
    -RocsReseedMod
    -Save_Anywhere
    -SB-PotC (Part of the Community)
    -SkipIntro
    -SkullCavernElevator
    -SMAPISprinklerMod

    Edit: Forgot to list Ace's Expanded Farms mod and Bundle Overhaul.
     
      Last edited: May 1, 2017
    • MysticTempest

      MysticTempest Spaceman Spiff

      Back in v1.1 people would occasionally have spouses duplicate.
      But, I've never seen/heard of multiple NPC duplications. Possibly an incompatible mod generating new npc data, or just a new bug in v1.2 people haven't come across yet.
      Either way; if you'd like to zip your save and upload it here. I can go ahead, and remove the cloned villagers for you.
       
      • Endorenna

        Endorenna Seal Broken

        Fantastic, thank you! Sorry about the delay - my computer recently died, so I'm on a new one, and it took me a while to find the savegame location because I didn't realize the Appdata folder was hidden still. Whoops. Anyway, here it is.

        Edit: Also, if you could say, I'd love to know how to fix that issue myself, just in case more duplicate sprites pop up.
         

          Attached Files:

          Last edited: May 1, 2017
        • MysticTempest

          MysticTempest Spaceman Spiff

          No worries; also, yea that was my bad. Forgot to post the locations of the saves; I do it here & there but not consistently.

          Anyway, I took a look. Going off of your report on who was duplicated. I deleted all the clones that you reported. So, you should be free of the duplicates now.
          It's possible they could come back if it really is one of those mods. If they do, you can use this clean version to test your mods incrementally.
          But yea, let me know if you have any other issues.
           

            Attached Files:

            luvimelda likes this.
          • Endorenna

            Endorenna Seal Broken

            Well... now it's doing something else strange. When I try to load my save, instead of loading the save, it loops to the beginning of the intro from when you open the game (the Chucklefish logo, etc.). I tried restoring my old save, but it still seems to be doing the same thing. o_0

            Edit: And I'm an idiot, that was an easy fix.

            But, anyways. Turns out there are also two Jases. I'm not sure if that's new or if I didn't notice before. At any rate, if you could explain how you made all the others go to just one sprite instead of multiples, in case this keeps happening, that would be fantastic, and much appreciated! :) Thank you so much for your help already!
             
              Last edited: May 1, 2017
            • MysticTempest

              MysticTempest Spaceman Spiff

              Ah okay, well basically there's some NPC data for each character. They're located under each game location in your save. One location might be the Seed Shop, another might be Haley's House.

              Since Jas needs to be removed. The example below is of Marnie's Ranch.

              Code:
              <GameLocation>
                <characters>
                <NPC>
                <name>Jas</name>
                <isEmoting>false</isEmoting>
                <isCharging>false</isCharging>
                <willDestroyObjectsUnderfoot>true</willDestroyObjectsUnderfoot>
                <isGlowing>false</isGlowing>
                <coloredBorder>false</coloredBorder>
                <flip>false</flip>
                <drawOnTop>false</drawOnTop>
                <faceTowardFarmer>false</faceTowardFarmer>
                <faceAwayFromFarmer>false</faceAwayFromFarmer>
                <ignoreMovementAnimation>false</ignoreMovementAnimation>
                <scale>1</scale>
                <timeBeforeAIMovementAgain>0</timeBeforeAIMovementAgain>
                <glowingTransparency>0</glowingTransparency>
                <glowRate>0</glowRate>
                <Position>
                <X>256</X>
                <Y>384</Y>
                </Position>
                <Speed>2</Speed>
                <IsEmoting>false</IsEmoting>
                <CurrentEmote>32</CurrentEmote>
                <defaultMap>AnimalShop</defaultMap>
                <loveInterest>Vincent</loveInterest>
                <birthday_Season>summer</birthday_Season>
                <age>2</age>
                <manners>0</manners>
                <socialAnxiety>1</socialAnxiety>
                <optimism>0</optimism>
                <gender>1</gender>
                <id>12</id>
                <homeRegion>2</homeRegion>
                <daysUntilBirthing>-1</daysUntilBirthing>
                <daysAfterLastBirth>-1</daysAfterLastBirth>
                <birthday_Day>4</birthday_Day>
                <moveTowardPlayerThreshold>0</moveTowardPlayerThreshold>
                <isInvisible>false</isInvisible>
                <followSchedule>true</followSchedule>
                <datable>false</datable>
                <datingFarmer>false</datingFarmer>
                <divorcedFromFarmer>false</divorcedFromFarmer>
                <daysMarried>0</daysMarried>
                <DefaultFacingDirection>2</DefaultFacingDirection>
                <DefaultMap>AnimalShop</DefaultMap>
                <DefaultPosition>
                <X>256</X>
                <Y>384</Y>
                </DefaultPosition>
                <IsWalkingInSquare>false</IsWalkingInSquare>
                <IsWalkingTowardPlayer>false</IsWalkingTowardPlayer>
                </NPC>
                <NPC>
                <name>Jas</name>
                <isEmoting>false</isEmoting>
                <isCharging>false</isCharging>
                <willDestroyObjectsUnderfoot>true</willDestroyObjectsUnderfoot>
                <isGlowing>false</isGlowing>
                <coloredBorder>false</coloredBorder>
                <flip>false</flip>
                <drawOnTop>false</drawOnTop>
                <faceTowardFarmer>false</faceTowardFarmer>
                <faceAwayFromFarmer>false</faceAwayFromFarmer>
                <ignoreMovementAnimation>false</ignoreMovementAnimation>
                <scale>1</scale>
                <timeBeforeAIMovementAgain>0</timeBeforeAIMovementAgain>
                <glowingTransparency>0</glowingTransparency>
                <glowRate>0</glowRate>
                <Position>
                <X>256</X>
                <Y>384</Y>
                </Position>
                <Speed>2</Speed>
                <IsEmoting>false</IsEmoting>
                <CurrentEmote>12</CurrentEmote>
                <defaultMap>AnimalShop</defaultMap>
                <loveInterest>Vincent</loveInterest>
                <birthday_Season>summer</birthday_Season>
                <age>2</age>
                <manners>0</manners>
                <socialAnxiety>1</socialAnxiety>
                <optimism>0</optimism>
                <gender>1</gender>
                <id>12</id>
                <homeRegion>2</homeRegion>
                <daysUntilBirthing>-1</daysUntilBirthing>
                <daysAfterLastBirth>-1</daysAfterLastBirth>
                <birthday_Day>4</birthday_Day>
                <moveTowardPlayerThreshold>0</moveTowardPlayerThreshold>
                <isInvisible>false</isInvisible>
                <followSchedule>true</followSchedule>
                <datable>false</datable>
                <datingFarmer>false</datingFarmer>
                <divorcedFromFarmer>false</divorcedFromFarmer>
                <daysMarried>0</daysMarried>
                <DefaultFacingDirection>0</DefaultFacingDirection>
                <DefaultMap>AnimalShop</DefaultMap>
                <DefaultPosition>
                <X>256</X>
                <Y>384</Y>
                </DefaultPosition>
                <IsWalkingInSquare>false</IsWalkingInSquare>
                <IsWalkingTowardPlayer>false</IsWalkingTowardPlayer>
                </NPC>
                <NPC>
                <name>Marnie</name>
                <isEmoting>false</isEmoting>
                <isCharging>false</isCharging>
                <willDestroyObjectsUnderfoot>true</willDestroyObjectsUnderfoot>
                <isGlowing>false</isGlowing>
                <coloredBorder>false</coloredBorder>
                <flip>false</flip>
                <drawOnTop>false</drawOnTop>
                <faceTowardFarmer>false</faceTowardFarmer>
                <faceAwayFromFarmer>false</faceAwayFromFarmer>
                <ignoreMovementAnimation>false</ignoreMovementAnimation>
                <scale>1</scale>
                <timeBeforeAIMovementAgain>0</timeBeforeAIMovementAgain>
                <glowingTransparency>0</glowingTransparency>
                <glowRate>0</glowRate>
                <Position>
                <X>768</X>
                <Y>896</Y>
                </Position>
                <Speed>2</Speed>
                <IsEmoting>false</IsEmoting>
                <CurrentEmote>8</CurrentEmote>
                <defaultMap>AnimalShop</defaultMap>
                <loveInterest>Lewis</loveInterest>
                <birthday_Season>fall</birthday_Season>
                <age>0</age>
                <manners>1</manners>
                <socialAnxiety>0</socialAnxiety>
                <optimism>0</optimism>
                <gender>1</gender>
                <id>20</id>
                <homeRegion>2</homeRegion>
                <daysUntilBirthing>-1</daysUntilBirthing>
                <daysAfterLastBirth>-1</daysAfterLastBirth>
                <birthday_Day>18</birthday_Day>
                <moveTowardPlayerThreshold>0</moveTowardPlayerThreshold>
                <isInvisible>false</isInvisible>
                <followSchedule>true</followSchedule>
                <datable>false</datable>
                <datingFarmer>false</datingFarmer>
                <divorcedFromFarmer>false</divorcedFromFarmer>
                <daysMarried>0</daysMarried>
                <DefaultFacingDirection>2</DefaultFacingDirection>
                <DefaultMap>AnimalShop</DefaultMap>
                <DefaultPosition>
                <X>768</X>
                <Y>896</Y>
                </DefaultPosition>
                <IsWalkingInSquare>false</IsWalkingInSquare>
                <IsWalkingTowardPlayer>false</IsWalkingTowardPlayer>
                </NPC>
                <NPC>
                <name>Shane</name>
                <isEmoting>false</isEmoting>
                <isCharging>false</isCharging>
                <willDestroyObjectsUnderfoot>true</willDestroyObjectsUnderfoot>
                <isGlowing>false</isGlowing>
                <coloredBorder>false</coloredBorder>
                <flip>false</flip>
                <drawOnTop>false</drawOnTop>
                <faceTowardFarmer>false</faceTowardFarmer>
                <faceAwayFromFarmer>false</faceAwayFromFarmer>
                <ignoreMovementAnimation>false</ignoreMovementAnimation>
                <scale>1</scale>
                <timeBeforeAIMovementAgain>0</timeBeforeAIMovementAgain>
                <glowingTransparency>0</glowingTransparency>
                <glowRate>0</glowRate>
                <Position>
                <X>1600</X>
                <Y>384</Y>
                </Position>
                <Speed>2</Speed>
                <IsEmoting>false</IsEmoting>
                <CurrentEmote>40</CurrentEmote>
                <defaultMap>AnimalShop</defaultMap>
                <loveInterest>null</loveInterest>
                <birthday_Season>spring</birthday_Season>
                <age>0</age>
                <manners>2</manners>
                <socialAnxiety>1</socialAnxiety>
                <optimism>1</optimism>
                <gender>0</gender>
                <id>28</id>
                <homeRegion>2</homeRegion>
                <daysUntilBirthing>-1</daysUntilBirthing>
                <daysAfterLastBirth>-1</daysAfterLastBirth>
                <birthday_Day>20</birthday_Day>
                <moveTowardPlayerThreshold>0</moveTowardPlayerThreshold>
                <isInvisible>false</isInvisible>
                <followSchedule>true</followSchedule>
                <datable>true</datable>
                <datingFarmer>false</datingFarmer>
                <divorcedFromFarmer>false</divorcedFromFarmer>
                <daysMarried>0</daysMarried>
                <DefaultFacingDirection>3</DefaultFacingDirection>
                <DefaultMap>AnimalShop</DefaultMap>
                <DefaultPosition>
                <X>1600</X>
                <Y>384</Y>
                </DefaultPosition>
                <IsWalkingInSquare>false</IsWalkingInSquare>
                <IsWalkingTowardPlayer>false</IsWalkingTowardPlayer>
                </NPC>
                </characters>
                <objects>
                <item>
                <key>
                <Vector2>
                <X>13</X>
                <Y>7</Y>
                </Vector2>
                </key>
                <value>
                <Object>
                <specialVariable>0</specialVariable>
                <category>0</category>
                <specialItem>false</specialItem>
                <hasBeenInInventory>false</hasBeenInInventory>
                <DisplayName>Lucky Purple Shorts</DisplayName>
                <Stack>1</Stack>
                <tileLocation>
                <X>13</X>
                <Y>7</Y>
                </tileLocation>
                <parentSheetIndex>789</parentSheetIndex>
                <owner>0</owner>
                <name>Lucky Purple Shorts</name>
                <type>Quest</type>
                <canBeSetDown>true</canBeSetDown>
                <canBeGrabbed>true</canBeGrabbed>
                <isHoedirt>false</isHoedirt>
                <isSpawnedObject>true</isSpawnedObject>
                <questItem>true</questItem>
                <isOn>true</isOn>
                <fragility>0</fragility>
                <price>0</price>
                <edibility>-300</edibility>
                <stack>1</stack>
                <quality>0</quality>
                <bigCraftable>false</bigCraftable>
                <setOutdoors>false</setOutdoors>
                <setIndoors>false</setIndoors>
                <readyForHarvest>false</readyForHarvest>
                <showNextIndex>false</showNextIndex>
                <flipped>false</flipped>
                <hasBeenPickedUpByFarmer>false</hasBeenPickedUpByFarmer>
                <isRecipe>false</isRecipe>
                <isLamp>false</isLamp>
                <minutesUntilReady>0</minutesUntilReady>
                <boundingBox>
                <X>832</X>
                <Y>448</Y>
                <Width>64</Width>
                <Height>64</Height>
                <Location>
                <X>832</X>
                <Y>448</Y>
                </Location>
                </boundingBox>
                <scale>
                <X>0</X>
                <Y>0</Y>
                </scale>
                <preserve xsi:nil="true" />
                <preservedParentSheetIndex>0</preservedParentSheetIndex>
                <honeyType xsi:nil="true" />
                </Object>
                </value>
                </item>
                </objects>
                <largeTerrainFeatures />
                <terrainFeatures />
                <debris />
                <name>AnimalShop</name>
                <waterColor>
                <R>127</R>
                <G>65</G>
                <B>100</B>
                <A>127</A>
                <PackedValue>2137276799</PackedValue>
                </waterColor>
                <isFarm>false</isFarm>
                <isOutdoors>false</isOutdoors>
                <isStructure>false</isStructure>
                <ignoreDebrisWeather>false</ignoreDebrisWeather>
                <ignoreOutdoorLighting>false</ignoreOutdoorLighting>
                <ignoreLights>false</ignoreLights>
                <treatAsOutdoors>false</treatAsOutdoors>
                <numberOfSpawnedObjectsOnMap>0</numberOfSpawnedObjectsOnMap>
                </GameLocation>
              


              If you're on Windows grab.
              Notepad++ and Pretty Printer XML Plugin: https://notepad-plus-plus.org/
              Here's a guide I found: http://www.herongyang.com/XML/NPP-XML-Tools-Plugin-Download-and-Install.html

              Edit:
              I'm on Linux so I use Geany: https://www.geany.org/
              And, it's cross-platform on the offchance you use OSX. It also has the Pretty Printer XML plugin. Since both editors are based on similar code.


              They really help make the text easier to read. But, you could use a text editor.
              Backup your saves, always. Then proceed to edit.

              Open the "farmername_#####" file.
              Search for the NPC in question. Til you find text that looks similar to the above code section I hid in the spoiler.
              Then deleting duplicate Jas, or anothe NPC is easy. Start at the <NPC> tag, down to the </NPC> tag. And, leave the other one alone.
              Code:
              <NPC>
              <name>Jas</name>
              The rest of Jas' code here
              </NPC>
              
              Then save, and you should be good to go.
               
                Last edited: May 1, 2017
              • Endorenna

                Endorenna Seal Broken

                Fantastic! I downloaded Notepad++ and deleted Jas #2 with no problem. Thanks so much for your help, again, and for teaching me how to do a bit of editing like that. I've never needed to mess with it before. :)
                 
                • MysticTempest

                  MysticTempest Spaceman Spiff

                  Nice work!
                  And yea, no prob! Glad I could help out. ^-^
                   
                  • Endorenna

                    Endorenna Seal Broken

                    Just as an FYI in case anyone else sees this topic and has the same problem, I AM continuing to get multiple sprites spawning occasionally of various characters (Pierre, Linus again, Penny, etc.). I still haven't determined the cause, unfortunately.
                     

                    Share This Page