Preview
For Steam 1.5.6, Microsoft Store 1.5.6, Epic Games Store 1.5.6, GOG 1.5.6 Protocol 123
DownloadDiscord Whitelists, Discord Status and Smoother Frames
Discord Whitelists
Servers can now let in only the members of their Discord who hold a role.
- Added signing in with Discord in the launcher's Settings: a server that asks gets your Discord account, checked by KCD:MP, never a password
- A server that refuses you says why in the launcher, before the game starts
Discord Status
Your Discord profile now shows that you play KCD:MP.
- Added a Discord status: the server you play on, where you are on the map, the players on the server and how long you have played, with buttons to the server's Discord and to the KCD:MP website for your friends
- Added "Discord status" to the launcher's Settings, on by default
Smoother Frames Around Other Players
The game runs smoother near other players and in crowded places.
- Fixed a slowdown of several milliseconds a frame near other players on PCs with antivirus software
- Fixed a short hitch every two seconds in crowded places with many items lying around
- Changed other players' movement to take a little less of each frame
- Changed the map objects a server removed to cost less of each frame near them
Anti-Cheat
Fewer false alarms about what a server's game mode gives its players.
- Fixed a false item report at every join near horses a game mode made, and a second one with many horses in view
- Fixed items taken from a chest or a body whose screen stayed open for more than five minutes being taken away again
- Fixed an item put into a chest and taken back being taken away when the game mode refilled the chest meanwhile
- Fixed items and money a game mode gives right at a spawn being reported, or made twice, when the player is dressed again at once
- Fixed the purse reading double for a moment while a player is dressed again
- Fixed a custom item picked up after its definition was removed being taken away
- Fixed experience earned just before a game mode changed the XP rate being reported
- Fixed carry-weight reports for players under a game mode's buff, right after a buff ended, and after sips from a carried jug
- Fixed a player a game mode respawned or put on a horse while they sat in a cart standing still for everyone else
- Fixed blows of server characters at a carried or knocked-out player counting toward a report
Crash Fixes
The most common crashes of the last month are fixed.
- Fixed the game closing when the map or the inventory opened while a server's camera shot was on screen
- Fixed the game closing when a server switched off a part of the map with a shop in it, such as the army camp's bathhouse, mostly right after joining
- Fixed the game closing after a weapon left your inventory while it was still in one of your other outfits' weapon sets
- Fixed the game closing when another player put away a bow they were drawing
- Fixed the game closing after travelling to another region during a server's camera shot
- Fixed the game closing when leaving a server, travelling or reconnecting with the chat on screen
- Fixed the game closing when a server's in-world screen updated while the PC was short of memory
- Fixed the game freezing again and again, until Windows closed it, on PCs where reading the map's discovered places is slow
- Changed the interface to stay in its separate drawing mode on PCs where it crashed in two versions, and to switch to it as soon as the graphics card resets
Launcher
Servers are now joined from the KCD:MP launcher only, so every player sees a server's page and its Join button before they play.
- Changed joining: a game started without the launcher, or by another program straight into a server, shows a message and closes instead of joining
- Changed a server address handed to the launcher by another program: it opens that server's page in the launcher, and Join starts the game, as a website's join link does
- Fixed a game install with missing data files closing at once without a word: the launcher now names the missing files and how to repair the game in Steam, GOG Galaxy, the Epic Games Launcher or the Xbox app
BasicRP Changes
- Added a Discord role whitelist, off as shipped: set your bot, your Discord server and the roles in the script's
DISCORD_WHITELISTtable
Server Owners
- Players join through the KCD:MP launcher only: a launcher of your own can no longer start the game or the KCD:MP launcher straight into your server. To send players to your server, share its join page (
https://kcd-mp.com/join/<address>) on your website or Discord - its Join button opens your server's page in the KCD:MP launcher - For game modes - Discord whitelists:
UseDiscordIdentityasks joining players for their Discord account,GetPlayerDiscordIdandGetPlayerDiscordNameread it,GetDiscordMemberRolesreads a member's roles with your own bot. The new guide "A Discord role whitelist" walks through it. C#:IServerApi.DiscordIdentity,IPlayer.DiscordId - For game modes - the join check:
OnPlayerJoinRequestandAnswerPlayerJoinlet a mode refuse a join with its own message, before the player's game starts. C#:IGameMode.OnPlayerJoinRequest,IServerApi.AnswerPlayerJoin - For game modes - web requests:
HttpRequestcalls a website, a webhook or Discord from the game mode, its answer coming back to a callback. C#:IServerApi.HttpRequest - Players' Discord status names your server and offers a button to your server's Discord (or its website);
[server] discord_statusset to"no_links"keeps that button off,"private"the server's name too - A server that players reach at an address it does not know as its own (not on the public list, or behind a forwarding service) sets
[master] public_addressto that address, or its players' Discord accounts are refused - Added how late the server's ticks start to its 10-second report
- Fixed a game mode's last saves in
OnGameModeExitbeing lost at a server stop: the server now waits for them (15 seconds at most) before it closes, andExecuteSync/QuerySyncare allowed there at a stop. C#:IGameMode.OnShutdown - Fixed
GivePlayerItem,SetPlayerInventoryandSetHorseItemsmaking at most 100 of an item: one call now makes up to 5000 - Fixed
SetActorInventoryignoring an item'squality, and leaving a server character naked when given one of yourDefineItemitems: it now wears the item at its quality - For game modes -
SetHorseItemsnow keeps the groschen in a horse's saddlebags (the money item, in tenths, asGetHorseItemsreads it), so a saved horse gets its money back - For game modes -
OnPlayerCheatDetected:ledger_desyncnow comes only when a player's item list still disagrees after the server asked for it again, andledger_floodonly past a burst of two hundred item reports
Bug fixes
- Fixed a rider who mounted beside other horses being tied to the wrong one: a teleport took the other horse along and left the rider behind
- Fixed women being thrown into the air, far across the map, when they mounted a horse after travelling to another map of a server
- Fixed a horse's saddlebags being emptied by the anti-cheat when the horse came back to its owner after another player had it while it was out of the owner's sight
- Fixed typing in a server's login page doing nothing until the game window was minimised and restored
- Fixed injuries vanishing from your own screen a moment after they landed - a hit's, a fall's and the ones a server gives - so the limp and the injury in the HUD now stay until you are healed
- Fixed a spectator watching through a server's camera hearing the voices of the place they left instead of the place the server moved them to