Page 1 of 1

Changing Port on a Windows Crossfire Server

Posted: Sun Jul 03, 2005 11:44 pm
by HolyKnight
I was wondering. I noticed that one of the servers on the list has a port of 70. I was wondering were in the Windows Server Config that you set that. If you need to compile it, do you have a windows source avail? I assume you are using Visual C++ 6.0 with Win 32 Console App.

Posted: Mon Jul 04, 2005 5:36 am
by Rednaxela
It's been a while since I set my private testing server up, but I'm pretty sure that you set the port in the same place for both the win32 and linux versions. As I recall, that option is in the main configuration file, but I might be mistaken.

If I'm mistaken and it turns out you do need to recompile:
As I recall, the source does contain a Visual C++ project file somewhere in it (no need to create your own project file based upon the 'Win32 Console App' template). I haven't done anything with it myself, Ryo (the windows build maintainer) would be the best person to talk to about that.
*waits for Ryo to reply and correct me on something :-)*

Posted: Mon Jul 04, 2005 7:44 am
by Ryo
VS project file is located in make_win32\, project 'crossfire'.
Standard project, with Debug / ReleaseLog configurations (I don't think I use ReleaseQuit configuration).

Can't tell for the port, but I don't remember doing anything specific for Windows about that, so it'll be a configuration option somewhere (look in the settings file in \share directory [not \lib, which is the template]).