News:

SMF - Just Installed!

Main Menu

Recent posts

#31
Knights Discussion / Re: Knights Development Reviva...
Last post by Stephen - July 22, 2018, 05:52:48 PM
Welcome back duke :)

I like the idea of having a Knights development revival (especially if it's not me doing the work, lol). In fact I was kind of secretly hoping that someone would come along and suggest this :) as I haven't had any time to work on Knights myself for a long time.

The idea of rewriting in C# is interesting. I agree with Impassive though, it would be a huge amount of work. The core game logic (I think it's called "KnightsEngine" in the code) would probably port across quite easily, but all the UI code is going to need a complete rewrite because you won't have Guichan available, you'll need to rewrite it to use something else instead. (Unless you want to port Guichan itself, but that won't be easy either.) I think it could take several years if you go down this route.

That being said, there would clearly be advantages to doing this, like having a more up to date codebase, and possibly being able to port to other platforms as you suggest. Just make sure you know what you are getting into :)

Improving the C++ version might be an easier route. Do you have any specific changes you would like to make, or is it just that you want to bring the codebase up to date to use more modern libraries etc?
#32
Knights Discussion / Re: Knights Development Reviva...
Last post by duke - July 18, 2018, 08:49:38 PM
Quote from: ImpassIve_rus on July 16, 2018, 12:44:44 PM
Welcome back, duke!
Thanks!

Quote from: ImpassIve_rus on July 16, 2018, 12:44:44 PM
While your idea of porting the game to C# language sounds interesting, I have some concerns about it.
Despite of similarity between C++ and C#, wouldn't that basically mean rewriting the game from the scratch (except the general architecture), because of the differences in used libraries and API?
IMHO that sounds like a pretty challenging task and that would require quite a lot of testing because of a probability to introduce more bugs...
Well, of course it is tricky and a challenging task. I'd also imagine that even just bringing all the libraries used in the original C++ version up to date will introduce some bugs, since often things change and don't work quite as expected anymore. Stephen basically wrote his own engine called "Coercri", which builds upon SDL, uses ENet for Network stuff (UDP) and guichan for the GUI. From a very quick research I saw that those aren't really greatly maintained in terms of updates.
The great thing with using MonoGame is how it is actively being developed and used by the community, while also having a lot of documentation and useable libraries available.
The existing modding capabilities can be ported over with utilizing NLua as an example.

Quote from: ImpassIve_rus on July 16, 2018, 12:44:44 PM
Anyway, I'd like to provide some help, since I know both C++ and C# and I like this game, but, I'm afraid, this help would be of little use, since I have no experience neither in game development (except of writing a bunch of Flash games decade ago) nor in maintaining open source projects.
No worries! I'm mainly working in web development technologies myself, with some pastime activities in game development. The most important part is to have a clear plan laid out, before really diving into the whole coding scenario. Once there is more feedback about this here, I'll probably start working on writing up a proper "battle plan" on how to tackle the revival. :]
#33
Knights Discussion / Re: Knights Development Reviva...
Last post by ImpassIve - July 16, 2018, 12:44:44 PM
Welcome back, duke!

While your idea of porting the game to C# language sounds interesting, I have some concerns about it.
Despite of similarity between C++ and C#, wouldn't that basically mean rewriting the game from the scratch (except the general architecture), because of the differences in used libraries and API?
IMHO that sounds like a pretty challenging task and that would require quite a lot of testing because of a probability to introduce more bugs...

Anyway, I'd like to provide some help, since I know both C++ and C# and I like this game, but, I'm afraid, this help would be of little use, since I have no experience neither in game development (except of writing a bunch of Flash games decade ago) nor in maintaining open source projects.
#34
Knights Discussion / Knights Development Revival
Last post by duke - July 15, 2018, 10:12:11 PM
Hey Guys!

Haven't been around here in quite some years. Who knows, maybe someone will remember me from back in the days. (Or from the Credits in the game.)
I'm amazed there is still a tiny community for the game!

The game itself doesn't seem to have gotten any development in the recent years either, Stephen probably has other things keeping him busy in life, which I totally understand!

I'm a software developer for a living myself and I still remember lovely game sessions with the original Amiga Knights and Stephen's remake. So I'd like to revive the project to some degree and do some work on it, probably starting with updating all the libraries being used with it.

But another idea I have in mind would be to port over the existing C++ source code to either MonoGame with C# or Unity (Although I feel Unity is a bit overkill for this.)
This would ensure cross platform compatibility and also updated libraries and even the possibility to eventually have a Android/iOS version of the game.
Of course I would stick close to the original source to have backwards compatibility in mind for existing mods.

Well then, let me know of how you feel about this idea and if you would like to contribute in any way! I'll most likely create a repository on GitHub for the project, since it features most of the project management stuff needed.

- duke
#35
Announcements / Re: Server downtime
Last post by K9 - May 07, 2018, 02:59:42 AM
Thank you for the Server upgrade/ maintenance and these status notes in the Forum.

Always grateful here for everything you do to keep Knights game online, and running quests are still unequivocally the highlight of my week.
#36
Announcements / Re: Server downtime
Last post by Stephen - May 06, 2018, 10:23:36 PM
P.S. Trac is still not working, I'll look at that another time.
#37
Announcements / Server downtime
Last post by Stephen - May 06, 2018, 10:22:04 PM
Apologies for the server downtime today.

Basically I updated the server from Debian 7 to Debian 9 and this unfortunately broke a lot of things. For example the Knights server had to be recompiled and most of the PHP scripts on the site had to be hastily updated (because the PHP MySql interface has been completely changed, just to make things "interesting").

The reason to do the update was because Debian 7 is coming to the end of its support period so in order to get security updates, I had to move on to the latest version.

I had hoped the upgrade would go a bit more smoothly than it did, but never mind!

Hopefully we won't have to do this again for a while...
#38
Knights Discussion / Re: BMP Unsupported header siz...
Last post by K9 - May 06, 2018, 09:22:49 PM
Wand of invisibility sounds interesting... if it works on creatures, I can only imagine the chaos and fun that would create.

#39
Knights Discussion / Re: BMP Unsupported header siz...
Last post by d.healey - September 15, 2017, 04:30:29 PM
Not yet, I haven't had time to have another look at it, I did make a wand of invisibility though :)
#40
Knights Discussion / Re: BMP Unsupported header siz...
Last post by Stephen - September 14, 2017, 06:25:00 PM
Did you get anywhere with this?