Kingdoms and Castles
Kingdoms and Castles Multiplayer
Εμφάνιση 1-8 από 8 καταχωρίσεις
Ενημέρωση: 24 Απρ 2024 στις 4:05
από Shadowfita

Fix time speed hotkeys in single player

Ενημέρωση: 24 Απρ 2024 στις 3:55
από Shadowfita

Fix mass lag experienced in single player

Ενημέρωση: 14 Απρ 2024 στις 1:45
από Shadowfita

Upload from workshop UI

Ενημέρωση: 14 Απρ 2024 στις 0:31
από Shadowfita

Kingdoms and Castles Multiplayer Mod Update v0.2: "Saving and Loading"

Hey @everyone,

Exciting news - version 0.2 of the Kingdoms and Castles multiplayer mod, "Saving and Loading", is now out! Here's the rundown on the latest additions and fixes:

# What’s New

## Saving and Loading Multiplayer Sessions

The most anticipated feature so far, saving and loading, is finally here. It's taken much longer than anticipated to get this update out, as many of you know. This is due to a number of various reasons.

One of the major blockers being that the Kingdoms and Castles mod support implementation completely blocks mods from accessing the System.IO namespace, which is required to be able to read files (in this case, save file data). Now, this is a totally reasonable security measure, and I completely understand why it's in place. It has unfortunately however contributed to the delay. I've figured out a bit of a silly workaround that does the job.

## Random or Manual Keep Placement

Server hosts now have the option to choose between "random" or "manual" keep placements. If set to random, the server will automatically choose a landmass for each player, and place everyones keep at random to their assigned landmass with at least one stone nearby.

## Villager Synchronisation First Pass

Part of the saving and loading issue was my lack of villager synchronisation. I've done a first pass on this so that saving and loading works, with the intention to improve on this down the track.

## Networking Improvements

To support complex state synchronisation I've begun creating and implementing "observers". These observers attach to an object that is to have it's state synchronised (i.e., buildings, dragons, villagers) and *observes* (clever, I know ;) ) the state, and only sends updates over the network if there is a change. This will reduce network spam that is currently occurring in v0.1, and improve stability and scalability down the road.

# Bug Fixes

## Game Speed Softlock

Fixed the bug where changing game speeds could freeze the game.

## Server Lobby Disconnects and Rejoining Bugs

Fixed the issues experienced when leaving a server lobby and attempting to join another

## Server Lobby Player Duplication

Fixed the issue causing duplicate players in lobbies

## Overlapping Menus

Resolved the issues with the mod UI overlapping with the original game UI

## Improved Server Connection UI Feedback

Implemented a modal system for most (if not all) server / client network events, with appropriate notifications.

# Didn't make the cut (Expected in v0.2.x update)

## Fog of war toggling

Unfortunately due to all of the issues I experienced, I didn't get time to focus on this feature, and it will not available in the first 0.2 release.

## Mac OS Support

Issue seems to be with the mod-support, unsure at this time, but plan to fix for a 0.2.x release.

# Known Issues

## Resource Desync

Players may notice a slight resource desync between sessions when saving and loading. This will be fixed in a 0.2.x update.

## Kingdom Names Desync

Minor issue that shouldn't effect anything at this time. Will fix in a 0.2.x update.

## Building demolishing not syncing

## Disasters (such as fire, lightning) not syncing

A huge shoutout to my Patreon supporters.

Partners: @coolfish308, @usagi
Supporters: @disc or d, @johog, @doran, @immortal

Your support means the world, and it's what keeps this project alive and kicking. If you enjoy the mod, please consider supporting!

Thanks to everyone who’s been part of this (long :eyes: ) journey so far. Your feedback, support, and enthusiasm are what make this all worthwhile.

Excited to see you all in the game.

Ενημέρωση: 20 Φεβ 2024 στις 1:13
από Shadowfita

Steamworks multiplayer implementation!! No longer need to port forward to host for your friends. Also steam friends invites now work.

Ενημέρωση: 18 Φεβ 2024 στις 23:27
από Shadowfita

Implemented server handshake and provided user feedback to server connection state.

Ενημέρωση: 17 Φεβ 2024 στις 22:33
από Shadowfita

v0.1 first release *extremely unfinished buggy as hell*

Ενημέρωση: 4 Δεκ 2023 στις 23:32
από Shadowfita

Upload from workshop UI