branchwiseguys/main/Server save & loadcancel

70 Commits over 30 Days - 0.10cph!

8 Years Ago
Some small initial work as I learn about the save system.
8 Years Ago
Separate save system, make it a static class. Add console command for setting autosave value.
8 Years Ago
Merging in the latest from Main.
8 Years Ago
Minor edits
8 Years Ago
Merge vehicle fixes from trunk.
8 Years Ago
Minor edit.
8 Years Ago
- Control whether server loads saves or not in editor mode, via WiseGuysTools. - Allow NPCManager and VehicleManager to base their init actions on whether the level is new or loaded from a save. - Let vehicles save.
8 Years Ago
Moving client-only deserialize methods into client+server space, to handle level load deserialization on server. Lots of compilation errors right now.
8 Years Ago
All compiler errors fixed, actually running it still broken.
8 Years Ago
Fixed errors that were preventing correct startup. Probably still super buggy but everything spawns now.
8 Years Ago
Added a game stats printout to aid in comparing save/load.
8 Years Ago
Bug fixing
8 Years Ago
Allowing deserialize before init on ActiveItemController
8 Years Ago
Definitely shouldn't be needed. All the code in NetworkEntity.Initialize() has been called earlier when loading.
8 Years Ago
Adding safeguards, notes etc
8 Years Ago
Cleaner initialize path. Tackling Load next.
8 Years Ago
Switched load order to call init methods before deserialize. Some other work on Load.
8 Years Ago
Added entity sorting to put parents always before children on load.
8 Years Ago
Multiple sorting masses, gets it working every time.
8 Years Ago
Big mess currently, but working on getting everything to init in a sane, working order, or at least warn me if it isn't.
8 Years Ago
Switched deserialize to come first. Making it work. Actually going OK.
8 Years Ago
Save/Load work. ActiveItemController using my more standard deserialize delay system.
8 Years Ago
HeldItems should NOT be saved, since they're created with new IDs every time they're held
8 Years Ago
Don't get duplicate group IDs when near the edge of the world.
8 Years Ago
Various work on loading
8 Years Ago
NetworkPlayers get saved, and parented correctly from load.
8 Years Ago
Got save backups working correctly
8 Years Ago
Server load commandline flag, and save/load console commands.
8 Years Ago
Prevent loading saves while players are connected
8 Years Ago
Various loading work. Save/load of players in vehicles now handled OK, with One Weird Bug left to fix.
8 Years Ago
Fixed inventory sync from save.
8 Years Ago
Went through all Deserialize calls, making sure things look OK for Load. Also a few warnings cleared.
8 Years Ago
Fixed capacity check bug
8 Years Ago
Getting init+load order working correctly in all situations: Server load, client join, client join while another client is in a vehicle, server save/load while clients are in vehicles. Hopefully all are good now. Plus some minor fixes.
8 Years Ago
Fixing init order in CLIENT+SERVER mode
8 Years Ago
Fixing double EntityBehaviour serialize on server. Whole process might need a bit of a cleanup
8 Years Ago
Better fix
8 Years Ago
Merging in the latest from Main.
8 Years Ago
Merge adjustment
8 Years Ago
Changed initial spawn skip to work with loaded saves
8 Years Ago
Stop setting stuff twice, NPCs stop complaining. Deleted orphaned meta files.
8 Years Ago
Removed ability to load saves anytime since it was broken. Easier to just allow loading saves on startup.
8 Years Ago
WiseGuys tools GUI edit
8 Years Ago
Minor text edit
8 Years Ago
Existing entities in scenes now show up on clients again
8 Years Ago
Fixed door animations + simplified code
8 Years Ago
Allow selling more drugs during JustBoughtItem state, so you can do rapid-fire sales. Less getting shot during shady double sales if you're quick.
8 Years Ago
Fixed double init on NetworkSimulator. Removed unnecessary warning.
8 Years Ago
Now generating the city before spawning in entities. Makes sure NPCs can start on a NavMesh in particular.
8 Years Ago
Removed load option in console since loading is only allowed on startup now