Neuigkeiten von Knights Tavern

Knights Province Alpha 11 wird bald fertig sein und es ist Zeit, über ein weiteres einzigartiges Feature zu sprechen: Knights Tavern!
[Wirtshausszene, 1658, von David Teniers II]
Knights Tavern (kurz KT) ist ein Codename für den Account-Server, den wir seit 2019 entwickeln. Accounts waren eines der am häufigsten nachgefragten Features in KaM Remake, aber wir hatten nie das Fachwissen oder den Mut, es tatsächlich zu implementieren (naja, für viele). Gründe dafür). Es wurden Versuche für die KP unternommen, aber sie scheiterten bis vor kurzem, als sich eine glückliche Chance ergab (in Form eines Artikels (https://habr.com/ru/post/491272/) und ein Code-Repository (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.
Highscores für die 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:
  • Freunde, Instant Messaging, Lobby-Einladungen, Clans usw
  • Spielerbewertungen und Ruf, ELO-Wertung usw.
KT stellt uns vor neue Herausforderungen:
  • Es muss asynchron codiert werden, damit Datenanfragen das Spiel nicht verlangsamen oder einfrieren.
  • Spielerdaten müssen sicher weitergegeben und gespeichert werden (wir verwenden bereits Salts und Hashes).
  • Wir müssen die Spielerdaten bei Upgrades und zwischen Spielversionen aufbewahren
Und das Beste: Sie können KT bereits ausprobieren und uns helfen, es zu verbessern! Sehen Sie sich die neuesten KP-Wip-Builds an (verfügbar auf Discord). https://discord.gg/cEwJFSY). Bitte melden Sie etwaige Fehler oder Mängel. Wir sind auch offen für Vorschläge zur KT-Funktionalität. Es kann es in viele Richtungen lenken und es wäre am besten, diejenigen auszuwählen, die am meisten gesucht werden.

4 Antworten zu “Neuigkeiten von Knights Tavern

Hinterlasse eine Antwort

Deine Email-Adresse wird nicht veröffentlicht. erforderliche Felder sind markiert *

*