News:

Come Chat with us live! Learn how HERE!

Main Menu

Mac Server Creation Problems.

Started by frazzler, December 29, 2009, 11:09:25 PM

frazzler

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: 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.

Kiwi

That is a reliable source you've got there, try
sudo tremded +set dedicated 2 +exec server.cfg +set net_port 12321
then port forward port 12321 in your router.

Best Regards,
Kiwi

kevlarman

Quote from: Asvarox link=topic=8622.msg169333#msg169333Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----

frazzler

Wait, was I doing it wrong, or was what Kiwi said to do wrong.

Kiwi

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
tremded +set dedicated 2 +exec server.cfg +set net_port 12321
and be careful about setting your permissions right.

David

If you don't use root at all then the permissions shouldn't be a problem.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

Kiwi

Quote from: 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.
:p fair enough, but I didn't quite do that did I..

frazzler

OooOookay then. I'm still not sure on how to create a server though.

Kiwi

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

frazzler

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.

Bissig

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.


Kiwi

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