Information

Requests for assistance and other HOWTOs.

Moderator: Board moderators

Faebren
Luser
Posts: 14
Joined: Sun Feb 03, 2008 2:08 am
Location: Where I happen to be.

Information

Post by Faebren »

First things first. I'm running Microsoft XP and have been playing on my own private server using bigworld maps. Versions of client, server, and maps are all 1.10. Also have the GTK+ runtime env. version 2.12

So, a few questions here because there is alot of information that I'm having trouble finding.

Q1) How do you get the latest files and update all the files?
Q2) Where do I download everything needed to do the questioned actions in Q1?
Q3) Is there any information I am missing to help with answering my other questions?
Q4) The main site seems to be missing information or the information appears to be out of date. Is information going to be updated at some point? (For example: Appendix A in the Crossfire Handbook. Some commands no longer seem to exist, such as the rotatespells command, though they are still listed in it)
Q5) What commands are there for the server? How do you use them in the Windows build?
Q6) The latest site news, as of Feb. 6th, 2008, says that version 1.11 has been released, yet the windows client and server pages have not been updated to reflect this, and neither have its links. In addition, the latest file releases table on the front page lists the windows client version as snapshot and is dated as Sept. 3, 2006, which is actually an older version than the 1.10 version. Is there a reason for me to NOT be a little confused?

Side note: If I haven't mentioned having a program, there is a good possibility that I don't have it.
Leaf
Forum Aficionado
Posts: 1994
Joined: Tue Apr 29, 2003 5:55 pm
Location: Minnesota, USA
Contact:

Re: Information

Post by Leaf »

Faebren wrote: Q1) How do you get the latest files and update all the files?
You will need an application or program to handle Subversion (svn) checkouts. Subversion is a way to allow multiple to update files (aka development) with revision tracking.

An example of Subversion program for Windows is TortoiseSVN.

An install and use howto is available at:

http://crossfire.real-time.com/svn/windows/
Faebren wrote: Q2) Where do I download everything needed to do the questioned actions in Q1?
Assuming that you are using Tortoise SVN, see:

http://crossfire.real-time.com/svn/wind ... #icheckout
"Put another, more succinct way: don't complain, contribute. It's more satisfying in the long run, and it's more constructive."
Eric Meyer
Leaf
Forum Aficionado
Posts: 1994
Joined: Tue Apr 29, 2003 5:55 pm
Location: Minnesota, USA
Contact:

Re: Information

Post by Leaf »

Faebren wrote: the latest file releases table on the front page lists the windows client version as snapshot and is dated as Sept. 3, 2006, which is actually an older version than the 1.10 version.
A restore from backup clobbered that info. I'll update it later today.

The most recent download is:
http://downloads.sourceforge.net/crossf ... 1.10.0.exe

More info, which was not overwritten by the backup:
http://crossfire.real-time.com/clients/win32_gtk.html
"Put another, more succinct way: don't complain, contribute. It's more satisfying in the long run, and it's more constructive."
Eric Meyer
Faebren
Luser
Posts: 14
Joined: Sun Feb 03, 2008 2:08 am
Location: Where I happen to be.

Post by Faebren »

In relation to checking things out via the SVN and the directions given, the directions in the how-to say to make a repository folder and export the branch files there. What do I do with them exactly once they are downloaded there? Or should I have the repository exported to the folder that already exists, since crossfire is currently installed?
Leaf
Forum Aficionado
Posts: 1994
Joined: Tue Apr 29, 2003 5:55 pm
Location: Minnesota, USA
Contact:

Post by Leaf »

Faebren wrote:In relation to checking things out via the SVN and the directions given, the directions in the how-to say to make a repository folder and export the branch files there. What do I do with them exactly once they are downloaded there?
If you are talking about the maps..

You then have access to the maps for editing, development or testing purposes.

If you want the newly checked out maps available on your server, then you will need to copy the map files to the server map directory. At the moment, I'm not sure of the exact path or directory location.

CAUTION - it is highly recommended that you keep all components (archetypes, server and maps) that make up the crossfire server somewhat closely synchronized in regards to version. New content and features have been added which may break things if they are not available. For instance, a map may be missing graphics (because graphics are actually located in archetypes). Or, a python script which ties in to a server event may not work - which could cause the server to crash (repeatedly?)
Faebren wrote: Or should I have the repository exported to the folder that already exists, since crossfire is currently installed?
I don't recall the exact details, but something with the directory structure or directory names prevents that from working.

One needs to "check out" the maps from SVN and then copy them over to the directory that the server uses for the maps.
"Put another, more succinct way: don't complain, contribute. It's more satisfying in the long run, and it's more constructive."
Eric Meyer
Faebren
Luser
Posts: 14
Joined: Sun Feb 03, 2008 2:08 am
Location: Where I happen to be.

Post by Faebren »

In relation to the updating the files where I have the server and client installed, what do I need to copy over? What do I NOT want to copy over?

In other words, what files do I need to get from the SVN for the purpose of updating the client and the server, and how is there any specifics on how I need to go about it?
Leaf
Forum Aficionado
Posts: 1994
Joined: Tue Apr 29, 2003 5:55 pm
Location: Minnesota, USA
Contact:

Post by Leaf »

Faebren wrote: In other words, what files do I need to get from the SVN for the purpose of updating the client and the server, and how is there any specifics on how I need to go about it?
First things first... You will need a way to compile the files. The one that is commonly mentioned is Visual Studio.

Some brief notes on the wiki show how to compile the server.
http://wiki.metalforge.net/doku.php/cro ... _c_windows

As for downloading the latest client and server, it's just like the maps (see earlier posts) except use the following URLs:

Branch:
svn co https://crossfire.svn.sourceforge.net/s ... anches/1.x
svn co https://crossfire.svn.sourceforge.net/s ... anches/1.x
svn co https://crossfire.svn.sourceforge.net/s ... anches/1.x
svn co https://crossfire.svn.sourceforge.net/s ... anches/1.x

Trunk:
svn co https://crossfire.svn.sourceforge.net/s ... arch/trunk
svn co https://crossfire.svn.sourceforge.net/s ... ient/trunk
svn co https://crossfire.svn.sourceforge.net/s ... maps/trunk
svn co https://crossfire.svn.sourceforge.net/s ... rver/trunk


The trunk is the latest development changes going only into 2.0 when it is released.

The 1.x branch is for continued 1.x development, including only small bugfixes and minor features.

Unless doing development it is recommended to use the 1.x branch until 2.0 is released.

Development , recent updates and latest features == trunk
Tested & stable features, bug fixes, etc. == branch
"Put another, more succinct way: don't complain, contribute. It's more satisfying in the long run, and it's more constructive."
Eric Meyer
Leaf
Forum Aficionado
Posts: 1994
Joined: Tue Apr 29, 2003 5:55 pm
Location: Minnesota, USA
Contact:

Post by Leaf »

Faebren wrote:In relation to the updating the files where I have the server and client installed, what do I need to copy over? What do I NOT want to copy over?
This isn't a case where you update FilesA, FileB, FileX and FileZ and then you have upgraded from v1.10.o to v1.11.0

You need to update all files via SVN, then compile (or recompile..) to get your .exe file. Then install via the .exe file.
"Put another, more succinct way: don't complain, contribute. It's more satisfying in the long run, and it's more constructive."
Eric Meyer
Faebren
Luser
Posts: 14
Joined: Sun Feb 03, 2008 2:08 am
Location: Where I happen to be.

Post by Faebren »

The wiki entry for compiling the server and client in windows is not making much in the way of sense to me. For example, it say that I need flex to "build common/loader.c and random_maps/reader.c from their respective .l", then gives a syntax. For me, there is no context in that jump. This is how most of that section is for me, likely because I have no experience with programming or compiling anything. Is there a clearer way it could be written? Also, it mentions using microsoft visual studio 6, are there any other programs that work that are known?

edit: By other programs that work, I mean decent free ones that work.
Leaf
Forum Aficionado
Posts: 1994
Joined: Tue Apr 29, 2003 5:55 pm
Location: Minnesota, USA
Contact:

Re: Information

Post by Leaf »

Leaf wrote:
Faebren wrote: the latest file releases table on the front page lists the windows client version as snapshot and is dated as Sept. 3, 2006, which is actually an older version than the 1.10 version.
A restore from backup clobbered that info. I'll update it later today.
Okay, site info and links are fixed.
"Put another, more succinct way: don't complain, contribute. It's more satisfying in the long run, and it's more constructive."
Eric Meyer
Post Reply