Archives de Catégorie: Devblog

Actualités de la Taverne des Chevaliers

Knights Province Alpha 11 sera bientôt prêt et il est temps de parler d'une autre fonctionnalité unique qu'il aura : Knights Tavern !
[Scène de taverne, 1658, par David Teniers II]
Knights Tavern (KT en abrégé) est le nom de code du serveur de comptes que nous développons depuis 2019. Les comptes étaient l'une des fonctionnalités les plus souvent demandées dans KaM Remake, mais nous n'avons jamais eu l'expertise ni le courage de l'implémenter (enfin, pour de nombreuses personnes). les raisons). Des tentatives ont été faites pour le KP, mais elles n'ont abouti que récemment, lorsqu'une chance chanceuse s'est présentée (sous la forme d'un article (https://habr.com/ru/post/491272/) et un référentiel de code (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.
Meilleurs scores pour la 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:
  • Amis, messagerie instantanée, invitations au lobby, clans, etc.
  • Notes et réputation des joueurs, score ELO, etc.
KT nous pose de nouveaux défis :
  • Il doit être codé de manière asynchrone, afin que les demandes de données ne ralentissent pas ou ne gèlent pas le jeu.
  • Les données des joueurs doivent être transmises et stockées en toute sécurité (nous utilisons déjà des sels et des hachages)
  • Nous devrons conserver les données des joueurs lors des mises à niveau et entre les versions du jeu.
Mieux encore, vous pouvez déjà essayer KT et nous aider à l'améliorer ! Voir les dernières versions de KP wip (disponibles sur Discord https://discord.gg/cEwJFSY). Veuillez signaler tout bug ou défaut. Nous sommes également ouverts aux suggestions sur la fonctionnalité KT. Il peut l’orienter dans de nombreuses directions et il serait préférable de choisir celles qui sont les plus recherchées.