-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Pokemon Sw/Sh] Daily events + Pokejobs broken #2430
Comments
This effects all events that need time to pass. So in addition to the Pokejobs problem, it also effects the respawning of berries, raids and wandering Pokemon. Assumption here would be that when you start the emulator, the time of the last session is overwritten with current time. Pokemon Sword and Shield have an anti cheat mechanism so you can't skip these times with time traveling. Maybe this anti cheat is triggered here on accident |
few month later, when will it be fixed, its really not fun :/ |
Exact same issue here. Any ATA on a fix or does someone know a workaround? |
Strangely enough, last night I updated from 1.0.7082 to 1.0.7093. On doing so, when I launched I noticed it was night time in game, which seemed odd. Mostly due to me never having played at night. However, it did cause me to check my pokejobs, and lo and behold, a job that was set for 1 hour - that had been active for weeks - was complete. This clearly was not because i had been running for an hour, i had just launched the emulator after an update. It did lead me to wonder if there was something in the updates that had messed with the clock. After checking the log, i wondered if it had anything to do with the timezone implementation? Im off UTC by 1 hour, so that could be something? or maybe it was a freak action that forced it to complete? Either way, something happened in those updates that caused a 1 hour pokejob to complete. |
Nothing's changed for me. I have a 12-hour job active for months. I updated to the latest version (1.0.7096), saved my game again and reloaded the game 24 hours later. The job had still "12 hours remaining". |
still having this problem, ive been searching around and it seems that the time gets reset everytime the game is started. the only fix people have been saying will work is by having the game open for said amount of hours (not ideal for whole day jobs) |
* time: Update for 15.0.0 changes Last time we did an upgrade on the time service was during 9.x era, it was about time to take back that reverse again! 15.0.0 added a new structure on the shared memory to get steady clock raw timepoints with a granularity in nanoseconds. This commit implements this new part. I plan to write a follow up with a bit of refactoring of this ancient part of the emulator. As always, reverse and work done by your truly. PS: As a reminder, if this change is reused anywhere else, work should be credited as Ryujinx and not my person. * time: Do not set setup value to posix time This should fix local and network clock returning 0 under usage with shared memory. This probably fix #2430. * Address gdkchan's comment * Fix internal offset not working since changes and ensure that user clock have a valid clock id * time: Report auto correcting clock and hardcode steady clock unique id Fix Pokemon Sword Pokejobs for real. * Address gdkchan's comment
This change doesn't seem to fix the issue, in-game time still doesn't work |
Second that, Pokejobs stay the same. I sent a pokemon to a job with "12 hours left", saved the game, closed the emulator. After 10 hours, I loaded the save and still "12 hours left". |
Interesting: I started a new save file, played until pokejobs are unlocked and it works! So, I guess that save files, that were made before the pr was merged, are corrupted. |
I was able to fix the save file with PKHeX. The value of both of these should be 0 (A7301FBD and 33068788). I noticed this by comparing saves from the newest version of Ryujinx and the version prior to the fix. |
Thank you so much! This fixed my save file! @marysaka could this fix be implemented in Ryujinx? |
Not really as it's game specific... I did fixed that on my side by removing all pokemon from jobs and then readding them on my side. |
#4822 |
I'm still investigating, but whatever it is, I hope it can be resolved |
Is there a way to do something similar if you moved the save from yuzu to ryujinx? |
Bug Report
What's the issue you encountered?
RTC doesn't run ingame. This affects majority of time based events, berry picking, den resets and pokejobs.
Changing clock in Ryu settings doesn't fix it. Although weirdly, Weather changes happen.
How can the issue be reproduced?
Register for a pokejob in pokemon centre and wait a few hours. Check back on the job and it will still state 24 hours remaining.
Log file
No log files given as it isn't crash related.
Environment?
Additional context?
Additional info about your environment:
The text was updated successfully, but these errors were encountered: