Knights Province Alpha 11 хутка будзе гатова, і прыйшоў час пагаварыць пра яшчэ адну унікальную асаблівасць, якую яна будзе мець: Knights Tavern!
[Сцэна ў карчме, 1658 г., Дэвід Тэніерс II]
Knights Tavern (скарочана KT) - гэта кодавая назва для сервера ўліковых запісаў, які мы распрацоўваем з 2019 года. Уліковыя запісы былі адной з найбольш часта запатрабаваных функцый у KaM Remake, але ў нас ніколі не было ні вопыту, ні адвагі, каб рэалізаваць гэта (ну, для шматлікіх прычыны). Рабіліся спробы КП, але яны не ўвянчаліся поспехам да нядаўняга часу, калі выпаў шчаслівы выпадак (у выглядзе артыкула (https://habr.com/ru/post/491272/) і сховішча кода (https://github.com/Cooler2/ApusEngineExamples)). Now, knowing that the backend server can be developed in the same language as the game, KT is finally taking its chance to come true.
Neat thing about KT, is that it can be used for both KaM Remake and Knights Province. Both games are very much alike in terms of accounts info they provide and can benefit from. So we can safely build KT in such a way that it allows for a single account for both Knights Province and KaM Remake. Register once and play twice. KP is our testground for the KT. Once it is sufficiently tested, KaM Remake can be upgraded and start using it too.
You can help with KT playtesting right now, but more on that later.
Basic auth functionality is mostly covered: KT has player accounts that can be registered, activated, logged in to and logged out of, forgotten passwords can be reset.
For a proof of concept, KT can report how many player accounts it has and how many players were active within the last hour.
The first useful feature in KT are mission highscores. If a single-player mission was prepared by the mapmaker in a specific way (2 lines of script, one dynamic and one static), the game can submit the mission’s winning score to KT and later on show the player his ranking in that mission.Рэкорды для місііWord of caution, KT is still in beta and might have bugs in all different areas. We hope to iron them out over time. That’s why we start testing with simple functionality, so flaws in the authentication (which there must be) can be fixed. So, since there might be bugs and weak spots, do not use your everyday life passwords for KT.
KT future allows for many interesting things:
Сябры, абмен імгненнымі паведамленнямі, запрашэнні ў лобі, кланы і г.д
Ацэнкі і рэпутацыя гульцоў, адзнака ELO і г.д.
KT ставіць перад намі новыя задачы:
Яго трэба закадаваць асінхронным спосабам, каб запыты даных не запавольвалі і не замарозілі гульню.
Даныя гульца павінны перадавацца і бяспечна захоўвацца (мы ўжо выкарыстоўваем солі і хэшы)
Нам трэба будзе захоўваць дадзеныя гульцоў аб абнаўленнях і паміж версіямі гульні
Лепш за ўсё - вы ўжо можаце паспрабаваць KT і дапамагчы нам палепшыць яго! Глядзіце апошнія зборкі KP wip (даступныя на Discord https://discord.gg/cEwJFSY). Калі ласка, паведамляйце аб любых памылках або недахопах. Мы таксама адкрыты для прапаноў па функцыянальнасці KT. Ён можа накіраваць яго ў многіх кірунках, і было б лепш выбраць тыя, якія больш запатрабаваныя.
4 адказы на "Навіны рыцарскай карчмы”