Stardew Valley
0 of 0

File information

Last updated

Original upload

Created by

Akago

Uploaded by

Akago

Virus scan

Safe to use

Tags for this mod

26 comments

  1. Soloeus
    Soloeus
    • premium
    • 2 kudos
    I would love to see this for 1.6
  2. Wagoven
    Wagoven
    • member
    • 0 kudos
    this mod still work for 1.5.6?
  3. Azraile
    Azraile
    • member
    • 0 kudos
    please make a mod like this for SVE and other mods like that so you can toggle the versions of the game you are using, or additions you have like down town zuzu   .... I don't know if that changes any pathing but it might.....
  4. geekgirl101
    geekgirl101
    • member
    • 1 kudos
    Missing path locations for 1.5.1 including Leah's paths on the east side of the beach, Sandy and Emily's paths in the Desert, and Leo's paths.
  5. geekgirl101
    geekgirl101
    • member
    • 1 kudos
    I've been getting spammed with errors in my console log about this addon whenever I enter a building on my farm, here's a link to my log parser:

    https://smapi.io/log/b74a07036b0e4c1984a69538bbfc75b2

    Basically this is the error that pops up:

    Path Display This mod failed in the Player.Warped event. Technical details: System.NullReferenceException: Object reference not set to an instance of an object.
    at PathDisplay.Components.DrawTiles.renderTiles(GameLocation l, List`1 whichchar) in C:\Users\AFRAZ\source\repos\PathDisplay\PathDisplay\Components\DrawTiles.cs:line 32
    at PathDisplay.ModEntry.playerWarped(Object sender, WarpedEventArgs e) in C:\Users\AFRAZ\source\repos\PathDisplay\PathDisplay\ModEntry.cs:line 82
    at StardewModdingAPI.Framework.Events.ManagedEvent`1.Raise(TEventArgs args, Func`2 match) in C:\source\_Stardew\SMAPI\src\SMAPI\Framework\Events\ManagedEvent.cs:line 125

    Eventually this constant spam results in the game freezing and generating a tonne of lack of memory errors.
  6. Stokestix
    Stokestix
    • member
    • 0 kudos
    If anyone doesn't want to check the pathing all the time, you can use the Non Destructive NPCs mod.
  7. malic18
    malic18
    • premium
    • 27 kudos
    Any way to make this include custom NPCs? This would be very helpful for debugging.

    EDIT: Seems like it just reads from an array of included coordinate points, and doesn't generate the coordinates based on parsing schedules in game?
    1. Pathoschild
      Pathoschild
      • premium
      • 2,790 kudos
      Yep, I think it's worth noting on the mod page that this won't reflect any custom NPC schedules or new NPCs.
    2. Akago
      Akago
      • member
      • 3 kudos
      I tried parsing the schedules at runtime, but found it takes far too long to do so. At runtime, the schedules are generated one day at a time with a list of points generated at the end of the pathing work. Basically, generate this mod at run time, as far as I can think of, you have to go through each NPCs schedule for all 112 days, have them generated, and add the paths to the array. And then you have to consider the paths change whether its raining or snowing, meaning that's 224 days of parsing per NPC.

      I did this to create the array files, and it generated around 15K files (one per day) and took about 15 minutes. I then used some python scripting to deal with overlapping points and generally compress the data as much as possible into the json files to minimize the amount of work the files need.

      With that said, if there's a lot of hoopla about custom NPCs, I might be able to add compatibility for certain mods. Or include my generation script as a utility mod and allow the arrays for custom NPCs to be added. You know, something like that.
    3. Akago
      Akago
      • member
      • 3 kudos
      Hi! <3 Uh, fangirl moment I'm a big fan of all your modding work!

      That aside, I described the method of getting the schedules at runtime that I thought of in my other reply and how it takes way too long to do it. But, I'd love to hear your thoughts as a more experienced modder of any way to do it at runtime quickly enough to be viable. That is, if you don't mind me asking.
    4. DJStarstryker
      DJStarstryker
      • member
      • 3 kudos
      I would like to request additions for Stardew Valley Expanded and Ridgeside Village. I'm running other custom NPC mods too, but those are large expansion style mods with a lot of NPCs, and have NPCs that do a lot more walking all around town. Other custom NPCs outside of those 2 mods are far easier to track and less likely to run into your chests, destroying them.
    5. Akago
      Akago
      • member
      • 3 kudos
      I can probably make that happen without much trouble. :3 I'll update soon with the new path data for those mod's NPCs and logic to only add them if those mods are included.
    6. Pathoschild
      Pathoschild
      • premium
      • 2,790 kudos
      (Sorry for the slow response! I guess there's no Nexus notification if I didn't post the original comment.)

      Each NPC has a few schedules that get reused, and we can ignore GOTO schedules (since they just redirect to a different schedule). For example, Abigail has 16 non-GOTO schedules total. So you might be able to optimize a lot by only checking those specific schedules, instead of doing it twice for each day in the year.

      But otherwise I think it'd be fine to just add a note on the mod page that it's precalculated, and not generated live.
    7. Stokestix
      Stokestix
      • member
      • 0 kudos
      I just use Non Destructive NPCs
  8. moonroses4u
    moonroses4u
    • member
    • 0 kudos
    This is exactly what I wanted to be able to start decorating around the valley! I would love to see the island be included in this but its not super necessary. It'd help to decorate with some of the island furniture outside in the [dock area] and also to know where [new npc] will be so they don't break the chest i keep trying to place... (apparently I keep placing it right in their path lol)

    I did notice when I first ran it, Smapi was caught in an error loop until i enabled all paths. It seems if it starts activated you can then turn it off and not get error messages when transitioning between maps? I'm not sure it it was that or maybe the config had just needed to generate.
    1. moonroses4u
      moonroses4u
      • member
      • 0 kudos
      Oh! figured out the error message was while entering farm buildings! Mine was basically the same Path Display error CristianZ has/had.
      There does seem to be inconsistency with indoor pathing? At least it seems the Museum/Library has the info but other 'public' spaces like the community center or saloon don't.
  9. CristianZ
    CristianZ
    • premium
    • 2 kudos
    I have many errors with this mod.

    Here my log: https://smapi.io/log/ee9a875da1484e24af51877207911014

  10. kaog1992
    kaog1992
    • member
    • 3 kudos
    Oye podrias agregar las rutas de los personajes de SVE?
    1. Akago
      Akago
      • member
      • 3 kudos
      As an English only speaker, I hope Google translate did you justice. But yes, I intend to add SVE characters soon.