Tremulous Forum

Community => Servers => Topic started by: frazzler on December 29, 2009, 11:09:25 pm

Title: Mac Server Creation Problems.
Post by: frazzler on December 29, 2009, 11:09:25 pm
Can someone post a reliable source for creating a server on the mac? Here's where my problems begin: http://tremulous.net/forum/index.php?topic=4124.msg185523#msg185523

I cannot seem to get the second CD command correct. I copy and paste it directly from the guide, and even tried typing it differently in the console with no success. Apparently my tremded.ub, game.qvm, maprotation and server.cfg files do not exist. Yet I am able to find them right in the base folder. I am often hit with error messages like:
Code: [Select]
Last login: Wed Dec 30 02:07:13 on ttys000
kl100707s-macbook-pro:~ user-kl707$ ./tremded.ub +set dedicated 2 +exec server.cfg
-bash: ./tremded.ub: No such file or directory

I use a macbook Pro, the new ones of 09.
Title: Re: Mac Server Creation Problems.
Post by: Kiwi on December 30, 2009, 04:58:05 am
That is a reliable source you've got there, try
Code: [Select]
sudo tremded +set dedicated 2 +exec server.cfg +set net_port 12321then port forward port 12321 in your router.

Best Regards,
Kiwi
Title: Re: Mac Server Creation Problems.
Post by: kevlarman on December 30, 2009, 04:59:47 am
don't EVER run tremded as root
Title: Re: Mac Server Creation Problems.
Post by: frazzler on December 30, 2009, 06:01:21 pm
Wait, was I doing it wrong, or was what Kiwi said to do wrong.
Title: Re: Mac Server Creation Problems.
Post by: Kiwi on January 01, 2010, 09:36:12 pm
Kevlarman is saying not to run tremded as root because it is a huge security risk, which is is.  But I used sudo until I got it to work, then I figured out the permission problems which isn't wise.  :P

Just use
Code: [Select]
tremded +set dedicated 2 +exec server.cfg +set net_port 12321and be careful about setting your permissions right.
Title: Re: Mac Server Creation Problems.
Post by: David on January 01, 2010, 09:42:20 pm
If you don't use root at all then the permissions shouldn't be a problem.
Title: Re: Mac Server Creation Problems.
Post by: Kiwi on January 01, 2010, 09:48:31 pm
If you don't use root at all then the permissions shouldn't be a problem.
:p fair enough, but I didn't quite do that did I..
Title: Re: Mac Server Creation Problems.
Post by: frazzler on January 02, 2010, 10:30:50 am
OooOookay then. I'm still not sure on how to create a server though.
Title: Re: Mac Server Creation Problems.
Post by: Kiwi on January 02, 2010, 03:17:31 pm
Where are you running into problems?  That website you posted is very good.  Follow along with the instructions there, and post any specific problems that you may encounter.
Best Regards,
Kiwi
Title: Re: Mac Server Creation Problems.
Post by: frazzler on January 03, 2010, 08:53:21 pm
Here's the main problems:
Code:

mv: tremded.ub: No such file or directory
mv: game.qvm: No such file or directory
cp: Tremulous.app/Contents/MacOS/libSDL-1.2.0.dylib: No such file or directory
mv: maprotation.cfg: No such file or directory
mv: Server Commands: No such file or directory
kl100707s-macbook-pro:~ user-kl707$ /game.qvm
-bash: /game.qvm: No such file or directory
kl100707s-macbook-pro:~ user-kl707$


Although they quite obviously exist, otherwise I would not be able to run Tremulous. They all are in the base folder except for Server Commands. This is from using that 'groove' fellows guide that I downloaded. When using the regular guide in the thread, I follow all the steps successfully until I reach that second CD command with all the +'s in it. In which case This:
Code:

 Last login: Wed Dec 30 02:07:13 on ttys000
kl100707s-macbook-pro:~ user-kl707$ ./tremded.ub +set dedicated 2 +exec server.cfg
-bash: ./tremded.ub: No such file or directory

occurs.
Title: Re: Mac Server Creation Problems.
Post by: Bissig on January 03, 2010, 11:11:07 pm
Quote
-bash: ./tremded.ub: No such file or directory

You need to be IN that directory to use the ./ shortcut. Otherwise you have to give the full path to the binary or file. Same goes for all your empty move commands (mv). You have to give a source and target path.
Title: Re: Mac Server Creation Problems.
Post by: frazzler on January 04, 2010, 12:33:57 pm
and that means?
Title: Re: Mac Server Creation Problems.
Post by: Kiwi on January 04, 2010, 08:31:44 pm
Try reading over the instructions more carefully, it should tell you to goto a specific directory when you run commands, make sure you do that.
Best Regards,
Kiwi