ReubenW / Narrative

Repo for the Narrative Quest and Dialogue editor, current just used for tracking issues.
2 stars 0 forks source link

In networked game, saved games don't preserve quest progress. #4

Closed ennorehling closed 2 years ago

ennorehling commented 2 years ago

To make this problem easy to reproduce, I built the following "minimal" project:

I added Narrative to the Third Person template, and implemented an NPC with the same behavior as Manny from the Stack-O-Bot example video (pick up 3 rocks, return them), with a few minor changes: Auto-saving is disabled, and so is save on exit. Instead, F2 will Save the game, and F3 will load it, for more control over when saving and loading happens. Saving and Loading only executes on the server, and I am playing in networked mode (Net Mode -> Play As Client).

This UE5 project can be downloaded at https://drive.google.com/file/d/1rr_yG_GdWWo64FP1LswLaia6P2TJYZ7W/view?usp=sharing

To reproduce the bug:

ReubenW commented 2 years ago

The save system is currently only supported for single player games, but I would love to have it supported in networked games, especially as it seems like the system almost works in multiplayer already (just seems like quantities aren't correctly replicated?) I'm closing this for now but rest assured I will be looking into adding multiplayer save game support in the future.

EDIT: This has been added now and is slated for the next release!