Game Development Community

Server Help....

by David Foster · in General Game Discussion · 01/25/2005 (10:30 am) · 64 replies

Well I just bought the game and was wondering how you name your server make it dedicated and stuff like that...

Can some one please give me step by step instructions on how to do this.


Ok first thing I did was press g type in -stats -dedicated. Then I left the game to see I didn't even have a server there...

Please help

Also shouldn't there be like a message after you typed in the commands?

About the author

Recent Threads

Page «Previous 1 2 3 4 Last »
#1
01/25/2005 (10:47 am)
David, those commands can't be run from inside the game, they are things you run before you start the game. Firstly, are you on Windows or Mac? The steps to do the server are slightly different for the two.
#2
01/25/2005 (11:14 am)
A mac
#3
01/25/2005 (7:59 pm)
I was really hoping you'd say a PC because it's easier to give instructions for them since I have one ;)

Ok what you need to do is to open up a Terminal window and navigate to wherever you installed zap, if it was your desk top you should be able to type:
cd ~/Desktop/Zap! \Folder/

Then run zap like so:
./zap -stats -dedicated -hostname "My Server" -maxplayers 10

or whatever you want the options to be.
#4
01/27/2005 (10:50 pm)
To do so on PC how would one go about this?
#5
01/28/2005 (1:11 am)
Batch file or command line.

Zap.exe -stats -dedicated -hostname "My Server" -maxplayers 10
#6
01/28/2005 (3:05 am)
Thanks Rick
#7
01/30/2005 (8:17 pm)
Still wont work
#8
01/30/2005 (9:03 pm)
What sort of output are you getting from the Terminal window? You should be able to copy and paste it into the forum.
#9
01/30/2005 (10:52 pm)
Ok heres what I do...
I open a terminal shell.. Paste what was said by pat... and it comes up with:
-bash: cd: /Users/davidfoster/Desktop/Zap!: No such file or directory


I put the zap folder on my desktop too...
I copied this:
cd ~/Desktop/Zap! \Folder/
#10
01/31/2005 (8:05 pm)
Actually, I think that may be a character off... try this:

cd ~/Desktop/Zap!\ Folder/

The backslash needs to go before the space, not after.
#11
01/31/2005 (9:46 pm)
Argh, yes my mistake.
#12
02/01/2005 (9:28 am)
Now it says event not found
#13
02/01/2005 (3:52 pm)
Can you post the exact text of the error?
#14
02/01/2005 (5:29 pm)
Last login: Tue Feb 1 12:27:20 on ttyp1
Welcome to Darwin!
pcp05509354pcs:~ davidfoster$ cd ~/Desktop/Zap!\ Folder/
-bash: !\: event not found
pcp05509354pcs:~ davidfoster$
#15
02/01/2005 (11:03 pm)
Oh. It's interpreting ! as a bang and not as part of the path. Try this, try typing cd ~/Desktop, then type cd Za, and hit the tab key, see what it auto-completes to.
#16
02/02/2005 (6:41 pm)
Could you possibly provide a more detailed Windows Command Prompt walkthrough, I can't make mine work, and I'm willing to bet I'm simply making a REALLY stupid mistake. Thanks in advance.
#17
02/03/2005 (3:15 pm)
Ok when I do all that then type in my command line it comes up with this.


Last login: Thu Feb 3 18:11:17 on ttyp1
Welcome to Darwin!
pcp05509354pcs:~ davidfoster$ cd ~/Desktop
pcp05509354pcs:~/Desktop davidfoster$ cd Zap\!\ Folder/
pcp05509354pcs:~/Desktop/Zap! Folder davidfoster$ ./zap -stats -dedicated -hostname "My Server" -maxplayers 10
-bash: ./zap: No such file or directory
pcp05509354pcs:~/Desktop/Zap! Folder davidfoster$
#18
02/06/2005 (8:00 pm)
He ...hello?
#19
02/07/2005 (12:17 pm)
On your desktop, using Finder, open up the Zap! folder... does it contain Zap? How it it spelled? What letters are capitalized? The spelling and capitalization matter, and of course, the file needs to be there.

For example, typing just

./zap

is almost exactly the same as double-clicking on an icon called 'zap' in the current folder. If you look at the folder in Finder, and there IS NO such icon called zap, well then, that's the problem. Also, your 'zap' file might be capitalized... if so, you'll need to type

./Zap

Hope that helps.
#20
02/07/2005 (1:38 pm)
Ok after messing with it for a while it is in:
Zap! Folder/Zap.app/Contents/MacOS/ZAP

However, I really don't think that the distribution of this build is really set up for a Mac dedicated server, and I'm going to just leave it at, "This is not supported." In the future we'll ship a dedicated server for Mac.
Page «Previous 1 2 3 4 Last »