mouseypounds / stardew-predictor Goto Github PK
View Code? Open in Web Editor NEWPredictions of not very random events in Stardew Valley
License: MIT License
Predictions of not very random events in Stardew Valley
License: MIT License
Requesting a checkbox or somesuch to display travelling merchant stock for all days of the week. Useful for mods that change travelling merchant appearance rate without significantly changing inventory generation, such as Archipelago.
We need an update to version 1.6
Some predictions can only be made using a random seed, which can be set at the beginning of the game. I wonder if it is possible to find a specific seed to meet certain requirements. Could I input some conditions and have the program generate a corresponding random seed?
Is it possible to write this program by modifying part of your code? If so, where should I begin?
I am opening mystery boxes today for the first time after getting all mastery perks, and I am finding that the predictions for the Mystery Boxes (but specifically not the Golden Mystery Boxes) are inaccurate.
When I open a Golden Mystery Box, what I get matches the "Golden Mystery Box With Farming Mastery Perk" column in the predictor. However, when I open a regular Mystery Box, the result does not match the prediction in the "Mystery Box" column in the predictor.
Without any knowledge of the game's code, my naive assumption would be that the farming mastery perk also changes the drop pool for regular mystery boxes. I've attached my save file in case that makes diagnosis easier.
Up until recently only the trash can predictor was failing to predict accurately what was rewarded from trash cans, but since 1.5 everything is failing to predict accurately what's going to be rewarded.
For step 25 in the geode predictor a normal geode was supposed to give 5 copper ore, instead I got a jagoite. None of the other items came out as expected either.
The mine chest predictor predicted on floor 90 I'd get a bone sword, instead I got an obsidian sword.
Floor 96 was predicted on Spring 18 to have a monster infestation, instead it was on floor 91.
Geodes arent giving the correct items shown in the predictor and I believe because mystery boxes and geodes are dependent on each other.
Ench. number shows NaN, and every other variable field shows undefined. Probably because my save hasn't enchanted yet, and it shows "Times enchanted: undefined" in save info. (My save is up to date.)
User670_253254655.zip
Thanks a lot for your app @MouseyPounds, it's really handy!
I was wondering how the daily luck (as reported by the fortune teller on TV) is calculated. Is the calculation made at runtime (without any way to guess it) or is it using a predefined seed passed to a random()
function?
Put simply, my question is: Would it be technically possible to have a calendar (as for the mines or train) on stardew-predictor with the Daily Luck for a given day?
Thanks!
I notice that you have resort visitors in the file but aren't displaying it.
I was looking into it and noticed that the code you have doesn't match that produced by ILSpy.
You have:
1.21*save.gameID + 2.5*(day + save.dayAdjust)
As the seed for the random number generator, but the code produced by ILSpy converts these both to integers before combining them, which produces a different result.
Could that be the cause of why it appears so random?
I'm wondering if the Wednesday re-runs of The Queen of Sauce can be predicted.
From the wiki:
On Wednesday, a random recipe that has aired on a Sunday in the past airs as a "Re-run". During reruns, recipes which are not known to all players are prioritized.
I couldn't find good info on how the reroll and prioritization work. However, someone hypothesized that the recipe rerolls every Sunday.
If it is possible to predict it, it would be nice to include this in the predictor.
It's possible for geodes to contain useful items such as prismatic shards and iridium ore. It'd be very useful if these were highlighted, so it's harder to miss these.
I think 176 should be a white egg?
stardew-predictor/stardew-predictor.js
Line 1199 in ae37d36
Heyo, I dunno if this is the right place for these issues, but this is what I get when I put my save file in the predictor:
Im on the latest version of STV and have no mods installed.
Save Parse Error
The app was unable to process the save file. This is most likely a bug with the app, so please let the dev know about it. Details below.
TypeError: save.objects[fallbackList[roll]] is undefined
predictTrash@https://mouseypounds.github.io/stardew-predictor/stardew-predictor.js?v=5.0.6:4420:29
updateTab@https://mouseypounds.github.io/stardew-predictor/stardew-predictor.js?v=5.0.6:9039:13
window.onload/updateOutput/<@https://mouseypounds.github.io/stardew-predictor/stardew-predictor.js?v=5.0.6:9085:57
each@https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js:2:2715
each@https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js:2:1003
updateOutput@https://mouseypounds.github.io/stardew-predictor/stardew-predictor.js?v=5.0.6:9085:30
window.onload/handleFileSelect/reader.onload@https://mouseypounds.github.io/stardew-predictor/stardew-predictor.js?v=5.0.6:9120:16
Hey, everyone. I'm playing version 1.6.4, and the weather prediction is not giving the right results. I was expecting rain in Spring 3, but it only happened in the next day (Spring 4). I'm in Year 2.
Also, the geodes and mystery boxes prediction is all messed up. Racoon, winter star and travelling cart look fine.
Here are some screenshots:
This is my game screen.
This is the weather prediction screen.
My save file is Jequitibárei_371499671
. Not sure if you need some other info besides these... tell me if I can help with something else, please.
Thanks in advance =)
Error output as follows:
Save Parse Error
The app was unable to process the save file. This is most likely a bug with the app, so please let the dev know about it. Details below.
TypeError: Cannot read properties of null (reading 'times')
TypeError: Cannot read properties of null (reading 'times')
at predictMineChests (https://mouseypounds.github.io/stardew-predictor/stardew-predictor.js?v=5.0.8:7626:68)
at updateTab (https://mouseypounds.github.io/stardew-predictor/stardew-predictor.js?v=5.0.8:9113:13)
at HTMLInputElement. (https://mouseypounds.github.io/stardew-predictor/stardew-predictor.js?v=5.0.8:9153:48)
at Function.each (https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js:2:2715)
at r.fn.init.each (https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js:2:1003)
at updateOutput (https://mouseypounds.github.io/stardew-predictor/stardew-predictor.js?v=5.0.8:9153:30)
at reader.onload (https://mouseypounds.github.io/stardew-predictor/stardew-predictor.js?v=5.0.8:9208:4)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.