#1 06.08.2014 18:40:53

andreasr
Player
Posts: 7

Please update Longturn to latest Freeciv SVN and put it on Github

Hi everyone and Akfaew in particular!

I find it awesome that most of the Longturn source code is now on Github, here:  https://github.com/longturn

I think it would be great if the patches against the Freeciv C server could also be put on Github, so that everyone could improve Longturn if they wanted. The Freeciv C server is licensed with the GNU General Public License.

Here's the modified Freeciv source code with patches for Longturn:
http://akfaew.jasminek.net/crap/freeciv.lt32.tgz

Here I've tried to create a patch which I think contains most of the Longturn changes:
http://play.freeciv.org/longturn/longtu … es16.patch
http://play.freeciv.org/longturn/longturn.c
http://play.freeciv.org/longturn/longturn.h
there is also ltauth.c and ltauth.h which is included in freeciv.lt32.tgz

My motivation for this is to help improve Longturn, and also setup a Longturn server on http://play.freeciv.org !
The goal should be that it should be easy for anyone to setup their own Longturn server, and help developers easily contribute towards improving the project.

Looking forward to good cooperation on this!   smile

Offline

#2 07.08.2014 07:10:25

akfaew
Administrator
Posts: 620

Re: Please update Longturn to latest Freeciv SVN and put it on Github

I didn't move the 2.3 server to github because it's so messy. I have no idea which parts are the patches and which are not. The good news is, is that no modification affects gameplay, so you don't really need them. 2.5 will be fully open and on github though. The binaries of 2.3 are included in the ruleset repo. So for now I have what you have - freeciv.lt32.tgz.

Offline

#3 07.08.2014 17:39:18

andreasr
Player
Posts: 7

Re: Please update Longturn to latest Freeciv SVN and put it on Github

akfaew wrote:

I didn't move the 2.3 server to github because it's so messy. I have no idea which parts are the patches and which are not. The good news is, is that no modification affects gameplay, so you don't really need them. 2.5 will be fully open and on github though. The binaries of 2.3 are included in the ruleset repo. So for now I have what you have - freeciv.lt32.tgz.

I'm looking forward to your 2.5 updates.  Looking at the links I posted here, there seems to be some changes affecting gameplay in longturn.c and longturn-changes16.patch.
What does lt_cmd_syncturn do?  What are the Longturn specifics server commands?

Thanks for the info so far!

Offline

#4 07.08.2014 18:52:26

akfaew
Administrator
Posts: 620

Re: Please update Longturn to latest Freeciv SVN and put it on Github

Syncturn synchronizes the timeout, so that it can be predicted. You can make a script to tell you when the next turn will be, and place it in your window managers status bar.

Offline

Board footer

Powered by FluxBB