07-20-2006, 11:31 PM | #1 |
Setting up a Windows Server
So you want to set up a dedicated Windows server. I hope this little tutorial will help
_________ First off, you are going to need to upload/transfer your entire Prey directory to your server (I just transferred them to my "C:\" directory so that leaves me with "C:\Prey" but you can put it wherever you want). This may take quite a while, you're best bet would be to use an FTP client like Filezilla to upload them to your server overnight. _________ Ok now that you have all of the required files on your server what you'll want to do is download/upload the Windows Binaries to your server. You can find them here with an included Readme.txt file on how to get your server running. This is a compressed file you'll just need to extract it into your Prey directory. Now open your "\Prey\Base" folder and find "preykey". Right click, then Properties, and check the box to make it a "Read Only" file. Sometimes the server likes to alter that file and you won't be able to reboot your server unless you replace it with your original. ______ (Firedaemon users skip this step, just browse for the .exe and add command parameters) Now there should be a file called "Preyded.exe" in your default Prey folder. Find that file, right click on it, send to, desktop(create shortcut). After you do that you will then go to your desktop and right click the shortcut you just created and click "Properties". When you do this you should see the Target line looking something like "C:\Prey\Preyded.exe". This is where you add your command line parameters. You'll want to insert a space after Preyded.exe and enter the following: +set net_serverDedicated 1 +net_serverAllowServerMod 1 +set si_map game/dmescher +spawnServer Should look like this: If you have multiple IP addresses and want to bind a specific address use: +set net_ip xxx.xxx.xxx.xxx If you have a specific config to run use: +exec yourconfig.cfg Just remember to keep +spawnServer at the end. _________ Before you attempt to start the server create a new .txt document in your \prey\base folder and rename it "autoexec.cfg" now open the .cfg file with notepad and add the following on seperate lines. r_ignoreGLErrors 1 seta net_master0 preymaster.humanhead.com:27655 now save and close autoexec.cfg _________ Finally, open preyconfig.cfg and scroll all the way to the bottom of the document. You will see a few "seta si_" commands. Change these accordingly to suit whatever kind of server or servername you want. You can also create additional .cfg files and place an "+exec yourconfig.cfg" in the command line to process that config file instead. But by default it will just load the preyconfig.cfg file. _________ Now you should be all set to fire up the server. Double click the shortcut icon on your desktop to launch the server. A little blue window of goodness shall open up and fill your life with happiness. If the server doesn't work...well just try your best to troubleshoot the error by checking your spelling and such. I can't be too much help to you unless I have remote access to your machine. Any questions or concerns please feel free to drop me a line: [email protected] xfire: zomgpie |
|
07-21-2006, 10:28 AM | #2 |
Re: Setting up a Windows Server
Good post. Maybe it's a good idea to make it a sticky?
|
|
07-22-2006, 09:56 PM | #3 |
Re: Setting up a Windows Server
Anyone have a mapcycle cfg?
-Gamerguys |
|
07-23-2006, 05:23 AM | #4 | |
Re: Setting up a Windows Server
Quote:
Code:
si_mapCycle "game/dmescher;game/dmescher2;game/dmroadhouse" game/dmescher game/dmescher2 game/dmroadhouse game/dmsalvagewalk game/dmshuttle1 game/dmshuttle2 game/dmsphere game/dmwallwalk2 |
||
07-23-2006, 01:24 PM | #5 |
Re: Setting up a Windows Server
mapcycle scriptcfg here cycles all maps but the shuttle maps which can be voted in if ppl want
/* "map cycling script sample - select with g_mapCycle the script is purged and reloaded at each map restart which happens on map change, but also when hitting GAMEON for persistance, you need to use the {get,set}Persistant functions files with .scriptcfg extension can be loaded outside of pure paks */ namespace mapcycle { void cycle() { // config float cycle_maps = 1; float cycle_gametypes = 0; // cycle maps and game types float replay_count = sys.getPersistantFloat( "replay_count" ); string si_gameType = sys.getcvar( "si_gameType" ); string si_map = sys.getcvar( "si_map" ); if ( replay_count <= 0 ) { // restart n times before next map replay_count = 1; } replay_count--; sys.setPersistantArg( "replay_count", replay_count ); if ( replay_count <= 0 ) { // restart n times before next map sys.setPersistantArg( "replay_count", 1 ); if ( cycle_maps > 0 ) { if ( si_map == "game/dmroadhouse" ) { sys.setcvar( "si_map", "game/dmescher" ); } else if ( si_map == "game/dmescher" ) { sys.setcvar( "si_map", "game/dmescher2" ); } else if ( si_map == "game/dmescher2" ) { sys.setcvar( "si_map", "game/dmsalvagewalk" ); } else if ( si_map == "game/dmsalvagewalk" ) { sys.setcvar( "si_map", "game/dmsphere" ); } else if ( si_map == "game/dmsphere" ) { sys.setcvar( "si_map", "game/dmwallwalk2" ); } else { sys.setcvar( "si_map", "game/dmroadhouse" ); } } if ( cycle_gametypes > 0 ) { if ( si_gameType == "deathmatch" ) { sys.setcvar( "si_gameType", "Team DM" ); } else { sys.setcvar( "si_gameType", "deathmatch" ); } } } else { sys.say( "map cycle: restarting current map " + replay_count + " more time(s)" ); } } } paste into notepad and save to the prey base folder as "6map.scriptcfg", then edit out the default mapcycle scriptcfg thatis in your Prey cfg with this name in its place
__________________
I'mTheMotorcycleBoy FromHell |
|
07-23-2006, 09:02 PM | #6 |
Re: Setting up a Windows Server
Also if you do run a dedicated server on Windows make sure its the server version of the OS, the client version only supports 10 concurrent connections(I'm pretty sure thats for all connections despite what they are and not just the XP IIS plugin).
|
|
07-23-2006, 09:47 PM | #7 |
Re: Setting up a Windows Server
Isn't the master server on 27650, not 27655?
|
|
07-23-2006, 10:10 PM | #8 |
Re: Setting up a Windows Server
port 27650 wouldnt work for me, when I set it to 27655 the server showed up just fine.
Who knows |
|
07-24-2006, 08:07 AM | #9 | |
Re: Setting up a Windows Server
Quote:
|
||
07-24-2006, 06:46 PM | #10 |
Re: Setting up a Windows Server
First post and its a question Im having trouble getting my server to show on the master list but I can connect by IP.. ive tried using no config, my own config, also ive autoexecd both master ip's listed here niether made a difference.. anyone have any ideas?
|
|
07-25-2006, 04:11 AM | #11 |
Re: Setting up a Windows Server
Code:
si_mapCycle Unknown command 'si_mapCycle' |
|
07-25-2006, 05:02 AM | #12 | |
Re: Setting up a Windows Server
Quote:
Why did HH remove this CVAR? Can't believe it |
||
07-25-2006, 07:17 AM | #13 |
Re: Setting up a Windows Server
If your server isn't showing up, check your master server port. It should be 27650. Also make sure the heartbeats are being sent.
|
|
07-25-2006, 03:13 PM | #14 |
Re: Setting up a Windows Server
its working now ...? dont know how but it is lol
|
|
07-26-2006, 11:42 AM | #15 | |
Re: Setting up a Windows Server
Quote:
..save to base folder in Prey and then change this: "seta g_mapCycle "mapcycle"" to this, "seta g_mapCycle "jellin"" located either in your server cfg or the prey cfg file
__________________
I'mTheMotorcycleBoy FromHell |
||
07-26-2006, 03:07 PM | #16 | |
Re: Setting up a Windows Server
Quote:
Btw: there's no need to open any port on your server for the master server EXCEPT if you are also blocking outbound connections. |
||
07-26-2006, 06:38 PM | #17 |
Re: Setting up a Windows Server
my server shows in about 30 sec
__________________
I'mTheMotorcycleBoy FromHell |
|
07-27-2006, 02:47 AM | #18 |
Re: Setting up a Windows Server
yeah ive run lots of servers over the last year and they always show up instantly, normally.
|
|
07-27-2006, 03:10 AM | #19 |
Re: Setting up a Windows Server
mine shows right away usually.
|
|
07-27-2006, 11:00 AM | #20 |
Re: Setting up a Windows Server
Then you're either lucky, or the master server has your IP cached.
All I wanted to say is that it can take some time for it to show up, and if you've opened your game port on your firewall/router and you can connect by direct IP, you should just wait. |
|
07-27-2006, 05:00 PM | #21 |
Re: Setting up a Windows Server
just commenting, didnt mean to sound arrogant if we did...
|
|
01-16-2007, 06:36 AM | #22 |
Re: Setting up a Windows Server
I have a question with coping files from the prey folder if it is a paid server will I need a copy of prey for that as well as my own copy to play the game.
Also do you have to have the preykey file copied to server Will I be able to connect to server if I'm running same copy of game ? Sorry if this sounds like a silly question Cheers Arkon |
|
01-23-2007, 03:52 PM | #23 |
Re: Setting up a Windows Server
yes you can...run Prey thru Steam to bypass the need for a cd...not sure about the key file...would imagine so...anybody playing these days?
__________________
I'mTheMotorcycleBoy FromHell |
|
01-29-2007, 12:46 AM | #24 |
Guest
|
Re: Setting up a Windows Server
You can run a dedicated server without the need of a key. You just have to use the dedicated server application. I'm pretty sure that 1.2 retail and steam are compatable.
-Maniac |
02-10-2007, 10:27 PM | #25 |
Re: Setting up a Windows Server
I have problem when I start server I get
wrong game DLL API version what does this relate too ? Cheers Arkon EDIT: I have this sorted now I have server up and running And you guys have released a new patch 1.3 so I will have to update server [[Nacho's Note: Use the edit button]]
Last edited by Nacho; 03-12-2007 at 12:13 PM.
Reason: triple post
|
|
Bookmarks |
|
|