The Castle Doctrine Forums

Discuss the massively-multiplayer home defense game.

You are not logged in.

#1 Re: Main Forum » Problems with setting up server » 2017-12-10 06:09:11

mv

thanks! I'll try your patches

I used https://github.com/sunhater/php7-mysql/ … -mysql.php
for transition, they are the same on first glance

and then had problems with mysql utf-8 key restriction,
I use mariadb but this is hardly the cause.

I tried to decrease key size and it worked:

< include( "php7-mysql.php" );
---
> 
291c291
<             "ticket_id VARCHAR(100) NOT NULL PRIMARY KEY," .
---
>             "ticket_id VARCHAR(255) NOT NULL PRIMARY KEY," .
321c321
<             "ticket_id VARCHAR(100) NOT NULL," .
---
>             "ticket_id VARCHAR(255) NOT NULL," .

ticketServer is mostly working, but only first key is shown and other fields are empty
(select queries from database contents is ok, all fields present)
w43Zf.png

maybe it's something with so called 'magic quotes' =\

could you also clarify on php/mysql custom settings?

#2 Re: Main Forum » Problems with setting up server » 2017-12-08 13:24:23

mv

could anyone send me patches for php7 please?
I was able to get ticketServer working, but stuck with game server

#3 Re: Translations » Russian loc » 2017-12-07 12:58:41

mv

with this patch it's possible to add translation for  'Empty Floor' and 'Exterior Wall':

https://gitlab.com/morokov/castle-doctrine-ru/raw/master/0001-working-draft-of-spaces-in-translation-keys.patch

now it will be helpful to have script which gets all object names and put it in file for translation

#4 Re: Translations » Russian loc » 2017-11-22 16:19:05

mv

got translation layout switch quick hack (worked for me on Debian/lxde)

https://gitlab.com/morokov/castle-doctrine-ru/raw/master/0001-quick-fix-for-layout-change.patch
to read switch page encoding to KOI-8R (F10 View/Text Encoding in Firefox)

items tools and names can be translated by adding to language file..

the only problem left is with tools and items with spaces (seems it needs another code edit)

#5 Re: Translations » Russian loc » 2017-11-19 14:10:05

mv

I've made basic koi8-r tga(only letters) and languages files translation.
No items and human names translation yet and no keyboard layout switch.
Should be simular with other games, such as Sleep Is Death (keyboard switch is really important there)

You can get translation files here:
https://gitlab.com/morokov/castle-doctrine-ru

To install, copy all to the Castle Doctrine directory
ie ~/.steam/steam/steamapps/common/CastleDoctrine

Board footer

Powered by FluxBB 1.5.8