-
Notifications
You must be signed in to change notification settings - Fork 105
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
Valkyrie hangs at "EndRound" #846
Comments
Sounds more like a strain on Valkyrie! Is it possible to nest some of your events? Or is it possible that they could all take place at the end of the round? I guess what I'm imagining is something like an index pointer that runs at the end of the round and can have branches out after doing some test checks. Then if it runs an event, that event can change the variable and feed it back to the tree making an in-cursive loop to run multiple events. |
Haha yeah I have been flogging poor Valkyrie with this one. I did think of that, I use incursive loops alot throughout the scenario. Check the journal/rb_item QItems if you want to see how mad I went. Some of the EndRound events are loops within themselves. I'll have a think of the best way to do it, but I think you're right. Cheers for the assist. For now I've put a UI elements splash screen at the start of the round, this stops the double end turn press for now. |
I've consolidated those events into one end round event, but it hasn't really helped. EDIT:
Got to a PC and worked it out - "trigger=End Round" in the events.ini. Turns out there is only one other EndRound Event. Edit2: I now think it could be a rogue startround event, but I thought I only had two of those! I suspect that I have a broken evebt loop somewhere and Valkyrie is running it till timeout. If I can't find it I'll turn of all Start/End/Mythos triggers, that might identify the rogue process! If not, I may have just pushed Valkyrie past its limits! Haha |
Ok I am officially at a loss. I completely disabled my massive EndRound event, thinking it might be that. But no luck. I turned off all of my StartRound, EndRound and Mythos triggered events, searched the .ini for all "Triggers" and all that are there are "Eliminated" and some "DefeatXXX". Now when I End Turn, the normal Mythos Event pops up and then it takes 5-10 seconds to proceed to the Investigator phase. Is my scenario just too big for Valkyrie? Any help on this would be greatly appriciated. I am Stumped. Is there any way to get a realtime log of what Valkyrie is doing so I can work out whats causing this issue? |
Not likely to be based on file size. More likely to do with the number of elements that are displayed (tiles, tokens, UI). Hopefully some of the speed improvements will fix this. Sorry I haven't had much time lately, I will investigate when I can. |
No need to apologise @NPBruce. EDIT: I've added a loading screen that runs as the final event in the 'EndRound' chain. That is then removed in the first event of the StartRound. This way the UI element should block the player from clicking the end round arrow and gives them some information on whats going on. Edit2: I added that loading screen to lay down at the end of the mythosround, the. Remove at the start of the EndRound, then add again at the end of the EndRound events and be removed at the end of the start round. The idea being a loading screen should appear during the 'slowness' between events. The UI elements never appears. Is there a cleanup process or something Valkyrie is doing during this time? |
To be tested with the changes I did on #842. |
It's rapid! Well done |
Description of Problem or Question
My scenario has a lot of components and overlapping events.
It also makes quite extensive use of end/start rounds and Mythos triggers.
When play testing ending the round can be very slow, sometimes it can take up to 5 seconds to load and start the next phase.
While this isn't a problem when there are no monsters on the board, as the freeze happens after the Mythos event. However when you end the Horror step when monsters are present and it hangs, it's easy to think you have miss clicked the end turn and when Valkyrie catches up it will then remember your second press and end the next investor phase.
I suspect that it's due to the number of events using the 'End Round's trigger.
I've tried to name all of these events as A_EndR_*.
My other scenario Stress and Strain does it to a smaller extent, as it has fewer end round events.
Valkyrie Version
2.01
Attach Save, Quest or Scenario
https://github.com/scrubbless/ScenariosInProgress
Scenario is called 'A Strain on Reality'
The text was updated successfully, but these errors were encountered: