騎士酒館新聞

Knights Province Alpha 11 即將準備就緒,是時候談談它將擁有的另一項獨特功能:Knights Tavern!
[酒館場景,1658 年,大衛·特尼爾斯二世 (David Teniers II)]
Knights Tavern(簡稱 KT)是我們自 2019 年以來一直在開發的帳戶服務器的代號。帳戶是 KaM Remake 中最常被要求的功能之一,但我們從來沒有專業知識或勇氣來實際實施它(好吧,對於許多原因)。為 KP 進行了嘗試,但直到最近才成功,當幸運的機會到來時(以文章的形式(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 responses to “騎士酒館新聞

發表評論

您的電子郵件地址不會被公開。

*